Quantcast
Channel: CodeProject – Tharaka's Blog
Viewing all articles
Browse latest Browse all 36

Exclude crystal report embedding when building the ASP.Net web site

$
0
0

If you have worked with ASP.Net web applications which include number of crystal reports as part of that, you might have experienced it takes a long time to build the web site. This happens, because by default crystal reports are set to be embedded as a resource.In default your “web.config” displays as follows.

Web config default configuration for crystal report

To resolve this, you can simply modify the embedRptInResource=”false” as follows.

<businessObjects>
    <crystalReports>
        <rptBuildProvider>
            <add embedRptInResource="false"/>
        </rptBuildProvider>
    </crystalReports>
</businessObjects>

Filed under: ASP.NET, CodeProject, Crystal Report Tagged: ASP.Net, C#, Crystal Report, Web Performance

Viewing all articles
Browse latest Browse all 36

Trending Articles