Page 1 of 1

Stream Read Error

Posted: Fri Oct 20, 2006 1:07 am
by 9526464
I get the following error in VB6 when trying to load a .tee chart file:

Run time error '-2147418113 (8000ffff)':
Error reading Series(0).Data: Stream read error

Here is the line of code that generates the error:

tchChart1.Import.LoadFromFile FileName


The .tee file was saved by the same VB6 app that is trying to open it.
I am using version ActiveX version 7.0.0.8.

The .tee file is approx 1MB. Can I send it in for diagnosis?

Thanks,
- James Ferguson

Posted: Fri Oct 20, 2006 7:34 am
by narcis
Hi James,

Yes please, post your files at news://www.steema.net/steema.public.attachments newsgroup. It would be also very helpful if you arrange an example project so that we can see how the chart on that .tee file is created.

Thanks in advance.

Posted: Tue Oct 24, 2006 10:34 am
by narcis
Hi James,

Thanks for the files. I could reproduce the problem here and imported fine with the second file you sent. Which are the differences between both files?

Stream read error

Posted: Tue Oct 24, 2006 4:29 pm
by 9526464
The only difference between the files is that the bad one was created on a client machine. The occurrence of bad exported .tee files is sporadic and I am unable to pinpoint a cause. I have updated the program to eliminate the possibility of a Stream write error upon export due to insufficient disk space.

Does the difference between the two files yield any clues?

Thanks
- James

Posted: Tue Oct 24, 2006 4:33 pm
by narcis
Hi corrwtch,

No, we should see how the files are created and be able to reproduce the issue in a consistent way. An example project showing this would be great.

However, you could try installing v7.0.1.2, which we posted at the client area last week, and check if this versions solve this issue.