SQL Web Replipicapi.dll?diag访问被拒绝

发布于 2025-02-04 04:03:24 字数 331 浏览 3 评论 0原文

我对Web复制有问题。我有一个SQL Server,其中包含合并的出版物和1个Web IIS服务器,其中已安装repliSapi.dll。 这两个服务器都在同一域上的同一域上,

当我尝试诊断repliSapi.dll时,

它给我访问拒绝错误。 https://mywebserver/sqlreplication/replisapi.dll?diag

问我凭据,它给我这个错误

由于没有网站的访问而拒绝访问。

您能帮我吗?谢谢

I have a problem with web replication. I Have a SQL Server with a publication for merge and 1 WEB IIS Server where is installed replisapi.dll. both servers on same domain on same LAN

When I try to diagnose the replisapi.dll it give me access denied error.

https://MYWEBSERVER/SQLReplication/replisapi.dll?diag

after ask me the credential it give me this error

Access Denied because of no WebSyncDiagAccess.

can you help me? thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

猫腻 2025-02-11 04:03:24

您需要检查两个地方。

检查应用程序池是否启用了32位应用程序。启用它。

然后检查应用程序池身份。使用管理员或本地系统。其他身份可能没有足够的权限replisapi.dll

There are two places you need to check.

Check application pool if it enables 32-bit applications. Enable it.
enter image description here

Then check application pool identity. Use administrator or local system. Other identity may not have enough permission to replisapi.dll.
enter image description here

执笏见 2025-02-11 04:03:24

该问题在下面的文章中描述了“测试与repsiSapi.dll的连接”标题。
https://learn.microsoft.com/en-us/sql/sql/relational-databases/replication/replication/configure-iis-7-for-web-synchronization?view=sql-server-server-server-ver16

nofollow noreferrer “ 文章说:

要在诊断模式下运行Web同步,您必须是运行IIS的计算机上的管理员。

因此,要解决:

  1. 确定您要使用的用户使用EG域\用户
  2. 的本地管理员,
  3. 上执行IIS重置
  4. 使此用户在IIS服务器测试

它应该成功运行诊断

The issue is described in the following article under the heading "Testing the Connection to replisapi.dll"
https://learn.microsoft.com/en-us/sql/relational-databases/replication/configure-iis-7-for-web-synchronization?view=sql-server-ver16

The article says:

To run Web synchronization in diagnostic mode, you must be an administrator on the computer running IIS.

So to fix:

  1. Identify the user you are logging in with e.g. Domain\user
  2. Make this user a local Admin on the box
  3. Perform an IIS reset on the IIS server
  4. Test

It should successfully run the diagnostics

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文