Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Deploying a web application with Crystal reports

25 views
Skip to first unread message

Derek

unread,
Jul 9, 2009, 9:38:17 AM7/9/09
to

I have created a web application that contains a number of crystal reports.
This works fine in the development environment but I get errors when I deploy
it to a web server.

I have install Crystal Reports runtime on the server by running
CRRedist2008_x86.msi but when I try to connect to the web site It get the
following.

Parser Error Message: Could not load file or assembly 'CrystalDecisions.Web,
Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one
of its dependencies. The system cannot find the file specified.

Source Error:

Line 81: -->
Line 82: <httpHandlers>
Line 83: <add path="CrystalImageHandler.aspx" verb="GET"
type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web,
Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
Line 84: <add path="Reserved.ReportViewerWebControl.axd" verb="*"
type="Microsoft.Reporting.WebForms.HttpHandler,
Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a" validate="false"/>
Line 85: </httpHandlers>

Source File: C:\Scanvaegt_MF\Code\web.config Line: 83

Assembly Load Trace: The following information can be helpful to determine
why the assembly 'CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral,
PublicKeyToken=692fbea5521e1304' could not be loaded.

=== Pre-bind state information ===
LOG: User = NT AUTHORITY\NETWORK SERVICE
LOG: DisplayName = CrystalDecisions.Web, Version=10.5.3700.0,
Culture=neutral, PublicKeyToken=692fbea5521e1304
(Fully-specified)
LOG: Appbase = file:///C:/Scanvaegt_MF/Code/
LOG: Initial PrivatePath = C:\Scanvaegt_MF\Code\bin
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\Scanvaegt_MF\Code\web.config
LOG: Using host configuration file:
\\?\c:\windows\microsoft.net\framework\v2.0.50727\aspnet.config
LOG: Using machine configuration file from
c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
LOG: Post-policy reference: CrystalDecisions.Web, Version=10.5.3700.0,
Culture=neutral, PublicKeyToken=692fbea5521e1304
LOG: The same bind was seen before, and was failed with hr = 0x80070002.

Does anyone know how I can get this working?

--
Derek

Derek

unread,
Jul 9, 2009, 11:26:01 AM7/9/09
to

I have a solution for this.

Copy the CrystalDecisions dll from C:\Program Files\Business
Objects\Common\2.8\managed on the development PC to the bin directory of the
application on the web server and it starts to work.
--
Derek

Nobody

unread,
Jul 9, 2009, 12:26:28 PM7/9/09
to

This is a VB6 and earlier group(VB Classic). VB.Net and all dotnet groups
have either "dotnet" or "vsnet" in the group name. Please use the following
group instead:

news://msnews.microsoft.com/microsoft.public.dotnet.languages.vb

0 new messages