Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Problem With Transaction Object - Got Runtime Error

3 posts in DataWindow .NET Last posting was on 2004-11-07 13:03:29.0Z
Nestor Posted on 2004-11-04 07:59:22.0Z
From: "Nestor" <nesfree@hotmail.com>
Newsgroups: sybase.public.datawindow.net
Subject: Problem With Transaction Object - Got Runtime Error
Lines: 22
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
X-Original-NNTP-Posting-Host: bzq-25-65-66.cust.bezeqint.net
Message-ID: <4189e155$1@forums-2-dub>
X-Original-Trace: 3 Nov 2004 23:59:17 -0800, bzq-25-65-66.cust.bezeqint.net
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 3 Nov 2004 23:59:20 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 3 Nov 2004 23:59:22 -0800
X-Trace: forums-1-dub 1099555162 10.22.108.75 (3 Nov 2004 23:59:22 -0800)
X-Original-Trace: 3 Nov 2004 23:59:22 -0800, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.datawindow.net:660
Article PK: 125087

Hi there
I built a form in C# -
Linked a DW object from an existing PBL
Created and Transaction Object and tested OK.
Added a command button
Placed the following
dataWindowControl1.SetTransaction(transaction1);

dataWindowControl1.Retrieve();

Build OK
Then Run and got the following runtime error:

An unhandled exception of type 'Sybase.DataWindow.MethodFailureException'
occurred in datawindow.dll

Additional information: SetTransaction did not complete successfully, return
code is : -1

What is worong here ?


dfish Posted on 2004-11-04 14:20:25.0Z
From: dfish@_no_spam_sybase.com (Dave Fish [Team Sybase])
Newsgroups: sybase.public.datawindow.net
Subject: Re: Problem With Transaction Object - Got Runtime Error
Organization: Sybase Professional Services
Reply-To: nospam_dfish@sybase.com_nospam
Message-ID: <418a3a83.220194232@forums.sybase.com>
References: <4189e155$1@forums-2-dub>
X-Newsreader: Forte Free Agent 1.21/32.243
NNTP-Posting-Host: vpn-dub-129.sybase.com
X-Original-NNTP-Posting-Host: vpn-dub-129.sybase.com
Date: 4 Nov 2004 06:20:25 -0800
X-Trace: forums-1-dub 1099578025 10.22.120.129 (4 Nov 2004 06:20:25 -0800)
X-Original-Trace: 4 Nov 2004 06:20:25 -0800, vpn-dub-129.sybase.com
Lines: 38
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.datawindow.net:661
Article PK: 125088

Did you connect to the database?

transaction1.Connect();

Regards,
Dave Fish
Sybase

TeamSybase blogs: http://www.teamsybase.net/blogs

DataWindow.NET code examples available on CodeXchange:
http://datawindownet.codexchange.sybase.com

On 3 Nov 2004 23:59:22 -0800, "Nestor" <nesfree@hotmail.com> wrote:

>Hi there
>I built a form in C# -
>Linked a DW object from an existing PBL
>Created and Transaction Object and tested OK.
>Added a command button
>Placed the following
>dataWindowControl1.SetTransaction(transaction1);
>
>dataWindowControl1.Retrieve();
>
>Build OK
>Then Run and got the following runtime error:
>
>An unhandled exception of type 'Sybase.DataWindow.MethodFailureException'
>occurred in datawindow.dll
>
>Additional information: SetTransaction did not complete successfully, return
>code is : -1
>
>What is worong here ?
>
>


Nestor Posted on 2004-11-07 13:03:29.0Z
From: "Nestor" <nesfree@hotmail.com>
Newsgroups: sybase.public.datawindow.net
References: <4189e155$1@forums-2-dub> <418a3a83.220194232@forums.sybase.com>
Subject: Re: Problem With Transaction Object - Got Runtime Error
Lines: 45
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
NNTP-Posting-Host: bzq-25-65-66.cust.bezeqint.net
X-Original-NNTP-Posting-Host: bzq-25-65-66.cust.bezeqint.net
Message-ID: <418e1d21@forums-1-dub>
Date: 7 Nov 2004 05:03:29 -0800
X-Trace: forums-1-dub 1099832609 212.25.65.66 (7 Nov 2004 05:03:29 -0800)
X-Original-Trace: 7 Nov 2004 05:03:29 -0800, bzq-25-65-66.cust.bezeqint.net
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.datawindow.net:668
Article PK: 125099

Ups!
Thanks

"Dave Fish [Team Sybase]" <dfish@_no_spam_sybase.com> wrote in message
news:418a3a83.220194232@forums.sybase.com...
> Did you connect to the database?
>
> transaction1.Connect();
>
> Regards,
> Dave Fish
> Sybase
>
> TeamSybase blogs: http://www.teamsybase.net/blogs
>
> DataWindow.NET code examples available on CodeXchange:
> http://datawindownet.codexchange.sybase.com
>
> On 3 Nov 2004 23:59:22 -0800, "Nestor" <nesfree@hotmail.com> wrote:
>
> >Hi there
> >I built a form in C# -
> >Linked a DW object from an existing PBL
> >Created and Transaction Object and tested OK.
> >Added a command button
> >Placed the following
> >dataWindowControl1.SetTransaction(transaction1);
> >
> >dataWindowControl1.Retrieve();
> >
> >Build OK
> >Then Run and got the following runtime error:
> >
> >An unhandled exception of type 'Sybase.DataWindow.MethodFailureException'
> >occurred in datawindow.dll
> >
> >Additional information: SetTransaction did not complete successfully,
return
> >code is : -1
> >
> >What is worong here ?
> >
> >
>