Page 1 of 1

Catastrophic Failure

Posted: Fri Aug 10, 2007 6:14 am
by 9524848
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

Posted: Fri Aug 10, 2007 7:49 am
by 9348258
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

Posted: Fri Aug 10, 2007 9:16 am
by 9524848
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

Posted: Fri Aug 10, 2007 9:26 am
by 9348258
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!

uploaded the sample applcn which has error

Posted: Fri Aug 10, 2007 10:29 am
by 9524848
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

waiting for your reply

Posted: Fri Aug 10, 2007 11:36 am
by 9524848
Please send me the reply ASAP, as I have to solve this issue in prod.

Waiting for your reply,


Regards
kiran

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

same error

Posted: Mon Aug 13, 2007 5:47 am
by 9524848
hi,

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

regards
kiran

Posted: Mon Aug 13, 2007 7:21 am
by narcis
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.