Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

Request for the permission of type 'System.Web.AspNetHostingPermission' failed

$
0
0

Built a web app on my local machine, and it works perfectly.  Moved everything over to the production server (still editing and building from my local machine to the UNC path  \\123.456.789.0\Share\SiteName), and I receive the following error (25 times) when building the project: 

Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
\\[SERVER NAME]\[FOLDERNAME]\orders-edit.aspx 196
 

I receive one error per Ajax Control Toolkit control in the project.

Found a couple other posts with similar issues and tried everything listed in those, including:

- Generating a new (clean) web.config with defaults only
- Turning on 'Script & Executable' permissions on the virtual web
- Defining classes with unlimited rights
- Manually importing the Ajax System.XX dlls directly into the BIN folder
- Reinstalling AJAX on the server
- Setting the production server name under Website > Start Options
- Giving IUSR/IWAM/All Users execute rights to the BIN folder (yes... reaching for anything that even MIGHT work at this point)
- IISReset

I've pretty much exhausted every article I could find, and the error hasn't changed in the slightest.

Any senior admins or developers out there willing to lend a hand?

I would post code, but I'm fairly confident this is a problem with either permissions or the server settings since everything works perfectly from the development box.

I'd really appreciate the help.

Thanks!


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>