CODEPAGE: VBSCRIPT - Newbie

Hi .

I am creating my first ASP page. I am using dreamweaver mx. I do not have IIS installed on my pc. I had tough time doing it - since I am running windows xp - home.

I am following a book, and this is the code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1256"%>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>

The time is now <% Response.Write Time %>
</body>
</html>

And I upload this file indexasp.asp to my server and I opened this page on IE and I got 500 Internal Error:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

What do I need to do get going with ASP.

thanks all
neonlightsAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

sajuksCommented:
Does ur server support asp ?
Is IIS installed there ?
Without IIS u cant run asp pages ( unless ur using pws or some other asp support server)
Make sure your iis is running.

To see more descriptive error message,
Tools->Internet options
Go to advanced tab
Make sure "Show friendly http error messages" is unchekced


neonlightsAuthor Commented:
Hi sajuks,

support asp: I do not know - I just emailed my server. I will upgrade my account if not supported.

and what do you mean by "Make sure your iis is running."

Just a question for you: Let's say if my server support asp - do I still need to install IIS on my pc? because, I had very tough time getting IIS in my pc.

and last steps you gave me - did not make any difference - interms of the error message - same error message.

Thanks again.
sajuksCommented:
"and what do you mean by "Make sure your iis is running.""
i wasnt sure whether u were hosting your own site or whether it was hosted by somebody else.
So i wanted to ensure that if u were hosting the site to ensure that the iis services were on.

"Just a question for you: Let's say if my server support asp - do I still need to install IIS on my pc? because, I had very tough time getting IIS in my pc."
Asp pages needs a server to run ( iis/chillisoft/pws to name a few).
Without these servers u cannot run asp pages.
Become a CompTIA Certified Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

gladxmlCommented:
try to check out the link regarding IIS installation..

http://www.w3schools.com/asp/asp_install.asp

Also you can browse othe link and it is a good site for newbie...

HTH...
Happy programming...
gladxmlCommented:
<<<
windows xp - home.
<<<
does not support IIS
sajuksCommented:
""Just a question for you: Let's say if my server support asp - do I still need to install IIS on my pc? because, I had very tough time getting IIS in my pc.""
i realized i read this wrong...
if ur server(host) supports asp then u need not install iis to run the pages on the site.
Is u want to run the asp pages locally on ur machine then u need the asp server
gladxmlCommented:
you can try this hosting server that is if you still have problem wiht your server...

http://www.brinkster.com

if you will just test it and for learning purposes you can try the above link... they have a free account that support asp.

HTH..
Happy programming...
sajuksCommented:
for that matter so does http://www.1asphost.com/
neonlightsAuthor Commented:
Thanks for your message sajuks, and gladxml ( nice name)

Ok, now, I understood, - I don't have to install IIS. It gave me lots of headaches.....I will wait for my server to response to me about the asp support.

meantime, the I created a site at http://www.brinkster.com and created a site free. but, now, how do I set up so that I can upload files.. I am trying to use their filemanager and it keep asking my user name and the password....

do you know how it works.. gladxml.

Thank you again both
sajuksCommented:
they will be sending u a confirmation mail to which u must validate.
Once thats done u login as the username & password, check the right topmost of the screen for the login.
Once u login u will be shown the control panel.
Select the file manager from ur menu and from here u can upload ur files to this directory or create a new folder
 and so on.
neonlightsAuthor Commented:
Cool.

will be back shortly.

bye
eyeh8uCommented:
You have received a 500 error from your server, this implies that it was at least trying to handle the ASP file.

By default, Microsoft Internet explorer "hides" the true error message and displays a friendly HTTP error message instead (what you posted). In order to see what really happened:

Tools Menu->Internet Options->Advanced Tab

Locate the "Show Friendly HTTP Error Messages" checkbox (it's about 5 options down from those that are visible by default).

Uncheck the box, ok all the screens and refresh the page, you will then get an ACTUAL error message. This will help you figure out if your server is choking as it doesn't support ASP, or there is another problem. Even when you have a working ASP server, it will then allow you debug your code a lot easier.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
neonlightsAuthor Commented:
Thank you eyeh8u. Sajuks already suggested me about the show friendly HTTP error messages and I already done them. Thanks.

I am just waiting for my server to reponse about the ASP support. then, I can test it on my server.

GladXML, thank you for that awesome side. Very cool. Love it.

I am already done 30 pages on my book. Created a account there. very good. thank you so much.

You guys will see me more here (asp) please give me your help and suggestions....

Thanks all.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP

From novice to tech pro — start learning today.