"Index was outside the bounds of the array" - Writes to file, but won't get line

  • Автор темы Автор темы JackedUp
  • Дата начала Дата начала

JackedUp

Client
Регистрация
27.06.2012
Сообщения
32
Реакции
1
Баллы
8
Working on a template for bloghi.com/blog/reg

After submitting standard captcha, a new captcha appears with javascript in a text box. My template grabs the code successfully, writes it to file, pauses, then tries to get line from the file for input into text box, but it gives me the error message "Index was outside the bounds of the array" when trying to get line from the file.

The file names match, so I don't understand why it won't pull the data from file. The file starts out empty, has code written to file, but then can't load it.

What am I doing wrong here? Thanks.

bloghi-captcha.PNG
 
Index was outside the bounds of the array <=== This error mostly means you do not have information to take from text file...

I understand that, but when running it through debugger I can see that it does get written to file, but for some reason it fails to pull the data after writing it to file.
 
Why you need to load data that you just saved?
 
I hope it wasn't sarcasm :))
 
I understand that, but when running it through debugger I can see that it does get written to file, but for some reason it fails to pull the data after writing it to file.

Check file names in step where you trying to get data from file. If it is right then it is weird. You should send your project to support.
 

Кто просматривает тему: (Всего: 0, Пользователи: 0, Гости: 0)