Hi,
 I got following exception when accessing database using release version of
 my C# application:
 System.Data.DeletedRowInaccessibleException: Deleted row information cannot
 be accessed through the row.
 at System.Data.DataRow.GetDefaultRecord()
 at System.Data.DataRow.get_Item(String columnName)
 at ZCAP.Database.ZappUser.get_ZappRole() in C:\ZCAP\ZCAP
 Database\TwsUser.cs:line 185
 at ZCAP.ZAPP.Tws.tabPageAccounting_Layout(Object sender, LayoutEventArgs
 e) in C:\ZCAP\TWS\Tws.cs:line 2068
 at System.Windows.Forms.Control.OnLayout(LayoutEventArgs levent)
 at System.Windows.Forms.ScrollableControl.OnLayout(LayoutEventArgs
 levent)
 at System.Windows.Forms.Control.PerformLayout(LayoutEventArgs args)
 at System.Windows.Forms.Control.PerformLayout()
 at ZCAP.ZAPP.Tws.InitializeComponent() in
 C:\ZCAP\TWS\Tws.designer.cs:line 4025
 at ZCAP.ZAPP.Tws..ctor(ZappUser user) in C:\ZCAP\TWS\Tws.cs:line 33
 at ZCAP.ZAPP.TwsMain.Main() in C:\ZCAP\TWS\TwsMain.cs:line 38
 In following 2 situations, there is no exception:
 (1) Running under debug version
 (2) In visual studio, if I select "Release", then click "Debug" -> "Start
 Debugging"
 Your help is highly appreciated!
 Hank"Hang" <hyuan@.zcap.net> wrote in message
news:#LcxwJBaHHA.4948@.TK2MSFTNGP05.phx.gbl...
> Hi,
> I got following exception when accessing database using release version of
> my C# application:
> System.Data.DeletedRowInaccessibleException: Deleted row information
> cannot be accessed through the row.
> at System.Data.DataRow.GetDefaultRecord()
> at System.Data.DataRow.get_Item(String columnName)
> at ZCAP.Database.ZappUser.get_ZappRole() in C:\ZCAP\ZCAP
> Database\TwsUser.cs:line 185
> at ZCAP.ZAPP.Tws.tabPageAccounting_Layout(Object sender, LayoutEventArgs
> e) in C:\ZCAP\TWS\Tws.cs:line 2068
> at System.Windows.Forms.Control.OnLayout(LayoutEventArgs levent)
> at System.Windows.Forms.ScrollableControl.OnLayout(LayoutEventArgs
> levent)
> at System.Windows.Forms.Control.PerformLayout(LayoutEventArgs args)
> at System.Windows.Forms.Control.PerformLayout()
> at ZCAP.ZAPP.Tws.InitializeComponent() in
> C:\ZCAP\TWS\Tws.designer.cs:line 4025
> at ZCAP.ZAPP.Tws..ctor(ZappUser user) in C:\ZCAP\TWS\Tws.cs:line 33
> at ZCAP.ZAPP.TwsMain.Main() in C:\ZCAP\TWS\TwsMain.cs:line 38
> In following 2 situations, there is no exception:
> (1) Running under debug version
> (2) In visual studio, if I select "Release", then click "Debug" -> "Start
> Debugging"
>
This is an ADO.NET question, not a SQL Server question. Try posting in the
ADO.NET groups.
David
Subscribe to:
Post Comments (Atom)
 
No comments:
Post a Comment