Solved

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

Posted on 2012-04-12
3
410 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
ID: 37842530
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
ID: 37843398
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
ID: 37843680
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 Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article discusses the ASP.NET AJAX ModalPopupExtender control. In this article we will show how to use the ModalPopupExtender control, how to display/show/call the ASP.NET AJAX ModalPopupExtender control from javascript, how to show/display/cal…
In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

839 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