cancel
Showing results for 
Search instead for 
Did you mean: 

Crystal Reports 2008 - can't use in Visual Studio 2008 as embedded resource

Former Member
0 Kudos

I currently have Crystal Reports 2008 installed - plus sp1 and sp2, and Visual Studio 2008 (without CR Basic).

I am unable to create a report in CR 2008 and then add it to my Visual Studio project as an embedded resource. There is no custom tool in the custom tool property.

Any advice would be appreciated

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Do I have the correct service packs? My VS 2008 does not see the CR 2008 files in project references anymore. should they be there?

former_member183750
Active Contributor
0 Kudos

They should be. Are the assemblies in GAC? Can you add them manually?

Re. VS designer.

Search windows\assembly for CrystalDecisions.VSDesigner and make sure it is there.

Try pasting the following into the custom tool textbox: CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator and see if that works.

Ludek

Former Member
0 Kudos

I did and have already tried pasting the VSDesigner reportcodegenerator in the custom tool box. It says it can't find it on my system.

I do not have a VSDesigner dll for Crystal Reports 2008. I checked in

C:\Program Files\Business Objects\Common\4.0\managed\dotnet2\en

and C:\Program Files\Business Objects\Common\4.0\managed\dotnet2

I searched for this on my pc and I see vsdesigner.resources.dll and vsdesigner.mobile.resources.dll in C:\Program Files\Business Objects\Common\4.0\managed\dotnet2\en. That is all. Nor is it in the GAC

I have also downloaded the Visual Studio Integration Manager and that did not seem to help. I am going to uninstall it and crystal 2008 and start over.

Do I have the correct service packs that I asked about previously?

former_member183750
Active Contributor
0 Kudos

CrystalDecisions.VSDesigner.dll should be in c:\program files\business objects\common\4.0\managed\dotnet2

The SPs are correct, though you should not need any SP to get the CrystalDecisions.VSDesigner.dll. It installs with any version of CR as long as the framework is also installed.

Ludek

Answers (1)

Answers (1)

former_member183750
Active Contributor
0 Kudos

Is this a web app? If so, then that is by design. Reports can only be added to WIN apps as embedded resource.

You used to be able to do this in .NET 2003, but not in later versions of .NET.

Ludek

Former Member
0 Kudos

This is a windows application.

What tool should we be seeing in the custom tool property? It's blank for me.

former_member183750
Active Contributor
0 Kudos

Sounds like CR is not properly integrated into .NET. Was .NET installed after or before Crystal Reports? What SKU of .NET (Pro, etc.) are you using?

Ludek

Former Member
0 Kudos

CRYSTAL REPORTS 2008

Version 12.2.0.290

Product Type: Full

former_member183750
Active Contributor
0 Kudos

Umm, note the question was not about CR, it was:

Was .NET installed after or before Crystal Reports? What SKU of .NET (Pro, etc.) are you using?

Ludek

Former Member
0 Kudos

Sorry! Long day!

We are using Visual Studio 2008 - Professional Edition.

I can't remember which was installed first, Crystal or VS. I did it quite a while ago. What order should it be done in?

My coworker has the same problem and uninstalled Crystal Reports 2008 and re-installed it to no avail.

Former Member
0 Kudos

fyi, we are targeting the 3.5 framework

former_member183750
Active Contributor
0 Kudos

No problem. I figured it was the end log a long day

You want to install .NET 1st, then CR so it can install it's "hooks" into .NET. Unfortunately at this time, It may be a good idea to do a complete uninstall of CR, including the SPs. E.g.; I'm not sure what the orginal version of CR was (CR 2008, no SP, with SP 0, with SP 1, etc.). So, go to the Control Panel and you should be able to see the SPs there. Uninstall those 1st, then uninstall CR, then reinstall.

BTW., CR 2008, no SP is version 12.0.0.549.

CR with SP 1 is 12.1.0.892

CR with SP 2 is 12.2.0.290

E.g. once you have reinstalled CR, check the version (Help | About) and if it is 12.1.0.892 you do not have to install SP 1.

Ludek

Former Member
0 Kudos

Should we re-install the Crystal Reports Basic 2008 that comes with Visual Studio 2008? We were under the impression that we did not want that installed.

We had uninstalled that because it was causing our Crystal Reports 9 Reports to have their references change to CR 2008 during project upgrades to VS 2008, which we did not want.

Edited by: Joanne Thompson on Oct 28, 2009 8:39 AM

former_member183750
Active Contributor
0 Kudos

Crystal Reports Basic 2008 is fine as is. Installation of CR 2008 will essentially take Crystal Reports Basic 2008 out of the picture.

Ludek

Former Member
0 Kudos

We had uncheked the installation of the Crystal Reports for Visual Studio from CR 2008 when we installed CR2008, due to the similar reasons for not installing CR 2008 Basic in previous post.

Do we need that?

My programmer is telling me that we had CR 2008 Reports in VS 2003 that would not upgrade correctly when it was installed.

former_member183750
Active Contributor
0 Kudos

Nope, you do not need CR 2008 Basic installed.

Ludek

Former Member
0 Kudos

My programmer has done this once before already, but I will have him try again. I'll do it myself too. I'll let you know if it works. Thanks for the quick responses to the posts.

Former Member
0 Kudos

Should I also install the Crystal Reports 2008 Sp 0? Located at https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm

Former Member
0 Kudos

I am still not getting the Custom Tool in VS 2008 it keeps showing up blank

I uninstalled CR 2008 completely and reinstalled the below:

Crystal Reports 2008 -> 12.0.0.683 (appeared to include sp0)

Service Pack 1 -cr2008win_sp1.exe -> 12.1.0.883

Service Pack 2 - cr2008win_sp2.exe -> 12.2.0.290

I downloaded the service packs from

https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm

Are those the correct Service Packs?

Strange thing is, when I looked in control panel at the version number after running SP 2 it still had the SP 1 version, even though it stated that it was SP 2. (even after restarting my pc). I also looked in the registry at HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 12.0\Installer\ and the currentpatchversion showed 12.2.0.290 which is for SP 2

Nor do I see the CR2008 dlls listed in Visual Studio 2008 when i go to Add References .net folder. I see the CR 9 files listed.

Edited by: Joanne Thompson on Oct 28, 2009 5:38 PM