473,387 Members | 1,535 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.

aspx page wants to download not open

88
I have a site where the default.aspx (or otherwise index page) works fine. But any of the links to the other aspx pages, don't open the page but instead display a pop up box asking if you want to save or download.

I have searched everywhere and can't find an answer to this question. Any help is appreciated.
May 24 '07 #1
8 5957
kenobewan
4,871 Expert 4TB
What do you have on the other pages that might cause them to download? Can you navigate to these pages directly or do you have a setting to download pages for links?
May 24 '07 #2
Frinavale
9,735 Expert Mod 8TB
I have a site where the default.aspx (or otherwise index page) works fine. But any of the links to the other aspx pages, don't open the page but instead display a pop up box asking if you want to save or download.

I have searched everywhere and can't find an answer to this question. Any help is appreciated.
This sounds like the web server that you are hosting the website on isn't configured properly. I think this sort of thing happens when your server's not set up to use ASP pages....it just treats it as a file instead of as a request to service a page.

Check your web server (IIS?) settings to make sure that your web site is configured to use ASP.

-Frinny
May 24 '07 #3
fperri
88
This sounds like the web server that you are hosting the website on isn't configured properly. I think this sort of thing happens when your server's not set up to use ASP pages....it just treats it as a file instead of as a request to service a page.

Check your web server (IIS?) settings to make sure that your web site is configured to use ASP.

-Frinny
Ok, just bear with me for a minute.....

I read the information file on our host before I started trying to move the site over, it listed what names it will recognize as a home page (i.e. index.html, index.htm) it didn't list ASPX.

But I tried it anyways, deleated all the old HTML files and moved all the aspx files over. It just took me to the root directory in the browser when I only had the default.aspx file and all the other aspx files in there.

So........and this is probably bad - but I created a blank index.html page that in one second, redirects you to the aspx page.

And that loaded in the browser fine, but......the links off of the default.aspx page, or otherwise new home page were wanting to download and not display.

After I posted this question, I changed them to regular HTML links and now the entire code that is in the narrative.aspx page is displaying in the browser without applying the template.......
May 28 '07 #4
Frinavale
9,735 Expert Mod 8TB
Ok, just bear with me for a minute.....

I read the information file on our host before I started trying to move the site over, it listed what names it will recognize as a home page (i.e. index.html, index.htm) it didn't list ASPX.

But I tried it anyways, deleated all the old HTML files and moved all the aspx files over. It just took me to the root directory in the browser when I only had the default.aspx file and all the other aspx files in there.

So........and this is probably bad - but I created a blank index.html page that in one second, redirects you to the aspx page.

And that loaded in the browser fine, but......the links off of the default.aspx page, or otherwise new home page were wanting to download and not display.

After I posted this question, I changed them to regular HTML links and now the entire code that is in the narrative.aspx page is displaying in the browser without applying the template.......

You know how you transfered the user to the Default.aspx page from your index.html page?

Try transferring the user to your links instead of displaying.

I would contact your web server provider and ask them to configure your website to use ASP.

I have a strong feeling there's a configuration problem on your web server.

-Frinny
May 28 '07 #5
fperri
88
Ok, Thanks Frinny.....I'm going to give them a call.

~ Francesca
Jun 4 '07 #6
Plater
7,872 Expert 4TB
I hope their server is IIS and not apache. (Or does apache have a module to run asp.net stuff now?)
Jun 4 '07 #7
Frinavale
9,735 Expert Mod 8TB
I hope their server is IIS and not apache. (Or does apache have a module to run asp.net stuff now?)
I don't think it can.
But there is a way to run your .NET stuff in Linux using Mono
Jun 4 '07 #8
fperri
88
They ended up telling me that their server was a Linux server and doesn't support ASP, so I had to redo the site in HTML.....sucked.
Jun 19 '07 #9

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

Similar topics

6
by: Tony K | last post by:
I have the most peculiar problem with an ASP.NET page which we use for downloading a file. When the user clicks on a link, the link points to an ASPX page which downloads the file selected. ...
1
by: C | last post by:
Hi, I generate a report in crystal and output it as a PDF. I then add some details to my HTTP Headers so to download the file. When the user clicks on Download button I update some server...
2
by: Geoff | last post by:
I have loaded my application which runs great on other IIS 5 servers but when I call the aspx page it gives me the save or open dialog and won't run the page. Any suggestions?
1
by: Carlo | last post by:
I am trying to seek the following functionality: A user clicks on a download buton I can automatically download a file, but since in the end i must end the response, its either the download or...
13
by: Bob Jones | last post by:
Here is my situation: I have an aspx file stored in a resource file. All of the C# code is written inline via <script runat="server"tags. Let's call this page B. I also have page A that contains...
3
by: stewdean | last post by:
Hi, Before I start I'm a neebie and I've spent the last day getting some basics on .net but come from a unix background. I currently have a site that needs to keep it's HTML file endings, I...
12
by: =?Utf-8?B?RnJlZU5FYXN5?= | last post by:
Hello, the scenario: There's an ASPX page which shows some text and has three buttons at the bottom: Save, Print and Close. Print and close is done by javascript. But how can I save the page...
2
by: Joey | last post by:
Hello guys, I am using Microsoft Windows Server 2003 Enterprise edition. Yesterday I installed IIS from the "Application Server" category in Add/Remove Windows components. Afterwards I also...
11
by: =?Utf-8?B?UGV0ZXIgSw==?= | last post by:
I am working with Visual Studio or alternately with Expression Web. I need to create about 50 aspx pages with about 1200 thumbnali images, typically arranged in three to four groups per page,...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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
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...

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.