|
Hello,
I'm developing as ASP.NET web application and I use Crystal report for visual studio 2010, I installed it on my machine.
the application work correctly on my machine, but not like this on the server.
after I upload it to the server I fond this error
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 searched for "log4net" more and I found more releases
I upload it ot my bin folder on the server, but the error changed to:
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)
I didn't found any compatible assembly to my application,
I developed this web application into 32 bit OS, and I upload it to a server machine which use Window server 2008 R2 64 bit OS
is it has relation with the error?
and How can I correct that error?
at last where I can fount the compatible assembly log4net version 1.2.10.0?
thanks?
|
|
|
|
|
Sir;
I don't understand. Did you upload a diffident version of the assembly than the one you use it in development?
if so,, then just copy the one from you development machine assembly cache and upload it to the server.
Help people,so poeple can help you.
|
|
|
|
|
thanks fro your reply
My Application work on the local host without this assembly, but fire an error on the server, this error say:
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 downloaded the assembly from the internet and upload it to the server, then another error say:
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)
how can I solve this error and where I found the compatible assembly log4net version 1.2.10.0?
|
|
|
|
|
Man;
On your local machine the assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' runs from the Global Assembly Cache[^].
You should copy it and upload it to the server.
Good Luck
Help people,so poeple can help you.
|
|
|
|
|
Many thank,
I will try it
|
|
|
|