Code: 80004005 Unspecified Error meaning? 
Author Message
 Code: 80004005 Unspecified Error meaning?

I am EXTREMELY new to WSH. I downloaded WSH 2;
I grabbed Redmond's documentation and was so impressed by its
completeness that I bought Tim Hill's "Windows Script Host" book.
I downloaded Tim's sample code and tried to run HelloWorld2.vbs.
It failed with an "Unspecified Error" message.
I upgraded from IE4 to IE5 to check the problem was not version
incompatibility. I am running Windows 95 4.00.950C.
I abstracted the relevant lines and show what happened below.

Dim oIE, oIEDoc
Set oIE = Wscript.CreateObject("InternetExplorer.Application")
oIE.Navigate "about:blank"
Set oIEDoc = oIE.Document

:\>cscript try.vbs > t.t
C:\try.vbs(4, 1) Unspecified error

C:\>

What does "Unspecified Error" mean?
Am I right that I am missing messages from my system?
From wscript, I get a cryptic "Code: 80004005" in the error box.
How do I refresh the error texts in my system?
What does the error mean?
What is the workaround?

I am sorry that my posting seems to be nothing but questions.
I hate to have my path barred to this EXTREMELY useful technology.

Before I started writing this, I had searched DejaNews without success
for "Unspecified Error". I since searched for 80004005 and was pointed
at http://www.*-*-*.com/

http://www.*-*-*.com/
suggests I may need to wait for IE to start.

I introduced a 5 second sleep with a 'WScript.Sleep 5000' and I now have
a working script.

I have answered some of the questions I asked earlier.
I would appreciate n explanation of the reason for the cryptic messages.
I would also like a suggestion for a better fix. Something along the
lines of 'oIE.action "Delay me until you are ready to work"'
--
Walter Briscoe



Mon, 16 Sep 2002 03:00:00 GMT  
 Code: 80004005 Unspecified Error meaning?


Fri, 19 Jun 1992 00:00:00 GMT  
 Code: 80004005 Unspecified Error meaning?
Dim oIE, oIEDoc
Set oIE = Wscript.CreateObject("InternetExplorer.Application")
oIE.Navigate "about:blank"
oIEDoc = oIE.Document
oIE.Visible=true
Quote:

> I am EXTREMELY new to WSH. I downloaded WSH 2;
> I grabbed Redmond's documentation and was so impressed by its
> completeness that I bought Tim Hill's "Windows Script Host" book.
> I downloaded Tim's sample code and tried to run HelloWorld2.vbs.
> It failed with an "Unspecified Error" message.
> I upgraded from IE4 to IE5 to check the problem was not version
> incompatibility. I am running Windows 95 4.00.950C.
> I abstracted the relevant lines and show what happened below.

> Dim oIE, oIEDoc
> Set oIE = Wscript.CreateObject("InternetExplorer.Application")
> oIE.Navigate "about:blank"
> Set oIEDoc = oIE.Document

> :\>cscript try.vbs > t.t
> C:\try.vbs(4, 1) Unspecified error

> C:\>

> What does "Unspecified Error" mean?
> Am I right that I am missing messages from my system?
> From wscript, I get a cryptic "Code: 80004005" in the error box.
> How do I refresh the error texts in my system?
> What does the error mean?
> What is the workaround?

> I am sorry that my posting seems to be nothing but questions.
> I hate to have my path barred to this EXTREMELY useful technology.

> Before I started writing this, I had searched DejaNews without success
> for "Unspecified Error". I since searched for 80004005 and was pointed
> at http://support.microsoft.com/support/kb/articles/q183/0/60.asp

> http://support.microsoft.com/support/kb/articles/Q157/1/04.asp
> suggests I may need to wait for IE to start.

> I introduced a 5 second sleep with a 'WScript.Sleep 5000' and I now have
> a working script.

> I have answered some of the questions I asked earlier.
> I would appreciate n explanation of the reason for the cryptic messages.
> I would also like a suggestion for a better fix. Something along the
> lines of 'oIE.action "Delay me until you are ready to work"'
> --
> Walter Briscoe



Mon, 16 Sep 2002 03:00:00 GMT  
 Code: 80004005 Unspecified Error meaning?
You need to give IE a chance to create the DOM and the document object.

Dim oIE, oIEDoc
Set oIE = Wscript.CreateObject("InternetExplorer.Application")
oIE.Navigate "about:blank"
While oIE.busy: wend
Set oIEDoc = oIE.Document

--
Michael Harris
MVP Scripting


I am EXTREMELY new to WSH. I downloaded WSH 2;
I grabbed Redmond's documentation and was so impressed by its
completeness that I bought Tim Hill's "Windows Script Host" book.
I downloaded Tim's sample code and tried to run HelloWorld2.vbs.
It failed with an "Unspecified Error" message.
I upgraded from IE4 to IE5 to check the problem was not version
incompatibility. I am running Windows 95 4.00.950C.
I abstracted the relevant lines and show what happened below.

Dim oIE, oIEDoc
Set oIE = Wscript.CreateObject("InternetExplorer.Application")
oIE.Navigate "about:blank"
Set oIEDoc = oIE.Document

:\>cscript try.vbs > t.t
C:\try.vbs(4, 1) Unspecified error

C:\>

What does "Unspecified Error" mean?
Am I right that I am missing messages from my system?
From wscript, I get a cryptic "Code: 80004005" in the error box.
How do I refresh the error texts in my system?
What does the error mean?
What is the workaround?

I am sorry that my posting seems to be nothing but questions.
I hate to have my path barred to this EXTREMELY useful technology.

Before I started writing this, I had searched DejaNews without success
for "Unspecified Error". I since searched for 80004005 and was pointed
at http://support.microsoft.com/support/kb/articles/q183/0/60.asp

http://support.microsoft.com/support/kb/articles/Q157/1/04.asp
suggests I may need to wait for IE to start.

I introduced a 5 second sleep with a 'WScript.Sleep 5000' and I now have
a working script.

I have answered some of the questions I asked earlier.
I would appreciate n explanation of the reason for the cryptic messages.
I would also like a suggestion for a better fix. Something along the
lines of 'oIE.action "Delay me until you are ready to work"'
--
Walter Briscoe



Mon, 16 Sep 2002 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. ODBC Drivers error '80004005'

2. ODBC Error 80004005 and VBScript

3. Stack Overflow : 'error ASP 0107 : 80004005'

4. error: 80004005

5. SQL Server error '80004005'

6. Error '80004005'

7. Response object error ASP 0156 : 80004005

8. ASP or ODBC Error 80004005

9. ODBC error 80004005 - What's Up?

10. Provider error 80004005

11. please help: 80004005 error

12. please help:80004005 error

 

 
Powered by phpBB® Forum Software