cancel
Showing results for 
Search instead for 
Did you mean: 

CRYSTAL FOR VISUAL STUDIO 2010 DISTRIBUTION - Co Exist with past version?

Former Member
0 Kudos

I have been testing a VS 2010 Website that has a Crystal Report Viewer. On my Desktop, in debug all is well; the report opens properly.

I have installed the CRRuntime_32bit_13_0.msi

On Web Server 1 - our test server the program runs without error; but the report page is blank, the viewer visibility is true

On Web Server 2 - another test environment, the program runs and the report viewer displays properly

On Web Server 3 - our production web server; same as Web Server 1.

The one big difference with Web Server 2 is that it did not have an earlier version of the CR Runtime installed.

Is it possible to have VS2005 applicaition useing the CR Runtime for 2005 and VS2010 application s using the 2010 runtime on the same server.

I have tried to remove all prior versions and clean out the registry on the test web server and have been unsuccessful getting the VS2010 environment to work.

The Software keys for the SAP Business Objects are the same on all 3 servers.

However: Server 2 which works also has a Crystal Decisions Folder with different keys than the other two; but when I re-install the CRRuntime_32bit_13_0.msi after cleaning out the registry it does not seem to create these keys.

Can anyone tell me what the registry entries should be for the 2010 runtime to work?

Accepted Solutions (1)

Accepted Solutions (1)

former_member183750
Active Contributor
0 Kudos

Differences could be due to the app being configured under default website on server 2 and custom website on the non working servers(?).

Permissions could also be an issue here.

Re. what registry entries are needed. There is no such list - I suspect it would be pretty long, but you already have it on server 2(?). Export the HKLM\Software\SAP BusinessObjects key and import that on server 1. Do the same for HKCU. See if that helps.

If not, download [Process Monitor|http://technet.microsoft.com/en-ca/sysinternals/bb896645.aspx]. Filter it for your process, then look for any "Access Denied" messages.

Ludek

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

Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

Former Member
0 Kudos

You are correct on Server 2 where things work the app is configured under the default website and it is not on the other two servers.

Unfortunately the other two servers are where I need this to work.

I have exported/imported the registry keys and still have the same issue.

What permissions do I need to look at? I am not seeing any security errors int he event logs.

former_member183750
Active Contributor
0 Kudos

Have a look at the following articles. Both the behavior and versions are different, but follow the solutions as described and adjust for CRVS2010. That should get things working. E.g.; configuring the viewers directory on a custom website.

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0437ea8-97d2-2b10-2795-c202a76a...

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50aa68c0-82dd-2b10-42bf-e5502b45...

Ludek

Former Member
0 Kudos

Ok; I am getting closer.

I have got the VS2010 ap working on Server 1 - My normal testing envirnment; however with all the trial and error installs and uninstalls my Prior VS2005 ap is getting an error - I can live with that as I need to upgrade it anyway.

However, both will need to work on Server 2 - My Production server until I can upgrade the VS2005 Applications. My first attempt caused a problem with IIS and my entire intranet site. So I have a couple of questions before I try again!

To get things to work on the Test Web Server; I had first cretaed the virtual directory CrystalReportViewers13 with the path C:\Program Files\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\Crystal Reports 2011\crystalreportviewers

I set the execute permisions to Scripts Only and used the >NET 2 application pool which is the default for the website.

This by itself did not fix the problem. However when I replaced the aspnet_client folder in my specific website

s diretory path with the one from the c:\inetpub\wwwroot the report finally displayed.

Not knowing for sure if both steps are required I did things in reverse order on the production server. Copying the aspnet_client folder by itself caused the confusion on my intranet site. So the first question is are both the above required to get this to work (or did I do something else wrong)??

Looking at the contents of the aspnet_client folder on the two servers I am guessng that the answer to my 1st question is yes; as I see the old CrystalReportWebFormViewer3 in the 2_0_50727 folder on both servers, but the CrystalReportViewers13 are only present on the test web server, in both the 2_0_50727 folder and the 4_0_30319 folder.

Does the new viewer folder need to be in both or jsut the NET4 folder?

former_member183750
Active Contributor
0 Kudos

Depends.

If the app is under a defasult website, then C:\Program Files\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\Crystal Reports 2011\crystalreportviewers

should work.

If a custom website, you need aspnet_client folder from c:\inetpub\wwwroot in the specific website.

Ludek

Answers (0)