Discussion:
Crystal Reports for VS deployment to Web Application doesn't work
(too old to reply)
dwaine
2009-08-07 02:20:06 UTC
Permalink
I've followed the "documentation" for getting crystal reports to work on a
production web site.

I've migrated a VS 2003 web project to a VS 2008 web application.
Everything works fine on my dev box. publish the site out to the server
(2003 X86) and no go on the reports, get the infamous:

***** Error Type: System.IO.FileLoadException
***** Error Message: Could not load file or assembly
'CrystalDecisions.CrystalReports.Engine, Version=10.5.3700.0,
Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies.
The located assembly's manifest definition does not match the assembly
reference. (Exception from HRESULT: 0x80131040)

I've installed the MSI on the server as indicated here:

ms-help://MS.VSCC.v90/MS.MSDNQTR.v90.en/crystlmn/html/topic409.htm

And tried the one-click web setup project, etc., etc., to no avail.

The mentioned version of the reports engine IS in the GAC of the server!

Could someone explain where I go next to get the "latest and greatest"
running on this brand new server?

It is mind boggling to me that this is still so complicated after 6 years
and 3 major versions of VS!!!??? In 2003 it was crazy "license number"
requirements, and now.... ggggrrrrrrr.
Hongye Sun [MSFT]
2009-08-09 16:14:50 UTC
Permalink
Hi Dwaine,

Thanks for reporting this issue. My name is Hongye Sun [MSFT] and I will do
my best to support you on this issue.
If I find this issue requires further supports from Business Object, I will
redirect you to the proper channel.

If my understanding is correct, you have converted a VS 2003 website
project to VS 2008 and create a new web setup project to deploy the
website. In the deployment project, you have added C:\Program
Files\Microsoft
SDKs\Windows\v6.0A\Bootstrapper\Packages\CrystalReports10_5\CRRedist2008_x86
msi as a required component. Is it correct?

I see that you have already verified that the
CrystalDecisions.CrystalReports.Engine assembly has already been installed
in the target machine. Can you double check it by following command in VS
command prompt:
gacutil /l CrystalDecisions.CrystalReports.Engine

This command should list all versioned assemblies with that name. Please
make sure that the followng version and publickeytoken exist in the list:
CrystalDecisions.CrystalReports.Engine, Version=10.5.3700.0,
Culture=neutral, PublicKeyToken=692fbea5521e1304

If it does exist, I suggest to restart the machine first.

If restart doesn't work, please read the following link to enable fusion
logging on the target machine:
http://msdn.microsoft.com/en-us/library/e74a18c4.aspx

The tool displays the following details about the selected bind failure:
- The specific reason the bind failed, such as "file not found" or "version
mismatch".
- Information about the application that initiated the bind, including its
name, the application's root directory (AppBase), and a description of the
private search path, if there is one.
- The identity of the assembly the tool is looking for.
- A description of any Application, Publisher, or Administrator version
policies that have been applied.
- Whether the assembly was found in the global assembly cache.
- A list of all probing URLs.

This will be very helpful for us to identify assembly binding issue.

If you have any question or additional information, please feel free to let
me know. I will give further suggestions once I receive your updates.

Sincerely,
Hongye Sun (***@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
***@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.

Note: MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within?2 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions. Issues of this
nature are best handled working with a dedicated Microsoft Support Engineer
by contacting Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/en-us/subscriptions/aa948874.aspx
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Hongye Sun [MSFT]
2009-08-19 06:27:02 UTC
Permalink
Hi Dwaine,

Is this issue resolved? If you need any further support, please let me know.

Sincerely,
Hongye Sun (***@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
***@microsoft.com.

This posting is provided "AS IS" with no warranties, and confers no rights.
Continue reading on narkive:
Loading...