Re: Error 0x80040501

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



In the MS Text Services Framework, the error means:

TF_E_STACKFULL
0x80040501
The context stack is full.
I don't know how this relates to your problem though.

Brian
"Richard Jones" <nobody@xxxxxxxxxxx> wrote in message
news:%23LqJpcnQGHA.5092@xxxxxxxxxxxxxxxxxxxxxxx
All,

I have a VBscript file which I wrote some time ago to enumerate
UPnP devices (horrible mess, this UPnP <g>). It was working fine back
then, and I haven't run it in while. But now, it crashes with a crazy
error message (and does on both my XP Pro SP2 with lastest updates
machines).

It crashes on the "next" statement of "For each" block with the
following pop up error box:

Script: [name of script file]
Line: 45
Char: 5
Error: 0x80040501
Code: 80040501
Source: (null)

The "Error:" field usually contains a text description of the error,
but here it is just this hex code. I can't find any references to this
error code and have no clue what's going on. Line 45, Char 5 is the start
of the "next" keyword ending a "for each" block.

This script was working before, so it has to be something changed,
maybe with some of the updates. Any help or suggestions or even a pat on
the back would be appreciated. <g>


-Richard



.



Relevant Pages

  • Error 0x80040501
    ... I have a VBscript file which I wrote some time ago to enumerate ... UPnP devices. ... Script: ... Char 5 is the start of the ...
    (microsoft.public.scripting.vbscript)
  • Re: Return codes from PASE to i5/OS
    ... filea not_filea differ: char 9, ... RTVJOBA RTNCDE() is always zero, but receiving the QSH0005 tells me the ... return code of the script. ... RTNCDEis to report the status of the QSH or QP2SHELL calls and not ...
    (comp.sys.ibm.as400.misc)
  • Re: ACCESS DENIED ERROR MESSAGE
    ... > Char: 4 ... Uncheck the box to Display a notification about every script error. ... Internet Options and click Delete Files. ... Dealing with Hijackware ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Cyrus Sieve / libSieve buffer overflow
    ... Versions up to libSieve 2.1.2 and Cyrus ... Problem comes when giving the script a>100 chars long corrupted header ... to overflow the 500 char limit in error message. ... also contain some more hardening against potential buffer overflows. ...
    (Bugtraq)
  • Re: error has occurred in thie script on this page
    ... Char: 1 ... Enter "Regsvr32 ole32.dll"" ... I am also getting the same error message. ... Explorer Script Error that says "An error has occurred in the script on ...
    (microsoft.public.outlook.printing)