Following error can come in plesk control panel while setting up/updating physical hosting for a domain in the plesk control panel…
External component has thrown an exception.
In IIS7NativeProvider module
Exception type: System.Runtime.InteropServices.SEHException
at _CxxThrowException(Void* , _s__ThrowInfo* )
at ServerManagerFactory.getHttpRedirectSection(String location)
at IIS7ServerManager.getSitesInfo(IIS7ServerManager* , list<WebSiteInfo\,std:
:allocator<WebSiteInfo> >* sitesInfo)
Here is the quick workaround :
Open IIS, expand sites.
In my case, I found an entry “SITE_*****” under sites which was stopped. I was not able to delete it directly from IIS. I used the following command to remove the entry from IIS.
C:\> cd %systemroot%\System32\inetsrv
C:\Windows\System32\inetsrv>APPCMD delete site SITE_*****
SITE object “SITE_*****” deleted
You need to restart the IIS.
If you still find the entry “SITE_*****” under sties in IIS, then you need to manually delete the respective entries from the applicationhost.config file.
Note : It is highly recommended to take the backup of applicationhost.config file before making any changes. You can also copy the entire “inetserv” folder as a backup.
Please fill in your email address to get most latest updates.