WCF托管和使用问题 [英] WCF Hosting and consume Problem
本文介绍了WCF托管和使用问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我托管了wcf服务,第一次可以正常运行,过了几次显示错误
由于扩展名配置,无法提供您请求的页面.如果该页面是脚本,请添加处理程序.如果应下载文件,请添加MIME映射."
解决方法
谢谢与问候
Gaurav Ebay
I hosted wcf service,it works first time correct,After few time it was showing error
"The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map."
how to resolve it
Thanks & Regards
Gaurav Ebay
推荐答案
尝试使用 ^ ]来注册您正在使用的.NET Framework版本.
如果这样不能解决问题,请尝试将MIME类型添加到IIS.对于IIS7:
MS Technet:添加MIME类型(IIS 7) [ ^ ]
MS Technet:添加脚本映射处理程序映射(IIS 7) [ ^ ]
否则,请尝试: HTTP错误404.3-找不到页面正在请求... [ ^ ]
Try using aspnet_regiis.exe[^] to register version of .NET framework you are using.
If that does not fix the issue, try adding a MIME type to IIS. For IIS7:
MS Technet: Add a MIME Type (IIS 7)[^]
MS Technet: Add a Script Map Handler Mapping (IIS 7)[^]
Or else, try: HTTP Error 404.3 - Not Found The page you are requesting...[^]
这篇关于WCF托管和使用问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文