Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1837960
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T06:25:11+00:00 2026-05-17T06:25:11+00:00

The following code throws an exception which I have no idea what goes wrong

  • 0

The following code throws an exception which I have no idea what goes wrong , can anyone shed some light on this one please?

RestAPIDataContext ctx = GetContext();            
var songsQuery = (from item in ctx.Songs
                                  where item.Artist.Title == "George Michael"
                                  select item) as DataServiceQuery<SongsItem>;
                    songsQuery.BeginExecute(
                        (IAsyncResult asyncResult) => Dispatcher.BeginInvoke(() =>
                                                                                 {
                                                                                     songsList.ItemsSource = songsQuery.EndExecute(asyncResult);
                                                                                 }), songsQuery
                        );
private static RestAPIDataContext GetContext()
        {
            RestAPIDataContext ctx =
              new RestAPIDataContext(
              new Uri("http://win-oirj50igics/restapi/_vti_bin/ListData.svc"));
            return ctx;
        }

System.Data.Services.Client.DataServiceQueryException: An error occurred while processing this request. —> System.InvalidOperationException: An error occurred while saving changes. See the inner exception for details. —> System.Data.Services.Client.DataServiceClientException:


Request version ‘1.0’ is too low for the response. The lowest supported version is ‘2.0’.

— End of inner exception stack trace —
at System.Data.Services.Client.BaseAsyncResult.EndExecute[T](Object source, String method, IAsyncResult asyncResult)
at System.Data.Services.Client.QueryAsyncResult.EndExecute[TElement](Object source, IAsyncResult asyncResult)
— End of inner exception stack trace —
at System.Data.Services.Client.QueryAsyncResult.EndExecute[TElement](Object source, IAsyncResult asyncResult)
at System.Data.Services.Client.DataServiceQuery`1.EndExecute(IAsyncResult asyncResult)
at SLRest.MainPage.<>c_DisplayClass3.<>c_DisplayClass5.b__1()

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T06:25:12+00:00Added an answer on May 17, 2026 at 6:25 am

    from the call stack it looks like you are using a ADO.Net data service framework. you can either try to update it using this link or change the target framework of your caller application to 4.0.

    Check this link for details

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My java Fx webview throws JS exception for following code. Can anyone explain me
I have the following code which throws an exception (detail in code comments below).
I have the following code which throws an exception COM Exception was unhandled in
The following code works fine on Linux but throws an exception on OS X
I am getting null-exception throw error in the following code. What can be the
I have following code using hibernate to throw a custom exception on error and
I have the following code... @Override protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException,
I have the following code which I'm using to get the user to input
I have the following Java code which will search in an xml for a
Which of the following code is fastest/best practice for converting some object x? int

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.