Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > ASP.NET permission problems from a network share

Reply
Thread Tools

ASP.NET permission problems from a network share

 
 
Matt Calhoon
Guest
Posts: n/a
 
      08-03-2004
Hi there,

I have a new win 2003 web server and having troubles setting up .NET. Im getting the following error from my applications:

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.Data.SqlClient.SqlClientPermission, System.Data, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.

I have done the following;

1. Created a new domain user for asp.net, updated the machine.config file to use this user.

2. Configured the appropriate permissions as detailed in the Table 1 here: http://msdn.microsoft.com/webservice...SecNetHT01.asp

3. Read the info from here: http://blogs.msdn.com/shawnfa/archiv.../20/57023.aspx and tried setting the LocalIntranet_Zone Permission Set to FullTrust (just to see if it would resolve the problem - but it did not)

The websites are located on a network share (accessed by \\filer\home\websitename\)

The database server is on a separate win 2003 domain controller

thanks in advance for any help.


 
Reply With Quote
 
 
 
 
Raterus
Guest
Posts: n/a
 
      08-03-2004
I asked a similar question awhile ago, and got this response.

http://groups.google.com/groups?hl=e...gbl%26rnum%3D2

I would suggest running the websites locally on the webserver and see if that fixes the problem. Storing the websites on a network folder like that can introduce a ton of issues, and I would suggest not going that route if possible.

Another possibility if you have to keep the website updated on this share is to frequently sync this share with the wwwroot on the IIS server. You could then update the share with changes, and it will be copied over to IIS.

Hope any of this helps,
--Michael

"Matt Calhoon" <> wrote in message news:4E0CC782-041F-482E-B195-...
> Hi there,
>
> I have a new win 2003 web server and having troubles setting up .NET. Im getting the following error from my applications:
>
> 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.Data.SqlClient.SqlClientPermission, System.Data, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.
>
> I have done the following;
>
> 1. Created a new domain user for asp.net, updated the machine.config file to use this user.
>
> 2. Configured the appropriate permissions as detailed in the Table 1 here: http://msdn.microsoft.com/webservice...SecNetHT01.asp
>
> 3. Read the info from here: http://blogs.msdn.com/shawnfa/archiv.../20/57023.aspx and tried setting the LocalIntranet_Zone Permission Set to FullTrust (just to see if it would resolve the problem - but it did not)
>
> The websites are located on a network share (accessed by \\filer\home\websitename\)
>
> The database server is on a separate win 2003 domain controller
>
> thanks in advance for any help.
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Share-Point-2010 ,Share-Point -2010 Training , Share-point-2010Hyderabad , Share-point-2010 Institute Saraswati lakki ASP .Net 0 01-06-2012 06:39 AM
Fixed: The machine-default permission settings do not grant Local Activation permission for the COM Server application with CLSID {555F3418-D99E-4E51-800A-6E89CFD8B1D7} to the user NT AUTHORITY\LOCAL SERVICE SID (S-1-5-19). Skybuck Flying Windows 64bit 1 06-29-2009 06:17 PM
IIS integrated authentification file share permission problem ng.w.purrer@lenzing.com ASP .Net Security 1 08-03-2006 05:15 PM
Wireless Network - Setup - How? See/share Files, share printers, how? Wayne Wireless Networking 2 04-08-2006 04:34 PM
share and NTFS permission Bay MCSE 4 10-23-2003 12:01 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57