Click here to Skip to main content
15,938,446 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi
I have a problem with my website. When I click it gives me the subjected error(404 unable to find directory or file Error in ASP).
ex: My website name is http://ABC.com and there is a link on page http://ABC.com/A.aspx
When I click it it goes to http://ABC.Com/B_Folder/B.aspx link then the error comes up.
I have verified that the folder B_Folder and B.aspx file is available in that folder.
I need help why this error come up.
What I am doing wrong.
here is my view: I am setting some permission for the folder but don't know if it is causing the problem.
Posted
Comments
Sinisa Hajnal 13-Oct-14 8:54am    
You've probably denied access to that folder. Try removing your deny="*" or however else you have the protection setup. Remove it, check that it works and then work from there.
jing567 14-Oct-14 2:40am    
Please try to run that page independently as start up page and check whether the code everything in it is correct or not.
2. Another possibility is that are ou sending any paramters to that page which typically consists of special characters?
NaibedyaKar 14-Oct-14 4:35am    
Can you check if there is any virtual directory present for the website.

Have you created the virtual directory for B_Folder.

Another way is to get the folders placed in Inetpub/wwwroot folder , wwwroot is the default directory for websites. earlier versions of windows have this automatically created in c drive. for older version you would have to install the IIS to get you website running and these folder created automatically.
 
Share this answer
 
I have managed to solve it by giving the permission to IUSER the B_Folder was not accessible to the IUSR,so I gave full permission to this user and other users.

But still searching why this IUSR needs permissions.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900