473,414 Members | 1,711 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,414 software developers and data experts.

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 1489
"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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Darrell Blake | last post by:
I'm trying to use sessions to allow people to log into my site. The problem is that sometimes it works and sometimes it doesn't! As far as I'm aware my script is fine (hence why it works sometimes)...
0
by: JL | last post by:
Platform: Linux Red Hat RHEL 3 (and red hat 9) Installed MySQL from source. As a matter of fact, installed all LAMPS from source, and the mysql socket file was arranged in a place other than...
2
by: A. Saksena | last post by:
Hi all, Why this code does't work!! ======================== #include <iostream> template<typename T> class a { public: typedef T var; };
5
by: lwoods | last post by:
When I execute the following script I can connect using 'mysqli_connect' but I get a "DB Error: Not Found" when I display the $db->Message() after attempting the DB::Connect. And, "yes", the...
6
by: Franco Lombardo | last post by:
Hi all, I'm running DB2 8.1.5 on Windows 2000 professional SP4. When I try to start Control Center, I see the splash screen for a while, then it closes and nothing else happens. It happens...
1
by: PeteCresswell | last post by:
If I connect via MS Access's File|Get External Data|Link Tables and set RememberPassword=True, the resulting link's .Connect contains UID= and PWD= and those values persist even after tha app is...
21
by: Dmitry Anikin | last post by:
I mean, it's very convenient when default parameters can be in any position, like def a_func(x = 2, y = 1, z): ... (that defaults must go last is really a C++ quirk which is needed for overload...
3
by: norm4h8 | last post by:
Hi! I have a question about how to create a process in such a way that it would terminate itself if its wated for input for too long. Here is the story. I have 2 different files, say R.c and...
3
by: Charles | last post by:
I installed PHP with PEAR support on my Windows computer. I tried the snippet of the book "Learning PHP5": <?php error_reporting(E_ERROR | E_WARNING | E_PARSE); echo "test"; include 'DB.php';...
2
by: 7stud | last post by:
According to "Python in a Nutshell(2nd)", p. 523: connect: s.connect((host, port)) .... Blocks until the server accepts or rejects the connection attempt. However, my client program ends...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.