Login  
Search All Forums
Dart Home | PowerWEB LiveControls for ASP.NET | Custom Development Reply | PowerWEB LiveControls for ASP.NET Topics | Forums   
AuthorForum: PowerWEB LiveControls for ASP.NET
Topic: Problem with running project from network drive (VS 2005)
parcol

From: Duiven, Netherlands
Posts: 2
Member Since: 03/06/06
posted March 8, 2006 8:20 AM

The company I work at stores web projects on a network drive. When I try to run a project that contains LiveControls from that network drive I get the following error message for each LiveControl:

Error 52 Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. Z:\testproject\wwwdotnet\Login.aspx 35

When I Google for this particular error message I get results that direct to a security issue.

Does anyone know how I can tackle this problem?



John Talarico



From: Rome, NY USA
Posts: 630
Member Since: 06/01/05
posted March 9, 2006 1:15 PM

This problem seems to be related to code access security in ASP.NET 2.0 failing when the project is located on a shared directory. I was able to replicate this only once by creating a network shared and building an application at the root of the share. Then, building a second and thir application worked fine below that share.
Reply | PowerWEB LiveControls for ASP.NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX