Tuesday, May 29, 2012

WebsitePanel MySQL error

While setting up WebsitePanel, the MySQL setup page always gives the following error.

Could not load file or assembly 'MySql.Data, Version=, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies

By adding the following to the web.config of C:\WebsitePanel\Server, the problem is resolved.

  <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <assemblyIdentity name="MySql.Data" publicKeyToken="c5687fc88969c44d" culture="neutral" />
      <bindingRedirect oldVersion="" newVersion="" />

No comments: