|
List Info
Thread: wierd stuff with scheduled program
|
|
| wierd stuff with scheduled program |

|
2006-12-18 17:12:58 |
Hi Stacey
Is the machine administrator account set up with permissions
to "Log on
as a Service"? An account must have these permissions
to run an
application as a service.
http://www.microsoft.com/technet/prodtec
hnol/windows2000serv/reskit/gp/5
46.mspx?mfr=true
You're stating that the application starts up, but are you
logging the
startup to confirm this fact?
Kara
-----Original Message-----
From: Discussion forum for developers using Windows Forms to
build apps
and controls [mailto OTNET-WI
NFORMS DISCUSS.DEVELOP.COM] On Behalf Of
Stacey Levine
Sent: Monday, December 18, 2006 12:06 PM
To: DOTNET-WINFORMS DISCUSS.DEVELOP.COM
Subject: Re: [DOTNET-WINFORMS] wierd stuff with scheduled
program
Yep. It runs as the machine administrator. The same user I
logged in to
test it.
Thanks.
Stacey
-----Original Message-----
From: Discussion forum for developers using Windows Forms to
build apps
and controls [mailto OTNET-WI
NFORMS DISCUSS.DEVELOP.COM] On Behalf Of
Phil Sayers
Sent: Monday, December 18, 2006 12:01 PM
To: DOTNET-WINFORMS DISCUSS.DEVELOP.COM
Subject: Re: [DOTNET-WINFORMS] wierd stuff with scheduled
program
have you set the scheduler to use the same account as when
you run it
interactively
-----Original Message-----
From: Discussion forum for developers using Windows Forms to
build apps
and controls [mailto OTNET-WI
NFORMS DISCUSS.DEVELOP.COM]On Behalf Of
Stacey Levine
Sent: Monday, December 18, 2006 11:54 AM
To: DOTNET-WINFORMS DISCUSS.DEVELOP.COM
Subject: [DOTNET-WINFORMS] wierd stuff with scheduled
program
I have a .NET application that runs to update some data in a
database.
The application is installed locally on a machine (Windows
2003 Server).
If I log into the machine and run the application, it runs
perfectly
fine. If I schedule the application to run - it starts the
application,
but then does nothing. Now this application, on start up -
reads the
oldest 1000 records in a database and updates those records.
The
application starts up, but appears not to load any actual
records
because all of the counters are set to 0. Any ideas on
where to look?
Stacey
-----------------------------------------
************************************************************
*******
*
This e-mail is intended only for the addressee named above.
As this e-mail may contain confidential or privileged
information,
if you are not the named addressee, you are not authorized
to retain, read, copy or disseminate this message or any
part of
it.
************************************************************
*******
*
|
|
| wierd stuff with scheduled program |

|
2006-12-18 17:32:24 |
I am in the process of setting up logging. I know the
application
starts, because it has an interface to the desktop and I Can
see it.
Thanks.
Stacey
-----Original Message-----
From: Discussion forum for developers using Windows Forms to
build apps
and controls [mailto OTNET-WI
NFORMS DISCUSS.DEVELOP.COM] On Behalf Of
Hewett, Kara, GCM
Sent: Monday, December 18, 2006 12:13 PM
To: DOTNET-WINFORMS DISCUSS.DEVELOP.COM
Subject: Re: [DOTNET-WINFORMS] wierd stuff with scheduled
program
Hi Stacey
Is the machine administrator account set up with permissions
to "Log on
as a Service"? An account must have these permissions
to run an
application as a service.
http://www.microsoft.com/technet/prodtec
hnol/windows2000serv/reskit/gp/5
46.mspx?mfr=true
You're stating that the application starts up, but are you
logging the
startup to confirm this fact?
Kara
-----Original Message-----
From: Discussion forum for developers using Windows Forms to
build apps
and controls [mailto OTNET-WI
NFORMS DISCUSS.DEVELOP.COM] On Behalf Of
Stacey Levine
Sent: Monday, December 18, 2006 12:06 PM
To: DOTNET-WINFORMS DISCUSS.DEVELOP.COM
Subject: Re: [DOTNET-WINFORMS] wierd stuff with scheduled
program
Yep. It runs as the machine administrator. The same user I
logged in to
test it.
Thanks.
Stacey
-----Original Message-----
From: Discussion forum for developers using Windows Forms to
build apps
and controls [mailto OTNET-WI
NFORMS DISCUSS.DEVELOP.COM] On Behalf Of
Phil Sayers
Sent: Monday, December 18, 2006 12:01 PM
To: DOTNET-WINFORMS DISCUSS.DEVELOP.COM
Subject: Re: [DOTNET-WINFORMS] wierd stuff with scheduled
program
have you set the scheduler to use the same account as when
you run it
interactively
-----Original Message-----
From: Discussion forum for developers using Windows Forms to
build apps
and controls [mailto OTNET-WI
NFORMS DISCUSS.DEVELOP.COM]On Behalf Of
Stacey Levine
Sent: Monday, December 18, 2006 11:54 AM
To: DOTNET-WINFORMS DISCUSS.DEVELOP.COM
Subject: [DOTNET-WINFORMS] wierd stuff with scheduled
program
I have a .NET application that runs to update some data in a
database.
The application is installed locally on a machine (Windows
2003 Server).
If I log into the machine and run the application, it runs
perfectly
fine. If I schedule the application to run - it starts the
application,
but then does nothing. Now this application, on start up -
reads the
oldest 1000 records in a database and updates those records.
The
application starts up, but appears not to load any actual
records
because all of the counters are set to 0. Any ideas on
where to look?
Stacey
-----------------------------------------
************************************************************
*******
*
This e-mail is intended only for the addressee named above.
As this e-mail may contain confidential or privileged
information,
if you are not the named addressee, you are not authorized
to retain, read, copy or disseminate this message or any
part of
it.
************************************************************
*******
*
|
|
| wierd stuff with scheduled program |

|
2006-12-18 17:37:10 |
is there a checkbox in windows scheduler that indicates
"allow interact with
desktop".
your issue is most likely that there is "no
desktop" if the user context
that the task is configured to run under does not have an
interactive logon
session with the o/s
-----Original Message-----
From: Discussion forum for developers using Windows Forms to
build apps
and controls [mailto OTNET-WI
NFORMS DISCUSS.DEVELOP.COM]On Behalf Of
Stacey Levine
Sent: Monday, December 18, 2006 12:32 PM
To: DOTNET-WINFORMS DISCUSS.DEVELOP.COM
Subject: Re: [DOTNET-WINFORMS] wierd stuff with scheduled
program
I am in the process of setting up logging. I know the
application
starts, because it has an interface to the desktop and I Can
see it.
Thanks.
Stacey
-----Original Message-----
From: Discussion forum for developers using Windows Forms to
build apps
and controls [mailto OTNET-WI
NFORMS DISCUSS.DEVELOP.COM] On Behalf Of
Hewett, Kara, GCM
Sent: Monday, December 18, 2006 12:13 PM
To: DOTNET-WINFORMS DISCUSS.DEVELOP.COM
Subject: Re: [DOTNET-WINFORMS] wierd stuff with scheduled
program
Hi Stacey
Is the machine administrator account set up with permissions
to "Log on
as a Service"? An account must have these permissions
to run an
application as a service.
http://www.microsoft.com/technet/prodtec
hnol/windows2000serv/reskit/gp/5
46.mspx?mfr=true
You're stating that the application starts up, but are you
logging the
startup to confirm this fact?
Kara
-----Original Message-----
From: Discussion forum for developers using Windows Forms to
build apps
and controls [mailto OTNET-WI
NFORMS DISCUSS.DEVELOP.COM] On Behalf Of
Stacey Levine
Sent: Monday, December 18, 2006 12:06 PM
To: DOTNET-WINFORMS DISCUSS.DEVELOP.COM
Subject: Re: [DOTNET-WINFORMS] wierd stuff with scheduled
program
Yep. It runs as the machine administrator. The same user I
logged in to
test it.
Thanks.
Stacey
-----Original Message-----
From: Discussion forum for developers using Windows Forms to
build apps
and controls [mailto OTNET-WI
NFORMS DISCUSS.DEVELOP.COM] On Behalf Of
Phil Sayers
Sent: Monday, December 18, 2006 12:01 PM
To: DOTNET-WINFORMS DISCUSS.DEVELOP.COM
Subject: Re: [DOTNET-WINFORMS] wierd stuff with scheduled
program
have you set the scheduler to use the same account as when
you run it
interactively
-----Original Message-----
From: Discussion forum for developers using Windows Forms to
build apps
and controls [mailto OTNET-WI
NFORMS DISCUSS.DEVELOP.COM]On Behalf Of
Stacey Levine
Sent: Monday, December 18, 2006 11:54 AM
To: DOTNET-WINFORMS DISCUSS.DEVELOP.COM
Subject: [DOTNET-WINFORMS] wierd stuff with scheduled
program
I have a .NET application that runs to update some data in a
database.
The application is installed locally on a machine (Windows
2003 Server).
If I log into the machine and run the application, it runs
perfectly
fine. If I schedule the application to run - it starts the
application,
but then does nothing. Now this application, on start up -
reads the
oldest 1000 records in a database and updates those records.
The
application starts up, but appears not to load any actual
records
because all of the counters are set to 0. Any ideas on
where to look?
Stacey
-----------------------------------------
************************************************************
*******
*
This e-mail is intended only for the addressee named above.
As this e-mail may contain confidential or privileged
information,
if you are not the named addressee, you are not authorized
to retain, read, copy or disseminate this message or any
part of
it.
************************************************************
*******
*
|
|
| wierd stuff with scheduled program |

|
2006-12-19 15:05:55 |
Why do you have an interface for a service?
-----Original Message-----
From: Discussion forum for developers using Windows Forms to
build apps
and controls [mailto OTNET-WI
NFORMS DISCUSS.DEVELOP.COM]On Behalf Of
Stacey Levine
Sent: Monday, December 18, 2006 12:32 PM
To: DOTNET-WINFORMS DISCUSS.DEVELOP.COM
Subject: Re: [DOTNET-WINFORMS] wierd stuff with scheduled
program
I am in the process of setting up logging. I know the
application
starts, because it has an interface to the desktop and I Can
see it.
Thanks.
Stacey
-----Original Message-----
From: Discussion forum for developers using Windows Forms to
build apps
and controls [mailto OTNET-WI
NFORMS DISCUSS.DEVELOP.COM] On Behalf Of
Hewett, Kara, GCM
Sent: Monday, December 18, 2006 12:13 PM
To: DOTNET-WINFORMS DISCUSS.DEVELOP.COM
Subject: Re: [DOTNET-WINFORMS] wierd stuff with scheduled
program
Hi Stacey
Is the machine administrator account set up with permissions
to "Log on
as a Service"? An account must have these permissions
to run an
application as a service.
http://www.microsoft.com/technet/prodtec
hnol/windows2000serv/reskit/gp/5
46.mspx?mfr=true
You're stating that the application starts up, but are you
logging the
startup to confirm this fact?
Kara
-----Original Message-----
From: Discussion forum for developers using Windows Forms to
build apps
and controls [mailto OTNET-WI
NFORMS DISCUSS.DEVELOP.COM] On Behalf Of
Stacey Levine
Sent: Monday, December 18, 2006 12:06 PM
To: DOTNET-WINFORMS DISCUSS.DEVELOP.COM
Subject: Re: [DOTNET-WINFORMS] wierd stuff with scheduled
program
Yep. It runs as the machine administrator. The same user I
logged in to
test it.
Thanks.
Stacey
-----Original Message-----
From: Discussion forum for developers using Windows Forms to
build apps
and controls [mailto OTNET-WI
NFORMS DISCUSS.DEVELOP.COM] On Behalf Of
Phil Sayers
Sent: Monday, December 18, 2006 12:01 PM
To: DOTNET-WINFORMS DISCUSS.DEVELOP.COM
Subject: Re: [DOTNET-WINFORMS] wierd stuff with scheduled
program
have you set the scheduler to use the same account as when
you run it
interactively
-----Original Message-----
From: Discussion forum for developers using Windows Forms to
build apps
and controls [mailto OTNET-WI
NFORMS DISCUSS.DEVELOP.COM]On Behalf Of
Stacey Levine
Sent: Monday, December 18, 2006 11:54 AM
To: DOTNET-WINFORMS DISCUSS.DEVELOP.COM
Subject: [DOTNET-WINFORMS] wierd stuff with scheduled
program
I have a .NET application that runs to update some data in a
database.
The application is installed locally on a machine (Windows
2003 Server).
If I log into the machine and run the application, it runs
perfectly
fine. If I schedule the application to run - it starts the
application,
but then does nothing. Now this application, on start up -
reads the
oldest 1000 records in a database and updates those records.
The
application starts up, but appears not to load any actual
records
because all of the counters are set to 0. Any ideas on
where to look?
Stacey
-----------------------------------------
************************************************************
*******
*
This e-mail is intended only for the addressee named above.
As this e-mail may contain confidential or privileged
information,
if you are not the named addressee, you are not authorized
to retain, read, copy or disseminate this message or any
part of
it.
************************************************************
*******
*
|
|
| wierd stuff with scheduled program |

|
2006-12-19 15:11:29 |
It is not a service. It is just an application that is
running as a
scheduled task.
Thanks.
Stacey
-----Original Message-----
From: Discussion forum for developers using Windows Forms to
build apps
and controls [mailto OTNET-WI
NFORMS DISCUSS.DEVELOP.COM] On Behalf Of
Greg Robinson
Sent: Tuesday, December 19, 2006 10:06 AM
To: DOTNET-WINFORMS DISCUSS.DEVELOP.COM
Subject: Re: [DOTNET-WINFORMS] wierd stuff with scheduled
program
Why do you have an interface for a service?
-----Original Message-----
From: Discussion forum for developers using Windows Forms to
build apps
and controls [mailto OTNET-WI
NFORMS DISCUSS.DEVELOP.COM]On Behalf Of
Stacey Levine
Sent: Monday, December 18, 2006 12:32 PM
To: DOTNET-WINFORMS DISCUSS.DEVELOP.COM
Subject: Re: [DOTNET-WINFORMS] wierd stuff with scheduled
program
I am in the process of setting up logging. I know the
application
starts, because it has an interface to the desktop and I Can
see it.
Thanks.
Stacey
-----Original Message-----
From: Discussion forum for developers using Windows Forms to
build apps
and controls [mailto OTNET-WI
NFORMS DISCUSS.DEVELOP.COM] On Behalf Of
Hewett, Kara, GCM
Sent: Monday, December 18, 2006 12:13 PM
To: DOTNET-WINFORMS DISCUSS.DEVELOP.COM
Subject: Re: [DOTNET-WINFORMS] wierd stuff with scheduled
program
Hi Stacey
Is the machine administrator account set up with permissions
to "Log on
as a Service"? An account must have these permissions
to run an
application as a service.
http://www.microsoft.com/technet/prodtec
hnol/windows2000serv/reskit/gp/5
46.mspx?mfr=true
You're stating that the application starts up, but are you
logging the
startup to confirm this fact?
Kara
-----Original Message-----
From: Discussion forum for developers using Windows Forms to
build apps
and controls [mailto OTNET-WI
NFORMS DISCUSS.DEVELOP.COM] On Behalf Of
Stacey Levine
Sent: Monday, December 18, 2006 12:06 PM
To: DOTNET-WINFORMS DISCUSS.DEVELOP.COM
Subject: Re: [DOTNET-WINFORMS] wierd stuff with scheduled
program
Yep. It runs as the machine administrator. The same user I
logged in to
test it.
Thanks.
Stacey
-----Original Message-----
From: Discussion forum for developers using Windows Forms to
build apps
and controls [mailto OTNET-WI
NFORMS DISCUSS.DEVELOP.COM] On Behalf Of
Phil Sayers
Sent: Monday, December 18, 2006 12:01 PM
To: DOTNET-WINFORMS DISCUSS.DEVELOP.COM
Subject: Re: [DOTNET-WINFORMS] wierd stuff with scheduled
program
have you set the scheduler to use the same account as when
you run it
interactively
-----Original Message-----
From: Discussion forum for developers using Windows Forms to
build apps
and controls [mailto OTNET-WI
NFORMS DISCUSS.DEVELOP.COM]On Behalf Of
Stacey Levine
Sent: Monday, December 18, 2006 11:54 AM
To: DOTNET-WINFORMS DISCUSS.DEVELOP.COM
Subject: [DOTNET-WINFORMS] wierd stuff with scheduled
program
I have a .NET application that runs to update some data in a
database.
The application is installed locally on a machine (Windows
2003 Server).
If I log into the machine and run the application, it runs
perfectly
fine. If I schedule the application to run - it starts the
application,
but then does nothing. Now this application, on start up -
reads the
oldest 1000 records in a database and updates those records.
The
application starts up, but appears not to load any actual
records
because all of the counters are set to 0. Any ideas on
where to look?
Stacey
-----------------------------------------
************************************************************
*******
*
This e-mail is intended only for the addressee named above.
As this e-mail may contain confidential or privileged
information,
if you are not the named addressee, you are not authorized
to retain, read, copy or disseminate this message or any
part of
it.
************************************************************
*******
*
|
|
| wierd stuff with scheduled program |

|
2006-12-21 18:00:08 |
I found it easiest (well, not easiest, perhaps safest) to
create a local
account on the server dedicated to my scheduled jobs; the
account name
should not be nebulous, I generally embed the name of the
name of the
app in the account (<app>ScheduledJobs, for instance),
with a password
that never expires. Make sure that account has the correct
ntfs
permissions; make sure and document the account, the server
admin is
aware of it, its password, and what its there for. And
make sure and
test it without being logged onto the server.
And six months or so later a service pack will come out that
disables
it. Sigh.
Hewett, Kara, GCM wrote:
> Hi Stacey
>
> Is the machine administrator account set up with
permissions to "Log on
> as a Service"? An account must have these
permissions to run an
> application as a service.
> http://www.microsoft.com/technet/prodtec
hnol/windows2000serv/reskit/gp/5
> 46.mspx?mfr=true
>
> You're stating that the application starts up, but are
you logging the
> startup to confirm this fact?
>
> Kara
>
> -----Original Message-----
> From: Discussion forum for developers using Windows
Forms to build apps
> and controls [mailto OTNET-WI
NFORMS DISCUSS.DEVELOP.COM] On Behalf Of
> Stacey Levine
> Sent: Monday, December 18, 2006 12:06 PM
> To: DOTNET-WINFORMS DISCUSS.DEVELOP.COM
> Subject: Re: [DOTNET-WINFORMS] wierd stuff with
scheduled program
>
>
> Yep. It runs as the machine administrator. The same
user I logged in to
> test it.
>
> Thanks.
>
> Stacey
> -----Original Message-----
> From: Discussion forum for developers using Windows
Forms to build apps
> and controls [mailto OTNET-WI
NFORMS DISCUSS.DEVELOP.COM] On Behalf Of
> Phil Sayers
> Sent: Monday, December 18, 2006 12:01 PM
> To: DOTNET-WINFORMS DISCUSS.DEVELOP.COM
> Subject: Re: [DOTNET-WINFORMS] wierd stuff with
scheduled program
>
> have you set the scheduler to use the same account as
when you run it
> interactively
>
>
> -----Original Message-----
> From: Discussion forum for developers using Windows
Forms to build apps
> and controls [mailto OTNET-WI
NFORMS DISCUSS.DEVELOP.COM]On Behalf Of
> Stacey Levine
> Sent: Monday, December 18, 2006 11:54 AM
> To: DOTNET-WINFORMS DISCUSS.DEVELOP.COM
> Subject: [DOTNET-WINFORMS] wierd stuff with scheduled
program
>
>
> I have a .NET application that runs to update some data
in a database.
> The application is installed locally on a machine
(Windows 2003 Server).
> If I log into the machine and run the application, it
runs perfectly
> fine. If I schedule the application to run - it starts
the application,
> but then does nothing. Now this application, on start
up - reads the
> oldest 1000 records in a database and updates those
records. The
> application starts up, but appears not to load any
actual records
> because all of the counters are set to 0. Any ideas on
where to look?
>
>
>
> Stacey
>
> -----------------------------------------
>
************************************************************
*******
> *
>
> This e-mail is intended only for the addressee named
above.
> As this e-mail may contain confidential or privileged
information,
> if you are not the named addressee, you are not
authorized
> to retain, read, copy or disseminate this message or
any part of
> it.
>
>
************************************************************
*******
> *
>
>
>
--
====================
Mark Aurit
MarkAurit gmail.com
|
|
[1-6]
|
|