开发者

Running WCF webservice on 64bit windows server and II6

I have deployed a wcf service on two different machines. One is running windows server 2003 x86 and the other is x64. The x86 version works fine but on the x64 it just displays page not found when I navigate to the service in a browser.

The server is running IIS 6 and was set up the same as the x86 server.

Any ideas?

EDIT 1

Now I am getting

Exception Details: System.BadImageFormatException: Could not load file or assembly 'AgentSer开发者_如何学Govice' or one of its dependencies. An attempt was made to load a program with an incorrect format.


I would look like one of your dependent assemblies is built only for 32bit.

In that case you would need to force IIS (assuming thats whats hosting your service) to run in 32bit mode - see this msdn page for how to do that

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜