on 05-14-2013 1:30 PM
Hello All,
"Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified"
I am facing above mention problen , actualy i have install SAP Crystal Reports runtime engine for .Net framwork(64- bit) 13 on my machine but on previouslly install lower version of SAP Crystal report runtime and i have updated this version then i am facing the problem,looking some assembly error when running the report.If anyone know the solution it will very helpfull for me.
Thanks,
Abhinav
Hello Abhinav
What Service Pack did you update to?
- Ludek
Senior Support Engineer AGS Primary Support, Global Support Center Canada
Follow us on Twitter
Got Enhancement ideas? Try the SAP Idea Place
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Ludek,
Thanks for reply, I have downloaded the and install the following link:
http://scn.sap.com/docs/DOC-35074
SAP Crystal Reports, developer version for Microsoft Visual Studio SP5 - MSI (64bit).
I am using VS 2012.
I am waiting for valuable response from you.
Thanks,
Abhinav
Hello Ludek,
I have downloaded the below link:
SAP Crystal Reports, developer version for Microsoft Visual Studio SP5 - MSI (64bit) (CRforVS_redist_install_64bit_13_0_5)
from http://scn.sap.com/docs/DOC-35074
Thanks,
Abhinav
I am assuming your computer is the development computer(?). On that computer you must run the install exe:
http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_13_0_5.exe
Uninstall the MSI first, then install the exe. This will integrate CR into VS and it will also install all the runtime on the dev computer. Use the MSI / MSM / ClickOnce only on computer where you deploy your app.
- Ludek
Hi Ludek, I am facing the similar issue, can u please check in this link http://scn.sap.com/thread/3445845
I am using Crystal Report 11 and installed it again, but it is of no use. Please help me as it eats my head for many days and I have posted in many forums but it is of no use.
Awaiting for your early reply.
Well, you already have another open Discussion on this here:
http://scn.sap.com/thread/3445845
As per the Rules of Engagement, it is not a recommended that you create two discussions on the same topic. Please continue on http://scn.sap.com/thread/3445845. Hint: it will be a very good idea to ad the piece re. using CR 11 to that Discussion...
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter
Got Enhancement ideas? Try the SAP Idea Place
Hi Ludek,
We are using Visual Studio 2010 and on it CR wAS workimg fine
but now we have moved to VS Community edition 2013 but CR is not working properly.
Will CR support Visual studio community edition 2013 , if yes in that case which version we should
download and install
Kindly help us...
Thanks
Narasimha
I am having the same problem as the original poster. I am using VS 2015 and have installed CRforVS_13_0_15 using the link provided above in this thread. I am publishing my app using the setting for AnyCPU in VS. When I run my app from my development machine I get the error posted above and when the program is run from another computer that is not the development machine I also get the same error. This is not a web application. It is a stand alone app that I build and then distribute. I am not using any installation package such as click once or MSI or anything. I have 15 files in the References section of my application that refer to Crystal reports. I copy all of these files to the client machine when my app is distributed. The file log4net is not in my references and therefore I do not distribute it. How do I resolve this?
BTW, I am using .Net 4.0 for building my app.
Error msg is : Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Brian,
Thank you for response.
I am running: Microsoft Visual Studio Professional 2013 Microsoft .Net Framework
Version 1.2.0.31101.00 Update 4 Version 4.5.51209
with Crystal 13.
Which download do I need ?
Install Executable | Fixed Issues | MSI 32 Bit | MSI 64 Bit | MSM 32 Bit | ClickOnce 32/64 | ClickOnce "Homesite" | WEB XML Deployment |
---|---|---|---|---|---|---|---|
(v.13.0.15.1840 | SP15 Fixed Issues | 32bit.msi | 64bit.msi | 13_0_15.msn | Clickonce32/64 | crdbxml15.msi | |
(v.13.0.14.1720) | SP14 Fixed Issues | 32bit.msi | 64bit.msi | 13_0_14.msn | clickonce32/64 | crdbxml14.msi | |
(v.13.0.13.1597) | SP13 Fixed Issues | 32bit.msi | 64bit.msi | 13_0_13.msn | clickonce32/64 | crdbxml13.msi | |
Support Pack 12(v.13.0.12.1494) | 32bit.msi | 64bit.msi | 13_0_12.msn | clickonce32/64 | crdbxml12.msi | ||
RTM (v. 13.0.0.x) | 32bit.msi | 64bit.msi | 13_0.msm | clickonce32/64 | clickonce32 clickonce64 | N/A |
Thank you,
Pete J.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Well, if you look at the very beginning of this thread, where it has the original post and my answer, you see the link I quoted there:
Alternatively, if you go to the actual doc that has the downloads and hover over "Support Pack 15" in the "Install Executable" column, then look at the bottom of your screen you will see that this is an install exe, not an MSI:
- Ludek
Ludek,
Did all the above . . . Thx
CrystalReportViewer still wants LOG4NET 1.2.10.0 and isn't finding it on server:
LOG4NET must not be present on the server ? but LOG4NET 1.2.13.0 is there in \bin
on the server.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IO.FileLoadException: Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Source Error:
|
Brian,
"Any CPU" in Configuration Manager of Build menu.
Microsoft Visual Studio Professional 2013
Version 1.2.0.31101.00 Update 4
Microsoft .Net Framework
Version 4.5.51209
Thx,
Pete J.
peter.marshall.jordan@gmail.com
562-552-1284
Ludek, Brian,
Finally!!! got beyond the LOG4NET error thanks to an articles (stackoverflow)
which led me to MSDN which led me to your
1550854 was spot on.
Once I copied the 32-bit LOG4NET.DLL to the server . . . no more etrror.
but now I'm getting the old "bobj" error
because the CR javascipt is not found, crv.js in particular. How should I correct this,
i.e. get these files properly onto the server ?
Thx,
Pete J.
Ludek,
Certainly.
Any advice on the "bobj" error ?
Copying the \aspnet_client directory tree to app base
directory fixed the "bobj" error in DEV environment . . .
. . . but on the server ??? not the solution so far.
Should we then use the 32-bit msi on the server based
on fact that 32-bit LOG4NET was solution to that problem ??
Pete J.
Sorry. Missed the bobj issue. (note to self; read, read, read)
The bobj erro ris typically caused by incorrect configuration of the viewer. I fin that this 3rd party blog is so well written it helps a lot of people:
and just as an FYI, this one from the same source may also help:
We have a number of KBAs on it and blogs as well, but for some reason, many people find the above the best explanation. Please have a look and I'll keep my fingers crossed...
- Ludek
Ooops. Darn long URLS
This one should be good.
- Ludek
Having same problem with LOG4NET but only upon deployment, works fine locally.
Can I get link to the equivalent download for VS2013 please:
"I am assuming your computer is the development computer(?). On that computer you must run the install exe:
http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_13_0_5.exe
Uninstall the MSI first, then install the exe. This will integrate CR into VS and it will also install all the runtime on the dev computer. Use the MSI / MSM / ClickOnce only on computer where you deploy your app.
- Ludek"
Thx,
Pete Jordan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Abhinav,
In the properties of your project, go to the Application tab and in the Target framework, set it to .NET Framwork 4.
Visual Studio defaults new projects to .NET Framework 4 Client Profile. I run into this problem when I create a new project and I'm forever going in to set it properly.
Good luck,
Brian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Brian,
Thanks for reply,I have follow ur suggestion but not working.
I have downloaded and install the following link:
http://scn.sap.com/docs/DOC-35074
SAP Crystal Reports, developer version for Microsoft Visual Studio SP5 - MSI (64bit).
I am using VS 2012.
Thanks,
Abhinav
I am getting this same error in my VS2013 application when I run it on the user's computer. It works correctly on my development computer, however. I did notice that the version of log4net that is installed is version 1.2.13.0. I have the Crystal Reports version 13.0.14.1720. The project properties Application tab has the target framework as 4.5.1.
I used to have to install Crystal Reports on the user's computer but now that does not even seem to be allowed. Any idea what could be the problem?
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.