Install Error: Cannot connect to IIS with http or https...

  • 7920710
  • 13-Jun-2006
  • 27-Apr-2012

Environment

PlateSpin Migrate or Protect installation attempt.

Situation

 

During the installation of PowerConvert, the following error message appears:

Error: System.Exception: Cannot connect to IIS with http or https...
   at PlateSpin.OperationsFramework.InstallHelpers.GetOFXConnectionURL(String ofxWebDirectoryName, CertificateWarnings certificateWarning)
   at PlateSpin.OperationsFramework.Install.ProjectInstaller.SetOfxDefaultSecurity()
   at PlateSpin.OperationsFramework.Install.ProjectInstaller.Install(IDictionary state)
Error: Cannot connect to IIS with http or https...

Resolution

During the installation, setup will attempt to connect to the existing IIS Server.  If setup is not able to successfully connect to IIS using either http or https - this error will appear.  The cause of this error generally indicates a problem with the existing IIS Server.  The following steps are strongly recommended when experiencing the above error:

  1. Confirm that the Default website within IIS is in a running state.
  2. Ensure the ASP.NET v2.0 web service extension in IIS is set to allowed as listed below
  3. Ensure that IIS and ASP.NET v2.0 are installed properly – for more details please review TID 7920595
  4. To ensure that ASP.NET 2.0 is properly registered with IIS, run the command:

"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe" -i 

If the above steps will not resolve the issue, please reinstall IIS as per the following:

  1. Uninstall PowerConvert Server and Client (if a previous version is installed)
  2. Uninstall MSDE
  3. Uninstall .NET Framework 2.0
  4. Uninstall IIS
  5. Reboot the server
  6. Install IIS and ASP.NET as per TID 7920595
  7. Install .NET Framework 2.0
  8. Reboot the server
  9. Ensure that the necessary IIS and NTFS permissions are granted as per TID 7920718
  10. Install the PowerConvert Server and MSDE
  11. Install the PowerConvert Client

 

If the above steps does not resolve the issue, it is recommended to configure IIS for IIS 5.0 isolation mode.

To configure IIS for IIS 5.0 isolation mode, the following steps are required:

  1. In IIS Manager, expand the local computer, right-click Web Sites, and then click Properties.
  2. Click the Service tab, select the Run WWW service in IIS 5.0 isolation mode check box, and then click OK.
  3. To start the WWW Service, click Yes when asked if you want to restart IIS now.