Click here to Skip to main content
15,887,812 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Posted

1 solution

Are you using SMO? If so perhaps you are using a version that requires .NET 3.5.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900