Soni
Soni

Reputation: 425

Could not load file or assembly 'Sitecore.Analytics' or one of its dependencies

I am facing one error while login into sitecore.

"Could not load file or assembly 'Sitecore.Analytics' or one of its dependencies"

Even if I exclude sitecore.analitics.config from incude folder. But still I am facing this issue.

Upvotes: 1

Views: 7031

Answers (4)

Yogesh Sharma
Yogesh Sharma

Reputation: 2017

Please exclude these files from app_config/include folder and then retry

Sitecore.Analytics.config
Sitecore.Analytics.ExcludeRobots.config
Sitecore.Analytics.RobotDetection.config

Upvotes: 0

Kevin Bechard
Kevin Bechard

Reputation: 373

I would also check to make sure there is nothing in your web.config file (or various include files) that is targeting a specific version of the Analytics.dll

Upvotes: 0

Ruud van Falier
Ruud van Falier

Reputation: 8877

You must have the Sitecore.Analytics.dll file in your /bin folder, even if you are not using DMS.
If you are missing the file completely then you should re-download the Sitecore files for your version from SDN and add the missing file to your application.

Upvotes: 6

Mark Ursino
Mark Ursino

Reputation: 31435

You can also try to exclude the Sitecore.Analytics.Robots.config as well

This error means your /bin/ does not contain Sitecore.Analytics.dll

Upvotes: 4

Related Questions