You are currently offline, waiting for your internet to reconnect

FIX: Error message when you use the VSDBCMD.exe utility in Microsoft Visual Studio 2008 Database edition GDR to import a database schema: "An unhandled exception occurred: Object reference not set to the instance of an object"

SYMPTOMS
You try to use the VSDBCMD.exe utility to import a database schema into a .dbschema file. After you locate the directory where the supporting files exist, you type a command that resembles the following at a Command Prompt window:
vsdbcmd.exe /a:import /cs:"connection string" /dsp:SQL /model: "file_name.dbschema"
When you do this, a NullReferenceException exception occurs and you receive the following error message:

An unhandled exception occurred: Object reference not set to the instance of an object.
RESOLUTION
To resolve this problem, upgrade to Microsoft Visual Studio Team System 2008 Database Edition GDR R2. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
970479 List of fixed issues in the Microsoft Visual Studio Team System 2008 Database Edition GDR R2

Note Microsoft Visual Studio Team System 2008 Database Edition GDR R2 replaces Microsoft Visual Studio Team System 2008 Database Edition GDR.
Properties

Article ID: 970597 - Last Review: 07/16/2009 07:45:40 - Revision: 1.0

  • Microsoft Visual Studio Team System 2008 Database Edition
  • kbqfe kbfix kbexpertiseadvanced kbsurveynew kbprb KB970597
Feedback