Solved

Crystal visual studio 2010 assembly conflicts

Posted on 2012-12-29
13
633 Views
Last Modified: 2013-03-14
Hello, I've had tons of issues trying to resolve assembly conflicts with Crystal 10 and visual studio 2010.  Initially, I had Crystal Reports 10  installed on a pc.  I tried to develop using crystal 10 but some of the report icons would be missing and a red x would be displayed in visual studio 2010.  To resolve that error, I installed the Crystal Reports for VS 2010 and the runtime.

After installing Crystal Reports for VS2010, I started receiving assembly errors.  When I would add a crystal report viewer to  a web page, assemblies for 10.2 and 13 would be referenced.  This would result in many errors being thrown.  I tried to correct this issue by removing Crystal Reports for VS 2010.  I also removed the files from the gac and toolbox.   All of the reports at my company are developed using Crystal Reports 10.

After removing Crystal Reports for VS 2010,  I no longer have the issue with version 13 assemblies being referenced in my project.  Now I'm receiving an error stating lognet version Version=1.2.10.0 could not be found.  Can someone explain what needs to be done to resolve the lognet error and develop reports in VS 2010 with Crystal Reports 10 installed?  I don't want to install any more files that are not needed.
0
Comment
Question by:JeffDun
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 6
13 Comments
 
LVL 101

Expert Comment

by:mlmcc
ID: 38730192
Do you have the full version of CR10?
If so is it the developer edition?

As far as i can tell and recall CR10.2 was the version released with VS2003.  It will not work with VS2010.

mlmcc
0
 

Author Comment

by:JeffDun
ID: 38730322
I think it is the full developer version, I will verify.

So, there is no way to have CR10 and VS2010 on the same pc?  We have to use CR10 but I also need to deploy reports to VS2010.  Should I intall the CR for VS2010 files again? Would that fix the log4net error?
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 38730940
It may.

I don't know if there is a way to use CR10 with VS2010.  CR for VS2010 is CR13.

Do you have VS2005 installed on the machine?
That is where CR 10.2 comes from.

mlmcc
0
[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

 

Author Comment

by:JeffDun
ID: 38731262
I have VS2005 and Crystal Reports 10 installed.  My computer has not upgraded from Crystal Reports 10 yet,all of our reports are created with CR 10.  I will try to reinstall CR for VS2010 again.  Do you know where to find the files to download CR for VS2010?
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 38731350
Before doing that, open Crystal 10
CLick HELP --> ABOUT CRYSTAL
Do you have the developer edition?

mlmcc
0
 

Author Comment

by:JeffDun
ID: 38731427
It says professional but I believe we have developer as well.
0
 
LVL 101

Accepted Solution

by:
mlmcc earned 500 total points
ID: 38731602
YOu need the developer edition installed to build the application for CR10.  The professional edition doesn't have the appropriate dlls available for building the application

You could use CR4 VS2010
http://scn.sap.com/people/coy.yonce/blog/2010/11/12/crystal-reports-for-visual-studio-2010-production-release-now-available

mlmcc
0
 

Author Comment

by:JeffDun
ID: 38732704
I have developer installed but I'm still receiving the error below:

 Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies.
0
 

Author Comment

by:JeffDun
ID: 38732763
The log4net error mysteriously went away, I can now view the report in Visual Studio but all of the toolbar icons contain a red x.
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 38732799
The red X indicates the icon images are not present on the server or the user doesn't have permissions to them

http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/50aa68c0-82dd-2b10-42bf-e5502b45cd3a?QuickLink=index&overridelayout=true&38701950304306

mlmcc
0
 

Author Comment

by:JeffDun
ID: 38732840
The red x appears on my development pc.  When I deploy to ther server, I receive the following:
Could not load file or assembly 'CrystalDecisions.ReportAppServer.CommLayer, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies.
0
 

Author Comment

by:JeffDun
ID: 38733160
I installed CR4 VS2010 from the link above but I'm not able to see the 13.0 assembly in Visual Studio?  I can see the files in the GAC but it is not recognized by Visual Studio for some reason.
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 38733711
You can only have 1 version of the assemblies in an application

Did you try build a new application in VS2010?

mlmcc
0

Featured Post

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question