473,326 Members | 2,805 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,326 software developers and data experts.

Download dialog box show instead of ASP.NET page

I'm relatively new to ASP.NET. I'm running it under Win XP Pro, using Visual
Studio 2002.NET (haven't migrated to VS2003 yet).

The ASP.NET application I'm having a problem with was initially set up on a
laptop running Win2000, where it ran successfully.

I've copied all the files over to my desktop, intending to support it there.
But it seems to have a problem upon startup: instead of initially displaying
the starting ASP.NET page as it should, it instead brings up the file
download dialog box, trying to download the starting ASP.NET page from my
local PC! If I click on OK, it appears to load the page, then stops without
displaying the page.

I've only tried one other very small ASP.NET application on this desktop PC,
and it seemed to run fine. But this problem application is much bigger.

It appears as if some system parameter is not set correctly, but I have no
idea what it is.

Can anyone offer a suggestion?

Don

ps
I first posted this to newsgroup microsoft.public.inetserver.asp.general,
but was directed here instead.
Nov 17 '05 #1
2 2339
Sounds like the isapi filter is not running, or is not configured correctly.
look in the IIS control pannel and check that aspnet_isapi.dll is listed
under
isapi filters.

"Don Peters" <don-peters@NOSPAM!comcast.net> wrote in message
news:Oz**************@TK2MSFTNGP12.phx.gbl...
I'm relatively new to ASP.NET. I'm running it under Win XP Pro, using Visual Studio 2002.NET (haven't migrated to VS2003 yet).

The ASP.NET application I'm having a problem with was initially set up on a laptop running Win2000, where it ran successfully.

I've copied all the files over to my desktop, intending to support it there. But it seems to have a problem upon startup: instead of initially displaying the starting ASP.NET page as it should, it instead brings up the file
download dialog box, trying to download the starting ASP.NET page from my
local PC! If I click on OK, it appears to load the page, then stops without displaying the page.

I've only tried one other very small ASP.NET application on this desktop PC, and it seemed to run fine. But this problem application is much bigger.

It appears as if some system parameter is not set correctly, but I have no
idea what it is.

Can anyone offer a suggestion?

Don

ps
I first posted this to newsgroup microsoft.public.inetserver.asp.general,
but was directed here instead.

Nov 17 '05 #2
I don't think that's the problem. My laptop PC doesn't have that filter
configured and runs fine. But, just to be sure, I added that filter as you
suggested, rebooted, and tried again. No change. Oh, the "Status" column of
this dll had a red down arrow, and the "Priority" column contained
*Unknown*". Unfortunately, the documentation didn't explain how to change
the Status or Priority.

Incidentally, here is possibly another clue. I get the download dialog box
when I explicitly specify the aspx file name default.aspx. If I leave off
that file, it apparently can't find it, or there is some other problem,
since I then get the error "You are not authorized to view this page". Yet
this works fine with the application on my laptop.
"Robin Bonin" <ro***@guavatools.com> wrote in message
news:gwWmb.31058$iq3.21776@okepread01...
Sounds like the isapi filter is not running, or is not configured correctly. look in the IIS control pannel and check that aspnet_isapi.dll is listed
under
isapi filters.

"Don Peters" <don-peters@NOSPAM!comcast.net> wrote in message
news:Oz**************@TK2MSFTNGP12.phx.gbl...
I'm relatively new to ASP.NET. I'm running it under Win XP Pro, using Visual
Studio 2002.NET (haven't migrated to VS2003 yet).

The ASP.NET application I'm having a problem with was initially set up on a
laptop running Win2000, where it ran successfully.

I've copied all the files over to my desktop, intending to support it

there.
But it seems to have a problem upon startup: instead of initially

displaying
the starting ASP.NET page as it should, it instead brings up the file
download dialog box, trying to download the starting ASP.NET page from

my local PC! If I click on OK, it appears to load the page, then stops

without
displaying the page.

I've only tried one other very small ASP.NET application on this desktop

PC,
and it seemed to run fine. But this problem application is much bigger.

It appears as if some system parameter is not set correctly, but I have no idea what it is.

Can anyone offer a suggestion?

Don

ps
I first posted this to newsgroup microsoft.public.inetserver.asp.general, but was directed here instead.


Nov 17 '05 #3

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

Similar topics

5
by: peetm | last post by:
I'd like to write to a log whenever a visitor to my site downloads a file. So, I'd like the link they click to be to a php 'page' that returns the file. Don't know how to do that! Side...
2
by: Pedro Fonseca | last post by:
Greetings! In my PHP website I'm trying to raise a File Download dialog directly in a WindowsCE IE client with the following code: header( "Content-Type: application/octet-stream\n" );...
6
by: chon | last post by:
I have an ASP page that is sent a file location as a parameter. It opens this file, loads the ADODB.Stream object and does a binary write to the page forcing the download dialog to appear. This...
4
by: Kevin Muenzler, WB5RUE | last post by:
How do I force a browser to download a file instead of displaying it? In other words I have a page with MP3 and WMA files on it and I would like for the visitor to download the file instead of...
0
by: Buddy Ackerman | last post by:
I am trying to implment a file download via a link such that when clicked, instead of starting the default application for that type of file the user will be presented with a download dialog...
7
by: Brian Paul | last post by:
When a user clicks on a linkbutton on a page, i would like to render a printer-friendly version of the asp.net page and download it as an html attachment to the browser. The code below works great,...
5
by: Stanav | last post by:
Hello all, Thanks in advance for any replies... Now, my question is: Is it possible to do a multiple files download for a single response event on an aspx page? If there is, please give me some...
5
by: Neil Rossi | last post by:
I have an issue with a particular ASP page on two web servers. Let's call these servers Dev1 and Beta1. Both Servers are running IIS 5, Windows 2000 SP4 with "almost" all of the latest patches. ...
1
KevinADC
by: KevinADC | last post by:
Note: You may skip to the end of the article if all you want is the perl code. Introduction Many websites have a form or a link you can use to download a file. You click a form button or click...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.