|
RE: Scheduling SyncToy on Vista = Exception: Showing a modal dialo
Just to finish of the story: SyncToy 2 took way over 2 hours to compare the
folder sets I created, so I decided to roll back to version 1.4 (taking
around 1 hour for the same set). So I de-installed 2.0Beta, installed 1.4
again, did a primary run in the foreground and re-activated the scheduled
task. Now I made sure that the task is started at a moment I was not logged
on to the system. So far the scheduled task have been running for 6
consecutive times without having the mentioned problem.
Now I come to a strange conclusion: when I had the scheduled task running
with the first time installment of the 1.4 version, the first run was at
night without being logged on the system. The second time the task had to run
I was logged on to the system. As a consequence the user interface
automatically popped up. I now think that the reason for SyncToy to come with
the problem might be that it ran once from the scheduled task with the user
interface open and after that SyncToy "thinks" that it should always open the
user interface, which, of course, can not be the case when the user is not
logged on.
So, since I want SyncToy to run undisturbed, I have to make sure that the
scheduled task start running when I am not logged on to the system as the
user performing the task.
Although I need to verify my hypothesis, I won't just because of the above
mentioned reason.
I hope this helps others!
Regards, Rob
"RobH" wrote:
> Just installed version 2.0 Beta. Also had to install SQL Server CE... first
> time to run takes already more than 2 hours where version 1.4 ran in 50
> minutes!
> Not sure whether this is the solution....
>
> "RobH" wrote:
>
> > The 12:00 sharp was not the problem, tried at several different times, every
> > time the user is not logged in the error occurs, seems for some reason that
> > once the window does not need to pop up, but after that the program wants to
> > launch the user interface despite the -R option. Did not yet ttry the 2.0Beta
> > version, but that's next.
> >
> > "RobH" wrote:
> >
> > > I have the same problem on a server with Windows 2003 Enterprise SP1. I
> > > scheduled SyncToy to run twice a day. First time it ran smoothly in the
> > > evening (scheduled at 11:00 PM). But I rescheduled it to run at midnight
> > > sharp (12:00 PM). During daytime it ran correctly but then the second time it
> > > had to run in the night it did not. Maybe because of the "midnight sharp"
> > > schedule? So I changed it to run at 12:05 PM (5 minutes past midnight).
> > > Tomorrow I know whether this fixed the problem.
> > >
> > > What happens when a file is locked at the moment that SyncToy wants to
> > > analyze it? Does this cause this problem? Theoretically this may happen since
> > > it takes about 45 minutes to analyze the complete set of folder pairs and I
> > > am not halting the applications since I need a 24 hours coverage (worldwide
> > > usage from Singapore to San Jose....).
> > >
> > > Regards, Rob
> > >
> > > "WadeA" wrote:
> > >
> > > > When i try to schedule SyncToy on Vista, I get the following error message in
> > > > the Synctoylog.log file ...
> > > >
> > > > SYNC: 08/05/2007 09:05:58:796: Beginning SyncToy run for all folder pairs.
> > > > SYNC: 08/05/2007 09:05:58:906: *** Exception: Showing a modal dialog box or
> > > > form when the application is not running in UserInteractive mode is not a
> > > > valid operation. Specify the ServiceNotification or DefaultDesktopOnly style
> > > > to display a notification from a service application.
> > > >
> > > >
> > > > How can this be corrected/avoided?
|