VSDBCMD returns "An unexpected failure occurred: Object reference not set to object instance."

I have successfully used VSDBCMD tool to deploy command line database in my dev and test environments, but this tool does not work in our environmentmrnt integration. I am using the VS 2010 tool version. The servers have all the prerequisites, including:

  • .net 4.0
  • sql server compact edition 3.5 sp1 (as well as 2008 full version)
  • Sql server 2008 server objects
  • SQL Server 2008 Embedded Client
  • Types of sql server systems
  • msxml 6
  • all dependent DLLs included in:
    • C: \ Program Files \ Microsoft SQL Server Compact Edition \ v3.5 \ desktop * .dll
    • C: \ Program Files \ Microsoft SQL Server Compact Edition \ v3.5 * .dll
    • C: \ Program Files (x86) \ Microsoft Visual Studio 10.0 \ VSTSDB \ Deploy ***. *

The only reference to this error I could find is related to a bug in VS 2008 edition where the key HKEY_CURRENT_USER \ Software \ Microsoft \ VisualStudio \ 9.0 is missing. In my case, there is a 10.0 version of the key.

Has anyone else encountered this?

+2


a source to share


1 answer


Thanks to Barclay Hill for offering to install SP2 SQLCE. This is the new addiction of 2010.



+3


a source







All Articles