Forums

ASP

This topic is locked

Viewing ASP files on my server

Posted 22 Dec 2005 07:38:58
1
has voted
22 Dec 2005 07:38:58 Brandon McGee posted:
I have recently made a members only thingy. Works fine as I can see. I uploaded it to my server which allows that MIME type. Some reason when I visit the index.asp file, it brings me to the download thingy (open, save, close buttons). I have the right asp file and it is correct. It has html in the file, so why can't my server see it?

Replies

Replied 22 Dec 2005 19:37:11
22 Dec 2005 19:37:11 Michael Behan replied:
Double check with your web host that the server can run asp applications (maybe it's an option that has to be turned on). If it works fine locally or on another server its most likely something to do with your web hosting.
Replied 22 Dec 2005 20:24:58
22 Dec 2005 20:24:58 Brandon McGee replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Double check with your web host that the server can run asp applications (maybe it's an option that has to be turned on). If it works fine locally or on another server its most likely something to do with your web hosting.
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

Well, see I looked at it through cpanel as a view file (directly what the file looks like) and it works fine, but when I view it on the URL, it doesn't...
Replied 23 Dec 2005 14:07:47
23 Dec 2005 14:07:47 Michael Behan replied:
viewing the source code thats stored on the server and running the code on the server are two very different operations. Getting that open/save box is exactly what happens when the server cant run asp. The only other thing i can think of is that the code is missing something that tells the server, "im an asp file". make sure your first line is something like this <pre id=code><font face=courier size=2 id=code>&lt;%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%&gt;</font id=code></pre id=code>

Other than that I can't help ya I'm afraid.
Replied 06 Jan 2006 15:46:49
06 Jan 2006 15:46:49 Barry James replied:
Hi,

I'm going to assume you're using IIS for web hosting and that you have access to the server. In control Panel, choose admin tools and Internet Services manager, right click on "Default Web Site" and choose properties. In the Home Directory tab click on Configuration and be sure that asp is listed here.

If you are having the site hosted by a third party then I would be surprised if they haven't done this already however wonders never cease and I'd be inclined to call them asap

Bar
Replied 07 Jan 2006 05:54:42
07 Jan 2006 05:54:42 Javier Castro replied:
If you need to know about your website and the server type, platform and some other details, you can check on www.netcraft.com/
I worked for me when I wanted to know about my ISP's server type.

Javier

Reply to this topic