• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 418
  • Last Modified:

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


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.
  • 2
1 Solution
Bob LearnedCommented:
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.
Codeaddict7423Author Commented:

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.)
Bob LearnedCommented:
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)
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now