To determine the exact failure that occurred, click the log file link on the last screen of the installation process for ASP.NET Web Pages or ASP.NET MVC 3. Locate the error code that made the installation fail. This error in turn points to the MSI log, which is located in the same folder. The MSI log will report an error similar to the following:
- You have a pre-release version of ASP.NET Web Pages or ASP.NET MVC 3 installed and you installed Visual Studio 2010 SP1. When you install the released version of ASP.NET Web Pages or ASP.NET MVC 3, you receive the error listed above when the installation fails.
- You have sections in the root Web.config file marked with allowOverride="false". (The root configuration file is in the %system%\Microsoft.NET\Framework\<version>\Config folder).
- Another process has locked the root Web.config file. This prevents the installer from writing to it.
- The root Web.config is read-only.
- Remove the trailing backslash from the following registry keys:
- Uninstall the old version of Microsoft ASP.NET Web Pages.
- Add the trailing backslash back to the registry keys.
- Install ASP.NET Web Pages or ASP.NET MVC 3 again.
- Change any sections in the root Web.config file that have allowOverride="false" to allowOverride="true".
- Determine what process is locking the root Web.config file and end that process, or restart the computer you are trying to install to.
- Make sure that the root Web.config file is not set to read-only.
- After making these changes, install ASP.NET Web Pages or ASP.NET MVC 3 again.
Raksta ID: 2531566. Pēdējo reizi pārskatīts: 2011. gada 18. apr.. Pārskatījums: 1