473,568 Members | 2,962 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 1136
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
2410
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? obscurr
3
1436
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 wouldn't stop the original page from opening until it was closed. Here is my code: <body bgcolor="lightgoldenrodyellow" onload="initindex();"> ...
3
5680
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 programmatically or by configuring OL client? Thanks a million. Bill
5
3498
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() self.rotate(pos) return ret
20
1596
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
4920
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
2721
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 it works fine in both IE6 and IE7. We recently moved this to our UAT environment and it works fine for IE7, but IE6 users are getting the option...
0
5450
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 find anything to eliminate this headache and would be grateful for your insight and suggestions. Many people suggest running something like Windows...
20
3719
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 do this. My tab delimited Input File looks like this:- 21 p 13e 0 62 1 580001 andrew -14.53 -13.95 0 0 21 p 13d 63 124 580002 1160001 andrew...
0
7693
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7605
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8118
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7962
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6277
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5501
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3631
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2105
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 we have to send another system
0
933
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.