I have a web application designed for the .NET Framework 3.5 and built using Visual Studio 2010.
The problem is that when installing on a Windows 2008 R2 server only with Framework 3.5 Service Pack 1 (SP1) installed, the installation fails with this error. In fact, he is looking for framework 4, but he does not need it.
Failed to open key Software \ Microsoft \ ASP.Net \ 4.0.30319.0. Confirm that you have sufficient access to this key or contact your support staff.
I think in this case the support staff will be SO users. This is a long-standing problem that I encountered primarily due to the brilliant expediency of not disturbing MSI and copying files. Unfortunately, this will all hit the new project, where it will not be an option.
Thanks so much for your time.
Other information
- There is a deployment project that generates MSI, which has a .Net dependency, which also targets the .Net framework 3.5.
- Each project in my solution is aimed at the 3.5 framework
- Each link to the BCL DLL in any project that will be included in the deployment is version 2.0 or version 3.5
source share