Microsoft.sqlserverce.client

I have created a new Project from existing 2005 code (c#). After the conversion one of my datasources was not functioning the other was fine. The xsd file was there but could only be viewed in XML. After looking at it extensively, I finally figured out that about 1/3 of the xml code was missing. So I copied the remaining xml code from the original projects xsd file and pasted it into the new xsd file. After saving the xml code viola the visual part of the xsd file returned seemed to be in tact. I did a rebuild all and the project compiled and ran. All the data tables are loading data correctly.

However, when I try to execute one of the sql queries in the xsd file in the msvs 2008 IDE the following error is returned

FbMobileDBDataset.HorseM2.Fill could not be previewed

Cannot obtain provider factory for data provider named 'Microsoft.sqlserverce.client'

How can I add this referance to the project, this because there is no way now to add or change queries in the ide now?

Thanks Jon Stroh

[1082 byte] By [JonStroh] at [2008-1-10]
# 1

Have you seen:

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=124084&SiteID=1

Last post there worked for me.

Wieb at 2007-10-3 > top of Msdn Tech,Visual Studio Orcas,Visual Studio Orcas IDE, Debugger, Build, Deployment, Help, etc....
# 2

Thanks for your post Wieb. I saw that post and checked my machine.config and the entry was there and intact. All this seems to be related to my other post.

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2205662&SiteID=1&mode=1

Thanks

Jon Stroh

JonStroh at 2007-10-3 > top of Msdn Tech,Visual Studio Orcas,Visual Studio Orcas IDE, Debugger, Build, Deployment, Help, etc....

Visual Studio Orcas

Site Classified