如何:为Web同步配置IIS7

时间:2021-12-25 03:33:06

I have followed the instructions here.

我已经按照这里的指示做了。

To cut a long story short, I just cannot connect to:

长话短说,我就是联系不上:

https://machine/site/virtual directory/replisapi.dll?diag

I get:

我得到:

HTTP Error 500.0 - Internal Server Error

Module IsapiModule
Notification ExecuteRequestHandler 
Handler ISAPI-dll
Error Code 0x800700c1 
Requested URL https://machine:443/site/virtual directory/replisapi.dll 
Physical Path C:\inetpub\SQLReplication\replisapi.dll 
Logon Method Basic 
Logon User machine\user 

When browsing to the DLL it does ask for my username and password then shows this error. We're using a self signed certificate as this is just for testing.

当浏览到DLL时,它确实会询问我的用户名和密码,然后显示这个错误。我们使用自签名证书,因为这只是用于测试。

I'm not really a server person so don't know what is going on? There's nothing in the event logs.

我不是一个真正的服务员,所以不知道发生了什么?事件日志中没有任何内容。

Does anyone have any bright ideas of things I could try?

有人对我能尝试的东西有什么好主意吗?

P.S. I also ran the wizard through SQL 2008 R2 which said it was successful (the wizard only works with IIS6) could there be a conflict between IIS6 and 7 now I have tried to set it up on both?

另外,我还通过SQL 2008 R2运行了这个向导,它说它是成功的(该向导只适用于IIS6) IIS6和7之间有冲突吗?

3 个解决方案

#1


2  

Ok, this was me being dumb.

好吧,这是我的愚蠢。

After I retraced my steps backwards and unregistered replisapi.dll and moved into a backup directory.

在我回溯我的步骤和未注册的replisapi之后。并移动到备份目录。

I then removed my module mappings from IIS7.

然后我从IIS7中删除了模块映射。

I then ran the SQL wizard again, which copied replisapi.dll back to the directory.

然后我再次运行SQL向导,该向导复制了replisapi。dll返回到目录。

I noticed it was a different size to the one I was using.

我注意到它的尺寸和我正在使用的不一样。

This was because I had got it from "Program Files" but being a 64bit machine the wizard got it from "Program Files(x86)" and now it works.

这是因为我从“程序文件”中得到了它,但是作为一个64位的机器,向导从“程序文件(x86)”中得到了它,现在它可以工作了。

How simple yet frustrating!

多么简单而令人沮丧!

#2


2  

I had to install the 32bit version of the DLL for this to work

我必须安装32位版本的DLL来运行它

#3


0  

I solved this (IIS8 and sql server 2008 x64) by entering ApplicationPool advanced settings and changing "Enable 32-bit Applications" to "True". Hope this helps. This topic (web sync) is really bad documented

通过输入ApplicationPool高级设置并将“启用32位应用程序”更改为“True”,我解决了这个问题(IIS8和sql server 2008 x64)。希望这个有帮助。这个主题(web同步)被记录得很糟糕

#1


2  

Ok, this was me being dumb.

好吧,这是我的愚蠢。

After I retraced my steps backwards and unregistered replisapi.dll and moved into a backup directory.

在我回溯我的步骤和未注册的replisapi之后。并移动到备份目录。

I then removed my module mappings from IIS7.

然后我从IIS7中删除了模块映射。

I then ran the SQL wizard again, which copied replisapi.dll back to the directory.

然后我再次运行SQL向导,该向导复制了replisapi。dll返回到目录。

I noticed it was a different size to the one I was using.

我注意到它的尺寸和我正在使用的不一样。

This was because I had got it from "Program Files" but being a 64bit machine the wizard got it from "Program Files(x86)" and now it works.

这是因为我从“程序文件”中得到了它,但是作为一个64位的机器,向导从“程序文件(x86)”中得到了它,现在它可以工作了。

How simple yet frustrating!

多么简单而令人沮丧!

#2


2  

I had to install the 32bit version of the DLL for this to work

我必须安装32位版本的DLL来运行它

#3


0  

I solved this (IIS8 and sql server 2008 x64) by entering ApplicationPool advanced settings and changing "Enable 32-bit Applications" to "True". Hope this helps. This topic (web sync) is really bad documented

通过输入ApplicationPool高级设置并将“启用32位应用程序”更改为“True”,我解决了这个问题(IIS8和sql server 2008 x64)。希望这个有帮助。这个主题(web同步)被记录得很糟糕