Search code examples
.netentity-frameworklocaldb.net-framework-version

apllication with Entityframework and localDB Crash during runtime


my visual basic application works fine during debug on my development machine , but when i build it and use on other system it crash with this error:

Description:
Stopped working

Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01:   airline crew managment system
Problem Signature 02:   1.0.0.0
Problem Signature 03:   5373bf49
Problem Signature 04:   System.Data
Problem Signature 05:   4.0.0.0
Problem Signature 06:   4ba1e064
Problem Signature 07:   255b
Problem Signature 08:   6c
Problem Signature 09:   System.Data.Entity.Core.Entity
OS Version: 6.0.6002.2.2.0.768.3
Locale ID:  1065

Read our privacy statement:
http://go.microsoft.com/fwlink/?linkid=50163&clcid=0x0409

is there because i don't have SQL Server installed on my other machines(this app use LocalDB) or because i'm using .net 4.0. any idea what is the problem?


Solution

  • i found the answer, simply you should first install sqlLocalDB.msi then run your application.