cancel
Showing results for 
Search instead for 
Did you mean: 

SAP CR for VS2010 Installation and verification

Former Member
0 Kudos

Hi

I have installed SAP Crystal Reports for Visual Studio 2010 Updates & Runtime Downloads on a windows Xp machine and i am using VS 2010 professional. I Downloaded version 13.0.4 (32 bit) from the link http://scn.sap.com/docs/DOC-7824
The installation was starightforward without any errors and i can now see the software as installed under add /remove program on my computer.


According to SAP Crystal report SDK for .net developers the way to verify this instalation is to check that SAP Crystal Reports appears in the Add New Item dialog box in Visual Studio. I created a new windows project and i do not find the Crystal reports as an available option.

I want to ensure i have that SAP CR for VS2010 correctly installed before i start to migrate my .net VS2002  projects onto VS2010


Thanks in advance
Regards
Mushtaq

Accepted Solutions (1)

Accepted Solutions (1)

former_member188030
Active Contributor
0 Kudos

Open Visual Studio, create a new project.

Before doing anything else, go to project properties and change the .NET framework from

'.NET framework 4.0 client profile' to '.NET framework 4.0'.

Now check for CR components in your project, they should be there.

- Bhushan

Follow us on Twitter

Got Enhancement ideas? Try the SAP Idea Place

Share Your Knowledge in SCN Topic Spaces

Former Member
0 Kudos

I have tried this and still no luck.Created a windows application and on properties\Compile\Advanced comile options changed the target framework from .net framework 4 client profile to .net framework and then tried adding new item and still cannot locate CR components

former_member188030
Active Contributor
0 Kudos

Go to toolbox, choose items and check the Crystal Reports Viewer of version 13.

See if this works.

Also, check your GAC and see if 'CrystalDesicions.CrystalReports.*' assemlies are installed.

- Bhushan

Former Member
0 Kudos

Checkd the GAC and i found the the CrystalDecisions. CrystalReports i see more than one version that must be because of previous version installed on this computer. See attachement .

But i still cannot see the Crystal reports viewer on  the toolbox not sure if having older versions is a problem here. Do you think i must get rid of the older versions as i am  evntually i plan to migrate my .net windows application( service). Th ereason iam keen on verifying the installation is to avoid any issues arising in migration due incorrect installation 

former_member188030
Active Contributor
0 Kudos

Hi Mushtaq,

I couldnt find the attachment, anyways I dont think the side by sde installation of different CR versions should cause any issues.

As long as you have the assembies install it should work fine.

Have you installed Visual Studio 2010 first and then CR or Vice Versa?

CR for VS 2010 should be installed (after) on top of VS to achieve the integration.

Try one thing. Go to toolbox , choose Items, browse to GAC and add CrystalDecisions. CrystalReports.Web assembly of version 13 and see if it gives you the viewr in the choose items list.

Bhushan

former_member183750
Active Contributor
0 Kudos

I have found that CR 10.2 (bundles with .NET 2005) and CR 10.5 (bundles with .NET 2008) do interfere on development boxes. There is a KB I wrote on that. Best recommendation would be if you have either of those versions of .NET and CR to uninstall the applicable CR. Then I'd uninstall CRVS 2010 and reinstall. Also, make sure you're not using VS2010 Standard / Academic, etc. You must have at least Pro.

I do understand that you are migrating from VS2002. I never tested the scenario of side by side install of CR 9.1 (bundles with .NET 2002) and CRVS2010. But, uninstalling CR 9.1 will be a good idea also.

- Ludek

Follow us on Twitter

Got Enhancement ideas? Try the SAP Idea Place

Share Your Knowledge in SCN Topic Spaces

Former Member
0 Kudos

I have all versions of VS on my development computer VS 2002,03 ,05 and VS 2010 Professional and this may have caused the conflict. I have followed your suggestion and removed

all older version of CR and  reinstalled CR for VS2010.


Thats right , I am trying to migrate my VS2002 .net application (service ) to VS 2010 and Crystal enterprise server from CR XI to CR Server 2011,  My first attempt to migrate

didnt go down well and thats the reason i want to first confirm CR for VS2010 is correctly installed before i re attempt migration of VS2002 application. I have now been able to add the crystal report viewer to a test windows application on VS2010 following Bhushyan suggestion of choosing item by browsing GAC

Now after this verification going back to my main objective Migrating to VS2010 windows service application that schedules/run crystal reports hosted on a separate crystal

server ( Now CR Server 2011) I have migrated amd rebuild the app exe with no errors.The project still has refenrences to CrystalDecision.Enterprise.* ( Version 11) folllowing the migration. (See

attachment). removing references to CrystalDecision.Enterprise.* generates errors like "Type 'EnterpriseSession' is not defined" (see attachment)


Note I am trying to follow the steps on the only available microsft link on web http://msdn.microsoft.com/en-us/library/aa288411(v=VS.71).aspx

Following steps in above link i created a deployment project and found out after step 5 in the link i see Crystall11_net_embeddedreporting.msm added to my deployemnt project

(see attachment)
Should Crystall13_XXXXXXXXX.msm not be automatically added to my default project. Please advise if i am missing any point here or if the instructions are different for Deploying

Cr in VS2010?

See attachment for the above issues and also i have copied the code ( see attached ) to give you an idea what my application is doing and the way it uses reports on CR server

Please let me know if i have not explained any point clearly or you require more information

Many Thanks in advance

Former Member
0 Kudos

I am unable to attach screenshots in a document Could you advise what format is best for screenshots?

former_member188030
Active Contributor
0 Kudos

Hi Mushtaq,

This seems a new issue (migration of the Enterprise SDK APP).

When trying to connect to CR server 2011, you dont need CR for VS 2010. You need to install CR Server 2011 32 bit Enterprise .NET SDK on top of VS 2010.

Also, Windows applications are not supported / compatible with CR Server. Only web applications.

- Bhushan

Former Member
0 Kudos

Hi Bhushan,

Iam migrating a windows application (VB.net servive) that as you now describe uses enterprise .net SDK ( i assume you have seen the code that i attached earlier and concluded this)

Until now i was of the opinion that it is possible to migrate this application from VS2002 to VS2010 and at the same time migrating reports from CR server XI to CR server 2011 .

Are we saying

  1. It is possible to migrate Crystal reports from CR server Xi to CR server 2011
  2. But it is not possible to migrate the windows .net appplication  as CR 2011 enterprise .net SDK no longer supports Windows apps?
  3. How about if we only migrate CR servers (point 1) and if we migrate windows app to may be VS2008, is this possible 

PS: Could you also please send me a dwonload  link to CR Server 2011 32 bit Enterprise .NET SDK

Many Thanks

Mushtaq

former_member188030
Active Contributor
0 Kudos

Crystal Reports 2008, Crystal Reports 2011 are standalone version of Crystal Designer.

Crystal Reports for VIsual Studio 2010 is a bundled version of CR which only integrates with VS 2010.

CR 2008 and CR for VS 2010 install CR .NET SDK, which can be used to work with standalone Crystal reports (.rpt).

Crystal Reports Server XI R2, 2008, 2011 are Server / Enterprise solutions to manage Crystal Reports.

They install Enterprise SDK assemblies.

So, this is how it goes..

You design your reports using Crystal Reports, publish / manage it using Crystal Reports Server.

So ultimately the application interacts with the Enterprise (CRS). Thus we need to use the Enterprise .NET SDK which is provided / installed by CRS and not CR.

And yes, win apps are not supported using Enterprise SDK.

See this:

http://search.sap.com/notes?id=0001661786&boj=/sap/bc/bsp/spn/scn_bosap/notes.do?access=69765F6D6F64...

I hope this clarifies your doubts.

- Bhushan

Former Member
0 Kudos

Hi Bhushan,

You have really clarified things here for me by giving a overview of all SAP crystal products.

I understand now win apps are not supported using enterprise SDK,

But we have a .net windows app(VS2002) working with CR server XI  so this means Enterprise .net SDK was supported for windows .net apps in the past. So effectively from when /which version onwards was this dicontinued then?

What options do we have if we were to migrate to a more recent supportable version of CR server and at the same time want to reuse existing .net VS 02 application . Obviously enhance /migrate app to newer versions of .net if required to make this work

Regards

Mushtaq

former_member188030
Active Contributor
0 Kudos

Windows applications were never supported with Enterprise SDK, may be It was RDC COM SDK.

You may try migrating it but it may or may not work. Thye best option is to go for a web app.

- Bhushan.

Former Member
0 Kudos

Many thanks and really appreciate all your help here.

I see there is already lot of threads and material on RDC COM SDK we will look it up

Answers (0)