cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to load Designer - Visual studio 2005 - visual basic

Former Member
0 Kudos

Recent I had a strange error per following :

Could not load file or assembly 'CrystalDecisions.VSDesigner, Version=11.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)

When I open my vb's project and choose one form with Crystal Reports Viewer (version as 11.5.3700.0),

I got the above error message.

I have used Crystal reports over 8 years, and never had much problem.

I suspect this is related to the recent installation of "vcredist_x86.exe" which is vC ++ 2005 Redistributables (needed by our

indexing software).

Is anybody has the same problem ?? Any idea of how to fix it ?? Are there any hotfix available on CR's web site ??

Thanks for help.

Regards,

mei

Accepted Solutions (1)

Accepted Solutions (1)

former_member183750
Active Contributor
0 Kudos

Delete the viewer off the form. Make sure that the viewer available from the toolbox is defined by version 11.5.3700.0 (if you're using .NET 2005) and re-add it to the form.

Ludek

Follow us on Twitter http://twitter.com/SAPCRNetSup

Former Member
0 Kudos

Thank you Ludek.

I have noticed that my Report Viewer (11R2 one) is disappeared from the Toolbox. It appears that 11R2 one cannot be loaded anymore. I have tried to Uninstall the Vc ++ distributable and unstall & reinstall VS 2005 and , uninstall and reinstalled of Crystal Reports 11R2 one but all fails.

regards,

mei

former_member183750
Active Contributor
0 Kudos

Do you see the CR assemblies in the GAC?

If you do, you should be able to add the viewer to the toolbox; crystaldecisions.web.dll or crystaldecisions.windows.dll

Ludek

Adam_Stone
Active Contributor
0 Kudos

Another idea if you are still getting the original issue and you do have the dll that it mentions in the error message is to run [dependency walker|http://dependencywalker.com/] against that file and see what dependencies might be missing.

Former Member
0 Kudos

Hi Ludek,

I ran the dependency checker "crystaldecisions.windows.dll" and found the the following message on "mpr.dll" :

Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module

I have an extra network connection as "loopback adapter" for my oracle database as the local server.

Not sure whetehr this is the issue related to "mpr.dll" dependency problem.

Thanks for your help.

Regards,

mei

former_member183750
Active Contributor
0 Kudos

The mpr.dll is not a problem.

But, do you see the CR assemblies in the GAC? If so, check crystalDecisions.crystalreports.engine.dll and tell me what version(s) you see there.

Ludek

Former Member
0 Kudos

do you see the CR assemblies in the GAC? If so, check crystalDecisions.crystalreports.engine.dll and tell me what version(s) you see there.

I can see CR assemblies on my GAC.

With regard to crystalDecisions.crystalreports.engine.dl, I have 3 versions per folowing :

10.2.3600.0 from Visual studio 2005

11.0.3300.0 CR XI

11.5.3700.0 CR XI R2

Thanks

mei

former_member183750
Active Contributor
0 Kudos

Good. And which of the three assembly versions is referenced in your project? It should be 11.5.3700.0

Ludek

Former Member
0 Kudos

11.5.3700.0 is the reference in my program.

Thanks

mei

Former Member
0 Kudos

Hi Ludek,

Thanks for your help.

I think i figure out the problem.

About 3 month ago on my Crystal reports developer machine, I had a hard disk crash.

Then I recovered all softwares. Regarding the Crystal reports I restored by the following procedures.

1.) Install CR XI ( I have a original CD)

2.)Install CR XI R2 (Runtime distribution, build from CrystalReports11_5_NET_2005.msm downloaded from CRu2019s website)

3.) Install CR XI R2 Sp1 (runtime distribution same as the above downloading from your web site )

However, now I recall, originally for my developer machine I downloaded a EXE file for CR XR R2 from your web site.

That .EXE file includes the u201CDesigner Vieweru201D, but not on the runtime which I had built a Msi package by using your run time

distribution u2013 msm file.

I have NOT changed the CRu2019s viewer on my vb.netu2019s form for over a year. Even though missing the u201CDesigner CR vieweru201D,

it did give me error message and built successfully.

Recently I need to add some interface on my vbu2019s netu2019s for the function of emailing the report. Then I have realized that

I have no Viewer designer anymore.

Could you tell me where can I find the original .EXE for installing the u201CDesigner Vieweru201D .

Thanks again for your help.

Regards,

mei

Former Member
0 Kudos

Hi Ludek,

I solve the problem by I installing the version of Crystal Reports XI R2 SP2. It looks like it contains the "Designer".

Anyway thank you for your help.

Regards,

mei

Answers (0)