0
Views
4
Comments
Error running timer while processing large file
Question
Hi,

I'm trying to import information from a file with 331k lines. As the file size is about 20mb, I'm uploading the file in a Web Screen and waking a timer to process the file.
The file is a txt file with comma separated values.

But, every runs stops at a random time with the following error:

System.InvalidOperationException: Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'.
The request failed with the error message:

I already checked other posts and I'm stuck.

Thank you,
Tiago Santos
2014-02-13 10-06-38
Ricardo Silva
have you tried debugging the timer with "Break on All Errors" to see if any error is being thrown ?
2012-03-16 12-21-09
João Rosado
Staff
Hi Tiago,

Maybe just a wild guess,  but I would say that there is an Antivirus closing connections in your server.


Regards,
João Rosado
UserImage.jpg
Tiago Santos
Hi,

Thank you for your help. 

There is no antivirus installed on server. I'll try Ricardo Silva approach and give feedback.

Thank you,
Tiago

edit: Service Studio only indicates that it has stopped the debug session. It can take 5 min to break or 2 hours.
2012-06-12 22-20-42
Harry Marrenga
Increase the timeout of the timer? 
Increase the priority of the timer?
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.