代理,实现的用是用RDA pull
SqlCeEngine ce = new SqlCeEngine();
String filePath = @"\MobileService.sdf";
if (File.Exists(filePath))
{
File.Delete(filePath);
}
String connString = @"Data Source=\MobileService.sdf";
ce.LocalConnectionString = connString;
ce.CreateDatabase();
ce.Dispose();
String sqlServerString = "Provider = sqloledb; Data Source = 192.168.1.1; Initial Catalog = TestDB; User Id = ******; Password = *******;";
SqlCeRemoteDataAccess rda = new SqlCeRemoteDataAccess();
rda.LocalConnectionString = connString;
rda.InternetUrl = @"http://192.168.1.1/SqlServerCE/sscesa20.dll";
rda.Pull("Table1","Select * From Table1",sqlServerString,RdaTrackOption.TrackingOn);//**************这就出错了,
请问手帮小弟看一看是什么原因;在网上查有的说把sqlserver20 到30 我也升了,还是不行
服务器是
IIS
Sql Server 2000 sp3a
Sql Server ce 20 + Sql Server ce sp3a
windows 2003
vs 2005
注: 模拟器完全可以访问网络