[英]Unable to host WCF in IIS 8.5
I want to host WCF Service Application in IIS. 我想在IIS中托管WCF服务应用程序。 I watch some video how to do that. 我看了一些视频,该怎么做。 Here is the step i tried: 这是我尝试的步骤:
After success to view the service in browser. 成功后,在浏览器中查看服务。 I try to host this service in IIS. 我尝试在IIS中托管此服务。 On the IIS, Right Click in the Default Web Site -> Add Application. 在IIS上,右键单击“默认网站”->“添加应用程序”。
I browse this service by clicking browse in the IIS 我通过在IIS中单击浏览来浏览此服务
I did not make a change to the WCF Service Application. 我没有对WCF服务应用程序进行任何更改。 I keep it all default just like inside the video that i watch recently. 我将其保留为所有默认设置,就像最近观看的视频一样。 Is there a problem with my IIS ? IIS是否有问题? (I use IIS 8.5 by the way) (顺便说一下,我使用IIS 8.5)
Check framework on application pool. 检查应用程序池上的框架。 Enable Directory browsing also. 也启用目录浏览。
Asp.net to IIS Registration: Asp.net到IIS的注册:
Check if you are using 64 or 32 bit. 检查您使用的是64位还是32位。
Command Prompt: 命令提示符:
1. cd C:\Windows\Microsoft.NET\Framework64\v4.0.30319
2. aspnet_regiis -i
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.