473,513 Members | 2,425 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP WORD/RTF Download

Hi Folks,

I am generating a word document from an asp page using the following header:

Response.ContentType = "application/rtf"
Response.AddHeader "Content-Disposition", "attachment; filename=" &
objRS("FieldName") & " " & Replace(Date, "/" , "-") & ".rtf;"

This works fine for me and most users, however, sometimes, I hear from a
user that gets an error like "File cannot be found/Check Spelling/try
different name" or something like that. Anyway, the solution for these
users is to rename the word document before they save it.

Does anyone know what would cause this for the occasional user? A browser
security setting maybe? It happens with maybe 1 in 20 users - all using Win
XP.

Thanks,

Jack Coletti
St. Petersburg, FL
Jul 22 '05 #1
1 1170
Do you know what the actual filename was which had to be changed?

--
--Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com

"MostlyH2O" <jm*@takeitouthrmp.net> wrote in message
news:sZ****************@tornado.tampabay.rr.com...
Hi Folks,

I am generating a word document from an asp page using the following
header:

Response.ContentType = "application/rtf"
Response.AddHeader "Content-Disposition", "attachment; filename=" &
objRS("FieldName") & " " & Replace(Date, "/" , "-") & ".rtf;"

This works fine for me and most users, however, sometimes, I hear from a
user that gets an error like "File cannot be found/Check Spelling/try
different name" or something like that. Anyway, the solution for these
users is to rename the word document before they save it.

Does anyone know what would cause this for the occasional user? A browser
security setting maybe? It happens with maybe 1 in 20 users - all using
Win
XP.

Thanks,

Jack Coletti
St. Petersburg, FL

Jul 22 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1228
by: Chris J | last post by:
Hi all, ] I'm having a problem with Word 2002 when downloading a Word document with IE6. This is in an intranet application, and the download occurs through an ASP that does security checks...
8
5148
by: Darryl Kerkeslager | last post by:
I hope that although this is 25% Access and 75% Word, that someone will know ... The whole problem here arises because 1) Microsoft acknowledges an 'issue' wherein TextInput type FormFields are...
12
1919
by: Rob Nicholson | last post by:
We've implemented functionality to allow a user to download a document (any document type) from the IIS server using the following code: Response.Clear() Response.ContentType =...
2
2506
by: aychai | last post by:
Hi all, I have a scenario where users fills in textbox fields on ASP.NET page from the server and when he/she clicks on a download button, the data from fields will insert into an existing word...
6
1673
by: Simon | last post by:
on my frmCustomer form i would like a button that open up words and runs a mail merger only with the data on on that form ( as on the mail merger i just want the customer address for when i write a...
0
1793
by: robwahl | last post by:
Hi, I have a members only area of a site (using ASP and MS Access) where I need users to be able to either view or download reports (PDF or MS Word doc - doesn't matter which). I want to store...
0
2000
by: SergioT | last post by:
hi I m getting an error when I run my application on the server, that error doesn't ocur when I run the application on the development computer the error is:...
7
6757
by: Peter | last post by:
I have the following code which is executed from a modal web page - it works fine on most, but on some computers the Word loads into memory but never displays. This occurs with IE6 and IE7, but...
2
2719
by: allan.s.palmer | last post by:
Hello, I have an asp.net pop up that is generating a Word document real time and sending it to the user by sending the appropriate response headers. When it is run on our development environment...
0
2156
by: Jacker | last post by:
Xpress Author for MS Word XML Documents In.vision Research empowers knowledge workers to create complex XML documents in Microsoft Word (2000-2003) with a normal Word experience. Deploy XML...
0
7166
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
7386
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7543
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
5689
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,...
1
5094
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3236
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1601
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
805
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
459
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.