G
Guest
Hi all,
I have developed a web project in ASP.NET that uses a legacy COM object
(developed in VB6) by creating a wrapper using TlbImp.exe. Everything works
fine on the Web server on Windows 2000, but I've been trying to move to
Windows 2003 and everytime a call is made to the COM object the following
exception occurs:
--------------------------------------------------------------------------------
Security Exception
Description: The application attempted to perform an operation not allowed
by the security policy. To grant this application the required permission
please contact your system administrator or change the application's trust
level in the configuration file.
Exception Details: System.Security.SecurityException: Permission denied
Source Error:
An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below.
--------------------------------------------------------------------------------
I have tried too many possible solutions to list here, but nothing seems to
work. I've seen a few other posts with the same problem but no one has
posted a solution that works for me. Please help!
Thanks,
Stefan
I have developed a web project in ASP.NET that uses a legacy COM object
(developed in VB6) by creating a wrapper using TlbImp.exe. Everything works
fine on the Web server on Windows 2000, but I've been trying to move to
Windows 2003 and everytime a call is made to the COM object the following
exception occurs:
--------------------------------------------------------------------------------
Security Exception
Description: The application attempted to perform an operation not allowed
by the security policy. To grant this application the required permission
please contact your system administrator or change the application's trust
level in the configuration file.
Exception Details: System.Security.SecurityException: Permission denied
Source Error:
An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below.
--------------------------------------------------------------------------------
I have tried too many possible solutions to list here, but nothing seems to
work. I've seen a few other posts with the same problem but no one has
posted a solution that works for me. Please help!
Thanks,
Stefan