Link to home
Create AccountLog in
Avatar of countrymeister
countrymeister

asked on

Could not load type ABC.DataObjects.AccountingGroup from assembly ABC.DataObjects, Version=5.2.0.0, Culture=neutral, PublicKeyToken=null'

I get the following error when running a web application
Could not load type ABC.DataObjects.AccountingGroup from assembly  ABC.DataObjects, Version=5.2.0.0, Culture=neutral, PublicKeyToken=null'

This works fine on my local machine and used to work fine a few weeks ago, all of a sudden I get this error. The web application invokes this  ABC.DataObjects.dll.
The Object browser does show the AccountingGroup
Avatar of Avodah
Avodah
Flag of United Kingdom of Great Britain and Northern Ireland image

Try locating this assembly within your BIN folder or the Global Assembly Cache. If it is not present then you will have to add it.
Okay since the AccountGroup Class is missing you should either check the code to ensure that the class is still there or reinstall/copy the assembly from the original source
Avatar of countrymeister
countrymeister

ASKER

The assembly is in the bin folder, and it works fine on my local machine.
The issue is it does not work on the web server , it used to work fine there too until today.
The AccountingGroup clas exists.
Also the other strange thing is the dll has not changed , and all of a sudden we have this problem
ASKER CERTIFIED SOLUTION
Avatar of Avodah
Avodah
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer