好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

访问SSIS得到“Access is denied”错误

 

问题描述:


在Windows Server 2008 R2 SP1 (x64)上的SQL Server 2014 SP1 (x64)执行如下操作:


1. 打开SSMS,选择“Connect”、“Integration Services…”。  
650) this.width=650;" title="clip_image002" style="border-top:0px;border-right:0px;background-image:none;border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px;" alt="clip_image002" src="http://s3.51cto测试数据/wyfs02/M01/6D/1A/wKiom1VcMvLx6sVYAABumJ37hTU827.jpg" border="0" height="171" />


2. 输入实例名后,点击“Connect”。  
650) this.width=650;" title="clip_image004" style="border-top:0px;border-right:0px;background-image:none;border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px;" alt="clip_image004" src="http://s3.51cto测试数据/wyfs02/M02/6D/15/wKioL1VcNG3TPXH3AADk97kJ4l4083.jpg" border="0" height="324" />


3. 得到“Access is denied”错误。  
650) this.width=650;" title="clip_image006" style="border-top:0px;border-right:0px;background-image:none;border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px;" alt="clip_image006" src="http://s3.51cto测试数据/wyfs02/M00/6D/15/wKioL1VcNG6AIMiKAAGPxoD4jsw248.jpg" border="0" height="317" />


当没有足够权限的用户尝试连接到远程服务器上的Integration Services实例时,服务器将以“Access is denied”错误消息进行响应。确保用户具有所需的DCOM权限可避免出现此错误消息。


解决方法:


授予Integration Services服务权限,步骤如下:


1. 如果用户不是本地Administrators组的成员,请将用户添加至“Distributed COM Users”组。通过“Start”、“Administrative Tools”、“Computer Management”弹出计算机管理窗口,展开“Local Users and Groups”、“Groups”,双击“Distributed COM Users”,将用户添加到该组。  
650) this.width=650;" title="clip_image008" style="border-top:0px;border-right:0px;background-image:none;border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px;" alt="clip_image008" src="http://s3.51cto测试数据/wyfs02/M02/6D/1A/wKiom1VcMvXy22IqAAG0-o2goRg388.jpg" border="0" height="447" />


2. 定位到“Start”、“Administrative Tools”、“Component Services”,弹出组件服务窗口。


3. 展开“Component Services”、“Computers”、“My Computer”,然后单击“DCOM Config”节点。  
650) this.width=650;" title="clip_image010" style="border-top:0px;border-right:0px;background-image:none;border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px;" alt="clip_image010" src="http://s3.51cto测试数据/wyfs02/M00/6D/1A/wKiom1VcMvWCn_DRAAC_wDSuWIs810.jpg" border="0" height="210" />


4. 选中“DCOM Config”节点,然后在可以配置的应用程序列表中选择“Microsoft SQL Server Integration Services 12.0”。  
650) this.width=650;" title="clip_image012" style="border-top:0px;border-right:0px;background-image:none;border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px;" alt="clip_image012" src="http://s3.51cto测试数据/wyfs02/M01/6D/15/wKioL1VcNHCiS2wAAABOkQuecc0066.jpg" border="0" height="51" />


5. 右键单击“Microsoft SQL Server Integration Services 12.0”,选择“Properties”。


6. 在属性对话框中,选择“Security”选项卡。  
650) this.width=650;" title="clip_image014" style="border-top:0px;border-right:0px;background-image:none;border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px;" alt="clip_image014" src="http://s3.51cto测试数据/wyfs02/M01/6D/1A/wKiom1VcMveDZ-MxAAFAahWAx8Q928.jpg" border="0" height="534" />


7. 在“Access Permissions”下,选择“Customize”,然后单击“Edit…”,以打开“Access Permission”对话框。


8. 在“Access Permission”对话框中,单击“Add…”或“Remove”,并为适当的用户和组分配相应的权限。可用的权限为“Local Access”、“Remote Access”。访问权限可授予或拒绝本地或远程访问的权限。  
650) this.width=650;" title="clip_image016" style="border-top:0px;border-right:0px;background-image:none;border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px;" alt="clip_image016" src="http://s3.51cto测试数据/wyfs02/M02/6D/15/wKioL1VcNHLShSnjAAEE5k_F1Gs374.jpg" border="0" height="446" />


9. 单击“OK”关闭对话框。


10. 关闭MMC管理单元。


11. 重新启动Integration Services服务。


12. 重新通过SSMS链接Integration Services服务。  
650) this.width=650;" title="clip_image018" style="border-top:0px;border-right:0px;background-image:none;border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px;" alt="clip_image018" src="http://s3.51cto测试数据/wyfs02/M02/6D/15/wKioL1VcNHLBp3qEAAB1OL_ide8233.jpg" border="0" height="140" />

本文出自 “SQL Server Deep Dives” 博客,请务必保留此出处http://ultrasql.blog.51cto测试数据/9591438/1653165

访问SSIS得到[Access is denied]错误

标签:dcom   ssis   component services   

查看更多关于访问SSIS得到“Access is denied”错误的详细内容...

  阅读:102次