简体   繁体   English

在Visual Studio 2012中使用文件系统发布方法发布WCF服务应用程序

[英]Publish WCF service application using File system publish method in visual studio 2012

I want to publish WCF service in my local system using File system publish method. 我想使用文件系统发布方法在本地系统中发布WCF服务。 In Publish method i have given "File system", Target location as "C:\\inetpub\\wwroot\\wcfpublish" and destination url as " https://wcf.publish.net:11096/Default.html ". 在发布方法中,我给出了“文件系统”,目标位置为“ C:\\ inetpub \\ wwroot \\ wcfpublish”,目标网址为“ https://wcf.publish.net:11096/Default.html ”。 But when i click on publish error message is coming saying "Fail to open url of https://wcf.publish.net:11096/Default.html . Exception: Class not registered". 但是,当我单击“发布”时,出现错误消息,提示“无法打开https://wcf.publish.net:11096/Default.html的 URL。例外:类未注册”。 I have configured in host file also., Please guide me 我也在主机文件中配置了。,请指导我

In my experience, when doing a FileSystem publish, the publishUrl actually points to file path rather than a Url as the name would suggest. 以我的经验,在执行FileSystem发布时, publishUrl实际上指向文件路径,而不是名称所暗示的Url。

Try setting PublishUrl to C:\\inetpub\\wwroot\\wcfpublish . 尝试将PublishUrl设置为C:\\inetpub\\wwroot\\wcfpublish

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM