Error at Model.Save() in wpf application

Error at Model.Save() in wpf application

Old forum URL: forums.lhotka.net/forums/t/12752.aspx


mayurimalgave posted on Tuesday, September 16, 2014

Hello everyone..

I have developed an application using csla.In viewmodel class,I have called Model.Save().But I'm getting the following error at Model.Save() in Wpf application.

Error - The remote server returned an unexpected response: (413) Request Entity Too Large.

But the same Model.Save() works fine in Silverlight application.

What could be the possible reason?Please suggest.

JonnyBee replied on Wednesday, September 17, 2014

WPF and Silverlight use different serializers in CSLA so the size of the serialized data be different and also use different portals with different configuration.

Copyright (c) Marimer LLC