Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > Re: Windows 2008 Schedules task problem

Reply
Thread Tools Display Modes

Re: Windows 2008 Schedules task problem

 
 
Phillip Windell
Guest
Posts: n/a

 
      06-29-2010
"sarav_rs" <> wrote in message
news:...
> I am using excel macro to extract the data from web query. To automate
> this, I have created one vb.net windows application to execute the
> macro. And I have created in a schedules task to execute in hourly
> basis. This is working fine in windows 2003 with Excel 2003. After
> upgrading to Windows 2008 Enterprise SP2 with Excel 2010, I have some
> problems.
>
> 1) The scheduled task is started and not fired the excel macro when I
> choose the option 'Run whether the user is logged on or not'
> 2) The user has the Administrator privileges
> 3) The excel macro, VB.Net EXE has the everyone full access
> 4) The user is added in the local security policies (Log on as batch
> job)
>
> But this is working fine, If I change the option as 'Run only the user
> is logged on'. Please help.


Excell has separate security settings on Macros. Check the Macro
Security,...it might be set on high or medium when it needs to be on low.
High keeps it from running at all, medium only runs after acknowledging a
prompt (which won't do you any good),...low should allow the macro the run
without a prompt. Probably when you went from Excell 2003 to 2010 it reset
to the default of High (or Medium?). Also when checking this in Excell it
may be a user specific setting (can't remember for sure) so be sure to log
in and go into Excell with the same acount that the Task runs under.

This was just a guess of course,...so you should also follow Pegasus's post
as well.


--
Phillip Windell

The views expressed, are my own and not those of my employer, or Microsoft,
or anyone else associated with me, including my cats.
-----------------------------------------------------


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
An unknown error has occurred! Agnes M Windows Vista Mail 35 08-06-2010 10:36 PM
Same Issue....Please help! Quality Department Active Directory 0 02-13-2010 01:12 PM
Problem Editing Contacts jef Windows Live Mail 13 01-31-2010 05:04 AM
"Some updates could not be installed" Antnee20x Windows Update 7 12-18-2009 07:01 PM
Running DOS Games under Vista Wogerwabby Windows Vista Games 45 11-10-2009 03:33 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59