.Net Remoting [FieldAccessException]
- From: chawlaa@xxxxxxxxx
- Date: 15 May 2006 15:39:42 -0700
Hi
I have an application written in .Net 2.0 using remoting. When remoting
is turned on at the client side I get the FieldAccessException. The
server is hosted in IIS and is therefore using http channel. The remote
class derives from MarshalByRefObject. The remote method just returns a
string. Here is some more information about the exception:
Source Error:
Line 24: 'Return aString
Line 25: Return "Test"
Line 26: End Function
Line 27:
Source File:
C:\Source\Reconciliation\App\BP2S.IT.Recs.App\ADFRemotingInterface.vb
Line: 26
Stack Trace:
[FieldAccessException: Attempted to access a field that is not
accessible by the caller.]
System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
reqMsg, IMessage retMsg) +1779522
System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
msgData, Int32 type) +826
BP2S.IT.Recs.App.ADFRemotingInterface.GetMenuJS(Int32 MenuId, Object
Principal) in
C:\Source\Reconciliation\App\BP2S.IT.Recs.App\ADFRemotingInterface.vb:26
BP2S.IT.Recs.Web.Menu_page.Page_Load(Object sender, EventArgs e) in
C:\Source\Reconciliation\Web\BNP.Is.Recs.Web\Menu_page.aspx.vb:55
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+1061
Regards
AC
.
- Follow-Ups:
- Prev by Date: remotgin Debugger
- Next by Date: Re: .Net Remoting [FieldAccessException] - Workaround / Fix
- Previous by thread: remotgin Debugger
- Next by thread: Re: .Net Remoting [FieldAccessException] - Workaround / Fix
- Index(es):
Relevant Pages
|
Loading