473,503 Members | 1,360 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Too Many Include Files causing IIS 500 Error

I have a legacy ASP application running on IIS 6.0 (Windows Server 2003 Web
Edition) that is throwing an error when processesing a certain asp page that
has about 200 or so include directives.

We've checked the spelling, paths, include directives, and files
individually and all of them work.

We have also commented out random ones (4 or so at a time) and then the page
works. It doesn't matter which ones we comment out, just so long as we reduce
the number of pages by 3 or 4, sometimes 5.

The page worked just fine before one of our developers had to add a few new
include files. Now it seems we've reached some sort of ceiling on the number
of include files or the response / processing buffer that IIS will allow for
the asp page.

We've checked pretty much all of the IIS MetaBase property settings for
cache control and buffer limits and so forth but to no avail.

Is there some hidden or conveluded setting in IIS to allow more than a
certain number of include files or preprocessing directive that limits the
amount of memory a page may take up after combining all of its include files?
This is a very frustrating problem and I have not been able to find any
documentation on it.

Any help would be appreciated.

Thanks
--
- Chad
Jul 21 '05 #1
7 3276
> a certain asp page that has about 200 or so include directives.

Wow!

Anyway, maybe you could include the actual error, or else we could guess all
day what the error is...
Jul 21 '05 #2
That's the problem. The only error returned is the IIS 500 Internal Server
Error. We checked the logs, the avtivity logs, and the InetSrv logs for that
site, and could not get an actual error code other than that.

We also tried running the site from IE on the actual server machine with
friendly errors off and it did not return anything (blank page).

I don't know where else to look for logs or error codes as far as IIS goes
with ASP.

"Aaron [SQL Server MVP]" wrote:
a certain asp page that has about 200 or so include directives.


Wow!

Anyway, maybe you could include the actual error, or else we could guess all
day what the error is...

Jul 21 '05 #3
http://www.aspfaq.com/2109

--
http://www.aspfaq.com/
(Reverse address to reply.)


"Chad Scharf" <ch**@ccponline.us> wrote in message
news:6E**********************************@microsof t.com...
That's the problem. The only error returned is the IIS 500 Internal Server
Error. We checked the logs, the avtivity logs, and the InetSrv logs for that site, and could not get an actual error code other than that.

We also tried running the site from IE on the actual server machine with
friendly errors off and it did not return anything (blank page).

I don't know where else to look for logs or error codes as far as IIS goes
with ASP.

"Aaron [SQL Server MVP]" wrote:
a certain asp page that has about 200 or so include directives.


Wow!

Anyway, maybe you could include the actual error, or else we could guess all day what the error is...

Jul 21 '05 #4
You can always "hard code" include files inline....as a last resort possibly

I've NEVER seen more than 5-6 includes in my years of ASP coding though.

Jeff

"Chad Scharf" <ch**@ccponline.us> wrote in message
news:1F**********************************@microsof t.com...
I have a legacy ASP application running on IIS 6.0 (Windows Server 2003 Web Edition) that is throwing an error when processesing a certain asp page that has about 200 or so include directives.

We've checked the spelling, paths, include directives, and files
individually and all of them work.

We have also commented out random ones (4 or so at a time) and then the page works. It doesn't matter which ones we comment out, just so long as we reduce the number of pages by 3 or 4, sometimes 5.

The page worked just fine before one of our developers had to add a few new include files. Now it seems we've reached some sort of ceiling on the number of include files or the response / processing buffer that IIS will allow for the asp page.

We've checked pretty much all of the IIS MetaBase property settings for
cache control and buffer limits and so forth but to no avail.

Is there some hidden or conveluded setting in IIS to allow more than a
certain number of include files or preprocessing directive that limits the
amount of memory a page may take up after combining all of its include files? This is a very frustrating problem and I have not been able to find any
documentation on it.

Any help would be appreciated.

Thanks
--
- Chad

Jul 21 '05 #5
By inline I assume that you mean all on one line:
<%#include "file.asp", "file2.asp", "file3.asp" %>
or
<%#include "file.asp" #include "file2.asp" %>
or
<%#include "file.asp"%><%#include "file2.asp"%>

none of these work in the fashion expected (less lines of code = correct
processing)

- Chad

"Jeff Dillon" wrote:
You can always "hard code" include files inline....as a last resort possibly

I've NEVER seen more than 5-6 includes in my years of ASP coding though.

Jeff

"Chad Scharf" <ch**@ccponline.us> wrote in message
news:1F**********************************@microsof t.com...
I have a legacy ASP application running on IIS 6.0 (Windows Server 2003

Web
Edition) that is throwing an error when processesing a certain asp page

that
has about 200 or so include directives.

We've checked the spelling, paths, include directives, and files
individually and all of them work.

We have also commented out random ones (4 or so at a time) and then the

page
works. It doesn't matter which ones we comment out, just so long as we

reduce
the number of pages by 3 or 4, sometimes 5.

The page worked just fine before one of our developers had to add a few

new
include files. Now it seems we've reached some sort of ceiling on the

number
of include files or the response / processing buffer that IIS will allow

for
the asp page.

We've checked pretty much all of the IIS MetaBase property settings for
cache control and buffer limits and so forth but to no avail.

Is there some hidden or conveluded setting in IIS to allow more than a
certain number of include files or preprocessing directive that limits the
amount of memory a page may take up after combining all of its include

files?
This is a very frustrating problem and I have not been able to find any
documentation on it.

Any help would be appreciated.

Thanks
--
- Chad


Jul 21 '05 #6
I think he meant taking the code out of 5 include files and combining them
into one.

What possible use could you have for 200 distinct #include files, other than
making anyone [who maintains it] want to quit?

--
http://www.aspfaq.com/
(Reverse address to reply.)


"Chad Scharf" <ch**@ccponline.us> wrote in message
news:09**********************************@microsof t.com...
By inline I assume that you mean all on one line:
<%#include "file.asp", "file2.asp", "file3.asp" %>
or
<%#include "file.asp" #include "file2.asp" %>
or
<%#include "file.asp"%><%#include "file2.asp"%>

none of these work in the fashion expected (less lines of code = correct
processing)

- Chad

"Jeff Dillon" wrote:
You can always "hard code" include files inline....as a last resort possibly
I've NEVER seen more than 5-6 includes in my years of ASP coding though.

Jeff

"Chad Scharf" <ch**@ccponline.us> wrote in message
news:1F**********************************@microsof t.com...
I have a legacy ASP application running on IIS 6.0 (Windows Server 2003
Web
Edition) that is throwing an error when processesing a certain asp
page that
has about 200 or so include directives.

We've checked the spelling, paths, include directives, and files
individually and all of them work.

We have also commented out random ones (4 or so at a time) and then
the page
works. It doesn't matter which ones we comment out, just so long as we

reduce
the number of pages by 3 or 4, sometimes 5.

The page worked just fine before one of our developers had to add a
few new
include files. Now it seems we've reached some sort of ceiling on the

number
of include files or the response / processing buffer that IIS will
allow for
the asp page.

We've checked pretty much all of the IIS MetaBase property settings

for cache control and buffer limits and so forth but to no avail.

Is there some hidden or conveluded setting in IIS to allow more than a
certain number of include files or preprocessing directive that limits the amount of memory a page may take up after combining all of its include

files?
This is a very frustrating problem and I have not been able to find any documentation on it.

Any help would be appreciated.

Thanks
--
- Chad


Jul 21 '05 #7
Almost what Aaron said...I meant not using a few include files altogether,
but put the code they contain inline

Jeff

"Chad Scharf" <ch**@ccponline.us> wrote in message
news:09**********************************@microsof t.com...
By inline I assume that you mean all on one line:
<%#include "file.asp", "file2.asp", "file3.asp" %>
or
<%#include "file.asp" #include "file2.asp" %>
or
<%#include "file.asp"%><%#include "file2.asp"%>

none of these work in the fashion expected (less lines of code = correct
processing)

- Chad

"Jeff Dillon" wrote:
You can always "hard code" include files inline....as a last resort possibly
I've NEVER seen more than 5-6 includes in my years of ASP coding though.

Jeff

"Chad Scharf" <ch**@ccponline.us> wrote in message
news:1F**********************************@microsof t.com...
I have a legacy ASP application running on IIS 6.0 (Windows Server 2003
Web
Edition) that is throwing an error when processesing a certain asp
page that
has about 200 or so include directives.

We've checked the spelling, paths, include directives, and files
individually and all of them work.

We have also commented out random ones (4 or so at a time) and then
the page
works. It doesn't matter which ones we comment out, just so long as we

reduce
the number of pages by 3 or 4, sometimes 5.

The page worked just fine before one of our developers had to add a
few new
include files. Now it seems we've reached some sort of ceiling on the

number
of include files or the response / processing buffer that IIS will
allow for
the asp page.

We've checked pretty much all of the IIS MetaBase property settings

for cache control and buffer limits and so forth but to no avail.

Is there some hidden or conveluded setting in IIS to allow more than a
certain number of include files or preprocessing directive that limits the amount of memory a page may take up after combining all of its include

files?
This is a very frustrating problem and I have not been able to find any documentation on it.

Any help would be appreciated.

Thanks
--
- Chad


Jul 21 '05 #8

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

Similar topics

9
2307
by: Tom Cat | last post by:
Is there anything wrong with using a lot of include files? On one part of my website, I have a form. The page it posts data to, includes a different file based on some of the values. The...
0
6075
by: Tom Lee | last post by:
Hi, I'm new to .NET 2003 compiler. When I tried to compile my program using DEBUG mode, I got the following errors in the C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7 \include\xdebug...
9
2985
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...
28
3829
by: Ramesh | last post by:
Hi, I am currently maintaining a legacy code with a very very large code base. I am facing problems with C/C++ files having a lot of un-necessary #includes. On an average every C/C++ file has...
2
2280
by: clusardi2k | last post by:
Hello, I'm trying to understand someone else code. The below compiles and works fine and dandy. #include <sys/types.h> #include "unistd.h" #include "stdio.h"
6
1888
by: Puzzled | last post by:
This is a weird problem, but perhaps someone else has seen it before (I hope!) If I use a fully qualified include call include ( 'http://localhost/subtree/filename.php') I get an 'undefined...
1
7457
by: Minh | last post by:
I've just installed VS.NET 2003 on my Athlon XP 1800+. However I couldn't get any project with STL includes to compile even if I create a new empty project (and added #include <string>). It gave me...
1
4543
by: ya man | last post by:
when i use #include <iostream.h> in some files i get lots of error messages of the kind 'ambiguous symbol this is solved when i use #include <iostream why is that ? and can i use #include...
2
3507
by: key9 | last post by:
Hi all look at the organize tree main.c ------ #include lib_adapter.c main() { foo();
0
7203
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
7282
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,...
0
7339
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...
0
7463
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...
1
5017
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
3168
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...
0
3157
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
738
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
389
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...

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.