Thanks for your response. I did try that but got the same result. I did however discover 'Server.Execute' and that does the trick for me. I guess the problem was that the file got streamed before it was completely buit or something like that. The original code worked on the development machine but not on the server.
Main Topics
Browse All Topics





by: VelioPosted on 2008-09-16 at 01:05:57ID: 22485970
hi,
e(bytBytes ,0,bytByte s.Length);
tes)
just a suggestion, try
Response.OutputStream.Writ
instead of
Response.BinaryWrite(bytBy