0

Closed

SMOBrowser: Some exceptions occur when click “SQLServer” or database nodes.

description

Environment:

  1. Katmai build 10.00.1600.06
  2. Sample build 80707
  3. Visual Studio 2005
     

Repro Step:

1, Run SmoBrowser.exe under “..\Samples\Engine\Programmability\SMO\SmoBrowser\CS\SmoBrowser\bin\Debug”
2, Connect your server
3, In left tree view, click the node “SQLServer”
4, In left tree view, click the node “master” under “Databases”
 

Expectations:

The properties and scripts of selected object are shown successfully.
 

Actual Results:

There are some exceptions.
Please take a view the attached pictures:
1, server_error.jpg
2, master_error.jpg

file attachments

Closed Nov 24, 2009 at 5:46 AM by libinzhao

comments

wrote Apr 28, 2009 at 4:26 AM

Programmability\SMO\SmoBrowser\CS\SmoBrowser\SmoBrowser.csAdd Lines==>144if (!ex.Message.Contains("Script failed for Server")){    ExceptionMessageBox emb = new ExceptionMessageBox(ex);    emb.Show(this);}
Programmability\SMO\SmoBrowser\VB\SmoBrowser\SmoBrowser.vbAdd Lines==>110If Not ex.Message.Contains("Script failed for Server") Then    Dim emb As New ExceptionMessageBox(ex)    emb.Show(Me)End If

wrote Aug 28, 2009 at 7:47 AM

Verify on sample build 90820.

wrote Aug 28, 2009 at 7:52 AM

wrote Sep 21, 2009 at 9:39 AM

wrote Nov 24, 2009 at 5:46 AM

Verified on sample build 91118.

wrote Feb 14, 2013 at 3:50 AM

wrote May 16, 2013 at 9:02 AM