cancel
Showing results for 
Search instead for 
Did you mean: 

Could not find file or assembly log4net.dll (error when deploying solution)

0 Kudos

I have an application using crystal reports (I bought CR 2020).

when I deploy my software (it is local application, not web), and try to open a report, the software crashes.

I tried installing VS2017 on target computer, then I had the error "log4net.dll missing".
I see many different answers here, regarding old CR versions, seems the problem was not solved yet.

I tried to run Release on "Any CPU", "x84", and "x64", always the same result.

Nota : I am not on a web application, but on local application.

Accepted Solutions (1)

Accepted Solutions (1)

The EXE is for integrating into Visual Studio, all but Express versions are supported.

Don't install the MSI packages, those are frro distribution only, so you can uninstall it, and then repair your EXE install.

EXE won't install unless itt finds VS.

Use the Windows Viewer, WPF viewer has not update much.

0 Kudos

Ok thanks, so there is really an unsolvable issue for me?

How can I solve the issue to integrate viewer in interface? I need to buy Visual Studio? (as community is not supported)
In fact I installed VS on target computer for tests. (will all uninstall)

May I consider using another report software? I installed software already at customer's last week, and I need to find a quick solution.

Using Windows Viewer is not an option, as when I display a report, I need to apply some filters, and set parameters values. Maybe I would like to just export PDF from report, without any preview?

Answers (1)

Answers (1)

0 Kudos
0 Kudos

Well, after many tests, I found (almost) solution.

I think it's important to say that I am not developping a web application, but a local one (many computers don't even have internet)

On my computer (Where I use Visual Studio 2017 Community)

I read on your page : SAP Crystal Reports, Developer Version for Visual Studio .NET does NOT support Express Editions of any version of Visual Studio.

Could it be the problem?

I installed last service pack (CR202001_0-70005715.EXE)

Then uninstalled CR for VS, then reinstalled last version CRRuntime_64bit_13_0_31.msi

Then I installed on target computer CRforVS (CRRuntime_64bit_13_0_31.msi).

I am not sure it is correct, as on target computer, there is no Visual Studio? Isn't here a release for final users? Or is there additional license to buy for them?(Your commercial promised that it is no need for them to buy a license).

Anyway, now it is almost working. When I try to open a report, it seems it is loading, but in the WPF Viewer, I have a yellow/blue circle, as if something is blocking the display of the screen (kind of CR protection?)

Note : I installed CR Viewer also on target computer, reports are correctly displayed.(they are not embedded, they are separae eport files).