473,327 Members | 1,979 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,327 software developers and data experts.

One last try. Error when using #include file=

I have perhaps not explained myself clearly, so I'll try it this way.
In the code below, where it says "I'd like to include my navigation
bar here" is the place I'd like to insert a navigation bar from a page
I have called navbar.asp

For some reason, when I insert the <! #include file="navbar.asp" -->
in that place, I get an error, a long, hairy error. Can you please
look at the code below, and tell me how I should write the code so
that the include statement will work?

No, I cannot include the error message, because the email crashes when
I include it.

Thanks,
Bill

response.write "<table border=1 align=center width=900>"
response.write "<tr bgcolor=CC3300><td colspan=5 align=center><font
face=verdana size=2 color=ffffff>Category ID goes here </td></tr>"
response.write "<tr><td colspan=5 align=center>"
response.write "I'd like to include my navigation bar here"
response.write "</td></tr><tr bgcolor=ffffcc><td valign=top width=150
rowspan=5>Categories Here</tr>"
Jul 19 '05 #1
5 1838
1) Stick to one thread PLEASE
2) <! #include file="navbar.asp" --> is FINE

Try replacing that navbar.asp with a SIMPLE one once... I'll bet it works
fine.
Odds are your navbar.asp simply has a bug in it

--
----------------------------------------------------------
Curt Christianson (Software_AT_Darkfalz.Com)
Owner/Lead Designer, DF-Software
http://www.Darkfalz.com
---------------------------------------------------------
...Offering free scripts & code snippits for everyone...
---------------------------------------------------------

"Bill" <bi***********@gospellight.com> wrote in message
news:8d**************************@posting.google.c om...
I have perhaps not explained myself clearly, so I'll try it this way.
In the code below, where it says "I'd like to include my navigation
bar here" is the place I'd like to insert a navigation bar from a page
I have called navbar.asp

For some reason, when I insert the <! #include file="navbar.asp" -->
in that place, I get an error, a long, hairy error. Can you please
look at the code below, and tell me how I should write the code so
that the include statement will work?

No, I cannot include the error message, because the email crashes when
I include it.

Thanks,
Bill

response.write "<table border=1 align=center width=900>"
response.write "<tr bgcolor=CC3300><td colspan=5 align=center><font
face=verdana size=2 color=ffffff>Category ID goes here </td></tr>"
response.write "<tr><td colspan=5 align=center>"
response.write "I'd like to include my navigation bar here"
response.write "</td></tr><tr bgcolor=ffffcc><td valign=top width=150
rowspan=5>Categories Here</tr>"

Jul 19 '05 #2
Shouldn't it be:

<!-- #include...

Ray at home

--
Will trade ASP help for SQL Server help
"Curt_C [MVP]" <Software_AT_Darkfalz.com> wrote in message
news:OC**************@TK2MSFTNGP12.phx.gbl...
1) Stick to one thread PLEASE
2) <! #include file="navbar.asp" --> is FINE

Try replacing that navbar.asp with a SIMPLE one once... I'll bet it works
fine.
Odds are your navbar.asp simply has a bug in it

--
----------------------------------------------------------
Curt Christianson (Software_AT_Darkfalz.Com)
Owner/Lead Designer, DF-Software
http://www.Darkfalz.com
---------------------------------------------------------
..Offering free scripts & code snippits for everyone...
---------------------------------------------------------

"Bill" <bi***********@gospellight.com> wrote in message
news:8d**************************@posting.google.c om...
I have perhaps not explained myself clearly, so I'll try it this way.
In the code below, where it says "I'd like to include my navigation
bar here" is the place I'd like to insert a navigation bar from a page
I have called navbar.asp

For some reason, when I insert the <! #include file="navbar.asp" -->
in that place, I get an error, a long, hairy error. Can you please
look at the code below, and tell me how I should write the code so
that the include statement will work?

No, I cannot include the error message, because the email crashes when
I include it.

Thanks,
Bill

response.write "<table border=1 align=center width=900>"
response.write "<tr bgcolor=CC3300><td colspan=5 align=center><font
face=verdana size=2 color=ffffff>Category ID goes here </td></tr>"
response.write "<tr><td colspan=5 align=center>"
response.write "I'd like to include my navigation bar here"
response.write "</td></tr><tr bgcolor=ffffcc><td valign=top width=150
rowspan=5>Categories Here</tr>"


Jul 19 '05 #3
he had that in one of the 3 threads he started on the subject....
Figured he typo'd it and has it right in the actual code.

But good eye :}

--
----------------------------------------------------------
Curt Christianson (Software_AT_Darkfalz.Com)
Owner/Lead Designer, DF-Software
http://www.Darkfalz.com
---------------------------------------------------------
...Offering free scripts & code snippits for everyone...
---------------------------------------------------------

"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:u#**************@TK2MSFTNGP09.phx.gbl...
Shouldn't it be:

<!-- #include...

Ray at home

--
Will trade ASP help for SQL Server help
"Curt_C [MVP]" <Software_AT_Darkfalz.com> wrote in message
news:OC**************@TK2MSFTNGP12.phx.gbl...
1) Stick to one thread PLEASE
2) <! #include file="navbar.asp" --> is FINE

Try replacing that navbar.asp with a SIMPLE one once... I'll bet it works fine.
Odds are your navbar.asp simply has a bug in it

--
----------------------------------------------------------
Curt Christianson (Software_AT_Darkfalz.Com)
Owner/Lead Designer, DF-Software
http://www.Darkfalz.com
---------------------------------------------------------
..Offering free scripts & code snippits for everyone...
---------------------------------------------------------

"Bill" <bi***********@gospellight.com> wrote in message
news:8d**************************@posting.google.c om...
I have perhaps not explained myself clearly, so I'll try it this way.
In the code below, where it says "I'd like to include my navigation
bar here" is the place I'd like to insert a navigation bar from a page
I have called navbar.asp

For some reason, when I insert the <! #include file="navbar.asp" -->
in that place, I get an error, a long, hairy error. Can you please
look at the code below, and tell me how I should write the code so
that the include statement will work?

No, I cannot include the error message, because the email crashes when
I include it.

Thanks,
Bill

response.write "<table border=1 align=center width=900>"
response.write "<tr bgcolor=CC3300><td colspan=5 align=center><font
face=verdana size=2 color=ffffff>Category ID goes here </td></tr>"
response.write "<tr><td colspan=5 align=center>"
response.write "I'd like to include my navigation bar here"
response.write "</td></tr><tr bgcolor=ffffcc><td valign=top width=150
rowspan=5>Categories Here</tr>"



Jul 19 '05 #4
Three threads, eh? I see how things are going to be around here. ;]

--
Will trade ASP help for SQL Server help
"Curt_C [MVP]" <Software_AT_Darkfalz.com> wrote in message
news:%2******************@TK2MSFTNGP10.phx.gbl...
he had that in one of the 3 threads he started on the subject....
Figured he typo'd it and has it right in the actual code.

But good eye :}

--
----------------------------------------------------------
Curt Christianson (Software_AT_Darkfalz.Com)

Jul 19 '05 #5
<snip>
No, I cannot include the error message, because the email crashes when I include it.


If you can't be bothered to tell us the error, why should we fix it? I
hope you aren't trying to post a screenshot!

BTW, if your email program crashes just because you typed a line of
text, you have bigger problems to worry about!
Jul 19 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: masonj | last post by:
For no apparent reason, my webpage cannot be brought up due to an internal server error. My host tells me an asp 0126 error occurred because an include file is missing. Its there. I've also...
9
by: Sarath | last post by:
I am working with an application using ASP, getting below error when i am trying to include new asp include file. _____________________________________________________________________ Microsoft...
1
by: DiskMan | last post by:
System: Redhat 7.2 Kernel-2.6.11.8 GCC-3.4.3 CCC-6.5.9 Binutils-2.15 Make-3.80 GTK/GLIB-2.6.7 For some reason my Linux box is suddenly having issues trying to read ;
2
by: Qiao Yun | last post by:
I used vc++.net (visual studio .net ) to open a project which can work well in vc++6.0. I succeeded in compiling the project in vc++.net in release mode . But when I tried to compile the project...
2
by: f rom | last post by:
----- Forwarded Message ---- From: Josiah Carlson <jcarlson@uci.edu> To: f rom <etaoinbe@yahoo.com>; wxpython-users@lists.wxwidgets.org Sent: Monday, December 4, 2006 10:03:28 PM Subject: Re: ...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.