bugs >> Tash Scheduler Problem: Win2008 Server Std SP1 + WinXP SP2

by RG1pdHJ5IFNpbW9ub3Y » Mon, 24 Nov 2008 14:08:01 GMT

Steps to reproduce
------------------

There are 2 PCs. Let us name first one "S" (Server, Win2008 Server
Standard SP1), and the second one "C" (Client, WinXP SP2)
Both of them are members of a domain ("DOMAIN", for example)
There is user "DOMAIN\user". Let us shorten his name to "U" for future
references.
"U" is a member of group "Administrators" on "S"

Once upon a time "U" decided to schedule a task on "S"
He (on computer "C") opened "Explorer", entered "\\S\Scheduled Tasks" as
address, choosed Add scheduled task
In properties window of newly created task, "U" changed the start time to
"1:00" (from "9:00" by default).
After pressing "", window appeared, prompting to enter a password and
confirmation (!)
User entered them and pressed "OK".
No error message appeared.

In "\\S\Scheduled Tasks" the time of start (of his task) was displayed as
"1:00"

5 minutes later "U" decided to change start time of that task.
He went back to task properties, changed the time to "2:00" and pressed "OK"
NO window prompting for password appeared (!)
User didn't paid any attention to it..
Note: no error message appeared!

After this change, in "\\S\Scheduled Tasks" the time of task start was
displayed as "2:00" (it changed too)

But next morning "U" discovered that his task has been started at "1:00",
not at "2:00" !
He opens "\\S\Scheduled Tasks" and sees time "2:00". He is very confused...

User expected his task to start at a time, that he SPECIFIED, and at that
time that is DISLPAYED (which are equal)
Or at least, he expected to see some kind of error message if start time of
a task failed to change.

What is happening on server
---------------------------

1) In MMC console ask Schedulertime of start is still "1:00"

2) In MMC console vent Viewer> -> Applications and Services Log> ->
Microsof> -> Window> -> TaskSchedule> -> Operational there are two log
entries (at that time, when user changed start time of a task)

first:
Source: Microsoft-Windows-TaskScheduler
Event ID: 709
Task Category: Compatibility module task update failed
Level: Error
User: SYSTEM
Computer: S.domain
Description: Task Compatibility module failed to update task "some_name.job".
Additional Data: Error Value: 2147942405.

second:
Source: Microsoft-Windows-TaskScheduler
Event ID: 706
Task Category: Compatibility module task status update failed
Level: Error
User: SYSTEM
Computer: S.domain
Description: Task Compatibility module failed to update task "some_name.job"
to the required status 0.
Additional Data: Error Value: 2147942405.

I found that 2147942405 = 0x80070005 = E_ACCESSDENIED (from WinError.h)

Workarounds that worked for me
------------------------------

1. Connect to "S" via "Remote Desktop". Change start time via "Task
Scheduler" applet.

2. Every time, when user wants to change some properties of a task (via
"\\S\Scheduled Tasks"), (before pressing OK in properties window), he should
press button "Set password..." (in tab "Task") and type password and
confirmation.



bugs >> RE: Tash Scheduler Problem: Win2008 Server Std SP1 + WinXP SP2

by RG1pdHJ5IFNpbW9ub3Y » Mon, 24 Nov 2008 14:20:01 GMT


Sorry for posting this message in the wrong thread.
Is it possible to move it to thread dedicated to Windows Server?



bugs >> Tash Scheduler Problem: Win2008 Server Std SP1 + WinXP SP2

by PeterD » Mon, 24 Nov 2008 22:44:53 GMT

On Sun, 23 Nov 2008 22:20:01 -0800, Dmitry Simonov



Copy to clipboard, and paste into a new thread in the correct group.


Tash Scheduler Problem: Win2008 Server Std SP1 + WinXP SP2

by expvb » Tue, 25 Nov 2008 14:01:06 GMT

Try posting this at:






Similar Threads

1. VB Collection object has Memory Leak on XP sp2 and Windows Server 2003 sp1

2. Cant connect to local sql server 2000 from VB.NET running WinXP Pro SP2

Hi

I just installed SQL Server 2000 to run locally on a WinXP Pro SP2 PC.
When I run  the following VB.NET code:

Protected Const SQL_CONNECTION_STRING As String = _
        "Server=localhost;" & _
        "DataBase=Northwind;" & _
        "Integrated Security=SSPI"

 Dim connectionString As String = SQL_CONNECTION_STRING

Dim cnnNW As New SqlConnection(connectionString)

I can't connect to sql server.
This code works fine on a Windows 2000 Pro SP2 pc.

Thanks.

Dee 


3. Cannot connect to local sql server 2000 from VB.NET on pc running WinXP Pro SP2

4. DCOM problem after winxp SP2

Dear All
I'm using VB6 and developed a Client/server application built on DCOM using 
callbacks, the problem is after installing the Win XP sp2 the program 
stopped working even after using the Firewall Object for adding my 
applications to the exceptions list and adding ports 135TCP 888TCP and 
1043TCP to the exceptions list and enabled the remote access, changed the 
Launch permissions in the dcomcnfg to allow everyone, it is still not 
working.
I tried using the CoInitializeSecurity API in both client and server, but no 
use!

Even when I try to run msinfo32.exe to monitor Remote computer ( Server ) it 
is not working too..

please tell me how to  do the following by code only so I can make a 
user-friendly packaging for my program:
    - authenticate my Class for Launching for everyone permission.
    - configure the firewall to enable my program to pass through.
    - do all the necessary tasks to enable my program to work by code.

Note: My program was fully running all functions in a client/server 
computers before updating with SP2.

Regards


5. Problem connecting a Win98SE to a WinXP-Pro/SP2 using TCP/IP - Visual Basic/VB

6. EnC with VS 2005 Std SP1

Hello,

I had VB 2005 code working in EnC mode. But after harddrive crash, I have
installed VB 2005 w/SP1 but my code no longer works for EnC mode.

Please help.

PS: If I create new project I can do EnC.

Thanks,
kris



7. Crash when AddIn is loaded on WinXP(SP1), WD2002 (SP3) - Word VBA

8. Compiled on SP1 and bugs on SP2

Hello,

I have made a program in vb.net.
It was deployed on different computers with winXP (SP1 or SP2). A user has a
problem with my application : the messageBox or MsgBox are empty. They can
see the title (in the blue bar), but the message is empty and Yes/No/Cancel
buttons are empty. This problem doesn't appear all the time for them.
It doesn't come from my code: the user has the empty message, opened word
(no relations ...) and the message appeared ...

The only difference between my PC and him is SP2. I've got XP SP1.

Does somebody know what I can do ?

Thanks.