473,503 Members | 1,641 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Informationbar popping up on download...

10 New Member
Hi all,

I have written an ASP.Net 2.0 Web Application. I am using WinXP Pro SP 2 and have IIS 5.1 on my system, where the Application is developed.

After finishing implementation I have installed the app on an Win2003 Server with IIS 6 running.

In one of my pages I have a button, when clicked, I am sending a file to the client, so the SaveAs dialog pops up and the user can download the sent file.

This is the code I wrote to send the file to the user:
Expand|Select|Wrap|Line Numbers
  1. page.Response.AppendHeader("Content-Type", "application/msword");
  2. page.Response.AppendHeader("Content-disposition", "attachment; filename="aaa.doc");
  3. page.Response.Charset = "";
  4.  
  5. page.Response.Write(FileContent);
  6. page.Response.End();
  7.  
When I call the application on the test system (W2k3/IIS6), the internet explorer information bar popps up, asking if the download should really started. But with the same browser, when I start the download on the WinXP/IIS5 system, no confirmation is made.

I have tested this with different browsers and from different computers in different networks. The only thing I saw was that it asks for confirm on Win2K3/IIS6 and on WinXP/IIS5.1 it won't.

So I don't know if this is a programming issue or a server configuration issue.
But I hope that you can help me with my problem, and tell me what the difference between the two is.

Thanks for help,
Regards...
Aug 23 '07 #1
1 1126
jhardman
3,406 Recognized Expert Specialist
moved to .NET forum, although it might actually be an IIS issue.

Jared
Aug 24 '07 #2

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

Similar topics

2
2403
by: Obscurr | last post by:
hi! I was wondering how I could send a mail without the mail client popping up to the user. I would like a mail to be sent to myself when someone's pushing a button on my homepage. Any ideas? ...
3
1425
by: Lee David | last post by:
I'm trying to have a popup window of new changes when a person comes to my web page and something has changed. I can see the "alert" popping up, but not the page. The page would look better and...
3
5677
by: Bill Nguyen | last post by:
Once applied the latest security patches from Microsoft, OL on our VB app client machines keep popping up dialog box asking for permission to send mail using OL. Is there anyway to by pass this...
5
3494
by: Russell Warren | last post by:
Does anyone have an easier/faster/better way of popping from the middle of a deque than this? class mydeque(deque): def popmiddle(self, pos): self.rotate(-pos) ret = self.popleft()...
20
1578
by: mdh | last post by:
Could someone help me understand one aspect of an exercise in K&R II; (page 76) Given function: double pop( void){ ....return a double from a stack if present }
2
4914
by: Mufasa | last post by:
Is there a way to have a link in IE that will automatically run the saveas command instead of trying to open the file? TIA - Jeff.
2
2717
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
5443
by: ray007x | last post by:
I have a question for Beth Melton. Hello. This is Ray. I read an answer you graciously gave to another user about the constant popping up of "Windows Installer - Preparing to install". I cannot...
20
3707
by: cowboyrocks2009 | last post by:
Hi, I need help to automate my code to take data from input file. Also I need to create it as a function so that I can pass it to some other program. I am new to Java so having a bit limitation to...
0
7194
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
7070
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
7267
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
7449
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4666
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3160
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
3148
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1495
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
729
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.