Hello Everyone,
I have faced recently faced an issue with asp.net of the Plesk control panel with windows. ie, when we access the domain asp.net setting from Plesk control panel >> Website & Domains >> ASP.NET settings from the advance settings, We are getting the following error,
-------------------
Error: ASPdotNet() constructor failed: Unable to getDomainConfiguration: aspnetcfg failed: Invalid namespace
---------------------- Debug Info -------------------------------
0: ASPDotNETUIPointer.php:69
ASPDotNETUIPointer->accessItem(string 'GET', NULL null)
1: UIPointer.php:600
UIPointer->access(string 'GET')
2: plesk.php:50
Error location : Plesk control panel >> Domain control panel >> Website and Domains >> Asp.net setting in advance option-------------------
FIX1. Create a wmifix.cmd file.
2. Place the script below into newly created wmifix.cmd:
net stop winmgmt
pause
c:
cd c:\windows\system32\wbem
rd /S /Q repository
regsvr32 /s %systemroot%\system32\scecli.dll
regsvr32 /s %systemroot%\system32\userenv.dll
mofcomp cimwin32.mof
mofcomp cimwin32.mfl
mofcomp rsop.mof
mofcomp rsop.mfl
for /f %%s in ('dir /b /s *.dll') do regsvr32 /s %%s
for /f %%s in ('dir /b *.mof') do mofcomp %%s
for /f %%s in ('dir /b *.mfl') do mofcomp %%s
net start winmgmt3. Run the script you just created to fix WMI.
Or execute each command in your command line.
This will fix this issue, Check it and fix it now right away if you have this error
Thanks & Regards,
Sumesh K
Linux Server Administrator
Admin-Ahead Server technologies