473,395 Members | 1,649 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Problem with TransmitFile and Windows Server 2003

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
4 1583
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Shariq Khan | last post by:
Does anyone know the C# P/Invoke declaration for the TransmitFile() api call? http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winsock/winsock/transmitfile_2.asp
2
by: Vaap | last post by:
I did lot of googling to see if I can solve the SQL server not found problem while trying to run ASP.Net community starter kit from an XP machine to Windows 2003 server hosting SQL server 2000...
2
by: Joseph Geretz | last post by:
I'm having a credentialing problem in my web application. Actually, I don't think this is an IIS security issue, since I'm able to access the page I'm requesting. However, the executing page itself...
0
by: Thomas Andersson | last post by:
Hi, I have a problem with Response.TransmitFile. The server reset the connection after approx. 20 minutes and sometimes after 7-8 minutes when i try to download large files (400MB +) with...
1
by: Ryan Pedersen | last post by:
I have been trying to figure out how to transmit a file back to a user using the response.transmitfile or response.writefile method and just not having much success. I have a dell server running...
5
by: Bala | last post by:
Hi Is it possible to user can download the pdf files thru my webserver which the files are stored on different local machine on network. like my aspx page contain href links to those files. i...
1
by: APA | last post by:
I am transmitting files using response.transmitfile. I only have a problem using it with MP3s. Larger files (20MB+ ZIP files) are no problem. I'm using an HttpHandler in .NET 1.1 on Windows 2003...
3
by: MatsL | last post by:
Hi, I'm having a problem sending a file using TransmitFile(). The code works perfectly using WriteFile() so I'm a little confused. Does TransmitFile() have any other prerequisites than...
2
by: EmeraldShield | last post by:
I am confused about this... I have an app that has worked for a long time in 1.1. I upgraded it to 2.0. Everything works on my local machine, including transmit file. When I deploy the site...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.