locked
Cannot debug app with sql server ce 4.0 private deployment RRS feed

  • Question

  • I have the desktop application with SQL Server CE 4.0 private deployment. It's work correctly in standalone mode. But when I try to use this installed application as "external program" in vs2010 for debugging an addon dll for this application I get exception:
    is not a valid Win32 application.(Exception from 0x800700C1)
    System.BadImageFormatException
    See http://screencast.com/t/geDHSmcA
    I investigated that the sqlserverce cannot find native libraries. When I copied the libraries from the x86 subfolder to app folder then the application is successfully launched from under the vs.
    Is there a better way to debug what this hack?
    • Moved by Vicky SongMicrosoft employee Thursday, August 23, 2012 12:33 AM (From:Visual Studio Database Development Tools (Formerly "Database Edition Forum"))
    Tuesday, August 14, 2012 8:56 AM

Answers

All replies

  • Hi chirondev,

    Thanks for your post. However, I am sorry that here is not the correct forum for you to deal with your issue. Based on the above error message, it seems that you are working with Win32 applications. And what is the programming language you are using? VB, C# or C++? I would like to help you to move it to the correct forum.

    Thanks.


    Vicky Song [MSFT]
    MSDN Community Support | Feedback to us

    Wednesday, August 15, 2012 5:30 AM
  • Try a SQL Server forum on TechNet.

    Thanks!


    Ed Price (a.k.a User Ed), SQL Server Experience Program Manager (Blog, Twitter, Wiki)

    Thursday, August 23, 2012 6:32 PM