Thursday, April 22, 2010

WebApplication MSI Install Issue

As part of the compatibility testing of the new web Application developed by us, the client asked us to give the msi install so that they could test it on one of their test server. When they installed in the Test Server the msi failed. I asked them to run it in the Log mode and send me the Logfile.
msiexec /i /l*vx C:\SomeDirectory\SomeFilename.log

When I went through the logfile I found the following issue:
RROR : [03/03/2010 08:42:56:992] [RegisterAspNet ]: The error
indicates that this version of ASP.NET must first be registered on the machine.
ERROR : [03/03/2010 08:42:56:992] [RegisterAspNet ]: FAILED:
-2147024893

This error message is so generic that I really don’t know what is the real cause. After cheking each configuration between my dev machine and the Test Machine, we finally realized that the Web Service Extension dint have ASP.NETv2.0.50727. I asked them to re-register the Web Service Extension by running aspnet_regiis –I and it solved the problem.

No comments: