托管 WCF 服务
所以我是 WCF 服务的新手,我需要创建一个双工服务(正在处理它),但是我无法弄清楚在哪里/如何托管它(外部)。现在我正在使用 http://aspspider.com 进行托管,效果很好,但我无法获得wcf 服务应用程序正在运行。
我找到了这个示例,我将用它来帮助我的服务正常运行。我尝试将服务上传到 assppider,但出现错误。
配置错误描述:处理服务此请求所需的配置文件期间发生错误。请查看下面的具体错误详细信息并适当修改您的配置文件。
解析器错误消息:在应用程序级别之外使用注册为allowDefinition ='MachineToApplication'的部分是错误的。此错误可能是由于未将虚拟目录配置为 IIS 中的应用程序而导致的。
源错误:
Line 29: ASP.NET to identify an incoming user.
Line 30: -->
>>>Line 31: <authentication mode="Windows"/>
Line 32: <!--
Line 33: <customErrors> section enables configuration
该服务在本地运行良好,因此我只需要帮助即可使其在 assppider 上运行(或者如果您有更好的选择)。
So i am new to WCF Services and I need to create a dulplex service (working on it) however I cannot figure out where/how to host it (external). Right now I am using http://aspspider.com for my hosting, which works fine, but i am having trouble geting a wcf service application working.
I found this example which i will be using to help get my service working. I tried to just upload the service to aspspider, but i get an error.
Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.
Source Error:
Line 29: ASP.NET to identify an incoming user.
Line 30: -->
>>>Line 31: <authentication mode="Windows"/>
Line 32: <!--
Line 33: <customErrors> section enables configuration
The service works fine locally, so i just need help to get it working on aspspider (or if you have a better option).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我使用 Station5.net 作为我的主机,从未遇到过任何问题。
I use Station5.net as my host and never had any issues with them.