I have searched google for this and could not find the solution to the problem.
My Website references DAL (custom dll) which references Enterprise Library Data Acces
Setting the PublicKeyToken values for each of the EnterpriseLibrary references in Web.Config fixed it for me.