Security Error while Calling another Assembly
- From: rajesh.k.ppati@xxxxxxxxx
- Date: 30 May 2006 04:09:41 -0700
Hi,
I get a Security Error when my WebService makes a call a method in
another assembly.
The details of the exception as viewed in immediate window of Visual
Studio are pasted below.
I am able to debug my WebService method.
However, when it tries to call a method in another assembly, it fails.
What is the most likely reason of the error ?
Rajesh
?ex
{"Security error." }
[System.Security.SecurityException]: {"Security error."}
System.Object: {System.Security.SecurityException}
_className: null
_COMPlusExceptionCode: -532459699
_exceptionMethod: <undefined value>
_exceptionMethodString: null
_helpURL: null
_HResult: -2146233078
_innerException: { }
_message: "Security error."
_remoteStackIndex: 0
_remoteStackTraceString: null
_source: null
_stackTrace: {System.Array}
_stackTraceString: null
_xcode: -532459699
_xptrs: 0
HelpLink: null
HResult: -2146233078
InnerException: { }
Message: "Security error."
Source: "MyDLL"
StackTrace: " at MyDLL.MyClass.MyMethod()\r\n at
MyDll.MyClass.MyMethod2() in
D:\\Development\\WebServices\\MyDll\\MyClass.asmx.cs:line 89"
TargetSite: <error: an exception of type:
{System.Security.SecurityException} occurred>
.
- Follow-Ups:
- Re: Security Error while Calling another Assembly
- From: Nicole Calinoiu
- Re: Security Error while Calling another Assembly
- Prev by Date: Re: Signing Assemblies - How To?
- Next by Date: possible to detect if a loaded assembly was verified?
- Previous by thread: Re: Signing Assemblies - How To?
- Next by thread: Re: Security Error while Calling another Assembly
- Index(es):
Relevant Pages
|
|