Geeks With Blogs
David Blomqvist

When converting your projects to VS2010 you get the question to migrate them to .net4. But even if you do not do that VS set the ASP.NET version to 4 for setup projects.

And then when you try to install your application on a machine that does not have .NET 4 installed you will get the error message:

“Could not open key: Software\Microsoft\ASP.NET\4.0.30128.0. Verify that you have sufficient access to that key, or contact your support personnel”

image

What you need to do is to change the ASP.NET version back to 2.0 if that is what you want to use.
You do that in the properties of the setup project.

 

image

Posted on Wednesday, April 14, 2010 11:49 PM | Back to top


Comments on this post: VS2010 changes your ASP.NET Version on setup projects to 4 - regardless

# re: VS2010 changes your ASP.NET Version on setup projects to 4 - regardless
Requesting Gravatar...
Cheers Mate, this was doing my head in..
Left by WraithNath on Apr 21, 2010 9:30 PM

# re: VS2010 changes your ASP.NET Version on setup projects to 4 - regardless
Requesting Gravatar...
Thanks, this helped me as well. Where would we be without people like you sharing information??
Left by Kellie on May 03, 2010 7:36 AM

# re: VS2010 changes your ASP.NET Version on setup projects to 4 - regardless
Requesting Gravatar...
Thanks. The post helped me in fixing the problem quickly.
Left by Rajiv on Jul 07, 2010 7:07 AM

# re: VS2010 changes your ASP.NET Version on setup projects to 4 - regardless
Requesting Gravatar...
thanks! that's where the bugger was hiding :)
Left by Andreas Knudsen on Aug 20, 2010 1:10 AM

# re: VS2010 changes your ASP.NET Version on setup projects to 4 - regardless
Requesting Gravatar...
thanks a lot !
marco
Left by marco zagolin on May 13, 2011 8:04 PM

# re: VS2010 changes your ASP.NET Version on setup projects to 4 - regardless
Requesting Gravatar...
Thanks a lot
Left by Manoj Pathak on Jul 06, 2011 12:52 AM

# re: VS2010 changes your ASP.NET Version on setup projects to 4 - regardless
Requesting Gravatar...
thank you it helped me a lot.
Left by pratik on Aug 10, 2011 7:40 PM

# re: VS2010 changes your ASP.NET Version on setup projects to 4 - regardless
Requesting Gravatar...
I could kiss you right now. Thanks for this.
Left by jim lahey on Mar 06, 2012 9:47 PM

# re: VS2010 changes your ASP.NET Version on setup projects to 4 - regardless
Requesting Gravatar...
Cool.. it works well, great!... Thank you for your sharing...
Left by Raja on May 29, 2012 5:12 PM

# re: VS2010 changes your ASP.NET Version on setup projects to 4 - regardless
Requesting Gravatar...
I found this article is very much useful to know more about how VS2010 changes the ASP.NET version on setup projects to version 4. I hope I am able to read more posts on this blog. Thank you so much for sharing this post here!


medical billing service companies
Left by Yash on Mar 01, 2016 3:41 PM

# re: VS2010 changes your ASP.NET Version on setup projects to 4 - regardless
Requesting Gravatar...
There are many things to study in this .NET and I really like to learn new things. This is surely a new thing for me and thanks to this blog for sharing such valuable and useful information with the public. It is really helpful for me.
Johnnie Walker Blue Label For Sale
Left by Angel on Jun 09, 2016 12:45 AM

Your comment:
 (will show your gravatar)


Copyright © blomqvist | Powered by: GeeksWithBlogs.net