Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have developed a small application in C# ASP.NET which has to run in a virtual directory of a ASP classic website on a IIS6 server. Like this:

+- www.somesite.com: IIS Root of the ASP Classic site.
+- www.somesite.com/newsite: Virtual Directory to the new ASP.NET site.

Now if I request "www.somesite.com/newsite" in the browser of the server, it says:
Server Error in '/' Application.
--------------------------------------------------------------------------------

Runtime Error 
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. 


BUT: The section:
<customErrors mode="Off"/>
is already set to OFF in the current web.config of the virtual directory. AND there are no web.config files in the parent directory('s), because it is a ASP classic website.

I've looked in the error log of the server and found a error about the security settings not being right for the server:
Failed to start monitoring changes to 'D:\Websites\www.somesite.com\web.config' because access is denied. 

Application virtual path: '/newsite'.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

So I changed the security settings of the folder of the virtual directory to be the same as the current ASP Classic website. Didn't work.

Can anyone help?
Posted
Comments
ZurdoDev 12-Jul-12 8:20am    
After you changed the security settings are you still getting access is denied error?

1 solution

Somebody else copied the server to a different IP adres. So I was updating the wrong server. Oeps...
 
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