469,327 Members | 1,242 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,327 developers. It's quick & easy.

ASP doesn't connect

Is there any way to tell if the server is processing my asp?
http://www.joeswelding.biz/mail/index2.htm

If you look at the page above, you will immediately see that my asp code is
filling my text boxes.

If you go a step further and view the source, you will see that the asp
"start of code" characters "<%" show up on the very first line. Hey! That's
not supposed to happen, is it?

BTW: I'm a Classic ASP newbie.
Aug 6 '07 #1
6 1438
"jp2code" <poojo.com/mailwrote in message
news:On**************@TK2MSFTNGP05.phx.gbl...
Is there any way to tell if the server is processing my asp?
http://www.joeswelding.biz/mail/index2.htm

If you look at the page above, you will immediately see that my asp code
is
filling my text boxes.

If you go a step further and view the source, you will see that the asp
"start of code" characters "<%" show up on the very first line. Hey!
That's
not supposed to happen, is it?

BTW: I'm a Classic ASP newbie.

ASP will process ASP files. Change your file extenstion from htm to asp.

--
Anthony Jones - MVP ASP/ASP.NET
Aug 6 '07 #2
Ah! Ok.

Does this rule apply to web pages that start with a code section only, or do
small "script-lets" (like example below) also require the page to have an
asp extension?

Ex:
<b>The current date is <%=Date()%and the current time is <%=Time()%>.</b>

Thanks for helping!
Joe

"Anthony Jones" wrote:
ASP will process ASP files. Change your file extenstion from htm to asp.

--
Anthony Jones - MVP ASP/ASP.NET


Aug 6 '07 #3
"jp2code" wrote:
Does this rule apply to web pages that start with a code section only,
or do small "script-lets" (like example below) also require the page
to have an asp extension?

Ex:
<b>The current date is <%=Date()%and the current time is
<%=Time()%>.</b>
If you want asp.dll to parse the script, it needs an extension that IIS is
configured to parse with asp.dll. By default, this extension is .asp, but
you can configure the server to parse other extensions that way as well.
--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms.

Aug 6 '07 #4
Changed some code and added the .asp extension:

http://www.joeswelding.biz/mail/index2.asp

The only error I get is Microsoft's HTTP 500 Internal Server Error page.

How would I debug something like this?

"jp2code" wrote:
Is there any way to tell if the server is processing my asp?
http://www.joeswelding.biz/mail/index2.htm

If you look at the page above, you will immediately see that my asp code
is filling my text boxes.

If you go a step further and view the source, you will see that the asp
"start of code" characters "<%" show up on the very first line. Hey!
That's not supposed to happen, is it?

BTW: I'm a Classic ASP newbie.

Aug 7 '07 #5
jp2code wrote:
Changed some code and added the .asp extension:

http://www.joeswelding.biz/mail/index2.asp

The only error I get is Microsoft's HTTP 500 Internal Server Error
page.

How would I debug something like this?
Turn off Friendly Errors in your browser:
http://www.aspfaq.com/show.asp?id=2109

Then use the aspfaq site and google to search for your error messages.
You can usually help yourself this way.

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Aug 7 '07 #6
Thanks Mr. Barrows! That did it.

"Bob Barrows [MVP]" wrote:
Turn off Friendly Errors in your browser:
http://www.aspfaq.com/show.asp?id=2109

Then use the aspfaq site and google to search for your error messages.
You can usually help yourself this way.

Aug 7 '07 #7

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Darrell Blake | last post: by
2 posts views Thread by A. Saksena | last post: by
5 posts views Thread by lwoods | last post: by
6 posts views Thread by Franco Lombardo | last post: by
3 posts views Thread by Charles | last post: by
2 posts views Thread by 7stud | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by listenups61195 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.