By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,200 Members | 1,568 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,200 IT Pros & Developers. It's quick & easy.

Problem with TransmitFile and Windows Server 2003

P: n/a
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...b;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()

--
Pat B
BCC Software, Inc
A BÖWE BELL + HOWELL COMPANY
Nov 19 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
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.

"PatB" <Pa**@discussions.microsoft.com> wrote in message news:B4**********************************@microsof t.com...
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...b;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()

--
Pat B
BCC Software, Inc
A BÖWE BELL + HOWELL COMPANY
Nov 19 '05 #2

P: n/a
George, in the midst of all my anger over this you have made me laugh!

Thanks!!
--
Pat B
BCC Software, Inc
A BÖWE BELL + HOWELL COMPANY
"George" wrote:
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.

"PatB" <Pa**@discussions.microsoft.com> wrote in message news:B4**********************************@microsof t.com...
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...b;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()

--
Pat B
BCC Software, Inc
A Bц√WE BELL + HOWELL COMPANY

Nov 19 '05 #3

P: n/a
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 |
+-------------------------------+

Nov 19 '05 #4

P: n/a
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.

--
Pat B
BCC Software, Inc
A BÖWE BELL + HOWELL COMPANY
"Alex" wrote:
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 |
+-------------------------------+

Nov 19 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.