Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: ASP.NET error under the domain control panel.  (Read 2088 times)

0 Members and 1 Guest are viewing this topic.

sumesh

  • Guest
ASP.NET error under the domain control panel.
« on: January 10, 2014, 07:47:10 pm »
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

-------------------

FIX

1. 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 winmgmt


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