Remote Procedure call failed with sql server 2008 R2

后端 未结 11 1594
耶瑟儿~
耶瑟儿~ 2020-12-23 13:03

I am working with SQL Server 2008 R2. I am unable to connect to my database remotely. I got the following error.

A network-related or instance-spe

相关标签:
11条回答
  • 2020-12-23 13:54

    Open Control Panel > Administrative Tools > Services > Select Standard services tab (under the bottom) > Find start SQL Server Agent

    Right Click and select properties,

    Startup Type : Automatic,

    Apply, Ok.

    Done.

    0 讨论(0)
  • 2020-12-23 13:56

    This error occurs only after I have installed the Microsoft Visual Studio 2012 setup in my work machine.

    Since it is being a WMI error, I recompiled the MOF file –> mofcomp.exe "C:\Program Files (x86)\Microsoft SQL Server\100\Shared\sqlmgmproviderxpsp2up.mof"

    I also un-registered and re-registered the sql provider DLL –> regsvr32 "C:\Program Files (x86)\Microsoft SQL Server\100\Shared\sqlmgmprovider.dll" but issue not resolved.

    Solution:

    I have applied SQL Server 2008 R2 SP2 on my SQL 2008 R2 instance and that fixed the issue with Sql Server Configuration Manager. You can download setup from here... http://www.microsoft.com/en-us/download/details.aspx?id=30437 .

    0 讨论(0)
  • 2020-12-23 13:56

    I can't comment yet, but make sure you made all the checks in this quide: How to enable remote connections in SQL Server 2008? It should work fine if all steps are made.

    0 讨论(0)
  • 2020-12-23 13:58

    I just had the same issue and was able to solve it by installing Service Pack 1.

    0 讨论(0)
  • 2020-12-23 14:04

    After trying everything between Stackoverflow and Google, I finally found a solution : http://blogs.lessthandot.com/index.php/datamgmt/dbadmin/remote-procedure-call-failed/

    TL;DR :

    If you are (or were) running multiple versions of SQL Server on your machine, that Configuration Manager shortcut on your start menu might be pointing to an older version, which it shouldn't be. It was pointing to an old Sql Server 2008 instance in my case.

    The solution was to :

    1. Go to either C:\Windows\SysWOW64 or C:\Windows\System32, depending on your system.
    2. Look for an executable called SQLServerManagerXX.msc, and run the latest version if you have multiple ones. In my case, I had both SQLServerManager11.msc and SQLServerManager10.msc, where the 10th gave the error, and the 11th worked perfectly.
    0 讨论(0)
提交回复
热议问题