Tuesday, 29 March 2011

Could not load file or assembly CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304

If you get the error Could not load file or assembly CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304 when an application is deployed on to a server this could be caused before the incorrect crystal runtime could be installed on the server.

To begin with I downloaded the latest crystal reports 2008 runtime and installed on the server. This seemed to install version 12.0 assemblies. After a bit of searching on the net it seems that the version number of the assemblies changed to 13.0 in the Crystal reports for Visual Studio 2010 version. This means there is a seperate runtime to install if this is what the reports were built against.

The correct runtime can be downloaded from here:

SAP VS.net runtime distributions

3 comments:

  1. hi... i just came across this problem, so are we suppose to install the latest runtime on the server it self??

    ReplyDelete
  2. Hi, Yes, you just need to install the runtime on the server the software is being deployed on. If you have created the Crystal Reports in visual studio then make sure you download the visual studio specific runtime. Another thing to consider is whether the server is 64 or 32bit. If 32 bit crystal is installed on a 64 bit server, and your program is compiled for any cpu then it may also be that its looking for 64 bit assemblies and only 32 are installed.

    ReplyDelete