Unable to load DLL 'sqlceme30.dll': 找不到指定的模块。
2012-08-02 09:09
495 查看
http://social.msdn.microsoft.com/Forums/zh-TW/vsdebug/thread/ef1dbc81-8799-464a-9d0d-168a420bd11d Unable to load DLL 'sqlceme30.dll': 找不到指定的模块。 From this code [System.Diagnostics.DebuggerNonUserCodeAttribute()] private System.Data.SqlServerCe.SqlCeDataAdapter Adapter { get { if ((this._adapter == null)) { this.InitAdapter(); Error on this line.... } return this._adapter; 解决 http://blogs.msdn.com/smartclientdata/archive/2005/07/15/439008.aspx 这2篇文章给了解决的方法,十分感谢。 不得不说老外的啰嗦程度 …… 只看这几步好了 .. Within Solution Explorer, select your project and choose Add Existing Item Navigate to C:\Program Files\Microsoft Visual Studio 8\Common7\IDE Change the files of type to all files Click in the file list window and type sqlce to get to the files that start with these letters Shift select all 7 files, sqlcera30.dll, sqlcecompact30.dll, sqlceer30en.dll, sqlceme30.dll, sqlceoledb30.dll, sqlceqp30.dll, sqlcese30.dll and click Add. You now have the runtime in the project, but it’s not in the execution path. Select all 7 files in solution explorer and select the property grid. Change the Copy to Output Directory to Copy if newer This will make sure these files are copied to the output directory and can be found at runtime. Hit F5 to test your app. 基本步骤就是 右键点击你的项目,添加-> 现有项->在 %Program Files%\Microsoft Visual Studio 8\Common7\IDE 目录下,选择sqlce开头的7个文件: sqlceca30.dll,sqlcecompact30.dll,sqlceer30cn.dll,sqlceme30.dll,sqlceoledb30.dll,sqlceqp30.dll,sqlcese30.dll 按“添加”,再在项目中选择这7个文件->属性,“复制到输入目录”,值更改为“如果较新则复制” 按F5,问题解决了。 |
相关文章推荐
- Unhandled Exception:System.DllNotFoundException: Unable to load DLL"**":找不到指定的模块
- Unable to load dynamic library 'f:\php\ext\php_redis.dll' - 找不到指定的模块。
- Unable to load DLL 'xxx.dll': 找不到指定的模块。 (Exception from HRESULT: 0x8007007E)
- Unable to load dynamic library '...php_pdo_mysql.dll' - 找不到指定的模块 以及 域名重定向
- windows环境配置XAMMP,报错 PHP Startup: Unable to load dynamic library 'xxxx' 到指定的模块
- Failed to load 'Assets/Plugins/x64/PPgunGyro.dll' with error '找不到指定的模块。
- CUDA:Failed to compile cuda_ndarray.cu: DLL load failed: 找不到指定的模块
- Java Exception : Fatal Error. Unable to initialize DatabaseMetaData class.和Non SQL Error : Could not load class com.mysql.jdbc.D
- win10环境+pycharm+anaconda+python3.6+OpenCV3.3安装,ImportError: DLL load failed: 找不到指定的模块
- python 找不到mysqldb模块(ImportError: DLL load failed: 找不到指定的模块)
- svn commit 时提示 Commit failed (details follow) Unable to create pristine install stream 系统找不到指定的路径
- python mysqlLdb ImportError: DLL load failed: 找不到指定的模块
- VMware Unable to open kernel device "\\.\VMCIDev\VMX": 系统找不到指定的文件. Did you reboot after Module Devi
- python3.5 运行from skimage import morphology,feature报错ImportError: DLL load failed:找不到指定模块
- SDK Manager 打不开, "系统找不到指定路径 " "Unable to access jarfile lib\archquery.jar"问题的解决办法
- serial0: Unable to launch virtual printer proxy: 系统找不到指定的文件
- pywin32 ImportError: DLL load failed: 找不到指定的模块
- 无法载入DLL 'sqlceme35.dll':找不到指定的模组。 ( 发生例外狀況於HRESULT: 0x8007007E )
- ImportError: DLL load failed:找不到指定的模块 解决方案
- 解决scrapy fetch http://www.csdn.net ModuleNotFoundError No module named 'win32api'和ImportError DLL load failed找不到指定的模块