0

i am having error when populating data System.Data.Entity.Core.EntityCommandExecutionException: 'An error occurred while executing the command definition. See the inner exception for details.'

<connectionStrings>
    <add name="DefaultConnections"      
    connectionString="Data Source= 
   (LocalDb)\MSSQLLocalDB;AttachDbFilename=|DataDirectory|\aspnet- 
    XEx20UserMaintenance-20160725031209.mdf;
    Initial Catalog=aspnet-XEx20UserMaintenance-20160725031209;
    Integrated Security=True;
    MultipleActiveResultSets=True;"
  providerName="System.Data.SqlClient"/>
    </connectionStrings>

server image

CODING123
  • 17
  • 7

1 Answers1

1

Sorry can't leave it as a comment as i don't have 50 reputations, check this out

System.Data.Entity.Core.EntityCommandExecutionException Occurred in MVC app Using EF

user3543878
  • 167
  • 1
  • 2
  • 11