entity framework - EntityFramework - TypeLoadException in GetDataContext() -
i have mvc application throwing typeloadexception in getdatacontext() method. screenshot: https://www.screencast.com/t/kbyx13cd3
the exception page gives more details. screenshot: https://www.screencast.com/t/pp8aictkvhnd
other developers able run app without exception.
i searched code paymentreconciliationraireason, , found no such class. sound class have existed in previous versions of app. however, tried doing build -> clean , still error.
i thought may related database, since code passes connection string method throws exception. however, have tried on multiple db's, , can set connection string "abc" , still exception.
i googled , found posts saying due different version of entity framework in gac. however, when list gac assemblies gacutil.exe, don't see called "entityframework". (i see system.data.entity, think that's different entityframework).
- entity framework version: 6.1.3
- mvc version: 4.0.20710.0
- target .net framework version: 4.5
please let me know if have suggestions root cause may be.
thanks.
Comments
Post a Comment