Problem with Access Rules and Vdir configuration

Oct 12, 2010 at 5:52 PM

Hello,  I am running your application and everything from source code works well from localhost browsing, except I am getting an exception on this line :

Configuration config = WebConfigurationManager.OpenWebConfiguration(virtualFolderPath);  (after selecting the folder 'members')

An error occurred loading a configuration file: Failed to map the path '/'

I am now attempting to load the project from a Visual Studio Package to IIS 7 on Windows 2008 Server with SQL Server 2008 and wanted to know if there are any discussions or documentation on this procedure, since i want to create the Vdirs correctly in IIS.  Thanks for any helpful links or things I have to be careful of.


Oct 23, 2011 at 5:45 AM
Edited Oct 23, 2011 at 5:46 AM

Run Visual Studio as Administrator. It worked for me after follow this post: