entity framework - Exception from .net windows executable file -
entity framework - Exception from .net windows executable file -
i have create .net windows application in vs2010 entity. have added mydatabase.mdf file in application store data. working fine when executed in visual studio. have created setup project , added mydatabase.mdf file after selecting primary output. when installed on computer got error "system.data.entityexception" stack:
at system.data.entityclient.entityconnection.openstoreconnectionif(boolean, system.data.common.dbconnection, system.data.common.dbconnection, system.string, system.string, boolean byref) @ system.data.entityclient.entityconnection.open() @ system.data.objects.objectcontext.ensureconnection() @ system.data.objects.objectquery`1[[system.__canon, mscorlib, version=4.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089]].getresults(system.nullable`1<system.data.objects.mergeoption>) @ system.data.objects.objectquery`1[[system.__canon, mscorlib, version=4.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089]].system.collections.generic.ienumerable<t>.getenumerator() @ system.collections.generic.list`1[[system.__canon, mscorlib, version=4.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089]]..ctor(system.collections.generic.ienumerable`1<system.__canon>) @ system.linq.enumerable.tolist[[system.__canon, mscorlib, version=4.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089]](system.collections.generic.ienumerable`1<system.__canon>) @ macro.bl.managemacrogroup.fetchmacrogroups() @ macro.macros.intializetreeview() @ macro.macros..ctor() @ macro.program.main() if 1 has thought handle please give me suggestion handle this.
running visual studio allows avoid permission & security issues. double check security settings first. also, dll beingness used in visual studio different set 1 beingness used daily ( sdk dll vs runtime dll ). double check version used.
try windows update well.
.net entity-framework installation dependencies
Comments
Post a Comment