SQLCEException was unhandled: Internal Error: Cannot open the shared memory region
Posted
by dwaz
on Stack Overflow
See other posts from Stack Overflow
or by dwaz
Published on 2010-06-10T18:14:30Z
Indexed on
2010/06/11
6:22 UTC
Read the original article
Hit count: 681
I am trying to do a TableAdapter.Fill(dataTable) and it fails with the above error. Here is the code in Zenware.DataSet.Designer.cs
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
public virtual int Fill(ZenwareDataSet.BatchPDADataTable dataTable) {
this.Adapter.SelectCommand = this.CommandCollection[0];
if ((this.ClearBeforeFill == true)) {
dataTable.Clear();
}
int returnValue = this.Adapter.Fill(dataTable); // <---Fails here.
return returnValue;
}
This is generated code. Maybe there is something that I need to change? I am wondering if my app has multiple connections to the database. What can this be? Thanks for any help you can provide.
- Windows Mobile 6.1 device (Trimble Juno SB)
- SQLServerCompact 3.5 Service Pack 2
- Microsoft .NET CF 3.5
© Stack Overflow or respective owner