Unhandled Exception in c#

Posted by nightcoder1 on Stack Overflow See other posts from Stack Overflow or by nightcoder1
Published on 2010-04-11T17:41:08Z Indexed on 2010/04/11 17:43 UTC
Read the original article Hit count: 352

Filed under:
|

Hello i am currently trying to run a web crawler through the terminal. it compiles fine and the debug does not find any errors, however i get the following error which i do not understand. any ideas on how to get rid of this error would be much appreciated

Unhandled Exception: System.ArgumentOutOfRangeException: startIndex + length > this.length
Parameter name: length
at System.String.Substring (Int32 startIndex, Int32 length) [0x00000]
at OpenWebSpiderCS.mysql.executeSQLQuery (System.String SQL) [0x00000]
at OpenWebSpiderCS.db.startIndexThisSite (OpenWebSpiderCS.page p) [0x00000]
at OpenWebSpiderCS.ows.startCrawling () [0x00000]
at OpenWebSpiderCS.mainClass.Main (System.String[] args) [0x00000] 

thank you

© Stack Overflow or respective owner

Related posts about c#

Related posts about exception-handling