Catastrophic Failure

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Roger
Newbie
Newbie
Posts: 23
Joined: Thu Nov 11, 2004 5:00 am
Location: Dallas

Catastrophic Failure

Post by Roger » Fri Aug 10, 2007 6:14 am

Hi,
I have installed tee chart and tried displaying graphs in asp.net application. it is giving a error called "Catastrophic failure". Please help me.

And also these graphs are also not getting displayed in IE 7. Is there any solution or any patch to be installed?

Waiting for help ASAP.


Regards
kiran

Edu
Advanced
Posts: 206
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia

Post by Edu » Fri Aug 10, 2007 7:49 am

Hi Roger

Could you please read the Tutorial 9 "ASP.NET Applications"? You'll find it at TeeChart's program group. Does this issue happen also in the ASP.NET demo? You'll find it at TeeChart's program group. If the problem persist could you please send us a simple example project we can run "as-is" to reproduce the issue here?

You can post your files either at [url]news://www.steema.net/steema.public.attachments[/url] newsgroup or at our upload page

Please let us know when you have posted the sample project.

Thanks in advance
Best Regards,
Edu

Steema Support Central
http://support.steema.com/

Roger
Newbie
Newbie
Posts: 23
Joined: Thu Nov 11, 2004 5:00 am
Location: Dallas

Post by Roger » Fri Aug 10, 2007 9:16 am

Hi,

Thanks for replying as I was waiting for your reply.whenever the Importfromfile(string name) is called, I get the above error. I cant upload the application as it has confidential data, if you can give the possibilities of the error it will be helpfull for me or any instructions to check for,

Thanks

Edu
Advanced
Posts: 206
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia

Post by Edu » Fri Aug 10, 2007 9:26 am

Hi Roger,

There's no need that you sent your production application. Would you be so kind to arrange a simple example project we can run "as-is" to reproduce the problem here?

Thanks in advance!
Best Regards,
Edu

Steema Support Central
http://support.steema.com/

Roger
Newbie
Newbie
Posts: 23
Joined: Thu Nov 11, 2004 5:00 am
Location: Dallas

uploaded the sample applcn which has error

Post by Roger » Fri Aug 10, 2007 10:29 am

Hi, I have uploaded the sample asp.net application in the upload page ,which has the sample graphs in the the folder itself which I tried displaying in the webform1.aspx page. I'm getting the same catastrophic failure. Please let me know why i'm getting this error and what can be the solution ASAP.

I had also placed the dll file which I had used for reference.

Steps:
1.extract the file
2.Pls create Virtual dir and execute the applcn

Roger
Newbie
Newbie
Posts: 23
Joined: Thu Nov 11, 2004 5:00 am
Location: Dallas

waiting for your reply

Post by Roger » Fri Aug 10, 2007 11:36 am

Please send me the reply ASAP, as I have to solve this issue in prod.

Waiting for your reply,


Regards
kiran

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 Aug 10, 2007 12:19 pm

Hi kiran,

Thanks for the example.

The error message you got was because the file name was incorrect. You should load the .tee file included with the example, not the .gif file.

However, TeeChart ActiveX can not be used that way in ASP.NET pages. You should either manually create the control and add it to the ASP.NET page or you can achieve what you want adding the script below at the HEAD section in WebForm1.aspx.

Code: Select all

		<script LANGUAGE="VBScript">		
			Sub Window_Onload()
				Form1.TChart1.Import.LoadFromFile("C:\Inetpub\wwwroot\testteechart\200788122649481678555007.tee")
			end sub
		</script>
You'll also find an example of this usage at C:\Program Files\Steema Software\TeeChart Pro v7 ActiveX Control\Examples\Visual Studio .NET\VBWebForm
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

Roger
Newbie
Newbie
Posts: 23
Joined: Thu Nov 11, 2004 5:00 am
Location: Dallas

same error

Post by Roger » Mon Aug 13, 2007 5:47 am

hi,

i have even tried to import the tee file, but end up getting the same error,

regards
kiran

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

Post by Narcís » Mon Aug 13, 2007 7:21 am

Hi kiran,

GIF files can not be imported into a TeeChart component unless they are used as an image for the chart's background or something similar. The method you mentioned imports .tee files and that's what you should try importing with it. Have you added the script as we suggested? Could you please check that the file path is correct at your end?

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

Post Reply