troubleshooting Question

Local IIS Website Not Running

Avatar of Starr Duskk
Starr DuskkFlag for United States of America asked on
Microsoft IIS Web Server.NET ProgrammingASP.NET
8 Comments1 Solution560 ViewsLast Modified:
I have Windows 7 Home Premium.
IIS 7.5

I have a remote website that I want to setup locally to run without an internet connection. Right now I am testing it with an internet connection, however.

I have setup the website on my local drive and published my code to it via Visual Studio 2012 and web copy:
C:\inetpub\wwwroot\RTODemo2013
I added Default.aspx to the Default Documents.
Authentication is: Anonymous Authentication

My application pool is setup framework 4.0 / Integrated / LocalSystem.
my binding is:
RTODemo2013

I type in my browser:
http://localhost/RTODemo2013

I get an error on this line in my web.config:
 <sessionState timeout="720" />

Configuration Error
  Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: 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.

I have no virtual directories set up, nor should I.

What do I need to do to run a local version of the website?

thanks.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 8 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 8 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros