Results 1 to 3 of 3

Thread: [RESOLVED] SDF Error in Vista

  1. #1

    Thread Starter
    Addicted Member scsfdev's Avatar
    Join Date
    Feb 2008
    Location
    Singapore
    Posts
    224

    Resolved [RESOLVED] SDF Error in Vista

    Hi all,

    I have created an application on Win XP which includes read and write data to SDF file.

    When I tested it in XP, its working well.
    When I tested it in Vista Business Edition, it shows the following error.

    Unable to load DLL 'sqlceme30.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

    Anyone has faced this kind of problem before?

    Thanks.
    scsfdev

    Hi Mod, If my post is not in the correct place, please kindly move it to where it should be. Thanks.
    I'm using VS 2005 & 2008 & 2010 with SQL Server 2005 Express.

    My hobby beside programming: http://dslrstranger.wordpress.com

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: SDF Error in Vista

    Have you deployed the SQL Server CE libraries with your app? If SQL Server CE is already installed then they aren't required but if it's not then they are. I'm guessing that your XP system has SQL Server CE already installed, so the required libraries are installed in the GAC, while the Vista system doesn't have it installed so you need to provide the libraries.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Addicted Member scsfdev's Avatar
    Join Date
    Feb 2008
    Location
    Singapore
    Posts
    224

    Re: SDF Error in Vista

    Quote Originally Posted by jmcilhinney View Post
    Have you deployed the SQL Server CE libraries with your app? If SQL Server CE is already installed then they aren't required but if it's not then they are. I'm guessing that your XP system has SQL Server CE already installed, so the required libraries are installed in the GAC, while the Vista system doesn't have it installed so you need to provide the libraries.
    Thanks jmcilhinney.

    Yes, this is the point, I didn't include the libraries for CE. Now I just install the sqlce installer and its working now.

    thanks.
    I'm using VS 2005 & 2008 & 2010 with SQL Server 2005 Express.

    My hobby beside programming: http://dslrstranger.wordpress.com

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width