Hi All,

When I try to run my very first .net App on the server, I got the error saying that

"Server cannot access application directory 'D:\Inetpub\myApp\'. The directory does not exist or is not accessible because of security settings"

Obviously, the folder does exist. It was set as virtual directory. It's an intranet app written in .net I have no problem when running it on my local machine. I don't have any problem running the classic ASP on the server either. .NET framework and everything is ready on the server. Could someone please tell me what is happening here?

Recommended Answers

All 2 Replies

Mod, did I post this thread in the wrong forum?

Has anyone experienced this? PLease help!

Yeah I believe it is in the wrong forum. This is for tutorials.

Make sure the ASPNET user has access to the webroot(I beleive Read/execute is all it needs). And also IUSR user has read/write. I believe this is right if not someone please correct me.

Miller

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.