Hello. The project uses crystalreport. But in my visual studio it is not installed. And therefore the error takes off. Here are the lines from wb.config for crystalreport:

<add assembly="CrystalDecisions.CrystalReports.Engine, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/> <add assembly="CrystalDecisions.ReportSource, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/> <add assembly="CrystalDecisions.Shared, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/> <add assembly="CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/> <add assembly="CrystalDecisions.ReportAppServer.ClientDoc, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/> <add assembly="CrystalDecisions.Enterprise.Framework, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/> <add assembly="CrystalDecisions.Enterprise.InfoStore, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/> 

The error on 1 line takes off. Here is the text of the error:

CrystalDecisions.CrystalReports.Engine, Version = 10.5.3700.0, Culture = neutral, PublicKeyToken = 692fbea5521e1304 'or one of its dependencies. Cannot find the specified file.

I put for a solution from nuget, a package: CrystalDecisions.CrystalReports.Engine And then this is the error:

'CrystalDecisions.CrystalReports.Engine, Version = 10.5.3700.0, Culture = neutral, PublicKeyToken = 692fbea5521e1304' or one of its dependencies. The assembly reference is not included. (Exception from HRESULT: 0x80131040)

Why does he not like such a reference? Did I put something wrong? How to solve this problem? enter image description here

enter image description here

enter image description here

  • The reference does not like, because the version does not match. Make that version in Reference-connected to the project = version physically in bin = version in web.config = version in public. - nick_n_a
  • @nick_n_a And where can I find the reference version? There when installing it is written v.1.0.0 something like that. But I think this is a bit of a wrong version. - Andrei
  • Right-click on the dll, item properties, bookmark version. You can also remove it from the assembly - and the environment itself will say add such a line to the web.config assembly with the correct version - nick_n_a
  • At the moment I have cut out all the lines that I cited in the question. And put 3 packages for crystal. Engine, web and shared. And nothing to swear. Just run and that's it. - Andrei
  • @nick_n_a and so I don’t know why I don’t tell me which version to add. - Andrei

0