Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > Other ASP.NET > ASP.NET 1.x and 2.0 Application Design
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
ASP.NET 1.x and 2.0 Application Design Application design with ASP.NET 1.0, 1.1, and 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.x and 2.0 Application Design section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 25th, 2005, 02:07 AM
Registered User
Join Date: Jan 2005
Location: Gurgaon, Haryana, India.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default QueryInterface for interface failed problem

Hello to All
I am the new one, i need help

basically i am using ChartFX.dll and i have created a class with chart setting function and calling it from load event of page it displaying following error:

QueryInterface for interface ChartfxLib.IChartFX failed.
My code is:

public class CChartView
protected ChartFX m_Chart;
public CChartView()
// TODO: Add constructor logic here
public void ChartSettings()
m_Chart = new ChartFX();

//Back Color
Color clr = Color.FromArgb(0,0,234);
m_Chart.RGBBk = (uint)clr.ToArgb();

//Chart Title
m_Chart.set_Title(ChartfxLib.CfxTitle.CHART_TOPTIT ,"GeoMos NetViwer

Chart Demo" );

//Axis Range setting AXIS_Y

m_Chart.Axis[CfxAxisIndex.AXIS_Y].Min =0;
m_Chart.Axis[CfxAxisIndex.AXIS_Y].Max =50;
m_Chart.Axis[CfxAxisIndex.AXIS_Y].STEP =10;





//Calling from
public class WebForm1 : System.Web.UI.Page
        protected ChartDemo.ChartView m_Chart;
        private void Page_Load(object sender, System.EventArgs e)
            // Put user code to initialize the page here
            m_Chart = new ChartDemo.ChartView();
Please anyone help to resolve this error:
"QueryInterface for interface ChartfxLib.IChartFX failed."
Birendra :(
(Delhi - India)

  #2 (permalink)  
Old December 16th, 2005, 02:49 PM
Registered User
Join Date: Sep 2005
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

Not sure if this will help, but we were having the same problem. Turned out to be a corrupt dll. It was an internal com component, so we rebuilt it and redeployed.

This was based on searching on the same problem and the answers were all either reinstall the application or check security.


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem With RSA Interface Floetic Java GUI 1 March 25th, 2008 06:14 AM
Problem With Implementing an Interface brettk_1 General .NET 1 February 28th, 2007 11:47 AM
QueryInterface for interface ActiveX.DLL soccers_guy10 Pro VB.NET 2002/2003 2 December 16th, 2004 12:31 AM
QueryInterface failure druid2112 General .NET 0 June 28th, 2004 10:43 AM
Interface IPrincipal Problem nightsun BOOK: ASP.NET Website Programming Problem-Design-Solution 1 December 1st, 2003 06:44 PM

All times are GMT -4. The time now is 04:05 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.