database - Entity Framework Data First - Invalid Object Name dbo.TableName -
sup? got problem wich has been slowing down production lot, hope u guys can give me tip on how solve it....
i'm using ef6 , custom connectionstring connectionstring builder class reads , external xml file.
my database set , running in sql 2010 , management studio ok, whenever generate edmx file, generates class mappings okay, i've compared original connectionstring connectionstring builder they're same, changed :base receive custom connectionstring, set.
but when try save changes doesn't find table object, have deleted it, created again start, still same "invalid database object dbo.tablename" error.
does 1 have clue on this? in advance!
this error not coming entity framework directly database.
use sql profiler , include in trace "databasename" , "servername" , find out it's not same expected.
the other options issue happen if "tablename" not same table name in sql, run sql sql profiler directly ssms.
Comments
Post a Comment