I'm using Visual Studio 2013 Pro and I have also installed IIS 7.5 on a Windows 7 Pro 64 bit machine.
My asp.net 2.0 / SQL Server 2012 website is running perfectly on my hosting service but I get errors when I try to run it on my local machine.
After downloading the database and website code to my local machine, I restored the database and put in and tested a new connection string.
Now, when load the website into Visual Studio and use Ctrl-F5 I get the following error:
Error 1 It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. D:\ORMF\wwwroot\web.config 32
Line 32 in the web.config : <sessionState mode="Off" />
I have been trying to fix this problem for the last six hours and have run out of ideas.
Any clues anyone?