Large SMS Web Reports return Error 500
After turning off friendly errors, what is actually being returned is an ASP 0251 buffer overflow error, because the response buffer is not large enough. This is due to the default ASP response buffer set using the AspBufferingLimit property in the metabase, configurable at several locations throughout the metabase (see the 'AspBufferingLimit Metabase Property in IIS 6.0' reference below for more information).
Use the standard Windows adsutil.vbs VBScript to read/modify the w3svc/aspbufferinglimit. The default size returned in 2003 Server RTM is 4194304 bytes (4MB), resulting in buffer overflow errors when large queries are executed with thousands of records.
When I've seen this problem, changing the value to 8388608 (8MB) resolved the issues with queries that were found returning this error.
References
SMS Related article on the problem:
https://www.microsoft.com/technet/prodtechnol/sms/sms2003/techfaq/tfaq10.mspx
AspBufferingLimit Metabase Property in IIS 6.0:
https://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/ea7e9c3f-d0c8-4e5c-8965-0d0429a3b8f1.mspx?mfr=true
ASP IIS Errors:
https://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/92418a99-d447-4be7-abc9-a064939e397b.mspx?mfr=true
Tuning ASP Metabase Settings:
https://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/8e54be6e-cdb4-42d6-a270-8a35df8f5a82.mspx?mfr=true
——————-
Thanks,
https://sccm07.blogspot.com/