500 - 内部服务器错误。

您查找的资源存在问题,因而无法显示。

鏈兘鎵惧埌璺緞鈥淒:\web\cch\www.pdnxh.com\Root\UploadFile\other\201609\20160901145632449.xls鈥濈殑涓閮ㄥ垎銆

鈥/鈥濆簲鐢ㄧ▼搴忎腑鐨勬湇鍔″櫒閿欒銆

鏈兘鎵惧埌璺緞鈥淒:\web\cch\www.pdnxh.com\Root\UploadFile\other\201609\20160901145632449.xls鈥濈殑涓閮ㄥ垎銆

璇存槑: 鎵ц褰撳墠 Web 璇锋眰鏈熼棿锛屽嚭鐜版湭缁忓鐞嗙殑寮傚父銆傝妫鏌ュ爢鏍堣窡韪俊鎭紝浠ヤ簡瑙f湁鍏宠閿欒浠ュ強浠g爜涓鑷撮敊璇殑鍑哄鐨勮缁嗕俊鎭

寮傚父璇︾粏淇℃伅: System.IO.DirectoryNotFoundException: 鏈兘鎵惧埌璺緞鈥淒:\web\cch\www.pdnxh.com\Root\UploadFile\other\201609\20160901145632449.xls鈥濈殑涓閮ㄥ垎銆

婧愰敊璇:


琛 53:                     Response.Cache.SetCacheability(HttpCacheability.Private);
琛 54:                     Response.AppendHeader("Content-Disposition", "attachment;filename=" + Server.UrlEncode(file2));
琛 55:                     Response.WriteFile(file1);
琛 56:                 }
琛 57:                 Response.Flush();

婧愭枃浠: d:\web\cch\www.pdnxh.com\Root\FileDown.aspx.cs    琛: 55

鍫嗘爤璺熻釜:


[DirectoryNotFoundException: 鏈兘鎵惧埌璺緞鈥淒:\web\cch\www.pdnxh.com\Root\UploadFile\other\201609\20160901145632449.xls鈥濈殑涓閮ㄥ垎銆俔
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +281
   System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) +1242
   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) +126
   System.Web.HttpResponse.WriteFile(String filename, Boolean readIntoMemory) +106
   FileDown.Page_Load(Object sender, EventArgs e) in d:\web\cch\www.pdnxh.com\Root\FileDown.aspx.cs:55
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533


鐗堟湰淇℃伅: Microsoft .NET Framework 鐗堟湰:4.0.30319; ASP.NET 鐗堟湰:4.8.4330.0