Koen about .Net

February 8, 2011

Crystal reports runtime for .NET 4.0

Filed under: Development, dotnetmag — Tags: , — koenwillemse @ 00:00

A few years ago I created an application which is used by an tutoring institute. It’s not the best application I’ve ever created (and that’s a bit of an understatement), but it works. There are some bugs now and then, some new feature request, which I do when I’ve got some spare time. One part of the application is generating invoices. I used Crystal reports to generate the invoices (first version in VS 2005, later in VS 2008).

A while ago I upgraded my solution to Visual Studio 2010 and then the problems began. Crystal Reports is no longer included in Visual Studio but needs to be downloaded separately from SAP site. Problem one, it took a long time before the final version for .NET 4.0 and Visual Studio 2010 was available. I started using the beta version when I upgraded and it worked OK. The problem however was that there was decent no runtime installation available. I found a blog post (unfortunately I don’t have the link anymore) which indicated that you could redirect the newer assemblies to the ‘old’ VS 2008 version runtime. This worked out good for me so I was ok.

In November last year, the production release of Crystal Reports for Visual Studio 2010 was ready. So when I got my new work laptop in December, I installed this last version. But then, last week I fixed a few minor bugs and made a little improvement, and I got in trouble with the deployment which complained about the Crystal Reports references. So I wanted to quickly download the runtime for the newer Crystal Reports version and install it on the client computer. However, that wasn’t done quickly. It took me a while to finally find the links to the redistributables and merge modules of the new runtime. One thing became clear and that was that I really dislike the SAP web site.

I finally found the links, so I wanted to post them here, so maybe some other people don’t have to spend the same amount of time as I had to, to find the installers (with thanks to Coy Yonce):

  • Standard EXE installation package which installs SAP Crystal Reports for Visual Studio into the Visual Studio 2010 IDE can be found here.
  • Click-Once installation package used to create self-updating Windows-based applications which can be installed and run with minimal user interaction can be found here.
  • Merge Modules installation package used to install components which are shared by multiple applications can be found here.
  • Redistributable installation (32 bit) can be found here.
  • Redistributable installation (64 bit) can be found here.

I hope this saves some time for you.

36 Comments »

  1. Hi

    I can’t download these files. when I wanna to download, It’s show me an error:
    The server replies that you don’t have permissions to download this files. Details:HTTP/1.1 403 Forbidden.
    Please Help Me. If you can send Run Time Pakage (32bit) for me.
    Thx.

    Comment by masoud — February 25, 2011 @ 07:06

    • Hi Masoud,

      the links are located on the site of SAP. They seem to work properly, so maybe you’ve got a problem with a proxy you’re using?

      Comment by koenwillemse — February 25, 2011 @ 07:48

      • Hi and thanks to reply
        When I use Proxy and don’t use it I have this problem!!

        I’m in Iran

        Comment by masoud — February 25, 2011 @ 19:21

      • Sorry, can’t help with that then. Links are on the site of SAP, so I would try if they can help you.

        Comment by koenwillemse — February 25, 2011 @ 21:03

      • Hi Koenwillemse,

        I’m also running VS2010 & Crystal Reports for Visual Studio 2010. This works fine on my machine but once i deployed the web application to our Windows 2008 the reports are not working. Do i need to install the runtime on the server?

        Thanks

        Comment by Heosua — March 10, 2011 @ 05:03

      • Yes, you will need to install the runtime on the server, otherwise it won’t be able to find all the required Crystal Reports assemblies.

        Comment by koenwillemse — March 10, 2011 @ 09:58

  2. Oh gosh finally I found those links.. Finally a goodness soul… thank you so much

    Comment by Kim Tranjan — April 15, 2011 @ 21:11

  3. You really saved some of my time. SAP website is utterly useless so that one cant find the right file to download. Thanks again.

    Comment by Berny — May 23, 2011 @ 14:01

  4. Thanks for this! Its incredible how SAP have such a poor website, they should just have a simple download page!

    Comment by Chris Allison — May 24, 2011 @ 16:45

  5. Hi,

    I have VS 2010 ASp.net Web Application using CR for vs 2010 created on a 32-bit Windows XP machine.
    my reports work on my local machine but not on server.

    If my webserver is a Windows 2008r2 IIS 7.5 64-bit.
    Do install the 32-bit runtime or 64-bit runtime on the server?

    Comment by Kp — June 7, 2011 @ 14:39

    • I think both runtimes should work, but when developing with the 32bit it may be easiest to use the 32 bit on the server also (unless this causes problems). If you run into issues, I would check that on the forums of SAP.

      Comment by koenwillemse — June 7, 2011 @ 15:44

  6. I installed crystal reports sap for vs 2010 in my client machine. Unfortunately when i add crystal report viewer to page it shows on design page but not on runtime?
    However viewer in crystal reports for vs 2008 work properly on runtime.
    So what might be different now?

    I have installed 32-bit sap for vs 2010 in client machine.

    Comment by Nikolas — August 10, 2011 @ 07:59

    • I’m sorry, but I’m not sure about what’s wrong then. I guess the best place to ask a quiestion about that is on the SAP developer forums, MSDN forums of stack overflow.

      Comment by koenwillemse — August 11, 2011 @ 11:12

  7. Thanks for the information, I was looking for a while the runtime files.
    Muchas gracias.

    Comment by Marcos — August 12, 2011 @ 21:03

  8. Thank you very much! Saved me from a major headache!

    Comment by Xfixium — October 28, 2011 @ 19:57

  9. Somebody knows how can i integrate Crystal Reports 2011 into VStudio 2008 , I can not find the references…

    Comment by polodiaz — February 1, 2012 @ 10:46

    • Sorry, I can’t easily help you with that. Haven’t opened VS 2008 for several months and not sure if that sceanario works correctly. Does the Crystal Reports 2011 also have a runtime for .NET 3.5 or lower then?

      Comment by koenwillemse — February 1, 2012 @ 11:26

      • Many thanks for your answer.

        Yes I have an c# application report in VStudio 2008 that used CR2008 right now and i installed CR2011 because to i’m gonna use the export to xls format and i need to run CR2011 into VStudio2008, maybe CR2011 use the same references that CR2008.? . but anywhere i can’t find the references like “\CrystalDecisions.CrystalReports.Engine.dll ” into the folder “SAP BusinessObjects”. maybe is not compatible CR2011 with VStudio2008

        Comment by polodiaz — February 1, 2012 @ 13:34

      • Means i need to use the new Exporting reports to the Excel 2007 workbook

        Comment by polodiaz — February 1, 2012 @ 13:37

  10. […] Thanks to Koen that on his blog post lead me the way. To […]

    Pingback by digitalLighthouse .Net — February 3, 2012 @ 12:28

  11. I Have installed the runtime engine from sap but the crystal report component does not come in vs 2010

    Comment by Jason Martis — February 23, 2012 @ 11:44

    • Only the runtime will not be enough to get the VS 2010 integration. You’ll have to use the ‘Standard EXE installation package which installs SAP Crystal Reports for Visual Studio into the Visual Studio 2010 IDE’. This is the first link I mention in the list and then you should have the integration available.

      Comment by koenwillemse — February 23, 2012 @ 12:36

  12. currently im using vs2008, can i install CR 2010 use it in my vs2008.

    Comment by Seyda — March 27, 2012 @ 05:34

    • I’m not sure if it will be possible to do this. I haven’t tried that myself. It will also depend on the version of .NET of course, etcetera.

      Comment by koenwillemse — March 27, 2012 @ 06:38

  13. The executable available from SAP doesn’t work for .net 4.0 targeted applications. it only works for .net 3.5 and lower versions.

    Comment by Zipper — April 12, 2012 @ 12:50

    • Interestingly enough, if you look at the assemblies they’re titled “Crystal Reports for the .Net Framework 4″… but they’re compiled against the 2.0 CLR (I’ve heard due to the way they implement activation).

      Comment by John — May 23, 2012 @ 19:32

  14. I developed some reports in vs2010 using the cr13_0_4.zip on my local machine for a web app. No problem with the reports. I installed the runtime on our web server, created a new site and copied my files into the site. Now I get errors about not being able to find the file CrystalDecisions.ReportAppServer.ClientDoc. When I check the project property pages it is listed in the references. Any ideas as to wht is up? Thanks

    Comment by tom — August 16, 2012 @ 15:25

  15. Thanks a lot koenwillemse you saved me a lot of time.

    Comment by Ashok — August 30, 2012 @ 01:59

  16. As ever, really fascinating and definitely helpful information Crystal reports
    runtime for .NET 4.0 « Koen about .Net! Appreciate it.

    Comment by beginners golf — October 5, 2012 @ 18:13

  17. You saved my day, thanks!

    Comment by Valerio Santinelli — October 17, 2012 @ 20:27

  18. We have converted our ASP.net Website on 2.0 to 4.0 and its currently on VS 2010 (previously on 2005). I have moved to Windows 7 and compiling my code on this environment The code runs fine in my local machine. However when I depoy it on our Dev Server on Win 2008 and IIS 7, the Crystal reports does not work. I have installed the 64-bit runtime there and assembly versions shows as 13.X. My previous versions were 11.X.

    What do I do to get it working? Any thoughts would be greatly appreciated, Thank you in Advance.

    Comment by Harish — October 29, 2012 @ 17:24

  19. thanks much.

    Comment by abc — June 19, 2013 @ 10:04

  20. You are so right about the SAP web site. It is one of the worst sites around. I have also just learned that one cannot have on the same development computer crystal reports that are bundled with vs 2008 and the cr 2010 version (no longer bundled with the visual studio). I am told this is a Microsoft problem. If there is no real workaround (and is there?), it is outrageous. Both companies apparently do not care about the visual studio base of developers. I have used CR for windows apps since vb 6!!. I see the Dev Express has a report product. I don’t really know if it is adequate (it may be better than CR), but it means a big learning curve for complex reports.

    Comment by Tchamich — July 12, 2013 @ 20:05

  21. You really are a life saver man!! i have been hunting for these for quite so long…

    Comment by TatlaCas — November 19, 2013 @ 19:01

  22. I found these files earlier this year, but lost them! Thank you for the links, I’ve now bookmarked this for future reference…

    Comment by John Baughman — December 5, 2013 @ 17:37


RSS feed for comments on this post. TrackBack URI

Leave a reply to TatlaCas Cancel reply

Create a free website or blog at WordPress.com.