I am having problems deploying my MVC3 application to my localhost. I am looking for details for creating and deploying an ASP MVC 3 application on my local system. I tried to deploy this, but ran into a problem after the problem. Instead of tracking each problem separately (and I may have to do it anyway), I would like to create a guidebook for the same group that see this message.
I am looking for steps, including installing libraries (ASP MVC3, IIS, etc.) on a Win7 SP1 machine with VS2010 installed. Also, how do I configure IIS and how do I publish? The goal will be to deploy this web application on another Win7 machine in the house, but localhost will be the first step. In addition, it would be useful to know what steps are needed to make a site accessible from another computer on the same network.
Here is what I have done so far:
- Created ASP MVC 3 application with VS2010
- Built and launched
- Installed by IIS
In IIS - “Added Application” to “Default Web Site” with the alias: “Hello”
4a. "Hello" runs on DefaultAppPool, .Net 4.0; Integrated piping
4b. "Hello" has the physical path C: \ inetpub \ Hello
- In VS2010 - right-click on the project and select "Publish" using FTP
- web browser: go to "localhost / Hello"
500.19 - Internal server error:
Config Error: This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set explicitly by a location tag with overrideMode="Deny" or the legacy allowOverride="false"
Configuration file:
\\?\C:\inetpub\wwwroot\web.config
Requested URL:
http:
Physical path:
C:\inetpub\Hello
Configuration Source:
68: <validation validateIntegratedModeConfiguration="false" />
69: <modules runAllManagedModulesForAllRequests="true" />
70: </system.webServer>
Medicineman
source share