解决.svc 无法解析

aspnet_regiis -i & ServiceModelReg -i 

C:\Program Files\Microsoft Visual Studio 10.0\VC>aspnet_regiis -i
Start installing ASP.NET (4.0.30319).
....................
Finished installing ASP.NET (4.0.30319).
C:\Program Files\Microsoft Visual Studio 10.0\VC>ServiceModelReg -r
Microsoft (R) WCF/WF registration tool version 4.0.0.0
Copyright (c) Microsoft Corporation.  All rights reserved.
Administration utility that manages the installation and uninstallation of
WCF and WF components on a single machine.
[SC] ChangeServiceConfig2 成功
[SC] ChangeServiceConfig2 成功
[SC] ChangeServiceConfig2 成功
[SC] ChangeServiceConfig2 成功
[SC] ChangeServiceConfig2 成功
[SC] ChangeServiceConfig2 成功
[SC] ChangeServiceConfig2 成功
[SC] ChangeServiceConfig2 成功
[Warning]The HTTP namespace reservation already exists.
C:\Program Files\Microsoft Visual Studio 10.0\VC>

 直接搞定 

 

posted @ 2012-03-06 10:44  东风125  阅读(370)  评论(0编辑  收藏  举报