如何在IIS中托管WCF服务

问题描述:

hi
我正在使用Visual Studio 8
和iis 7


我在iis中托管我的wcf服务
但是浏览时出现以下错误...







错误摘要
HTTP错误404.3-找不到
由于扩展程序配置的原因,无法提供您请求的页面.如果页面是脚本,请添加处理程序.如果应下载文件,请添加一个MIME映射.




解决此问题


我运行这个


C:\ WINDOWS \ Microsoft.NET \ Framework \ v2.0.50727 \ aspnet_regiis -i


这也

hi
I am using Visual Studio 8
and iis 7


I am hosting my wcf service in iis
but i m getting following error when i am browsing ...







Error Summary
HTTP Error 404.3 - Not Found
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.




To resolve this


i run this


C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis -i


and this also

Navigate to:
C:\windows\Microsoft.Net\Framework\v3.0\Windows Communication Foundation\

In case you are running on a 64Bit machine, than navigate to:
C:\windows\Microsoft.Net\Framework64\v3.0\Windows Communication Foundation\

Run the following command: ServiceModelReg –i




但是,我的问题"仍未解决




But Still My Problem is not resolve

您是否以 Administrator 身份运行命令提示符?
^ ]
在IIS中添加MIME映射 [
Did you run the command prompt as Administrator?
The page you are requesting cannot be served because of the extension configuration[^]
Adding a MIME map in IIS[^]