locked
ServerApplicationContext SaveChanges RRS feed

  • Question

  • I have a Web API action that uses ServerApplication context. I'm inserting some records and then calling context.DataWorkspace.ApplicationData.SaveChanges(). When I debug and hit this line and continue, the code exits from the action (not completing any of the code below it) and returns a 500 Internal Server error to my client. I get no error from the server code while debugging in Visual Studio.

    I'm following the syntax as it needs to be, but I can't return anything after the SaveChanges line is run. Any ideas on this one? I'm pretty much dead in my tracks until I figure this out.


    Monday, October 27, 2014 6:01 PM

Answers

All replies