开发者

can't browse to a .cs file in a WCF service

I'm running my WCF service program. This error has occurred; how can it be solved?

Server Error in '/' Application. Description: The type of page y开发者_运维技巧ou have requested is not served because it has been explicitly forbidden. The extension '.cs' may be incorrect. Please review the URL below and make sure that it is spelled correctly.

Requested URL: /IService1.cs Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433


You aren't deploying your service correctly, you should be using .asmx/.svc files and dlls. You probably need to walk through a MSDN WCF Walkthrough

Here is another good MSDN document explaining the Hosting of WCF Services

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜