• 博客园logo
  • 会员
  • 周边
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
ueqt
博客园    首页    新随笔    联系   管理    订阅  订阅

silverlight调用WCF时候的错误处理

假如输入http://localhost/service.svc,返回error 404.3-Not found and the mime type not being configured correctly to be served。很有可能是因为VS之后安装或修改了IIS,就如同aspnet_regiis.exe一样。

解决方法就是执行以下命令:

C:\Windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\ServiceModelReg.exe -i

What it did, it installed the necessary scriptmaps at the IIS metabase root and folders within.
posted @ 2009-08-03 10:50  ueqt  阅读(171)  评论(0)    收藏  举报
刷新页面返回顶部
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3