Solved

asp.net, C# Invalid FORMATETC structure when using MS Chart

Posted on 2012-04-12
3
402 Views
Last Modified: 2012-04-17
Hello,

I have an ASP.NET web content form where I have installed MSChart application.
I have also installed this MS CHart control in the toolbox,  however, when I attempt to drag this control on to a webcontent form, I get the following error msg:

"The operation could not be completed.  Invalid FORMATETC structure".

 I have attached a screnshot for more details.

I am researching the deletion of a * .suo files, but I can't seem to find this file in my project/solution.

ANY help would be greatly appreciated.
invalid-formatetc-structure.jpg
0
Comment
Question by:Codeaddict7423
  • 2
3 Comments
 
LVL 96

Expert Comment

by:Bob Learned
Comment Utility
What do you mean by "MS Chart"?  Are you talking about the old ActiveX control, or the new charting controls?

In order to see .suo files, you need to show hidden files in Windows Explorer.
0
 

Author Comment

by:Codeaddict7423
Comment Utility
TheLearnedOne,

Thank you for the quick reply.  I was referring to the MSChart control that allows developers to display tabular data in a graphic format (ie: line charts, bar charts, pie charts, etc.)
0
 
LVL 96

Accepted Solution

by:
Bob Learned earned 500 total points
Comment Utility
ASP.NET is multi-threaded, and the MSChart.ocx is an COM ActiveX control, which is single-threaded.  The two don't play well together.  Also, it looks like a web page is not a proper site for the ActiveX control.

I would look into proper charting components for ASP.NET.

Built-in Charting Controls (VS 2010 and .NET 4 Series)
http://weblogs.asp.net/scottgu/archive/2010/02/07/built-in-charting-controls-vs-2010-and-net-4-series.aspx
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

AJAX ModalPopupExtender has a required property "TargetControlID" which may seem to be very confusing to new users. It means the server control that will be extended by the ModalPopup, for instance, if when you click a button, a ModalPopup displays,…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now