Hi,
I'm using remote data portal using .NET Remoting hosted in IIS.
Sometimes when I'm trying to update data using Win client installed on machine (*) different that IIS host I've received a message like this:
================
System.Runtime.Remoting.RemotingException: Server encountered an internal error. For more information, turn off customErrors in the server's .config
file.
Server stack trace:
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Csla.Server.IDataPortalServer.Update(Object obj, DataPortalContext context)
at Csla.DataPortalClient.RemotingProxy.Update(Object obj, DataPortalContext context) in C:\Dev\Resources\Books\csla20vb-2.1.4-070223
\csla20vb\csla20vb\Csla\DataPortal\Client\RemotingProxy.vb:line 130
at Csla.DataPortal.Update(Object obj) in C:\Dev\Resources\Books\csla20vb-2.1.4-070223\csla20vb\csla20vb\Csla\DataPortal\Client\DataPortal.vb:line 324
at Csla.DataPortal.Update[T](T obj) in C:\Dev\Resources\Books\csla20vb-2.1.4-070223\csla20vb\csla20vb\Csla\DataPortal\Client\DataPortal.vb:line 273
at Csla.BusinessBase`1.Save() in C:\Dev\Resources\Books\csla20vb-2.1.4-070223\csla20vb\csla20vb\Csla\BusinessBase.vb:line 166
at PT.Library.Resource.Save() in C:\Dev\Resources\Books\CSLA\ProjectTrackerTest\PT.Library\Resource.vb:line 190
at PTWin.ResourceEdit.SaveResource(Boolean rebind)System.Runtime.Remoting.RemotingException: Server encountered an internal error. For more
information, turn off customErrors in the server's .config file.
================
This is not a case when I'm using the Win client on the same machine (**) where data portal is hosted.
For example when I try to concurrently update some data on machine (**) that has been already updated from machine (*) I've got a friendly message that
other user already change the data, but when I update data from machine (*) and data was changed from machine (**) I receive the error displayed above.
What is the problem am I missing something. I'm receiving this error on machine (*) very often, what should I do?
Regards
vasil
Copyright (c) Marimer LLC