The type initializer for 'xxx' threw an exception. Hatası

Bu hatayı entity framework kullanımında alıyorsanız.web config dosyanızda entity modelinizin connection string olmadığındandır. Çözümü web.config dosyanıza entity modelinizin kullandığı connection string ekleyiniz. 

Yorumlar

Bu blogdaki popüler yayınlar

Unable to load the specified metadata resource.

An error occurred while updating the entries. See the inner exception for details.