Click here to Skip to main content
12,559,255 members (45,826 online)
Rate this:
Please Sign up or sign in to vote.
See more: IIS6 ASP.NET IIS

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:

+- IIS Root of the ASP Classic site.
+- Virtual Directory to the new ASP.NET site.

Now if I request "" 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\\web.config' because access is denied. 
Application virtual path: '/newsite'.
For more information, see Help and Support Center at

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 12-Jul-12 1:36am
ryanb31 12-Jul-12 8:20am
After you changed the security settings are you still getting access is denied error?

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Somebody else copied the server to a different IP adres. So I was updating the wrong server. Oeps...

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.161026.1 | Last Updated 12 Jul 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100