user3418604
user3418604

Reputation: 7

Error: Could not load file or assembly 'log4net, Version=1.2.10.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.

Upvotes: 0

Views: 5864

Answers (2)

Kurubaran
Kurubaran

Reputation: 8892

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

Upvotes: 0

csLijo
csLijo

Reputation: 501

Make sure you have log4net dll in your bin folder.

Upvotes: 1

Related Questions