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.
jp2code [ Mo, 06 August 2007 22:10 ] [ ID #1788040 ]

Re: ASP doesn't connect

"jp2code" <poojo.com/mail> wrote in message
news:OnqMeXG2HHA.4004 [at] 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
Anthony Jones [ Mo, 06 August 2007 22:42 ] [ ID #1788042 ]

Re: ASP doesn't connect

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
>
>
jp2code [ Mo, 06 August 2007 23:11 ] [ ID #1788043 ]

Re: ASP doesn't connect

"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.
Dave Anderson [ Mo, 06 August 2007 23:47 ] [ ID #1788044 ]

Re: ASP doesn't connect

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.
>
jp2code [ Di, 07 August 2007 17:42 ] [ ID #1788876 ]

Re: ASP doesn't connect

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.
reb01501 [ Di, 07 August 2007 18:02 ] [ ID #1788878 ]

Re: ASP doesn't connect

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.
jp2code [ Di, 07 August 2007 18:30 ] [ ID #1788883 ]
Webserver » microsoft.public.inetserver.asp.general » ASP doesn't connect

Vorheriges Thema: Reading Bitmaps from an Access database
Nächstes Thema: tutorial help