Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

do you want to open or save this file

Status
Not open for further replies.

bigbird3156

Programmer
Feb 20, 2001
183
AU
Hi I am playing around with ASP pages and databases and stuff for the first time...

I have created a database manipulation page that is supposed to allow you to add records to the database (I have done this through following an old tutorial that is no longer online)...

every time I try to use this page either online or a resident copy instead of opening the page up in IE or whatever, I get the download window asking me if I want to open the document or save it... it will then open up into dreamweaver... I tried to force it to open into IE and I just get a continual loop of 'do you want to open or save this file' windows.

Is this a simple problem to fix due to my ignorance or do I need to show someone my code to try and get an answer?

[wiggle]The Bird from Down Under- Bigbird 3156
Programmer?? - I thought the option was pretender not programmer!![jester]
 
Generally, this happens when you don't have the server technology running on your server (PHP & Apache, ASP & IIS et al). You have to make sure you have ASP installed on the server you are running from, because the browser does not know how to handle the code and it will interpret it as any other file it can't read - resulting in asking to download or open the code.

If you wanted to run it locally (great for testing), there is a guide at which explains what you need to run IIS and to get started.

I hope this helps!

________________________________
Top 10 reasons to procrastinate:
1)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top