K
KevinC
I am using rda to pull data from my PC's SQL Server database. My code
works fine with an HP Ipaq 2210, but with a Dell X5, I am
inconsistently getting an SqlCeException after some of the tables
have been pulled. Some of the time, one or two tables are pulled
successfully before the error occurs.
The first sqlError is "SQL Server CE encountered a problem opening the
SQL Server CE Database" (native error - 28559). The second sqlError
is "The file is not a valid database file. An internal error has
occured."
Here are the relevent code snippets:
foreach (string sName in AimsNames)
{
rda.Pull(sName, "select * from " + sName,
remoteConnectString, RdaTrackOption.TrackingOnWithIndexes);
}
private string[] AimsNames =
{
"aimAGYNME", "aimAGYCOV", "aimAGYMST",
"aimAGYCTL", "aimAGYSUS", "aimAGYRTE"
};
Thanks for any help!
works fine with an HP Ipaq 2210, but with a Dell X5, I am
inconsistently getting an SqlCeException after some of the tables
have been pulled. Some of the time, one or two tables are pulled
successfully before the error occurs.
The first sqlError is "SQL Server CE encountered a problem opening the
SQL Server CE Database" (native error - 28559). The second sqlError
is "The file is not a valid database file. An internal error has
occured."
Here are the relevent code snippets:
foreach (string sName in AimsNames)
{
rda.Pull(sName, "select * from " + sName,
remoteConnectString, RdaTrackOption.TrackingOnWithIndexes);
}
private string[] AimsNames =
{
"aimAGYNME", "aimAGYCOV", "aimAGYMST",
"aimAGYCTL", "aimAGYSUS", "aimAGYRTE"
};
Thanks for any help!