| | |
Access denied to file that isn't there?
Please support our ASP.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Sep 2008
Posts: 30
Reputation:
Solved Threads: 1
Well, I fixed the runtime error now it just opened to a new bag of worms.
I get to see the actual error thats there and it tells me that access is denied to this certain file. Easy enough, change the access to the file right? Wrong... can't find the file. It's not located in the directory that it says it is. I've checked the server hosting the file and it's not there and I checked the other servers that could possibly have it and it's not there. Am I missing something? Am I just not able to see the file in regular explorer?
This is the code that I get:
"Access to the path "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\workorder\68a092b6\e3ab0c1d" is denied.
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\workorder\68a092b6\e3ab0c1d" 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) +217
System.Web.UI.TemplateParser.GetParserCacheItemWithNewConfigPath() +125
System.Web.UI.TemplateParser.GetParserCacheItem() +88
System.Web.UI.TemplateControlParser.CompileAndGetParserCacheItem(String virtualPath, String inputFile, HttpContext context) +120
System.Web.UI.TemplateControlParser.GetCompiledInstance(String virtualPath, String inputFile, HttpContext context) +36
System.Web.UI.PageParser.GetCompiledPageInstanceInternal(String virtualPath, String inputFile, HttpContext context) +43
System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String requestType, String url, String path) +44
System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, String path, String pathTranslated, Boolean useAppConfig) +699
System.Web.MapHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +95
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +173"
Obviously I'm a complete n00b at this and I have no idea what I'm doing with it so can someone please help me?
I get to see the actual error thats there and it tells me that access is denied to this certain file. Easy enough, change the access to the file right? Wrong... can't find the file. It's not located in the directory that it says it is. I've checked the server hosting the file and it's not there and I checked the other servers that could possibly have it and it's not there. Am I missing something? Am I just not able to see the file in regular explorer?
This is the code that I get:
"Access to the path "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\workorder\68a092b6\e3ab0c1d" is denied.
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\workorder\68a092b6\e3ab0c1d" 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) +217
System.Web.UI.TemplateParser.GetParserCacheItemWithNewConfigPath() +125
System.Web.UI.TemplateParser.GetParserCacheItem() +88
System.Web.UI.TemplateControlParser.CompileAndGetParserCacheItem(String virtualPath, String inputFile, HttpContext context) +120
System.Web.UI.TemplateControlParser.GetCompiledInstance(String virtualPath, String inputFile, HttpContext context) +36
System.Web.UI.PageParser.GetCompiledPageInstanceInternal(String virtualPath, String inputFile, HttpContext context) +43
System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String requestType, String url, String path) +44
System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, String path, String pathTranslated, Boolean useAppConfig) +699
System.Web.MapHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +95
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +173"
Obviously I'm a complete n00b at this and I have no idea what I'm doing with it so can someone please help me?
Im not sure about ur error but usually causes of ur error are that
1. The file ur trying ti access its protection is set to read only
2. U actually do not have rights to access, execute or cahnge anything in the file
well I dont know why cant u see it, justt try to go to tool->folder option and check if the radiobutton show hidden files is checked and check ur file again after saving the changes, it could be any on the reasons just make sure that u follow the path that the error points to
1. The file ur trying ti access its protection is set to read only
2. U actually do not have rights to access, execute or cahnge anything in the file
well I dont know why cant u see it, justt try to go to tool->folder option and check if the radiobutton show hidden files is checked and check ur file again after saving the changes, it could be any on the reasons just make sure that u follow the path that the error points to
Some people get so rich they lose all respect for humanity. That's how rich I want to be.
I'm wondering if permissions are set correctly in the directories below the file that doesn't exist. What I'm thinking is that the server is trying to create the files, but doesn't have write permission to the directory it's trying to create the file it. That would be why you're not seeing the file when you search for it... it's trying to create it, but doesn't have permission to do so.
Just a thought... IIS, .NET, and all that are very weird programs...
Just a thought... IIS, .NET, and all that are very weird programs...
WolfWorkz Studios - Server Development
WolfWorkz.com
Pirates Registration
My Personal Blog
SideBySideGeek.com - My Newest Project
WolfWorkz.com
Pirates Registration
My Personal Blog
SideBySideGeek.com - My Newest Project
•
•
Join Date: Sep 2008
Posts: 30
Reputation:
Solved Threads: 1
All I'm actually doing is trying to go to the site from the external site. I'm typing in the company name and then the external piece and thats the error it's giving me.
I would show you code but what code do you want? I don't have much//any idea what I'm really doing but I'm the only one that is in anyway capable of doing it. If that makes any sense.
I would show you code but what code do you want? I don't have much//any idea what I'm really doing but I'm the only one that is in anyway capable of doing it. If that makes any sense.
•
•
Join Date: Sep 2008
Posts: 30
Reputation:
Solved Threads: 1
•
•
•
•
I'm wondering if permissions are set correctly in the directories below the file that doesn't exist. What I'm thinking is that the server is trying to create the files, but doesn't have write permission to the directory it's trying to create the file it. That would be why you're not seeing the file when you search for it... it's trying to create it, but doesn't have permission to do so.
Just a thought... IIS, .NET, and all that are very weird programs...
•
•
Join Date: Sep 2008
Posts: 30
Reputation:
Solved Threads: 1
I've also gone in and compared the internal IIS server properties for that item and the external IIS server properties for that item and they are the same but the internal still works and the external does not. I made sure that the internal and the external were both on the ASP.net version and they are.
I just don't understand how the internal could be broadcasting it and the external still get nothing but an error. Though I am sitting here with my huge IIS 6.0 book so I can go over it and maybe understand what I'm doing a little bit more.
I just don't understand how the internal could be broadcasting it and the external still get nothing but an error. Though I am sitting here with my huge IIS 6.0 book so I can go over it and maybe understand what I'm doing a little bit more.
![]() |
Similar Threads
- access denied to slave hard drive -my docs (Windows NT / 2000 / XP)
- Access denied from files. (Windows NT / 2000 / XP)
- Access denied (Windows Software)
- cant access back up files (Windows NT / 2000 / XP)
- file sharing - why is 'access denied' (Networking Hardware Configuration)
- Access denied with Administrator account (Windows NT / 2000 / XP)
- Access Denied (Windows NT / 2000 / XP)
- can't delet...access denied (Viruses, Spyware and other Nasties)
- file sharing (Windows NT / 2000 / XP)
Other Threads in the ASP.NET Forum
| Thread Tools | Search this Thread |
.net activexcontrol advice ajax alltypeofvideos appliances asp asp.net bc30451 beginner bottomasp.net box browser button c# cac checkbox click commonfunctions control css dataaccesslayer database datagridview datagridviewcheckbox datalist deployment development dgv dialog dropdownlist dynamic dynamically edit embeddingactivexcontrol expose fileuploader fill findcontrol flash form formatdecimal formview gridview gudi iframe iis javascript listbox login microsoft mono mouse mssql multistepregistration news novell numerical opera panelmasterpagebuttoncontrols parent radio redirect registration relationaldatabases reportemail rotatepage save schoolproject search security sessionvariables silverlight smartcard smoobjects software sql-server sqlserver2005 ssl suse textbox tracking treeview unauthorized validatedate validation vb.net video videos virtualdirectory vista visualstudio web webapplications webdevelopemnt webdevelopment webprogramming webservice xsl youareanotmemberofthedebuggerusers





