SQL Server CE和DotNet Framework 2.0问题 [英] SQL Server CE and DotNet framework 2.0 problem

查看:64
本文介绍了SQL Server CE和DotNet Framework 2.0问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我有2个应用程序,是在Visual Studio 2008中开发的.一个是桌面应用程序,它从SQL Server 2000数据库检索数据,并创建一个SQL CE,.sdf文件.然后将此文件上传到手持设备,第二个应用程序在该设备上使用该数据库.

我的桌面应用程序有问题.除非安装了DotNet framework 3.5,否则它不会运行,即使我在各处都指定该平台应为DotNet2.

该应用程序打开,但是一旦需要创建数据库,就会将DotNet 2错误写入事件日志.

该应用程序最初是使用SQLCE3.5编写的,但现在我将其更改为我可以在网络上找到的唯一其他SQL CE版本3.1.

我的问题是,将要加载此应用程序的大多数PC是Win2000计算机,因此DotNet3.5是不可能的.

谁能帮忙.

谢谢

Liz

Hi
I have 2 applications, developed in Visual studio 2008. One is a desktop app, which retrieves data from a SQL Server 2000 database, and creates a SQL CE, .sdf file. This file is then uploaded to a handheld device, where a second app uses the database.

I have a problem with the desktop app. It does not want to run unless DotNet framework 3.5 is installed, even though I have specified everywhere that the platform should be DotNet 2.

The application opens up, but as soon as the database needs to be created, a DotNet 2 error is written to the event log.

The app was originally written with SQLCE3.5, but i have changed this now, to the only other SQL CE I could find on the web, version 3.1.

The problem I have is that the majority of PC''s where this app will be loaded is Win2000 machines, so DotNet3.5 is not possible.

Can anyone please help.

Thank you

Liz

推荐答案

您是否正在使用SMO?如果是这样,也许您正在使用需要.NET 3.5的版本.
Are you using SMO? If so perhaps you are using a version that requires .NET 3.5.


这篇关于SQL Server CE和DotNet Framework 2.0问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆