Hallo,

ich verwende folgendes um eine Datei zum Download anzubieten:

System.IO.FileInfo DownloadFile = new System.IO.FileInfo(Config.UploadFolder
+ SessionTools.WantedDownloadFile.FileName);
if(DownloadFile.Exists)
{
        Response.Clear();

        Response.AddHeader("Content-Disposition","attachment;
filename="+Server.UrlEncode(SessionTools.WantedDownloadFile.OriginalFileName
)); 
        Response.AddHeader("Content-Length",DownloadFile.Length.ToString());

        Response.ContentType = "application/octet-stream";
        Response.WriteFile(DownloadFile.FullName,0,DownloadFile.Length);

}

Klappt auch soweit wunderbar, bis ich eine Datei mit �ber 120 MB zum
Download anbiete,
dann scmiert mit der ASP WorkerProcess ab.
Im Application Log steht nur "aspnet_wp.exe  (PID: 564) stopped
unexpectedly. "

Kennt jemand das Problem besser noch eine L�sung?

Danke J�rg


_______________________________________________
Asp.net mailing list
[EMAIL PROTECTED]
http://www.glengamoi.com/mailman/listinfo/asp.net

Antwort per Email an