异常信息:由于内部错误,服务器无法处理该请求。有关该错误的详细信息,请打开服务器上的 IncludeExceptionDetailInFaults (从 ServiceBehaviorAttribut
摘要:
在wcf项目下,找到web.config 文件修改如下<serviceDebug includeExceptionDetailInFaults="true"/> 阅读全文
posted @ 2012-07-24 17:03
mrma1989
阅读(288)
评论(0)
推荐(0)
摘要:
protected void GetDownload(string xlfile) { string path = Server.MapPath(xlfile); System.IO.FileInfo file = new System.IO.FileInfo(path); Response.Clear(); Response.Charset = "GB2312"; Response.ContentEncoding = System.Text.Encoding.UTF8; // 添加头信息,为"文件下载... 阅读全文
posted @ 2012-07-24 16:26
mrma1989
阅读(238)
评论(0)
推荐(0)
浙公网安备 33010602011771号