SAP Knowledge Base Article - Public

1706694 - The special field File Path and Name will ignore the field boundaries set in the CR 2008 designer when viewing via the .NET Webform viewer

Symptom

If you view a Crystal Report 2008 report that has a File Path and Name special field on it using the .NET Webform viewer, the field will ignore the boundary set in the design and act as if Can Grow is checked.  This can cause the field to overwrite anything to the right of it.

Resolution

This issue is resolved in Service Pack 5 for Crystal Reports 2008, Crystal Reports Embedded 2008, and BOE XI 3.1

You have to modify the web.config for the .NET web application by doing the following.

  1. Open the web.config
  2. Find the <configuration> tag
  3. Insert the following directly after that tag
  4.    <configSections>
         <sectionGroup name="businessObjects">
           <sectionGroup name="crystalReports">
             <section name="crystalReportViewer" type="System.Configuration.NameValueSectionHandler" />
           </sectionGroup>
         </sectionGroup>
       </configSections>
       <businessObjects>
         <crystalReports>
           <crystalReportViewer>
             <add key="EnableTextClipping" value="true"/>
           </crystalReportViewer>
         </crystalReports>
       </businessObjects>
  5. Save the web.config

The application will now honor the boundaries set in the designer for the field.

 

Keywords

KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , Problem

Product

Crystal Reports Server 2008 V1