当前位置: 奥门金沙手机娱乐网址 > 数据库 > 正文

server品质计数器难题

时间:2019-10-04 14:48来源:数据库
在SQL SEPRADOVEENCORE 二零零六 Evoque2下用Windows身份认证的报到名创造了多少个拜访ORACLE数据库的链接服务器xxxxx,测量检验成功,木万分,可是任何登陆名使用该链接服务器时,报如下错误

在SQL SEPRADOVEENCORE 二零零六 Evoque2下用Windows 身份认证的报到名创造了多少个拜访ORACLE数据库的链接服务器xxxxx,测量检验成功,木万分,可是任何登陆名使用该链接服务器时,报如下错误:

背景:

消息 7302,级别 16,状态 1,第 1 行

     斩新服务器,供给增添属性监控,发掘不可能透过powershell读取质量指标

Cannot create an instance of OLE DB provider "OraOLEDB.Oracle" for linked server "xxxxxx".

缓和形式:

 

  • Open the Registry Editor by going to the Start Menu and selecting Run…, then type “regedit”, and click the OK button.
  • Navigate to the HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSecurePipeServerswinreg registry key.
  • Right click on the "winreg" key and select Permissions. Add users or groups to which you want to grant Read access.
  • Exit Registry Editor and restart Windows.

此时亟需在“服务器对象”——>“链接服务器”——>“访谈接口”下,找到OraOLEDB.Oracle选项,单击右键选拔属性,然后在拜见接口选项下勾选“允许进度内”(Allow inprocess)。就能够缓慢解决地点难题,有的时候候,可能必要再度新建此链接服务器。

图片 1

 

鬼子给出了一个缓和这一个难题的步调,特出详细严峻,大致八面驶风。可以作为参照他事他说加以考察学习的好质地:

Ran into this issue where the linked server would work for users who were local admins on the server, but not for anyone else. After many hours of messing around, I managed to fix the problem using the following steps:

  1:Run “dcomcnfg.exe”. Navigate to “Component Services -> Computers -> My Computer -> DCOM Config”.

  2:Open the properties page of “MSDAINITIALIZE”.

  3:Copy the “Application ID” on the properties page.

  4:Close out of “dcomcnfg”.

  5:Run “regedit”. Navigate to “HKEY_CLASSES_ROOTAppID{???}” with the ??? representing the application ID you copied in step #3.

  6:Right click the “{???}” folder and select “Permissions”

  7:Add the local administrators group to the permissions, grant them full control.

  8:Close out of “regedit”.

  9:Reboot the server.

  10:Run “dcomconfig”. Navigate to “Component Services -> Computers -> My Computer -> DCOM Config”.

  11:Open the properties page of “MSDAINITIALIZE”.

  12:On the “Security” tab, select “Customize” under “Launch and Activation Permissions”, then click the “Edit” button.

  13:Add “Authenticated Users” and grant them all 4 launch and activation permissions.

  14:Close out of “dcomcnfg”.

  15:Find the Oracle install root directory. “E:Oracle” in my case.

  16:Edit the security properties of the Oracle root directory. Add “Authenticated Users” and grant them “Read & Execute”, “List folder contents” and “Read” permissions. Apply the new permissions.

  17:Click the “Advanced Permissions” button, then click “Change Permissions”. Select “Replace all child object permissions with inheritable permissions from this object”. Apply the new permissions.

  18:Find the “OraOLEDB.Oracle” provider in SQL Server. Make sure the “Allow Inprocess” parameter is checked.

  19:Reboot the server.

 

 

编辑:数据库 本文来源:server品质计数器难题

关键词:

  • 上一篇:没有了
  • 下一篇:没有了