Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_components thread: Task scheduler


Message #1 by "Mariusz Muszalski" <mariusz@s...> on Tue, 15 May 2001 16:54:25
I'm getting strange 'permission danied' error during adding task from my 

COM component (VB) to Windows2k Task Scheduler. I use TaskScheduler.dll 

ver 7.0.794



There is no error when I grant 'IUSR_' user of my domain to administrator 

rights...this way is stupid so maybe there is any other way to do it?



Mariusz Muszalski

Message #2 by Kyle Burns <kburns@c...> on Tue, 15 May 2001 13:19:12 -0500
You have to have administrative privileges to add/modify/delete tasks.



>> -----Original Message-----

>> From: Mariusz Muszalski [mailto:mariusz@s...]

>> Sent: Tuesday, May 15, 2001 11:54 AM

>> To: ASP components

>> Subject: [asp_components] Task scheduler

>> 

>> 

>> I'm getting strange 'permission danied' error during adding 

>> task from my 

>> COM component (VB) to Windows2k Task Scheduler. I use 

>> TaskScheduler.dll 

>> ver 7.0.794

>> 

>> There is no error when I grant 'IUSR_' user of my domain to 

>> administrator 

>> rights...this way is stupid so maybe there is any other way to do it?

>> 

>> Mariusz Muszalski

>> 

>
Message #3 by "Mariusz Muszalski" <mariusz@s...> on Fri, 18 May 2001 09:20:08
> You have to have administrative privileges to add/modify/delete tasks.



Ok, I understand this. The problem is I'm using newly created user named 

scheduler who has admin rights. (Task->SetAccountInformation). So user who 

add/del task is admininstrator...Question is WHY I have to grant internet 

user to admin rights too?



Marisz



> 

> >> -----Original Message-----

> >> From: Mariusz Muszalski [mailto:mariusz@s...]

> >> Sent: Tuesday, May 15, 2001 11:54 AM

> >> To: ASP components

> >> Subject: [asp_components] Task scheduler

> >> 

> >> 

> >> I'm getting strange 'permission danied' error during adding 

> >> task from my 

> >> COM component (VB) to Windows2k Task Scheduler. I use 

> >> TaskScheduler.dll 

> >> ver 7.0.794

> >> 

> >> There is no error when I grant 'IUSR_' user of my domain to 

> >> administrator 

> >> rights...this way is stupid so maybe there is any other way to do it?

> >> 

> >> Mariusz Muszalski

> >> 

Message #4 by Hal Levy <hal.levy@s...> on Fri, 25 May 2001 10:33:50 -0400





Because whatever is trying to make the change is not running the 

context of

the "scheduler" user. It's running in IUSR.



Make sure that in MTS you tell the package what user to run under.



If your not using MTS- then the component is running under the rights 

of the

calling user- IUSR.





Hal Levy

StarMedia Network, Inc.

Intranet Development Manager



-----Original Message-----

From: Mariusz Muszalski [mailto:mariusz@s...]

Sent: Friday, May 18, 2001 5:20 AM

To: ASP components

Subject: [asp_components] RE: Task scheduler





> You have to have administrative privileges to add/modify/delete 

tasks.



Ok, I understand this. The problem is I'm using newly created user 

named

scheduler who has admin rights. (Task->SetAccountInformation). So user 

who

add/del task is admininstrator...Question is WHY I have to grant 

internet

user to admin rights too?



Marisz



>

> >> -----Original Message-----

> >> From: Mariusz Muszalski [mailto:mariusz@s...]

> >> Sent: Tuesday, May 15, 2001 11:54 AM

> >> To: ASP components

> >> Subject: [asp_components] Task scheduler

> >>

> >>

> >> I'm getting strange 'permission danied' error during adding

> >> task from my

> >> COM component (VB) to Windows2k Task Scheduler. I use

> >> TaskScheduler.dll

> >> ver 7.0.794

> >>

> >> There is no error when I grant 'IUSR_' user of my domain to

> >> administrator

> >> rights...this way is stupid so maybe there is any other way to do 

it?

> >>

> >> Mariusz Muszalski

> >>




  Return to Index