473,585 Members | 2,501 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1491
"jp2code" <poojo.com/mailwrote in message
news:On******** ******@TK2MSFTN GP05.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
4019
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) and I've had people tell me it's fine too. Basically, when a user enters their username and password it checks that against my mysql database and...
0
6508
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 /tmp/mysql.sock. Let's say, /opt/mysql_root/sock/mysql.sock. Installed DBI without any problem. In /etc/my.cnf there are lines as ----- ----- -----
2
1336
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
2442
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 "restaurant" database does exist. Where should I start looking? PHP 5.0.4 / mySQL 4.1.13-nt / IIS / XP Pro
6
10709
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 with "Activity center" (Since I'm running the italian version, I don't know the english name of this tool, I mean db2tc.bat).
1
2145
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 closed and reopened. OTOH if I do something like... Set myTD = CurrentDB.TableDefs("tblAbc") With myTD
21
2321
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 resolution, isn't it?) and when calling, just omit parameter when you want to use defaults: a_func(, , 3)
3
1817
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 S.c, which have a named pipe between them and send each other signals. R process starts first, it opens a named pipe and waits for S to connect. S...
3
1360
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'; $db = DB::connect('mysql://penguin:top^hat@db.example.com/restaurant'); if (DB::isError($db)) { die("Can't connect: " . $db->getMessage( )); } ?>
2
1599
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 immediately after the call to connect()--even though my server program does not call accept():
0
7836
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8199
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8212
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6606
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5389
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3835
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2343
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1447
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1175
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.