ASP doesn"t connect
am 06.08.2007 22:10:45 von jp2code
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.
Re: ASP doesn"t connect
am 06.08.2007 22:42:31 von Anthony Jones
"jp2code" wrote in message
news:OnqMeXG2HHA.4004@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
Re: ASP doesn"t connect
am 06.08.2007 23:11:43 von jp2code
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:
The current date is <%=Date()%> and the current time is <%=Time()%>.
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
>
>
Re: ASP doesn"t connect
am 06.08.2007 23:47:07 von Dave Anderson
"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:
> The current date is <%=Date()%> and the current time is
> <%=Time()%>.
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.
Re: ASP doesn"t connect
am 07.08.2007 17:42:33 von jp2code
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.
>
Re: ASP doesn"t connect
am 07.08.2007 18:02:35 von reb01501
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.
Re: ASP doesn"t connect
am 07.08.2007 18:30:58 von jp2code
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.