• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Plesk 9.5.3 issue on windows 2008 server

When we are trying to create any domain or when we are trying to reconfigure any domain we get the following error:

C:\Program Files (x86)\Parallels\Plesk\admin\bin>websrvmng.exe --reconfigure-vhost --vhost-name=test.com
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)

while adding the error is as follow:

Failed domain creation: Unable to update domain data: Execute websrvmng --add-domain "--domain-name=mohammadzikrullahsiddiqui.com" failed: 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* sitesInfo)
---------------------- Debug Info -------------------------------
0: DomainPropertiesUIPointer.php:284
DomainPropertiesUIPointer->accessItem_create(string 'POST')
1: DomainPropertiesUIPointer.php:62
DomainPropertiesUIPointer->accessItem(string 'POST', NULL null)
2: UIPointer.php:601
UIPointer->access(string 'POST')
3: plesk.php:43


This is happening after plesk 9.5.3 upgrade.
 
I have fixed the issue to my own. Do you have IIS6 or IIS 7. IF IIS 7 is there then you will see there will be site called SITE_<site_ID> just delete those and you will be able to fix this.
 
same error here with 9.5.3.

(Dristi Technologies: i did not understand your solution, could you explain what you did exactly please? i mean where and what did you delete?)
 
Isuue fixed

I received the following error initially while trying to reconfigure a domain.

-------------------
C:\>"%plesk_bin%\websrvmng.exe" --reconfigure-vhost --vhost-name=test123.com
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)
-------------------

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
-------------------

Then, I tried to reconfigure/add/remove the domain and I was able to do it successfully.

-------------------
C:\>"%plesk_bin%\websrvmng.exe" --reconfigure-vhost --vhost-name=test123.com
C:\>
-------------------

Hope this helps :)
 
I received the following error initially while trying to reconfigure a domain.

-------------------
C:\>"%plesk_bin%\websrvmng.exe" --reconfigure-vhost --vhost-name=test123.com
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)
-------------------

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
-------------------

Then, I tried to reconfigure/add/remove the domain and I was able to do it successfully.

-------------------
C:\>"%plesk_bin%\websrvmng.exe" --reconfigure-vhost --vhost-name=test123.com
C:\>
-------------------

Hope this helps :)


I got that error too, but either trying to create a new domain or reconfiguring, it did not matter.

Failed domain creation: Unable to update domain data: Execute websrvmng --add-domain "--domain-name=test123.com" failed: 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)
---------------------- Debug Info -------------------------------
0: DomainPropertiesUIPointer.php:284
DomainPropertiesUIPointer->accessItem_create(string 'POST')
1: DomainPropertiesUIPointer.php:62
DomainPropertiesUIPointer->accessItem(string 'POST', NULL null)
2: UIPointer.php:601
UIPointer->access(string 'POST')
3: plesk.php:43

So I wonder, is there anythign else I should try?
 
Removing SITE_* entries corrected this error for me too. Are these entries created by Plesk for some reason? Any idea?
 
Back
Top