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

VB Script on ASP

Status
Not open for further replies.

Charlix

Programmer
Nov 19, 2002
85
US
I a relatively ignorant about ASP. I am using IIS 5.1 and “FrontPage 2000” to author ASP pages. I find that the VB Script code I write for ASP objects doesn't work. For example the following code produces a blank page when I try to “Preview” it in my browser.

********************************
<%
Response.Write “This is a test ASP page.”
%%
***************************************

When I try to use “Server.CreateObject or any of the other ASP objects, such a Server, Request, etc I get an error message.

What am I doing wrong?

Charles Rosen
CharlesRosen@OptOnLine.Net
 
Try
<%
Response.Write &quot;Testing...&quot;
%>

And how do you preview you asp page?
1. like c:\inetpub\2. http:\\localhost\test.asp?

Only second way it will work

________
George, M
 
Please note that this is me having a really bad day and so therefore I am being pedantic:

It's not http:\\localhost (although a lot of browsers will probably correct it), it's
Just in case there's any confusion.
 
Yep, that's true.
I'm having a bad rainy day also, i didnt noticed the error.

________
George, M
 
Tnaks for pointing out the typo in my post. I think I may have found the problem. When I try to make a new web with &quot;FrontPage&quot; I get this message:

The web server at &quot; does not appear to have the FrontPage server extentions installed.

Yet when I go the the control panel's &quot;windows components wizard&quot; for 'Internet Information Services (IIS) it says that the FrontPage extentions are installed.

I will try to resolve this problem and let you know.

Charles
charlesrosen@optonline.net
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top