 |    |  |
 | |  |
 | |  |
 | |  |
 | |  |
 |
|
|
| Access to the path ... is denied |
|
|
I have a brand new test server that I wanted to try out your issue tracker on, but I get the error below when trying to run the Installer.aspx. This is a W2K3 SP1 box running IIS 6.0 w/.Net framework 1-3.0 installed and completely updated. I have a SQL 2000 server and empty bugnet database device ready to go. Any ideas on what's going on?
Server Error in '/bugnet' Application. Access to the path "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\bugnet\7d9743af\80643d4c" is denied.
Stack Trace: [UnauthorizedAccessException: Access to the path "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\bugnet\7d9743af\80643d4c" 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) +97 System.Web.Compilation.PreservedAssemblyEntry.GetPreservedAssemblyEntry(HttpContext context, String virtualPath, Boolean fApplicationFile) +29 System.Web.UI.TemplateParser.GetParserCacheItemFromPreservedCompilation() +91 System.Web.UI.TemplateParser.GetParserCacheItemInternal(Boolean fCreateIfNotFound) +178 System.Web.UI.TemplateParser.GetParserCacheItemWithNewConfigPath() +125 System.Web.UI.TemplateParser.GetParserCacheItem() +99 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
|
|
|
|
 |  |
|
|
| Re: Access to the path ... is denied |
|
|
Played around w/this some more. The file structure was not there so I created .\bugnet\7d9743af\80643d4c manually. Now it's harping about a file named hash.web? I even set ASPNET account to Full Control on the Temporary ASP.NET Files folder and replicated it down on subfolders & files. I tried defining the error log and correcting the permissions on the Uploads folder also, just in case it's out of order. Any ideas cuz this doesn't seem to work out of the box per the install instructions, unless I'm really missing something.
[UnauthorizedAccessException: Access to the path "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\bugnet\7d9743af\80643d4c\hash.web" is denied.] System.IO.__Error.WinIOError(Int32 errorCode, String str) +393 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync, String msgPath, Boolean bFromProxy) +888 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) +44 System.IO.StreamWriter.CreateFile(String path, Boolean append) +55 System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize) +49 System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding) +20 System.Web.Compilation.PreservedAssemblyEntry.WritePreservedSpecialFilesCombinedHash(Int64 hash) +165 System.Web.Compilation.PreservedAssemblyEntry.DoFirstTimeInit(HttpContext context) +851 System.Web.Compilation.PreservedAssemblyEntry.EnsureFirstTimeInit(HttpContext context) +97 System.Web.Compilation.PreservedAssemblyEntry.GetPreservedAssemblyEntry(HttpContext context, String virtualPath, Boolean fApplicationFile) +29 System.Web.UI.TemplateParser.GetParserCacheItemFromPreservedCompilation() +91 System.Web.UI.TemplateParser.GetParserCacheItemInternal(Boolean fCreateIfNotFound) +178 System.Web.UI.TemplateParser.GetParserCacheItemWithNewConfigPath() +125 System.Web.UI.TemplateParser.GetParserCacheItem() +99 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 |
|
|
|
 |  |
|
|
| Re: Access to the path ... is denied |
|
|
Well, I finally found it. Guess I deserve it for not having a larger test environment. Apparently, you have problems if you install .Net then promote a system to a DC. Found this MSKB which corrected the issue. Now maybe I can start to check this out to see if it'll do what I need. |
|
|
|
 |  |
|
|
| Re: Access to the path ... is denied |
|
|
Glad you found the problem.
I have seen this error before in other circumstances as well and usually have to reinstall asp.net.
Davin Dubeau
BugNET - Core Developer
|
|
|
|
|  |
 | |  |
 | |  |
 | |  |
|