Error in Compact framwork RRS feed

  • Question

  • User693698958 posted

    I am creating a Compact Framework application in VS2005 .

    I want to work with SQL Server 2005 Compact Edition. When I create a SqlCeConnection object the compiler complains:

    The type 'System.Data.Common.DbConnection' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Data, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089'. (CS0012) -

    I have a reference to System.Data.

    This does not happen in a normal windows application.

    It should be possible to work with SqlServerCe in a Compact Framework application, or am I wrong?


    Tuesday, March 27, 2007 5:40 AM

All replies

  • User650810027 posted

    i added reference is from .net framework or it is from any other source?

    if it is from other source please delete that ref and run the program.



    Friday, March 30, 2007 4:52 AM