现在的位置: 首页 > 综合 > 正文

Host WCF on IIS 7.5

2012年07月16日 ⁄ 综合 ⁄ 共 458字 ⁄ 字号 评论关闭

here is the solution:

step 1:

open folder : C:\WINDOWS\Microsoft.Net\Framework\v3.0\Windows Communication Foundation

step 2:

run command:ServiceModelReg.exe /i /x

step3:

run command:%comspec% /k ""C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat"" x86

step 4:

run command: aspnet_regiis.exe -i

and then the following message will print out on the screen:

Start installing ASP.NET (4.0.30319).
............
Finished installing ASP.NET (4.0.30319).

now you should access your WCF service hosted on IIS7.5

抱歉!评论已关闭.