Hi,
I have a vb.net (4.8) web app in which I use crystal report to generate report . I'm using crystaldecisions.web, etc. in this version :
CrystalDecisions.Web, Version=13.0.4000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304
When I add a nuget package for log4net, I'am able to install the version 1.2.10.0 but the public key token of this dll is 1b44e1d426115821 instead of 692FBEA5521E1304 so I get this error :
The error stack specified that the CrystalDecisions.Web need to call the assembly log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304.
How can I fix this problem ?
Is there a place to dowload the log4net.dll with this publicKeyToken ?
SInce log4net 1.2.10 is really old , is there any version of crystal report assembly, newer than 13.0.4000 which used the last version of log4net (2.0.14) ?
I'm using VS2017
Thanks
Request clarification before answering.
Never manually copy anything, CR runtime requires the MSI to deploy and the EXE to integrate into Visual Studio. Don't install both on your DEV PC, just the EXE.
See this blog for upgrading also:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That error is typically due to the Crystal Reports viewer folder is missing or not available from here:
C:\inetpub\wwwroot\aspnet_client\system_web\4_0_30319\crystalreportviewers13
Copy it into your project and that error should go away.
It's only used for debugging so doesn't matter how old it is.
Go here for more info on updating your project and other info:
https://wiki.scn.sap.com/wiki/display/BOBJ/Crystal+Reports%2C+Developer+for+Visual+Studio+Downloads
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the reply Don.
But my understanding is that the assembly CrystalDecisions.web ask for the log4net assembly for the version 1.2.10 AND the specific public key token.If my understanding is right, both attributes must match.
As your answer, I guess I need to copy the right log4net.dll file to the specified folder but I don't know where to find this file (with the good public key token) .
Could you still help me with that ?
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.