Monday, May 6, 2013

Could not open key: Software\Microsoft\ASP.NET\x.x.x.x : ASP.NET Application Installation issue

Issue:

Could not open key: Software\Microsoft\ASP.NET\x.x.x.x : ASP.NET Application Installation issue


The problem is related to ASP.NET application installation. I had an ASP.NET 4.0 application. I created a setup for that application. I tried to install it in a machine where .Net framework 4.0 was installed. I got the following error: 










Solution:

The problem here is VS 2010 has introduced a new property named "ASPNETVersion" for Web Setup deployment projects. The default for the "ASPNETVersion" property is to "4.0.30319.0"

To fix the issue change the "ASPNETVersion" property to "2.0.50727.0" and rebuild the setup.


Reference




No comments:

Post a Comment