G
Guest
I am having trouble with Response.TransmitFile running on Windows 2003. I
found what appeared to be a fix at
http://support.microsoft.com/default.aspx?scid=kb;en-us;902780 but it just
referred you to another page which tells you that you have to call Microsoft
for an unsupported fix.
Does anyone know when there will be a supported fix or if there is a work
around? This has been very frustrating to find the problem and then to find
out that there isn't a support fix for it.
If it helps anyone, my code is below:
Dim ObjFile As FileInfo = New FileInfo(name.text)
Response.Clear()
Response.AddHeader("Content-Disposition", "inline; filename=" & ObjFile.Name)
Response.AddHeader("Content-Length", ObjFile.Length.ToString())
Response.ContentType = "application/octet-stream"
Response.TransmitFile(ObjFile.FullName)
Response.End()
found what appeared to be a fix at
http://support.microsoft.com/default.aspx?scid=kb;en-us;902780 but it just
referred you to another page which tells you that you have to call Microsoft
for an unsupported fix.
Does anyone know when there will be a supported fix or if there is a work
around? This has been very frustrating to find the problem and then to find
out that there isn't a support fix for it.
If it helps anyone, my code is below:
Dim ObjFile As FileInfo = New FileInfo(name.text)
Response.Clear()
Response.AddHeader("Content-Disposition", "inline; filename=" & ObjFile.Name)
Response.AddHeader("Content-Length", ObjFile.Length.ToString())
Response.ContentType = "application/octet-stream"
Response.TransmitFile(ObjFile.FullName)
Response.End()