System.Data.SqlServerCe.SqlCeException was unhandled
Message="The database file cannot be found. Check the path to the database. [ File name = PocketOrderCF.sdf ]"
HResult=-2147467259
NativeError=25046
Source="SQL Server 2005 Mobile Edition ADO.NET Data Provider"
StackTrace:
at System.Data.SqlServerCe.SqlCeConnection.ProcessResults()
at System.Data.SqlServerCe.SqlCeConnection.Open()
at System.Data.SqlServerCe.SqlCeConnection.Open()
at System.Data.Common.DbDataAdapter.QuietOpen()
at System.Data.Common.DbDataAdapter.FillSchemaInternal()
at System.Data.Common.DbDataAdapter.FillSchema()
at System.Data.Common.DbDataAdapter.FillSchema()
at test.Form1.button1_Click()
at System.Windows.Forms.Control.OnClick()
at System.Windows.Forms.Button.OnClick()
at System.Windows.Forms.ButtonBase.WnProc()
at System.Windows.Forms.Control._InternalWnProc()
at Microsoft.AGL.Forms.EVL.EnterMainLoop()
at System.Windows.Forms.Application.Run()
at test.Program.Main()
Partager