Access to the path...

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm trying to place some asp.net files on my existing web server. The files are an .aspx, .ascx, and a .xml. However, when I try to access the .aspx file from a browser, I get the following response:


Access to the path "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\xmlnavbar\c9b54dd8\f1d747b8" is denied.

Can anyone tell me what's wrong?

Thanks,
Brian Rupert
 
You can try simply that folder (xmlnavbar and below) or try deleting the cache for that application which is located at:

C:\Documents and Settings\USERNAME\VSWebCache\COMPUTERNAME\APPLICATIONNAME

There may be a lock on the cached files.

hope this helps,
John
 
I am not sure where is your XML file, but I think you upload the XML in the
same folder with the aspx, you need to use Server.MapPath("file.xml") to
locate the file in the application folder.

try:
Server.MapPath("file.xml")



---
Tee



Brian Rupert said:
I'm trying to place some asp.net files on my existing web server. The
files are an .aspx, .ascx, and a .xml. However, when I try to access the
..aspx file from a browser, I get the following response:
Access to the path "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary
ASP.NET Files\xmlnavbar\c9b54dd8\f1d747b8" is denied.
 

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

Back
Top