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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Running ASP in our Hosting Provider's Server 2

Status
Not open for further replies.

Deadline

Programmer
Feb 28, 2001
367
US
Hi,
Here are some FAQs from our hosting provider's site.

(*)Can I install my own CGI scripts?
All accounts include the ability to install your own CGI scripts. We have installed PERL version 5 for your convenience.


(*)Do you support FrontPage Extensions?
Yes. We have Microsoft FrontPage 97/98/2000 extensions support.

(*)Do you support SQL, PHP and ASP?
Yes, these features are included on all plans.

(*)What type of servers do you use?
We use Pentium based servers with the Unix operating system and an internally modified version of the Apache web server.

I tried to FTP a test ASP file in ASCII mode, and also set the execute permission on the remote server; When I 'browsed' the .asp page, the browser displays the ASP code without processing it. What could be the reason ?

Will be grateful if I can get some pointers. Thank you,
RR.
__________________________________
The best is yet to come.
 
[tt]

I'm sure ASP can run in Unix...

When you try to view your ASP page did you typed:

?

that should've worked.



winlogo.gif
cool.gif

ASP Questions? go to:
 
Have you contacted the host concerning this first? It could be that they have seperate Windows servers for users that wish to use ASP.

-Tarwn ________________________________________________________________________________
Want to get great answers to your Tek-Tips questions? Have a look at faq333-2924
 
Here is a sample code:
Code:
<%@LANGUAGE=&quot;VBScript&quot; CODEPAGE=&quot;1252&quot;%>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=iso-8859-1&quot;>
</head>

<body>
<%Response.Write &quot;Testing ASP&quot;%>
</body>
</html>

It simply displays a blank page and when I 'view source' the page, it contains the ASP Code. I mean, the code is not interpreted by the Server at all. What could be the reason ?



Thank you,
RR.
__________________________________
The best is yet to come.
 
just a thought due to you being able to view the code
did you save the page as a .asp page? or a .html page ---------------------------------------
{ str = &quot;sleep is good for you. sleep gives you the energy you need to function&quot;;
ptr = /sleep/gi;Nstr = str.replace(ptr,&quot;coffee&quot;);alert(Nstr); }
---------------------------------------
for the best results to your questions: FAQ333-2924

 
try taking this out
<%@LANGUAGE=&quot;VBScript&quot; CODEPAGE=&quot;1252&quot;%>

actualy just do this in the entire page

<% Response.Write &quot;Hello&quot; %>

and save it as hello.asp

upload it, if tat doesn't work then your not supported

lastely do you have passive mode checked if you are using WS_FTP or CUTE ---------------------------------------
{ str = &quot;sleep is good for you. sleep gives you the energy you need to function&quot;;
ptr = /sleep/gi;Nstr = str.replace(ptr,&quot;coffee&quot;);alert(Nstr); }
---------------------------------------
for the best results to your questions: FAQ333-2924

 
Thank you so much for the response. I've passive mode checked in WS_FTP and ASCII mode enabled as well.

When I simply had
Code:
<%Response.Write &quot;HELLO&quot;%>
in the page, it displayed a Open / Save dialog box for the .asp file.

So is that it ?


Thank you,
RR.
__________________________________
The best is yet to come.
 
it displayed a open/save dialog when you tried to run it? ---------------------------------------
{ str = &quot;sleep is good for you. sleep gives you the energy you need to function&quot;;
ptr = /sleep/gi;Nstr = str.replace(ptr,&quot;coffee&quot;);alert(Nstr); }
---------------------------------------
for the best results to your questions: FAQ333-2924

 
Yes it did this time. But when I had all the <HTML> tags, it showed a blank page as said above. Thank you,
RR.
__________________________________
The best is yet to come.
 
unfortunetly that sounds all to much like you are not ASP supported with the service you have.
nitices:
with <thml> tags the browser still has something to interprute and that is why you get a blank page to view

and to further that

seeing as when you do a straight ASP coded page as the hello example you tried the browser has no hyper text to interprute it opens the dialog to save the file as it cannot read it.

I would take this information ot the hosting service and let them know about it. it very well possible that they may have a problem and not know of it with your domian on the server or thus they may have to include the ability to run the pages.
some hosting companies will include the support for ASP but some also need to know that you want to run them so they can make the appropriate installations or permissions to your account. ---------------------------------------
{ str = &quot;sleep is good for you. sleep gives you the energy you need to function&quot;;
ptr = /sleep/gi;Nstr = str.replace(ptr,&quot;coffee&quot;);alert(Nstr); }
---------------------------------------
for the best results to your questions: FAQ333-2924

 
Hello Onpnt,
You are right. The Hosting provider actually has two different types of Servers(Win2K and Unix). They responded that they are going to move our files from Unix to Win2K after I confirmed. And you guessed it, I already confirmed. I'm grateful for you time and assistance.

Thank you. Thank you,
RR.
__________________________________
The best is yet to come.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top