【发布时间】:2014-04-17 13:07:59
【问题描述】:
我已将 .svc 文件添加到我的 Web 项目 - 它不会运行。当我请求它(它手动托管在 IIS 中)时,我得到了。但是,当我在 Azure 模拟器中运行 Web 项目时,它确实给出了有效的响应(服务概述)。
错误:
文件名、目录名或卷标语法不正确。 (HRESULT 异常:0x8007007B)
在执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪来识别有关异常起源和位置的信息。
[FileNotFoundException: The filename, directory name, or volume label syntax is incorrect. (Exception from HRESULT: 0x8007007B)]
System.Runtime.AsyncResult.End(IAsyncResult result) +622882
System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result) +196075
System.Web.AsyncEventExecutionStep.OnAsyncEventCompletion(IAsyncResult ar) +166
【问题讨论】: