Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 4 of 4 total
Thread Strange timer problem
Mon, Sep 24 2007 7:09 PMPermanent Link

Michael Fullerton
I have an app with two timers. Timer1 does some data-related work.
Timer2 just backs up up the data files into a zip archive. Now a
situation happened where Timer1 is running and opened a table. Then
Timer2 started. Then in Timer1 SetRange is called on the previously
opened table. An exception is raised "Cannot perform this operation on
a closed dataset.". But the table was open and Timer2 does not close
or open any tables just puts them in a zip file. What could be going
on here?

I do notice DoHandledLogin was called and a dialog was shown modaly
from RemoteLoginDialog.
Tue, Sep 25 2007 5:39 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Michael,

<< I have an app with two timers. Timer1 does some data-related work.
Timer2 just backs up up the data files into a zip archive. Now a situation
happened where Timer1 is running and opened a table. Then Timer2 started.
Then in Timer1 SetRange is called on the previously opened table. An
exception is raised "Cannot perform this operation on
a closed dataset.". But the table was open and Timer2 does not close or
open any tables just puts them in a zip file. What could be going on here?
>>

Do any of the tables that are being used in the timer(s) have any data-aware
controls connected to them ?

--
Tim Young
Elevate Software
www.elevatesoft.com

Wed, Sep 26 2007 9:24 PMPermanent Link

Michael Fullerton
On Tue, 25 Sep 2007 17:39:45 -0500, "Tim Young [Elevate Software]"
<timyoung@elevatesoft.com> wrote:

>Michael,
>
><< I have an app with two timers. Timer1 does some data-related work.
>Timer2 just backs up up the data files into a zip archive. Now a situation
>happened where Timer1 is running and opened a table. Then Timer2 started.
>Then in Timer1 SetRange is called on the previously opened table. An
>exception is raised "Cannot perform this operation on
> a closed dataset.". But the table was open and Timer2 does not close or
>open any tables just puts them in a zip file. What could be going on here?
> >>
>
>Do any of the tables that are being used in the timer(s) have any data-aware
>controls connected to them ?

I tried to cancel this post but I guess it didn't work. I resolved the
problem myself. The tables I was using were created dynamically and I
forgot to set the correct session.
Thu, Sep 27 2007 12:05 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Michael,

<< I tried to cancel this post but I guess it didn't work. I resolved the
problem myself. The tables I was using were created dynamically and I forgot
to set the correct session. >>

No problem.  AJ Marknette was kind enough to modify our NNTP server a while
ago to add this capability, but unfortunately it is something that I have
not had a chance to put in place yet.

--
Tim Young
Elevate Software
www.elevatesoft.com

Image