By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,570 Members | 970 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,570 IT Pros & Developers. It's quick & easy.

Server Error in '/MyApp' Application. - Security Exception

P: n/a
I'm getting this error when building and running an ASP solution that
lives on a network folder (part of the prod web server). I was NOT
getting this when working on the same *identical* solution on my local

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: Request for the
permission of type 'System.Web.AspNetHostingPermission, System,
Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089'

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 (yeah right...)

Web Server: Win 2003 SE
running IIS 6.0 with all websites set to Framework 2.0

It seems to me like a permission issue. I tried to add
WEB_SERVER\ASPNET with full permissions to the wwwroot folder (on the
server itself) to no avail.

Please help!

Aug 2 '06 #1
Share this Question
Share on Google+
1 Reply

This discussion thread is closed

Replies have been disabled for this discussion.