SAP Knowledge Base Article - Public

1827623 - A Crystal Reports .NET application where the report name is passed as a querystring to the application URL, fails with HTTP 404.15 error code.

Symptom

  • A Crystal Reports .NET application to export a report to PDF where the report name is being passed as a query string to the application URL, fails with HTTP 404.15 error code.
  • Application is hosted on IIS.
  • The application to export the report works fine when the query string is less that 1800 characters.
  • There is no proper error message pointing to any particular Crystal APIs.

Environment

  • Visual Studio 2008 / Visual Studio 2010
  • Crystal Reports 2008 / Crystal Reports for Visual Studio 2010

Cause

  • This is not a Crystal Reports SDK issue.
  • This is primarily IIS configuration issue.
  • The default limit for querystring set for an application in IIS is 2048 bytes.
  • The application fails with error 404.15 when this limit exceeds.

Resolution

  • Configure IIS for higher limit for querystring.
  • See below Microsoft article which describes this issue in detail.

http://www.iis.net/configreference/system.webserver/security/requestfilt ering/requestlimits

Keywords

KBA , BI-DEV-NET-SDK , .NET SDK / COM SDK , Problem

Product

Crystal Reports Server 2008 V1