ASP.NET error

G

Guest

I had a working NT2000 member server running IIS Ver.5.0 with a published
ASP.NET application for the past couple years. I felt the need to join the
server to my AD Domain and load AD on the NT2000 server. By doing this I
caused my published application to give access denied errors.
The name of my server is SQL2000
When I open a browser on the server and go to http://sql2000 the default
welcome page opens, this seems to be working fine.
When I go to my published app at http://sql2000/timetracker I get the
following error:


Access to the path "C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary
ASP.NET Files\timetracker\a63c3e16\f9764119\global.asax.xml" 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:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\timetracker\a63c3e16\f9764119\global.asax.xml" 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:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\timetracker\a63c3e16\f9764119\global.asax.xml" is denied.]
System.IO.__Error.WinIOError(Int32 errorCode, String str) +393
System.IO.File.Delete(String path) +165

System.Web.Compilation.PreservedAssemblyEntry.LoadDataFromFileInternal(Boolean
fApplicationFile) +898
System.Web.Compilation.PreservedAssemblyEntry.LoadDataFromFile(Boolean
fApplicationFile) +57

System.Web.Compilation.PreservedAssemblyEntry.GetPreservedAssemblyEntry(HttpContext
context, String virtualPath, Boolean fApplicationFile) +111
System.Web.UI.TemplateParser.GetParserCacheItemFromPreservedCompilation()
+91
System.Web.UI.TemplateParser.GetParserCacheItemInternal(Boolean
fCreateIfNotFound) +148
System.Web.UI.TemplateParser.GetParserCacheItemWithNewConfigPath() +125
System.Web.UI.TemplateParser.GetParserCacheItem() +88
System.Web.UI.ApplicationFileParser.GetCompiledApplicationType(String
inputFile, HttpContext context, ApplicationFileParser& parser) +171
System.Web.HttpApplicationFactory.CompileApplication(HttpContext context)
+43
System.Web.HttpApplicationFactory.Init(HttpContext context) +485
System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext
context) +170
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +414


I have tried to creating the IUSR_SQL2000, IWAN_SQL2000 and ASPNET users in
AD and re-assigning the users rights to the folders that are mentioned in
the path of the error but still no change. I also have gone into the
Directory security in IIS assign the new AD users rights to the published
app and still no resaults.

I have also tried running drive:\windows\microsoft
..net\framework\v1.1.4322\aspnet_regiis -i
But this didn't help either.

Can you help?
Doug
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,066
Latest member
VytoKetoReviews

Latest Threads

Top