Assertion failed! ( about TaskScheduler 0x80070002)

473 views
Skip to first unread message

mapoor

unread,
Mar 25, 2010, 6:55:48 AM3/25/10
to Omaha Discuss
hi.

when i deploy the files of clickonce_deployment via web.
and click link. run GoogleUpdateSetup breakdown.
and Omaha\scons-out\dbg-win\Tagged_Offline_Installers\SampleApp\en
\Tagged_SampleSetup_en.exe

Process:2836
Program:C:\DOCUMEN~1\LOCAL~\temp\GUM33.tmp\GoogleUpdate.exe
File: goopdate\goopdate_utils.cc
Line: 326

Message: ITaskScheduler.Activate.failed 0x80070002

error:0x80070002 the system cannot find the file specified.

please give some advise...

thanks

David Dorwin

unread,
Mar 25, 2010, 2:19:14 PM3/25/10
to omah...@googlegroups.com
[Moving to the omaha-dev list.]

Does a normal install (GoogleUpdateSetup /install "...") encounter the same problem?

This is COR_E_FILENOTFOUND, which according to the documentation for  ITask::Activate at http://msdn.microsoft.com/en-us/library/aa381813(VS.85).aspx means "The task does not exist." The task_name being provided to StartScheduledTask() does not exist. What is task_name and does it appear in the Scheduled Tasks on your computer? If not, it is not being installed correctly. Have you made any changes to the source code?


--
You received this message because you are subscribed to the Google Groups "Omaha Discuss" group.
To post to this group, send email to omaha-...@googlegroups.com.
To unsubscribe from this group, send email to omaha-discus...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/omaha-discuss?hl=en.


mapoor

unread,
Mar 25, 2010, 10:49:09 PM3/25/10
to Omaha Discuss
Thanks

I am sure that using a nomal install.

in TaskScheduler there is not a task_name Task.

and i never modified the c++ code.
--------------------------------------------------------
the pre version is nomal.
I just remove some languages of win_env['languages'] in main.scons
file.


On 3月26日, 上午2时19分, David Dorwin <ddor...@google.com> wrote:
> [Moving to the omaha-dev list.]
>
> Does a normal install (GoogleUpdateSetup /install "...") encounter the same
> problem?
>
> This is COR_E_FILENOTFOUND, which according to the documentation

> for  ITask::Activate athttp://msdn.microsoft.com/en-us/library/aa381813(VS.85).aspxmeans "The task


> does not exist." The task_name being provided to StartScheduledTask() does
> not exist. What is task_name and does it appear in the Scheduled Tasks on
> your computer? If not, it is not being installed correctly. Have you made
> any changes to the source code?
>
>
>
> On Thu, Mar 25, 2010 at 3:55 AM, mapoor <goodjobm...@gmail.com> wrote:
> > hi.
>
> > when i deploy the files of  clickonce_deployment via web.
> > and click link. run GoogleUpdateSetup breakdown.
> > and   Omaha\scons-out\dbg-win\Tagged_Offline_Installers\SampleApp\en
> > \Tagged_SampleSetup_en.exe
>
> > Process:2836
> > Program:C:\DOCUMEN~1\LOCAL~\temp\GUM33.tmp\GoogleUpdate.exe
> > File: goopdate\goopdate_utils.cc
> > Line: 326
>
> > Message: ITaskScheduler.Activate.failed 0x80070002
>
> > error:0x80070002 the system cannot find the file specified.
>
> > please give some advise...
>
> > thanks
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Omaha Discuss" group.
> > To post to this group, send email to omaha-...@googlegroups.com.
> > To unsubscribe from this group, send email to

> > omaha-discus...@googlegroups.com<omaha-discuss%2Bunsubscribe@goog­legroups.com>


> > .
> > For more options, visit this group at

> >http://groups.google.com/group/omaha-discuss?hl=en.- 隐藏被引用文字 -
>
> - 显示引用的文字 -

David Dorwin

unread,
Mar 26, 2010, 1:34:40 PM3/26/10
to omaha-...@googlegroups.com
Comments inline. FYI, there is a newer version of the code in svn. It may not solve your problem, but it's always good to be working with the latest code.

On Thu, Mar 25, 2010 at 7:49 PM, mapoor <goodj...@gmail.com> wrote:
Thanks

I am sure that using a nomal install.
By normal install, I meant a non-ClickOnce install. That adds extra complexity, so you should get a normal install (using the metainstaller directly) working first.

in TaskScheduler there is not a task_name Task.
I was referring to the function where the assert is occurring: http://code.google.com/p/omaha/source/browse/trunk/goopdate/goopdate_utils.cc?r=66#304 

and i never modified the c++ code.
--------------------------------------------------------
the pre version is nomal.
What does this mean? 
I just remove some languages of win_env['languages'] in  main.scons
file.
Unless you also changed ResourceManager::kLanguageTranslationTable, Setup might be failing. Setup might then be trying to restart the core using the scheduled task, which is not installed. I don't know why it would try to do that unless you manually changed the state of your system.

If that is not the problem, you'll need to debug the failure to see why the task isn't installed. It might be that Setup failed. The log might help; see http://code.google.com/p/omaha/wiki/ClientLog.
To unsubscribe from this group, send email to omaha-discus...@googlegroups.com.

mapoor

unread,
Mar 26, 2010, 11:38:38 PM3/26/10
to Omaha Discuss
Thanks very much.

On 3月27日, 上午1时34分, David Dorwin <ddor...@google.com> wrote:
> Comments inline. FYI, there is a newer version of the code in svn. It may
> not solve your problem, but it's always good to be working with the latest
> code.
>

> On Thu, Mar 25, 2010 at 7:49 PM, mapoor <goodjobm...@gmail.com> wrote:
> > Thanks
>
> > I am sure that using a nomal install.
>
> By normal install, I meant a non-ClickOnce install. That adds extra
> complexity, so you should get a normal install (using the metainstaller
> directly) working first.
>
>
>
> > in TaskScheduler there is not a task_name Task.
>

> I was referring to the function where the assert is occurring:http://code.google.com/p/omaha/source/browse/trunk/goopdate/goopdate_...


>
>
>
> > and i never modified the c++ code.
> > --------------------------------------------------------
> > the pre version is nomal.
>
> What does this mean?
>
> > I just remove some languages of win_env['languages'] in  main.scons
> > file.
>
> Unless you also changed ResourceManager::kLanguageTranslationTable, Setup
> might be failing. Setup might then be trying to restart the core using the
> scheduled task, which is not installed. I don't know why it would try to do
> that unless you manually changed the state of your system.
>
> If that is not the problem, you'll need to debug the failure to see why the
> task isn't installed. It might be that Setup failed. The log might help;

> seehttp://code.google.com/p/omaha/wiki/ClientLog.

> > > >http://groups.google.com/group/omaha-discuss?hl=en.-隐藏被引用文字 -

Reply all
Reply to author
Forward
0 new messages