Problem with TransmitFile and Windows Server 2003

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()
 
G

George

Let me rephrase the paragraph from Microsoft's site.

---------------------------------------------
RESOLUTION
A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next .NET Framework service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix.
----------------------------------------------

Rephrasing.....
We made a bug, and know about this. We think we fixed it and you should expect to see th fix in the next Service Pack. BUT the fix has not been tested enough and there are chances that if you implement that fix it will break something else in your code and you are going to be really mad at us. Nevertheless if you need that fix please contact us and we would give it to you for free. We can not let everyone download it because we do not have walls thick enough to protect us from mad programmers who broke their systems with that fix.

----------------------------------------------------------------


George.

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()
 
A

Alex

I'm having the same problem. I hope their is a new Service Pack soon
that addresses it. It doesn't seem to happen if the file size is small
(<200K). Anybody else notice this?

-Alex

+-------------------------------+
| Alex Lindgren, web developer |
| www.alexlindgren.net |
+-------------------------------+
 
G

Guest

It does it every time for me. In my experience, response.transmitfile does
not work on Windows Server 2003 at all. It's very unfortunate.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,754
Messages
2,569,528
Members
45,000
Latest member
MurrayKeync

Latest Threads

Top