Sounds like the account ASPNET is running under doesn't always have the permissions to actually fully set up the task.
Why don't you send me the relevant code off list and I'll see if I can replicate the problem and propose a solution. Dean On Thu, 23 Dec 2004 16:08:39 -0000, kmobarra <[EMAIL PROTECTED]> wrote: > > > If the service can be set up, it will run an application located in > some directory on the server. But the problem is before that. It's > when I attempt to save the account information to schedule the task. > I mean the account who has administrative rights on the server and > the scheduled task will run under. That's the instant when I get > Access Denied error. In fact my application creates the task first > and then saves the account information to it. It creates the task all > right, but doesn't get to "schedule" it, by saving the account info > to it. > > Kathy > > --- In [email protected], Dean Fiala > <[EMAIL PROTECTED]> wrote: > > Is the service accessing a particular file, directory, database or > > other resource? > > > > > > On Wed, 22 Dec 2004 14:32:33 -0000, kmobarra <[EMAIL PROTECTED]> > wrote: > > > > > > > > > Dean, > > > > > > Thank you for your response. Unfortunately the answer is no. It > > > happens completely randomly. Today I found a 2000 that has the > same > > > issue. I have a feeling it is something very simple that I'm > missing. > > > > > > Kathy > > > > > > --- In [email protected], Dean Fiala > > > <[EMAIL PROTECTED]> wrote: > > > > If the problem is only on W2003 servers it is that the ASP.NET > > > service > > > > runs under a different account than it does on W2000 and XP. It > > > runs > > > > under Network Service, so make sure that Network Service > account is > > > > set up to access the Task Scheduler. > > > > > > > > HTH > > > > -- > > > > Dean Fiala > > > > Very Practical Software, Inc > > > > http://www.vpsw.com > > > > > > > > > > > > Yahoo! Groups Links > > > > > > > > > > > > > > > > > > > > > -- > > Dean Fiala > > Very Practical Software, Inc > > http://www.vpsw.com > > > Yahoo! Groups Links > > > > > -- Dean Fiala Very Practical Software, Inc http://www.vpsw.com ------------------------ Yahoo! Groups Sponsor --------------------~--> Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar. Now with Pop-Up Blocker. Get it for free! http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/saFolB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
