all groups > visual studio .net general > june 2006 >
You're in the

visual studio .net general

group:

VS 2005 Project on Network Drive Problem


VS 2005 Project on Network Drive Problem dave
6/28/2006 5:43:05 PM
visual studio .net general:
I have transferred my web app from a local setup to a network drive y:.

I have 2 dll's in the \bin\utilities.dll & dataclass.dll

When i try and run the web application i get the following error:

Exception Details: System.Security.SecurityException: Request for the
permission of type 'System.Web.AspNetHostingPermission, System,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

I know that this has something to do with trust or permissions, but i have
tried everything known to man to fix this with no success.

Any other aspx code that does not use these dll's work fine.

Many thanks in advance....

Re: VS 2005 Project on Network Drive Problem Gerry Hickman
6/28/2006 8:14:57 PM
Hi Dave,

This is what I wrote in an earlier thread:

--

Log on as local admin

Go to "Control Panel : Administrative Tools : Microsoft .NET Framework
2.0 Configuration"

See this article for settings:

<http://www.15seconds.com/issue/040121.htm>

[quoted text, click to view]


--
Re: VS 2005 Project on Network Drive Problem dave
6/29/2006 12:00:00 AM
Thanks for that - did the trick - much appreciated....



[quoted text, click to view]

Re: VS 2005 Project on Network Drive Problem Gerry Hickman
6/29/2006 11:21:39 PM
[quoted text, click to view]

Cool, glad it's working now.

--
AddThis Social Bookmark Button