Stream Read Error

TeeChart for ActiveX, COM and ASP
Post Reply
Andrew FT
Newbie
Newbie
Posts: 32
Joined: Thu Mar 31, 2005 5:00 am
Location: Toronto, Canada

Stream Read Error

Post by Andrew FT » Fri Oct 20, 2006 1:07 am

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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Oct 20, 2006 7:34 am

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Oct 24, 2006 10:34 am

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?
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Andrew FT
Newbie
Newbie
Posts: 32
Joined: Thu Mar 31, 2005 5:00 am
Location: Toronto, Canada

Stream read error

Post by Andrew FT » Tue Oct 24, 2006 4:29 pm

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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Oct 24, 2006 4:33 pm

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply