web installer interruption [modified]
-
It happens on some machines with XP, Vista but does not on others. Web site installer simply interrupts. In msiexec log those strings happen. What is the reason of aspnet_regiis.exe failure?
...
INFO : [07/03/2010 01:49:34:109] [GatherWebFolderProperties ]: Opening key '/LM/W3SVC/1/ROOT/MyWebSite/bin'.
ERROR : [07/03/2010 01:49:34:109] [GatherWebFolderProperties ]: Open failed....
INFO : [07/03/2010 01:49:34:765] [RegisterAspNet ]: Running process 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe' with parameters ' -norestart -sn "W3SVC/1/Root/MyWebSite"' silently...
INFO : [07/03/2010 01:49:34:828] [RegisterAspNet ]: Process Call Result Code: '0' Process Exit Code: '3'.
ERROR : [07/03/2010 01:49:34:843] [RegisterAspNet ]: The error indicates that this version of ASP.NET must first be registered on the machine.
......
=== Logging stopped: 2010/07/03 1:49:37 ===
MSI (c) (44:84) [01:49:37:125]: Note: 1: 1708
MSI (c) (44:84) [01:49:37:125]: Note: 1: 2262 2: Error 3: -2147287038
MSI (c) (44:84) [01:49:37:125]: Note: 1: 2262 2: Error 3: -2147287038
MSI (c) (44:84) [01:49:37:125]: Product: My Web Site -- Installation failed.MSI (c) (44:84) [01:49:37:125]: Grabbed execution mutex.
MSI (c) (44:84) [01:49:37:125]: Cleaning up uninstalled install packages, if any exist
MSI (c) (44:84) [01:49:37:125]: MainEngineThread is returning 1603
=== Verbose logging stopped: 2010/07/03 1:49:37 ===Чесноков
modified on Saturday, July 3, 2010 1:31 AM
-
It happens on some machines with XP, Vista but does not on others. Web site installer simply interrupts. In msiexec log those strings happen. What is the reason of aspnet_regiis.exe failure?
...
INFO : [07/03/2010 01:49:34:109] [GatherWebFolderProperties ]: Opening key '/LM/W3SVC/1/ROOT/MyWebSite/bin'.
ERROR : [07/03/2010 01:49:34:109] [GatherWebFolderProperties ]: Open failed....
INFO : [07/03/2010 01:49:34:765] [RegisterAspNet ]: Running process 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe' with parameters ' -norestart -sn "W3SVC/1/Root/MyWebSite"' silently...
INFO : [07/03/2010 01:49:34:828] [RegisterAspNet ]: Process Call Result Code: '0' Process Exit Code: '3'.
ERROR : [07/03/2010 01:49:34:843] [RegisterAspNet ]: The error indicates that this version of ASP.NET must first be registered on the machine.
......
=== Logging stopped: 2010/07/03 1:49:37 ===
MSI (c) (44:84) [01:49:37:125]: Note: 1: 1708
MSI (c) (44:84) [01:49:37:125]: Note: 1: 2262 2: Error 3: -2147287038
MSI (c) (44:84) [01:49:37:125]: Note: 1: 2262 2: Error 3: -2147287038
MSI (c) (44:84) [01:49:37:125]: Product: My Web Site -- Installation failed.MSI (c) (44:84) [01:49:37:125]: Grabbed execution mutex.
MSI (c) (44:84) [01:49:37:125]: Cleaning up uninstalled install packages, if any exist
MSI (c) (44:84) [01:49:37:125]: MainEngineThread is returning 1603
=== Verbose logging stopped: 2010/07/03 1:49:37 ===Чесноков
modified on Saturday, July 3, 2010 1:31 AM
Chesnokov Yuriy wrote:
The error indicates that this version of ASP.NET must first be registered on the machine.
It's quite self explainatory. Go to Visual Studio Command Prompt and do this: Step 1:
aspnet_regiis -u
Step 2:aspnet_regiis -i
Step 3: Now try to deploy/use installer. If you are unable to find the utility 'aspnet_regiis', try at this location (as per your error log): c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\ -
It happens on some machines with XP, Vista but does not on others. Web site installer simply interrupts. In msiexec log those strings happen. What is the reason of aspnet_regiis.exe failure?
...
INFO : [07/03/2010 01:49:34:109] [GatherWebFolderProperties ]: Opening key '/LM/W3SVC/1/ROOT/MyWebSite/bin'.
ERROR : [07/03/2010 01:49:34:109] [GatherWebFolderProperties ]: Open failed....
INFO : [07/03/2010 01:49:34:765] [RegisterAspNet ]: Running process 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe' with parameters ' -norestart -sn "W3SVC/1/Root/MyWebSite"' silently...
INFO : [07/03/2010 01:49:34:828] [RegisterAspNet ]: Process Call Result Code: '0' Process Exit Code: '3'.
ERROR : [07/03/2010 01:49:34:843] [RegisterAspNet ]: The error indicates that this version of ASP.NET must first be registered on the machine.
......
=== Logging stopped: 2010/07/03 1:49:37 ===
MSI (c) (44:84) [01:49:37:125]: Note: 1: 1708
MSI (c) (44:84) [01:49:37:125]: Note: 1: 2262 2: Error 3: -2147287038
MSI (c) (44:84) [01:49:37:125]: Note: 1: 2262 2: Error 3: -2147287038
MSI (c) (44:84) [01:49:37:125]: Product: My Web Site -- Installation failed.MSI (c) (44:84) [01:49:37:125]: Grabbed execution mutex.
MSI (c) (44:84) [01:49:37:125]: Cleaning up uninstalled install packages, if any exist
MSI (c) (44:84) [01:49:37:125]: MainEngineThread is returning 1603
=== Verbose logging stopped: 2010/07/03 1:49:37 ===Чесноков
modified on Saturday, July 3, 2010 1:31 AM
Check if the target .NET framework version is installed on the server/machine where you are tying to deploy the web application. It might be possible that the target .NET framework version is not installed on that machine. If that is the case then install the required framework using the redistributable and proceed with the website installation. If the target .NET framework is installed then, check if the target framework's ASP.NET libraries are registered on the machine/server's IIS. If not then register the ASP.NET libraries using aspnet_regiis of the respective framework. Check the tool's documentation @ ASP.NET IIS Registration Tool (Aspnet_regiis.exe)[^] If the required .NET framework is installed and ASP.NET libraries are registered in IIS and still this error is thrown then check the default version of .NET framework that is configured in IIS. If it is not the desired version then create the necessary virtual directories / websites and set the target .NET framework manually and then proceed with the website install. Ensure that you use the new virtual directories / website for the installation. HTH!