由于我使用的操作系统是windows server 2003,
不能安装win ce 5.0的模拟器,而vs2005没有自带的win ce 模拟器,
现在已经安装了sql ce 3.0,想使用vs2003连接sql ce 3.0,但出现如下错误:
代码如下(网上的例子):
public void ShowErrors(SqlCeException e)
{
SqlCeErrorCollection errorCollection = e.Errors;
StringBuilder bld = new StringBuilder();
Exception inner = e.InnerException;
错误:
ERROR CODE:-2147467259
Message:SQL Server CE Encountered problems in opening the SQL Server
CE database.[,,,Database Name,,]
Minor Err:28559
Source : Microsoft SQL Server 2000 Windows CE Edition
(前提:SQL CE 3.0 安装正确,在vs2005的 ppc模拟器连接是正常的,使用的是SqlCeDataAdapter)
谢谢!
ERROR CODE:-2147467259
Message: There is a file sharing violation. A different process might be using
the file [,,,,,]
Minor Err:25035
Source : Microsoft SQL Server 2000 Windows CE Edition
详情回复
发表于 2007-7-21 09:17
ERROR CODE:-2147467259
Message: There is a file sharing violation. A different process might be using
the file [,,,,,]
Minor Err:25035
Source : Microsoft SQL Server 2000 Windows CE Edition