User (Legacy) Posted June 24, 2002 Report Share Posted June 24, 2002 I am trying to use chartFX on ColdFusion MX Server. I have been running ChartFX on ColdFusion 4.5 on my production server for 1 1/2 years. I am trying to upgrade the server to CFMX but the COM will no longer work. CFMX is not recognizing any of the methods and properties. I have tried recoded it to use the newly updated nested objects but still nothing. Below are a couple of samples and the errors that go along with them. Any ideas? SAMPLE CODE: <!--- Create the ChartFX Server Object ---> <CFOBJECT ACTION="Create" NAME="Chart" CLASS="ChartFX.WebServer"> <!--- Set the UserAgent property to allow browser detection ---> <CFSET Chart.UserAgent=#HTTP_USER_AGENT# > ERROR MESSAGE #1: The cause of this exception was that: AutomationException: 0x80020003 - Member not found.. The Error Occurred in C:\Inetpub\wwwroot\timber\QCAudits\sample.cfm: line 15 13 : 14 : <!--- Set the UserAgent property to allow browser detection ---> 15 : <CFSET Chart.UserAgent=#HTTP_USER_AGENT# > SAMPLE CODE #2: <CFOBJECT ACTION="Create" NAME="Chart" CLASS="ChartFX.WebServer"> <CFSET Axis=Chart.GetArrayProp("Item",AXIS_Y,Chart.Axis)> <CFSET Font = Axis.Font> <CFSET Font.Name = "Courier New"> <CFSET Font.Size = 8> <CFSET Font.Bold = True> ERROR MESSAGE #2: An exception occurred during method selection process for Method NAME The cause of this exception was that there are no methods with the the specified method name and argument types. Please check your function and try again. The Error Occurred in C:\Inetpub\wwwroot\timber\QCAudits\sample.cfm: line 27 25 : <CFSET Axis=Chart.GetArrayProp("Item",AXIS_Y,Chart.Axis)> 26 : <CFSET Font = Axis.Font> 27 : <CFSET Font.Name = "Courier New"> 28 : <CFSET Font.Size = 8> 29 : <CFSET Font.Bold = True> Link to comment Share on other sites More sharing options...
User (Legacy) Posted July 10, 2002 Author Report Share Posted July 10, 2002 I have had similar problems with MX. In fact, it looks like a lot of COM object interactions are screwed up in MX. I think this is most likely a Macromedia problem instead of a softwarefx problem. It looks like Macromedia has totally botched COM object integration in ColdFusion MX. Chris Denslow "Tony Gray" <tony.gray@attbi.com> wrote in message news:CETfAR5GCHA.2696@webserver1.softwarefx.com... > I am trying to use chartFX on ColdFusion MX Server. I have been running > ChartFX on ColdFusion 4.5 on my production server for 1 1/2 years. I am > trying to upgrade the server to CFMX but the COM will no longer work. CFMX > is not recognizing any of the methods and properties. I have tried recoded > it to use the newly updated nested objects but still nothing. Below are a > couple of samples and the errors that go along with them. Any ideas? > > > SAMPLE CODE: > <!--- Create the ChartFX Server Object ---> > <CFOBJECT ACTION="Create" NAME="Chart" CLASS="ChartFX.WebServer"> > > <!--- Set the UserAgent property to allow browser detection ---> > <CFSET Chart.UserAgent=#HTTP_USER_AGENT# > > > > ERROR MESSAGE #1: > The cause of this exception was that: AutomationException: 0x80020003 - > Member not found.. > The Error Occurred in C:\Inetpub\wwwroot\timber\QCAudits\sample.cfm: line 15 > > 13 : > 14 : <!--- Set the UserAgent property to allow browser detection ---> > 15 : <CFSET Chart.UserAgent=#HTTP_USER_AGENT# > > > > SAMPLE CODE #2: > <CFOBJECT ACTION="Create" NAME="Chart" CLASS="ChartFX.WebServer"> > > <CFSET Axis=Chart.GetArrayProp("Item",AXIS_Y,Chart.Axis)> > <CFSET Font = Axis.Font> > <CFSET Font.Name = "Courier New"> > <CFSET Font.Size = 8> > <CFSET Font.Bold = True> > > > ERROR MESSAGE #2: > An exception occurred during method selection process for Method NAME The > cause of this exception was that there are no methods with the the specified > method name and argument types. > Please check your function and try again. > > The Error Occurred in C:\Inetpub\wwwroot\timber\QCAudits\sample.cfm: line 27 > > 25 : <CFSET Axis=Chart.GetArrayProp("Item",AXIS_Y,Chart.Axis)> > 26 : <CFSET Font = Axis.Font> > 27 : <CFSET Font.Name = "Courier New"> > 28 : <CFSET Font.Size = 8> > 29 : <CFSET Font.Bold = True> > > Link to comment Share on other sites More sharing options...
Software FX Posted July 24, 2002 Report Share Posted July 24, 2002 Hello, I have done a few tests with ChartFX Internet 5.5 and ColdFusion MX and they seemed fine except for the font object. I received the same error as you but this is something that could very well be fixed by the next service pack of ColdFusion. Page that I used to test with. <CFOBJECT TYPE="COM" NAME="Chart" CLASS="ChartFX.WebServer" ACTION="CREATE"> <!---<CFSET Chart.UserAgent=#HTTP_USER_AGENT#>---> <!--- The samples look better in white ---> <CFSET Chart.RgbBk=16777215 > <CFSET Chart.Chart3D=False> <CFSET Chart.Gallery=6> <!---Open Communications channel for two series and 8 points---> <CFSET Chart.OpenDataEx(1,2,8)> <!---First data series---> <CFSET Chart.ThisSerie=0> <CFSET Chart.SetArrayProp("Value",0,10)> <CFSET Chart.SetArrayProp("Value",1,14)> <CFSET Chart.SetArrayProp("Value",2,12)> <CFSET Chart.SetArrayProp("Value",3,16)> <CFSET Chart.SetArrayProp("Value",4,8)> <CFSET Chart.SetArrayProp("Value",5,6)> <CFSET Chart.SetArrayProp("Value",6,22)> <CFSET Chart.SetArrayProp("Value",7,24)> <!---Second data series---> <CFSET Chart.ThisSerie=1> <CFSET Chart.SetArrayProp("Value",0,32)> <CFSET Chart.SetArrayProp("Value",1,15)> <CFSET Chart.SetArrayProp("Value",2,8)> <CFSET Chart.SetArrayProp("Value",3,24)> <CFSET Chart.SetArrayProp("Value",4,22)> <CFSET Chart.SetArrayProp("Value",5,16)> <CFSET Chart.SetArrayProp("Value",6,6)> <CFSET Chart.SetArrayProp("Value",7,27)> <!---Close the communications channel---> <CFSET Chart.CloseData(1)> <CFSET Chart.SetArrayProp("Title",2,"Chart Title")> <!--- The next line will generate the HTML tag ---> <CFOUTPUT> #Chart.GetHtmlTag("300","300","Auto")# </CFOUTPUT> If you find any other issues besides the Font Object then please let us know. Justin Trask Tech. Support 561-392-2023 "Tony Gray" <tony.gray@attbi.com> wrote in message news:CETfAR5GCHA.2696@webserver1.softwarefx.com... > I am trying to use chartFX on ColdFusion MX Server. I have been running > ChartFX on ColdFusion 4.5 on my production server for 1 1/2 years. I am > trying to upgrade the server to CFMX but the COM will no longer work. CFMX > is not recognizing any of the methods and properties. I have tried recoded > it to use the newly updated nested objects but still nothing. Below are a > couple of samples and the errors that go along with them. Any ideas? > > > SAMPLE CODE: > <!--- Create the ChartFX Server Object ---> > <CFOBJECT ACTION="Create" NAME="Chart" CLASS="ChartFX.WebServer"> > > <!--- Set the UserAgent property to allow browser detection ---> > <CFSET Chart.UserAgent=#HTTP_USER_AGENT# > > > > ERROR MESSAGE #1: > The cause of this exception was that: AutomationException: 0x80020003 - > Member not found.. > The Error Occurred in C:\Inetpub\wwwroot\timber\QCAudits\sample.cfm: line 15 > > 13 : > 14 : <!--- Set the UserAgent property to allow browser detection ---> > 15 : <CFSET Chart.UserAgent=#HTTP_USER_AGENT# > > > > SAMPLE CODE #2: > <CFOBJECT ACTION="Create" NAME="Chart" CLASS="ChartFX.WebServer"> > > <CFSET Axis=Chart.GetArrayProp("Item",AXIS_Y,Chart.Axis)> > <CFSET Font = Axis.Font> > <CFSET Font.Name = "Courier New"> > <CFSET Font.Size = 8> > <CFSET Font.Bold = True> > > > ERROR MESSAGE #2: > An exception occurred during method selection process for Method NAME The > cause of this exception was that there are no methods with the the specified > method name and argument types. > Please check your function and try again. > > The Error Occurred in C:\Inetpub\wwwroot\timber\QCAudits\sample.cfm: line 27 > > 25 : <CFSET Axis=Chart.GetArrayProp("Item",AXIS_Y,Chart.Axis)> > 26 : <CFSET Font = Axis.Font> > 27 : <CFSET Font.Name = "Courier New"> > 28 : <CFSET Font.Size = 8> > 29 : <CFSET Font.Bold = True> > > Link to comment Share on other sites More sharing options...
Software FX Posted September 10, 2002 Report Share Posted September 10, 2002 Hello, You can set the font for the various titles with the following syntax. <CFSET Font=Chart.SetArrayProp("Fonts",CHART_TOPFT,CF_Times + CF_BOLD + 14)> Please refer to the Fonts property for a list of all of the various settings. JT Tech. Support 561-392-2023 "Tony Gray" <tony.gray@attbi.com> wrote in message news:CETfAR5GCHA.2696@webserver1.softwarefx.com... > I am trying to use chartFX on ColdFusion MX Server. I have been running > ChartFX on ColdFusion 4.5 on my production server for 1 1/2 years. I am > trying to upgrade the server to CFMX but the COM will no longer work. CFMX > is not recognizing any of the methods and properties. I have tried recoded > it to use the newly updated nested objects but still nothing. Below are a > couple of samples and the errors that go along with them. Any ideas? > > > SAMPLE CODE: > <!--- Create the ChartFX Server Object ---> > <CFOBJECT ACTION="Create" NAME="Chart" CLASS="ChartFX.WebServer"> > > <!--- Set the UserAgent property to allow browser detection ---> > <CFSET Chart.UserAgent=#HTTP_USER_AGENT# > > > > ERROR MESSAGE #1: > The cause of this exception was that: AutomationException: 0x80020003 - > Member not found.. > The Error Occurred in C:\Inetpub\wwwroot\timber\QCAudits\sample.cfm: line 15 > > 13 : > 14 : <!--- Set the UserAgent property to allow browser detection ---> > 15 : <CFSET Chart.UserAgent=#HTTP_USER_AGENT# > > > > SAMPLE CODE #2: > <CFOBJECT ACTION="Create" NAME="Chart" CLASS="ChartFX.WebServer"> > > <CFSET Axis=Chart.GetArrayProp("Item",AXIS_Y,Chart.Axis)> > <CFSET Font = Axis.Font> > <CFSET Font.Name = "Courier New"> > <CFSET Font.Size = 8> > <CFSET Font.Bold = True> > > > ERROR MESSAGE #2: > An exception occurred during method selection process for Method NAME The > cause of this exception was that there are no methods with the the specified > method name and argument types. > Please check your function and try again. > > The Error Occurred in C:\Inetpub\wwwroot\timber\QCAudits\sample.cfm: line 27 > > 25 : <CFSET Axis=Chart.GetArrayProp("Item",AXIS_Y,Chart.Axis)> > 26 : <CFSET Font = Axis.Font> > 27 : <CFSET Font.Name = "Courier New"> > 28 : <CFSET Font.Size = 8> > 29 : <CFSET Font.Bold = True> > > Link to comment Share on other sites More sharing options...
User (Legacy) Posted February 24, 2003 Author Report Share Posted February 24, 2003 I'm a newbie, so please bare w/me... I just installed ChartFX Internet on ColdFusion MX, I'm looking at replacing CFGraph w/ ChartFX. First of all, right off the bat... I ran the example that comes in the guide and could not get it to work. So I came here, to the newsgroup, I just ran the example code you posted here and no exceptions were thrown :-)... but, instead of an image I get a "broken image", you know, the one w/the red "x" on the top left... help, please? Thanks! Also, would this be a good place to look for support/samples regarding drill downs? My current web app drills down 3 levels. "SFX Tech Support" <support@softwarefx.com> wrote in message news:PlnTBPRWCHA.3136@webserver1.softwarefx.com... > Hello, > > You can set the font for the various titles with the following syntax. > <CFSET Font=Chart.SetArrayProp("Fonts",CHART_TOPFT,CF_Times + CF_BOLD + 14)> > > Please refer to the Fonts property for a list of all of the various > settings. > > JT > Tech. Support > 561-392-2023 > > > "Tony Gray" <tony.gray@attbi.com> wrote in message > news:CETfAR5GCHA.2696@webserver1.softwarefx.com... > > I am trying to use chartFX on ColdFusion MX Server. I have been running > > ChartFX on ColdFusion 4.5 on my production server for 1 1/2 years. I am > > trying to upgrade the server to CFMX but the COM will no longer work. CFMX > > is not recognizing any of the methods and properties. I have tried recoded > > it to use the newly updated nested objects but still nothing. Below are a > > couple of samples and the errors that go along with them. Any ideas? > > > > > > SAMPLE CODE: > > <!--- Create the ChartFX Server Object ---> > > <CFOBJECT ACTION="Create" NAME="Chart" CLASS="ChartFX.WebServer"> > > > > <!--- Set the UserAgent property to allow browser detection ---> > > <CFSET Chart.UserAgent=#HTTP_USER_AGENT# > > > > > > > ERROR MESSAGE #1: > > The cause of this exception was that: AutomationException: 0x80020003 - > > Member not found.. > > The Error Occurred in C:\Inetpub\wwwroot\timber\QCAudits\sample.cfm: line > 15 > > > > 13 : > > 14 : <!--- Set the UserAgent property to allow browser detection ---> > > 15 : <CFSET Chart.UserAgent=#HTTP_USER_AGENT# > > > > > > > SAMPLE CODE #2: > > <CFOBJECT ACTION="Create" NAME="Chart" CLASS="ChartFX.WebServer"> > > > > <CFSET Axis=Chart.GetArrayProp("Item",AXIS_Y,Chart.Axis)> > > <CFSET Font = Axis.Font> > > <CFSET Font.Name = "Courier New"> > > <CFSET Font.Size = 8> > > <CFSET Font.Bold = True> > > > > > > ERROR MESSAGE #2: > > An exception occurred during method selection process for Method NAME The > > cause of this exception was that there are no methods with the the > specified > > method name and argument types. > > Please check your function and try again. > > > > The Error Occurred in C:\Inetpub\wwwroot\timber\QCAudits\sample.cfm: line > 27 > > > > 25 : <CFSET Axis=Chart.GetArrayProp("Item",AXIS_Y,Chart.Axis)> > > 26 : <CFSET Font = Axis.Font> > > 27 : <CFSET Font.Name = "Courier New"> > > 28 : <CFSET Font.Size = 8> > > 29 : <CFSET Font.Bold = True> > > > > > > Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.