954,595 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Error while calling dll from asp.net

Hi
I am getting Error while calling dll from asp.net
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

Pranav

pranav_jog
Light Poster
48 posts since May 2008
Reputation Points: 10
Solved Threads: 0
 

Hi there Pranav :). This link has the answer to your problem!
http://support.microsoft.com/kb/320268

Further information can be found here: http://msdn2.microsoft.com/en-us/library/ms994923.aspx
I hope this helps!

majestic0110
Nearly a Posting Virtuoso
1,328 posts since Oct 2007
Reputation Points: 256
Solved Threads: 72
 

hi,
as per your suggestion i have completed total eight steps from it.
but tell me how to Restart Microsoft Internet Information Services (IIS) to restart the ASP.NET worker process

pranav_jog
Light Poster
48 posts since May 2008
Reputation Points: 10
Solved Threads: 0
 

Hi there to restart IIS on windows XP go to START>ADMINISTRATIVE TOOLS>SERVICES. Once the services form appears, scroll down to IIS ADMIN, right click then hit Restart! Hope that fixes it!

majestic0110
Nearly a Posting Virtuoso
1,328 posts since Oct 2007
Reputation Points: 256
Solved Threads: 72
 

k
But I am using win 2k3 server

pranav_jog
Light Poster
48 posts since May 2008
Reputation Points: 10
Solved Threads: 0
 

I have tried all steps in that r there
Insted of restarting IIS I have restarted computer
Still it is giving same error

pls suggest

pranav_jog
Light Poster
48 posts since May 2008
Reputation Points: 10
Solved Threads: 0
 

For W2K3:
Go to command prompt and type iisreset. Restarting IIS is not without its disadvantages. Restarting IIS is a last resort as any users currently connected will be disconnected and any data stored in memory by IIS applications will be lost. Bear that in mind!

majestic0110
Nearly a Posting Virtuoso
1,328 posts since Oct 2007
Reputation Points: 256
Solved Threads: 72
 

we are using asp.net version 2.0 ,so tell me the answer in detail.

For W2K3: Go to command prompt and type iisreset. Restarting IIS is not without its disadvantages. Restarting IIS is a last resort as any users currently connected will be disconnected and any data stored in memory by IIS applications will be lost. Bear that in mind!
pranav_jog
Light Poster
48 posts since May 2008
Reputation Points: 10
Solved Threads: 0
 

Here is an excellent link that details IIS and its tasks.
http://www.isapilabs.com/support%5Cinstall/win2003manual.htm

majestic0110
Nearly a Posting Virtuoso
1,328 posts since Oct 2007
Reputation Points: 256
Solved Threads: 72
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You