473,395 Members | 1,677 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,395 software developers and data experts.

How to tell if my server provides ASP hosting ability.

So i want to learn ASP, i go to a tutorial...I'm uploading the "hello world" initial file, but the web page is blank (although it does have the <title></title> i provided)

Here is the code, so basic....


Expand|Select|Wrap|Line Numbers
  1. <body>
  2.  
  3. <%
  4. Response.Write("Hello World!")
  5. %>
  6.  
  7. </body>
here is the header....

Expand|Select|Wrap|Line Numbers
  1. <%@LANGUAGE="JAVASCRIPT" CODEPAGE="1252"%>

But i get nothing....and when I view source, i get this...

Expand|Select|Wrap|Line Numbers
  1. <%@LANGUAGE="JAVASCRIPT" CODEPAGE="1252"%>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
  6. <title>Untitled Document</title>
  7. </head>
  8.  
  9. <body>
  10.  
  11. <%
  12. Response.Write("Hello World!")
  13. %>
  14.  
  15. </body>
  16. </html>
  17.  
Awesome! (not). Anyway, also, I am using Dreamweaver and, although i've NEVER used ASP, the "<%" im wrapping my code in doesn't change color after I type it. I'm not saying it's suppose to, but when i use php, I know the "<?php" turns bold red. The "Response.Write" however, does turn purple. Just thought maybe DW wasn't recognizing the code wrapper for some reason.


And yes, the extension on the page is .asp

Anyway, how do i know for sure my server can handle ASP, i can't find anything to say it on the hosting company's site (directnic.com).


Let me know...

thanks.
Oct 13 '07 #1
3 1876
jhardman
3,406 Expert 2GB
There are a couple possible explanations, let's eliminate them individually. I am assuming you are hosting on the same computer from which you are browsing, right? What did you type into the address bar? (does the address start with "localhost" or "c:/" ?)

Jared
Oct 18 '07 #2
Hello,

Any web hosting company worth it's salt should provide classic ASP support. Try changing the header to something like this...

<%@ Language=VBScript %>

ASP usually relies on VBScript so the header may be your problem.

Dean
Oct 18 '07 #3
jhardman
3,406 Expert 2GB
Anyway, how do i know for sure my server can handle ASP, i can't find anything to say it on the hosting company's site (directnic.com).
.
Sorry, I missed that the first time. The code does look good, except for the javascript part as movieking suggested. ASP can be written in javascript, but you won't find many "jsp" experts anywhere. And I thought response.write looked different in javascript. hmm.

ASP is supported by microsoft servers, so if the server is IIS then it will have that capability, but the server might need to be set to run scripts on that directory. My experience has been that Apache servers don't run ASP by default and will actually need some added components to run them at all.

Although some hosts will have scripting turned on by default, most will not so you should definitely contact them and ask them 1- do they have that capability (if you already know what server program they are using you might be able to skip that question) and 2- could they please turn it on.

Jared
Oct 18 '07 #4

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

Similar topics

303
by: mike420 | last post by:
In the context of LATEX, some Pythonista asked what the big successes of Lisp were. I think there were at least three *big* successes. a. orbitz.com web site uses Lisp for algorithms, etc. b....
0
by: Tess | last post by:
Hi, Long time reader, first time poster... Any help is appreciated. I have a few questions regarding Winform controls embedded within an html page. For more info please see the appendix. Now,...
3
by: Jo Davis | last post by:
www.shanje.com does sql server hosting, on shared servers, at a reasonable price. It seems. They also allow client connections. Just playing around I've managed to connect an Access Data Project...
12
by: Troy | last post by:
My ISP provides me with 2 servers: one for normal web hosting (non-PHP) and a CGI server (with PHP). I create my website using fusion 7 and upload this in its entirity to the web hosting server....
1
by: Zvonko Tusek | last post by:
Is there a way to use access database on web host (I have a web hosting account) in visual basic. I want to make Visual basic client applications that connect to internet and work with access...
4
by: Nathaniel Sherman | last post by:
Alright, folks, here's the deal... I'm working on migrating a classic ASP website to an ASP.NET codebase. At the heart of the site is a MySQL database. To make sure an "in-process" program...
7
by: John | last post by:
Do you guys have any idea if web hosting companies usually give access to SQL Server databases through Enterprise Manager? I used to have have access to my DB through EE with my previous provider...
1
by: apoc69 | last post by:
Hi people, i have a own server application (written in .net) which proceess different message types, like XML, EDI, SPEC2000, SAP IDOCs. and so on... this application is doing a lot of different...
2
by: Carl Gilbert | last post by:
Hi I feel as if I'm fighting a loosing battle with shared hosting at the moment. I have an account with 1&1. For a whopping £16.99 a month I get 6GB of shared Microsoft hosting. I also get...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.