wcf寄宿iis7是的 500错误

错误信息:

HTTP Error 500.19 - Internal Server ErrorDescription: The requested page cannot be accessed because the related configuration data for the page is invalid. Error Code: 0x80070005 Notification: BeginRequest Module: IIS Web Core Requested URL: http://localhost:80/ProductsService/ProductsService.svc Physical Path: C:\Test\ProductsService\ProductsService\ProductsService.svc Logon User: Not yet determined Logon Method: Not yet determined Handler: Not yet determined Config Error: Cannot read configuration file Config File: \\?\C:\Test\ProductsService\ProductsService\web.config Config Source:

   -1:

    0:

多半是访问权限造成的,按照以下配置权限

http://blog.csdn.net/chensirbbk/article/details/6435133

完成后如果提示找不到服务,确保虚拟目录的bin下有相应的程序集。

你可能感兴趣的:(IIS)