0

Server Error in '/' Application. 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.

it running on my local pc but when upload to server then they cause error.

crthompson
  • 15,653
  • 6
  • 58
  • 80
user3418604
  • 7
  • 1
  • 1

2 Answers2

1

Make sure you have log4net dll in your bin folder.

csLijo
  • 481
  • 2
  • 8
  • 26
0

If you are using 32bit log4net dll then you will need to enable APP pool of your IIS to run in 32bit mode.

enter image description here

Kurubaran
  • 8,696
  • 5
  • 43
  • 65