FIX: An unexpected exception occurs and an incorrect exit code 0 is returned when you use the VSDBCMD.exe utility to deploy a database in Microsoft Visual Studio Team System 2008 Database Edition GDR

Article translations Article translations
Article ID: 970595 - View products that this article applies to.
Expand all | Collapse all

SYMPTOMS

You use the VSDBCMD.exe utility to deploy a database in Microsoft Visual Studio Team System 2008 Database Edition GDR. Then, an unexpected exception occurs and a wrong exit code 0 is returned. When this unexpected exception occurs, it is difficult for you to determine whether the deployment of your database was successful. This unexpected exception may occur in different scenarios. For example, you specify a path which does not exist in the following command:
vsdbcmd.exe /a:Deploy /manifest:DatabaseProject.deploymanifest /dsp:SQL /script:"non-existent_path/ DatabaseProject.sql"

CAUSE

This problem occurs because of a bug inside the error handling operation in the Microsoft.Data.Schema.VSDBCmd.Program class.

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: 970595 - Last Review: July 16, 2009 - Revision: 1.0
APPLIES TO
  • Microsoft Visual Studio Team System 2008 Database Edition
Keywords: 
kbqfe kbexpertiseadvanced kbsurveynew kbprb KB970595

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com