473,387 Members | 1,528 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,387 software developers and data experts.

Problem when Download MS-Word documents using ASP.NET & C# because of 'DAP'

Sir,

I am D.Srinivas. I am working on JobPortal Website(www.tlabsinc.com).

I am downloading MS-Word document using ASP.NET 2.0 & C# 2.0. I am using IE (Internet Explorer). In my localhost it is working fine.

After giving to Client, it is not working fine. Because, Client has installed 'Download Accelerator Plus (DAP)'. Because of that(DAP) software, instead of downloading Resumes(word document), it is downloading source code in different format.

Please help me because I am doing JobPortal website project.

I used the following code for downloading MS-Word document or Text document.

protected void lbtWordDoc_Click(object sender, EventArgs e)
{

Response.ContentType = "Application/msword";
string FilePath = MapPath("~//Resumes//" + UserId + ".doc");
Response.WriteFile(FilePath);
Response.AppendHeader("content-disposition", "attachment; filename=" + FilePath);
Response.End();

}


Regards,
D.Srinivas.
Mar 6 '08 #1
0 1243

Sign in to post your reply or Sign up for a free account.

Similar topics

8
by: IGC | last post by:
I have a requirement to record in a database when a file is finished downloading to the end-user. Currently when a user clicks a download icon for a file it directs to an ASP page that records the...
5
by: Drifter | last post by:
The quote below is part of the information i want to save to a MS Access database - or update, as the case may be. The original database was built a long time ago, and looking at the code for...
2
by: Martin Feuersteiner | last post by:
Hi, You're my last hope to shed some light on this!! Otherwise I'm doomed! Maybe it's very stupid what I do but I thought this is the best solution. Any criticism welcome! The story: I've...
2
by: Sam -- | last post by:
Hi all I've a problem I write code for download a file. Sometimes when I run the code, the window of "File Download" appears I push the "open" button and the window of "File Download" appears...
1
by: vbMark | last post by:
No one is answering my post in the beta newsgroup so I'd thought I'd try here. This is in regards to Visual Basic .Net 2005 Express Beta running on XP Pro. After the download and after the...
2
by: Lance | last post by:
Hi all, In VB6, I could use the API too query the size of a file on the web, then download that file showing a custom progress indicator. I realize that I can use the DownloadFile method and...
4
by: sqlguy | last post by:
Why do we have to contact MS for a problem that has been with this compiler from at least the beta of VS 20005. I am so sick and tired of the 30 - 40 clicks it takes to dismiss VS when there is a...
1
by: Blackstar | last post by:
I have a website I am trying to download a file from. This website is strange in the fact that there is no direct link to the URL of the file. The way the site works is as follows: 1) Enter in...
5
by: novak | last post by:
hi list, since a couple of weeks we face a special "security" problem. neraly every ms-access database that is located on our net-drives cannot be opened. when clicking the document's icon,...
7
by: LukasMalik | last post by:
Hi all, my application (C# WinForm .NET 3.5) is distributed via ClickOnce deployment. Application should check for updates on our company web. Problem comes when any part of application has...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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,...

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.