Tuesday, July 29, 2014

The installer was interrupted before application could be installed. You need to restart installer to try again

Introduction: 

In this article I will explain how to solve “
The installer was interrupted before application could be installed. You need to restart installer to try again” problem during installation of custom web setup projects in system.

Description:

In previous article I explained how to create setup project to deploy application in IIS. After create a create Setup project for that application I tried to install it in my system during that time I got error like “The installer was interrupted before application could be installed. You need to restart installer to try again”.

To solve this problem I made some of changes in my system.

Follow below steps to solve this problem

Step1: Go to Control Panel ---> Programs ---> Uninstall a Program ---> Turn Windows features on or off
Step 2: After click on Turn Windows features on or off option one new window will open in that select Internet Information Service ---> Web Management Tools ---> IIS 6 Management Compatibility ---> in that select IIS Metabase and IIS6 configuration compatibility

Once you select IIS Metabase and IIS 6 configuration compatibility click OK.

After completion all of above processes try to install setup file it will work for you.

Could not open key Software\Microsoft\ASP.Net\4.0.30319.0. Verify that you have sufficient access to that key, or contact your support personnel





This problem can occur when installing a web project that has been built using VS2010.
There is a new property within VS2010 web setup projects called ‘ASPNETVersion’  which defaults to “4.0.30319.0″. This obviously causes an issue if the web project is being deployed on a server that only has ASP.Net 2 installed.
enter image description here
Luckily the fix is easy:
  • Open the setup project
  • Change the “ASPNETVersion” property from “4.0.30319.0″ to “2.0.50727.0″
  • Rebuild the setup project
  • Reinstall on the target server

Failed to generate a user instance of SQL Server due to failure in retrieving the user's local application data path. Please make sure the user has a local user profile on the computer. The connection will be closed. Description

In IIS under Windows 7, Select the application pool and then "advanced settings." Under "process model" find "Load User Profile" and set it to true.
SQL should now load under the default app pool account.