Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

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 reduc
e
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

Report this thread to moderator Post Follow-up to this message
Old Post
Chad Scharf
10-26-04 08:55 PM


Re: Too Many Include Files causing IIS 500 Error
> 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...



Report this thread to moderator Post Follow-up to this message
Old Post
Aaron [SQL Server MVP]
10-26-04 08:55 PM


Re: Too Many Include Files causing IIS 500 Error
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:
 
>
> Wow!
>
> Anyway, maybe you could include the actual error, or else we could guess a
ll
> day what the error is...
>
>
>

Report this thread to moderator Post Follow-up to this message
Old Post
Chad Scharf
10-26-04 08:55 PM


Re: Too Many Include Files causing IIS 500 Error
http://www.aspfaq.com/2109

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




"Chad Scharf" <chad@ccponline.us> wrote in message
news:6E301146-21DA-4478-98A3-E484E2B92FFE@microsoft.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:
> 
all 



Report this thread to moderator Post Follow-up to this message
Old Post
Aaron [SQL Server MVP]
10-26-04 08:55 PM


Re: Too Many Include Files causing IIS 500 Error
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" <chad@ccponline.us> wrote in message
news:1F7DD363-0C3A-424A-8B71-4E0904E2C264@microsoft.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



Report this thread to moderator Post Follow-up to this message
Old Post
Jeff Dillon
10-26-04 08:55 PM


Re: Too Many Include Files causing IIS 500 Error
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 possib
ly
>
> I've NEVER seen more than 5-6 includes in my years of ASP coding though.
>
> Jeff
>
> "Chad Scharf" <chad@ccponline.us> wrote in message
> news:1F7DD363-0C3A-424A-8B71-4E0904E2C264@microsoft.com... 
> Web 
> that 
> page 
> reduce 
> new 
> number 
> for 
> files? 
>
>
>

Report this thread to moderator Post Follow-up to this message
Old Post
Chad Scharf
10-26-04 08:55 PM


Re: Too Many Include Files causing IIS 500 Error
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" <chad@ccponline.us> wrote in message
news:0955006D-127B-4764-9E5E-9FE2F6C2CF15@microsoft.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:
> 
possibly 
2003 
page 
the 
few 
allow 
for 
the 
any 



Report this thread to moderator Post Follow-up to this message
Old Post
Aaron [SQL Server MVP]
10-26-04 08:55 PM


Re: Too Many Include Files causing IIS 500 Error
Almost what Aaron said...I meant not using a few include files altogether,
but put the code they contain inline

Jeff

"Chad Scharf" <chad@ccponline.us> wrote in message
news:0955006D-127B-4764-9E5E-9FE2F6C2CF15@microsoft.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:
> 
possibly 
2003 
page 
the 
few 
allow 
for 
the 
any 



Report this thread to moderator Post Follow-up to this message
Old Post
Jeff Dillon
10-27-04 01:55 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

ASP archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 05:02 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.