Microsoft.LightSwitch.DataServiceOperationException was unhandled by user code - by GusBeare

Status : 

  Duplicate<br /><br />
		This item appears to be a duplicate of another existing Connect or internal item.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.

Sign in
to vote
ID 736761 Comments
Status Closed Workarounds
Type Bug Repros 0
Opened 4/13/2012 6:31:53 AM
Access Restriction Public


       at Microsoft.LightSwitch.Framework.Base.ExecutableObject.Execute(Boolean allowJoin)
       at Microsoft.LightSwitch.Details.Framework.Client.ScreenPropertyLoader`1.LoadIfNecessary()
       at Microsoft.LightSwitch.Details.Framework.Client.ScreenDetails`2.GetValue[TValue](Entry entry, Data& data)
       at Microsoft.LightSwitch.Details.Framework.Client.ScreenDetails`2.GetValue[T](Entry entry, Data& data)
       at Microsoft.LightSwitch.Details.Framework.Client.ScreenCollectionProperty`3.Entry.<.ctor>b__14(TDetails details, Data& data)
       at Microsoft.LightSwitch.Details.Framework.Internal.DetailsDelegate.FuncStackFrame`3.Invoke(TDetails details, TData& data)
       at Microsoft.LightSwitch.Details.Framework.Internal.DetailsDelegate.FuncStackFrame`3.Callback(TDetails details, TData& data, Object stackFrame)
       at LightSwitchApplication.BrowseConsultants.DetailsClass.PropertySetProperties._co_AxaptaFeeds_Stub(DetailsCallback`2 c, DetailsClass d, Object sf)
       at Microsoft.LightSwitch.Details.Framework.Internal.DetailsDelegate.FuncStackFrame`3.InvokeVia(DetailsStub`2 stub, DetailsFunc`3 target, TDetails details)
       at Microsoft.LightSwitch.Details.Framework.Internal.DetailsDelegate.InvokeVia[TDetails,TData,TResult](DetailsFunc`3 target, TDetails details, DetailsStub`2 stub)
       at Microsoft.LightSwitch.Details.Framework.Client.ScreenCollectionProperty`3.Entry.<.ctor>b__8(TDetails d)
       at Microsoft.LightSwitch.Details.Framework.Client.ScreenDetails`2.GetPropertyValue[TValue](TScreen screen, Entry entry)
       at Microsoft.LightSwitch.Details.Framework.Client.ScreenDetails`2.GetValue[T](TScreen screen, Entry entry)
       at LightSwitchApplication.BrowseConsultants.get_co_AxaptaFeeds()
  InnerException: System.Data.Services.Client.DataServiceClientException
Sign in to post a comment.
Posted by Muzafar Mahgoub on 6/19/2014 at 3:43 AM
I am having a problem (not sure if similar to the above issue though).

Our LIVE server brings the error below when our user tries to process traffic data. However, we cannot recreate the issue in our Pre-live environment.
Any assistance with this would be very much appreciated.

- An unexpected error occured while processing Traffic Data,
- Type: Microsoft.LightSwitch.DataServiceOperationException, Microsoft.LightSwitch, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35,
- Msg: Load operation failed for query 'ProcessImportedData'. [HttpWebRequest_WebException_RemoteServer]
- Arguments: NotFound Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See,
- StackTrace:         at Microsoft.LightSwitch.Framework.Base.ExecutableObject.Execute(Boolean allowJoin)
             at Microsoft.LightSwitch.Framework.Base.OuterExecutableObject`1.Execute()
             at Microsoft.LightSwitch.Details.Framework.Client.ScreenPropertyLoader`1.Refresh(Boolean restart, Boolean delay)
             at Microsoft.LightSwitch.Details.Framework.Client.ScreenPropertyLoader`1.Refresh()
             at Microsoft.LightSwitch.Framework.Client.VisualCollection`1.Refresh()
             at LightSwitchApplication.TrafficDataSourcesScreen.ProcessTrafficData_Execute()

Posted by Microsoft on 4/18/2012 at 6:48 AM
Hi GusBeare,
Thanks for providing the call stack. This is a known issue with our VS 11 Beta release that we are planning to be addressed for the next release of VS 11.

A work around is to explicitly Rebuild of solution after the new view is added solve the issue. Let me know if that works for you.

Dan Leeaphon
VS LightSwitch
Posted by Microsoft on 4/16/2012 at 11:41 AM
Hi GusBeare,
Thank you very much for your feedback on this issue. I really appreciate the screen cam too. To narrow the repro for this issue can you provide some additional information:

a) Can you provide a copy of both the exception information and the call stack when you get the first DataServiceOperation exception (3 minute mark on the screen cam).
b) Can you try doing an explicit rebuild of your solution after you imported the new view to see if this resolves the issue? (We suspect an issue that has been identified since beta around not picking up model changes for code gen)

Much thanks.
Dan Leeaphon
Visual Studio LightSwitch
Posted by GusBeare on 4/16/2012 at 7:03 AM
I did a quick screencast to show how I got this error:


Posted by MS-Moderator10 [Feedback Moderator] on 4/16/2012 at 12:53 AM
Thanks for your feedback.

We are rerouting this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.
Posted by MS-Moderator01 on 4/13/2012 at 6:50 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(