473,594 Members | 3,003 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.as p" -->
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><f ont
face=verdana size=2 color=ffffff>Ca tegory 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>Categ ories Here</tr>"
Jul 19 '05 #1
5 1851
1) Stick to one thread PLEASE
2) <! #include file="navbar.as p" --> 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_Da rkfalz.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.goo gle.com...
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.as p" -->
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><f ont
face=verdana size=2 color=ffffff>Ca tegory 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>Categ ories 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_Da rkfalz.com> wrote in message
news:OC******** ******@TK2MSFTN GP12.phx.gbl...
1) Stick to one thread PLEASE
2) <! #include file="navbar.as p" --> 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_Da rkfalz.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.goo gle.com...
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.as p" -->
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><f ont
face=verdana size=2 color=ffffff>Ca tegory 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>Categ ories 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_Da rkfalz.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#******** ******@TK2MSFTN GP09.phx.gbl...
Shouldn't it be:

<!-- #include...

Ray at home

--
Will trade ASP help for SQL Server help
"Curt_C [MVP]" <Software_AT_Da rkfalz.com> wrote in message
news:OC******** ******@TK2MSFTN GP12.phx.gbl...
1) Stick to one thread PLEASE
2) <! #include file="navbar.as p" --> 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_Da rkfalz.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.goo gle.com...
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.as p" -->
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><f ont
face=verdana size=2 color=ffffff>Ca tegory 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>Categ ories 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_Da rkfalz.com> wrote in message
news:%2******** **********@TK2M SFTNGP10.phx.gb l...
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_Da rkfalz.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
3899
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 checked the code in the .asp and found everything to be accurate (I mean nothing has changed and it was working fine before). Any ideas? I can post the code if you'd like to see it. Thanks, Mason
9
2992
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 VBScript runtime error '800a0006' Overflow: '' ____________________________________________________________________ I am sure that there is no error in the new asp file as if i delete any existing include file then no issues.
1
1306
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
5729
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 in debug mode, the following errors happened: d:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xdebug(29): error C2365: 'new' : redefinition; previous definition was a 'member function' d:\Program Files\Microsoft Visual Studio...
2
5312
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: 1>make_buildinfo.obj : error LNK2019: unresolved external symbol __imp__RegQueryValueExA@24 referenced in function _make_buildinfo2 Ask on python-list@python.org . - Josiah
0
7947
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
7880
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8374
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8010
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
6665
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
3903
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2389
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
1486
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1217
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.