I am experiencing the same problem as described above: "an error occurred while creating the new datasource".ÃÂ I have followed the above suggestions and have the same dev platform i.e. VS2008 Professional with SP1 installed.
I am not sure if my problem is a little different.ÃÂ I am able to create a Windows application with a SQL CE database connection and create a dataset referencing the SQL CE database.ÃÂ If however I create a Windows CE smartdevice application (.NET Framework 3.5) I am still able to create the SQL CE database and open and edit it.ÃÂ The error is thrown when I try to create a dataset...
I create a connection string to the database (local project folder).ÃÂ Select the tables I want in the dataset.ÃÂ When I click FINISH I get this error.ÃÂ In the project error list the following error is displayed:ÃÂ ErrorÃÂ 1ÃÂ Custom tool error: Failed to generate code. Object reference not set to an instance of an object.ÃÂ
Are you actually able to create a dataset for a SQL CE database on Windows CE 5.0??ÃÂ If you are can someone tell me where I should start looking for the problem?
View Complete Post