Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to access sql server configuration manager

I installed the evaluation version of SQL Server 2008 R2 after removing SQL Server 2008 R2 Express. SQL Server Configuration manager was still accessible after the un-installation but now it is no longer accessible with this error:

Cannot connect to WMI provider. You do not have permission or the server is unreachable. Note that you can only manage SQL Server 2005 servers with SQL Server Configuration Manager. Invalid class [0x80041010]

The file sqlmgmproviderxpsp2up.mof is found in the folder C:\Program Files (x86)\Microsoft SQL Server\100\Shared on my PC. I tried to type in the command prompt:

C:\Program Files (x86)\Microsoft SQL Server\100\Shared>mofcomp "C:\Program Files (x86)\Microsoft SQL Server\100\Shared\sqlmgmproviderxpsp2up.mof"

but still get the access denied error. I am unable to find the answer for this issue, does anyone have any ideas?

like image 670
user1220000 Avatar asked May 05 '12 12:05

user1220000


People also ask

How do I restart SQL Server Configuration Manager?

In SQL Server Configuration Manager, in the left pane, select SQL Server Services. In the results pane, right-click SQL Server (MSSQLServer) or a named instance, and then select Start, Stop, Pause, Resume, or Restart.

How do I access SQL Server Configuration Manager remotely?

On the Action menu, click Connect to another computer. In the Select Computer dialog box, in the Another computer text box, type the name of the computer you want to manage, and then click OK. Computer Management displays the services running on the remote computer.

Why is my SQL Server not connecting?

Make sure that Allow Remote Connections is enabled on sql server properties. Check if TCP/IP is enabled. Configure to allow SQL Server in Firewall Settings. Check for working fine SQL Server Browser.


1 Answers

I've got access denied error too. And my solution:

  1. Right click on cmd
  2. chose run as administrator
  3. then type in the command prompt:

    C:\Program Files (x86)> Microsoft SQL Server\100\Shared>mofcomp "C:\Program Files (x86)\Microsoft SQL Server\100\Shared\sqlmgmproviderxpsp2up.mof"

it worked for me.

like image 50
rtyuio Avatar answered Oct 23 '22 07:10

rtyuio