Could not load file or assembly CMS.CustomTables

Mr Who asked on August 4, 2021 15:30

Hello guys

I have just deployed a standard Dancing cat website, keeping all the standard settings when installing. After that, the site opened in the browser and this error appeared. Please tell me how to fix it? CMS.CustomTables has already located in bin/ folder.

I can't figure out where it looks for the absence of any dlls.

Please, check the follow screenshot

screenshot

Thank you

Recent Answers


kentico guy answered on August 4, 2021 16:05

check the version number on that dll. does it match? in order to do that you right click on it. also, the public key token has to match, but I believe that's based on the dll version number

0 votesVote for this answer Mark as a Correct answer

Mr Who answered on August 4, 2021 16:13

Thank you, but I'm sorry where should I do it? In CMS web.config or MVC project web.config?

0 votesVote for this answer Mark as a Correct answer

Mr Who answered on August 6, 2021 12:45

Hi Leon Howard Not yet

0 votesVote for this answer Mark as a Correct answer

Sean Wright answered on August 12, 2021 00:57

One common solution to these assembly version mismatch problems is to reset the binding redirects.

You can delete everything in the web.config between the opening and closing <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> tags.

Then build the project in Visual Studio. When the build completes, Visual Studio will give you a warning in the Errors window that you can double click.

When you double click the warning, a dialog will appear asking you if you want Visual Studio to add the correct binding redirects to the web.config. Click ok and then try running the site.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.