Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 ASP.NET
 aspnet account + sql webadmin

Author  Topic 

nonsence
Starting Member

2 Posts

Posted - 2004-05-31 : 04:11:06
ok so i got win2003, iis6 with asp.net enabled, sql 2000 + sp3a, .net framework sdk 1.0a, and the sql web data administrator.
BUT when i go to run the web interface i get the below error.
any ideas on what permissions i need to change to make this work?!

Server Error in '/webadmin' Application.
Access to the path "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\webadmin\3310ebad\2167b9a0" is denied
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.UnauthorizedAccessException: Access to the path "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\webadmin\3310ebad\2167b9a0" is denied.

ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.
To grant ASP.NET write access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.
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.
Stack Trace:
[UnauthorizedAccessException: Access to the path "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\webadmin\3310ebad\2167b9a0" is denied.]
System.IO.__Error.WinIOError(Int32 errorCode, String str) +393
System.IO.Directory.InternalCreateDirectory(String fullPath, String path) +632
System.IO.Directory.CreateDirectory(String path) +195
System.Web.Compilation.PreservedAssemblyEntry.DoFirstTimeInit(HttpContext context) +85
System.Web.Compilation.PreservedAssemblyEntry.EnsureFirstTimeInit(HttpContext context) +98
System.Web.HttpRuntime.PreloadAssembliesFromBin(HttpContext context) +176
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +445
[HttpException (0x80004005): ASP.NET Initialization Error]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +927
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +128

Sitka
Aged Yak Warrior

571 Posts

Posted - 2004-06-01 : 08:45:23
investigate the IIS_WPG local group when setting up IIS 6.0.

It is a rich creamy color with a high fat content of 5-7 percent. Being so high in fat, it is usually processed into butter, cheese, or yogurt. An average cow will produce 110 kg. Milk in a lactation period of an average of 149 days
Go to Top of Page

joldham
Wiseass Yak Posting Master

300 Posts

Posted - 2004-06-02 : 13:31:42
Double check to ensure the ASPNET account has not been locked. I seem to remember getting this error when for some reason the system locked or disabled the ASPNET account.

Jeremy W. Oldham
Go to Top of Page

nonsence
Starting Member

2 Posts

Posted - 2004-06-02 : 18:33:14
the aspnet account seems to be fine. also i'm running all this on a domain controller with AD installed.
btw, what groups is the aspnet account supposed to be part of?
and how exactly do i check that the iis work process account has the right permissions? other then ntfs. i mean, policies wise.
Go to Top of Page
   

- Advertisement -