New Posts New Posts RSS Feed: IdeaBlade.EntityModel.EntityManagerSaveException
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

IdeaBlade.EntityModel.EntityManagerSaveException

 Post Reply Post Reply
Author
Deceased View Drop Down
Newbie
Newbie
Avatar

Joined: 17-Aug-2011
Location: South Africa
Posts: 6
Post Options Post Options   Quote Deceased Quote  Post ReplyReply Direct Link To This Post Topic: IdeaBlade.EntityModel.EntityManagerSaveException
    Posted: 19-Aug-2011 at 6:09am
Thank you I will check them out

Regards
Back to Top
sbelini View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 13-Aug-2010
Location: Oakland
Posts: 786
Post Options Post Options   Quote sbelini Quote  Post ReplyReply Direct Link To This Post Posted: 18-Aug-2011 at 9:56am
Hi Deceased,
 
The error you are getting is a generic error.
You will be able to get more detail by using Fiddler and/or WCF Tracing.
You can download Fiddler at http://www.fiddler2.com/fiddler2/ and find more about tracing in the DevForce Resource Center.
 
Regards,
   Silvio.
Back to Top
Deceased View Drop Down
Newbie
Newbie
Avatar

Joined: 17-Aug-2011
Location: South Africa
Posts: 6
Post Options Post Options   Quote Deceased Quote  Post ReplyReply Direct Link To This Post Posted: 17-Aug-2011 at 12:57am
Hi, I get the following exception when trying to save an entity:

Exception msg: The remote server returned an error: NotFound.

Stack:
   at IdeaBlade.EntityModel.EntityManager.HandleEntityServerException(Exception ex, Boolean tryToHandle, PersistenceOperation operation, Boolean throwOnError)
   at IdeaBlade.EntityModel.EntityManager.HandleSaveResultException(SaveWorkState saveWorkState, Boolean isAsyncOp)

System.ServiceModel.CommunicationException

Exception msg: The remote server returned an error: NotFound.

Stack:
   at IdeaBlade.EntityModel.EntityServerProxy.ExecFunc[T](Func`1 func, Boolean funcWillHandleException)
   at IdeaBlade.EntityModel.EntityServerProxy.ExecuteOnServer[T](Func`1 func, Boolean funcWillHandleException)
   at IdeaBlade.EntityModel.EntityServerProxy.SaveChanges(SaveWorkState workState)
   at IdeaBlade.EntityModel.EntityManager.SaveEntitiesCore(SaveWorkState workState)

System.Net.WebException

Exception msg: The remote server returned an error: NotFound.

Stack:
   at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)
   at System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
   at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult result)

....................................................................................................................................................................................................

I create the entity in the same way that I create entities throughout my entire project.
For example:
 var newNode = EM.Instance.CreateEntity<Node>();
 ... Then add a bunch of properties to the node, eg: Name, Size, etc.
 Then I add the entity to the Entity Manager (EM) via: EM.Instance.AddEntity(newNode);

 Lastly I save the entity asynchronously: EM.Instance.SaveChangesAsync();

.....................................................................................................................................................................................................

Now for the bit of wackness that I'm experiencing:
- When saving other entities, Ideablade works beautifully.
- When saving a "Node" with a size above 2MB the exception gets thrown.
- When saving a "Node" with a size below 2MB, Ideablade works beautifully.
+ What's really wack, would be that this just started happening, previously I could upload "Nodes" with size above 10MBs.

........................................................................................................................................................................................................

I would GREATLY appreciate it to just be informed what this exception is, as I cannot pin it down by debugging.
(I'm aware of the fact that chances are 99.9%, that I'm just being a nab, and I'm okay with that, I'm kind of just hoping to be pointed in a direction to start solving this problem.)

Thanks in advance for any help.


Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down