By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,219 Members | 2,140 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,219 IT Pros & Developers. It's quick & easy.

System Error &H80131313&

P: n/a
I get this system error randomly when I run my application that scraps a
webpage for its content. It occurs on the following lines of code:
'Get all the TR elements in the page
colTR = elmBody2.getElementsByTagName("TR")
For I = 0 To colTR.length - 1
elmTR = DirectCast(colTR.item(I), IHTMLElement)

Does anyone have any ideas of why this would be occuring?

Thanks,
Curtis
Nov 21 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a

&H80131313 is the error CORDBG_E_FUNC_EVAL_BAD_START_POINT, one from
the CLR debugging services family. No idea why it would occur in your
code though, it doesn't make sense.
Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Nov 21 '05 #2

P: n/a
Mattis,

Thank you for the reply. Is that error associated with the debuggin an
application because at the time of the error I was degguging an error.

Thanks,
Curtis
"Mattias Sjögren" <ma********************@mvps.org> wrote in message
news:%2***************@TK2MSFTNGP15.phx.gbl...

&H80131313 is the error CORDBG_E_FUNC_EVAL_BAD_START_POINT, one from
the CLR debugging services family. No idea why it would occur in your
code though, it doesn't make sense.
Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.

Nov 21 '05 #3

P: n/a
Mattais,

This is the actual exception that caused me to debug the application:

An unhandled exception of type 'System.Runtime.InteropServices.COMException'
occurred in
WebClient.exe

Additional information: Exception from HRESULT: 0xC0000005.

This is the code:

colA = elmTD2.getElementsByTagName("A")
For Z = 0 To colA.length - 1
elmA = DirectCast(colA.item(Z), IHTMLElement)

It randomly throws this exception and I have no idea why. Do you see any way
to prevent it? Any help would be greatly apperciated.

Thanks,

Curtis
"Curtis" <cs*****@hotmail.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Mattis,

Thank you for the reply. Is that error associated with the debuggin an
application because at the time of the error I was degguging an error.

Thanks,
Curtis
"Mattias Sjögren" <ma********************@mvps.org> wrote in message
news:%2***************@TK2MSFTNGP15.phx.gbl...

&H80131313 is the error CORDBG_E_FUNC_EVAL_BAD_START_POINT, one from
the CLR debugging services family. No idea why it would occur in your
code though, it doesn't make sense.
Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.


Nov 21 '05 #4

P: n/a
Thank you for the reply. Is that error associated with the debuggin an
application because at the time of the error I was degguging an error.

Yes, it comes from the debugger. But I'm not sure why.

This is the code:

colA = elmTD2.getElementsByTagName("A")
For Z = 0 To colA.length - 1
elmA = DirectCast(colA.item(Z), IHTMLElement)

It randomly throws this exception and I have no idea why. Do you see any way
to prevent it? Any help would be greatly apperciated.


Not sure what causes this exceptuion either. Which statement exactly
in that code is it that throws?
Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Nov 21 '05 #5

P: n/a
Thanks for the reply. Its not also this exact line of code but it is usually
when I am calling sometime of getTagsByName function and moving it into a
IHtmlElementCollection. It makes no sense what so ever and is totally
random. This uses the MSHTML class which is access through Idispatch from
what i know. Is there a better class out there that is part of the .Net
framework that will make this process easier. I have spent a lot of time on
this project and written a lot of code using the MSHTML interface but if
their is something better than I should probably take a look a rewriting my
code. Any suggestions would be greatly apperciated.

colA = elmTD2.getElementsByTagName("A")

Thanks,
Curtis

"Mattias Sjögren" <ma********************@mvps.org> wrote in message
news:u7**************@TK2MSFTNGP12.phx.gbl...
Thank you for the reply. Is that error associated with the debuggin an
application because at the time of the error I was degguging an error.


Yes, it comes from the debugger. But I'm not sure why.

This is the code:

colA = elmTD2.getElementsByTagName("A")
For Z = 0 To colA.length - 1
elmA = DirectCast(colA.item(Z), IHTMLElement)

It randomly throws this exception and I have no idea why. Do you see any
way
to prevent it? Any help would be greatly apperciated.


Not sure what causes this exceptuion either. Which statement exactly
in that code is it that throws?
Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.

Nov 21 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.