Unable to reference System.Web.UI.DataVisualization.Charting; - asp.net

I need to create a Pie Chart. I am getting the error as The type name 'Charting' does not exist in the type 'System.Web.UI.DataVisualization'.
I am not able to find System.Web.UI.DataVisualization.Charting in the references.
Can someone help me please.

Click on Add References in your project and in the .NET Components tab add the System.Web.DataVisualization dll. This should solve your problem.

Related

Xamarin.Forms : Error CS1704 An assembly with the same simple name 'ReactiveUI' has already been imported. Try removing one of the references

Error CS1704 An assembly with the same simple name 'ReactiveUI' has already been imported. Try removing one of the references (e.g.
'C:\Users\LOGESH
PALANI.nuget\packages\reactiveui-core\7.0.0\lib\MonoAndroid403\ReactiveUI.dll')
or sign them to enable side-by-side. GetMobileNumber.Android
C:\Users\LOGESH
PALANI\source\repos\GetMobileNumber\GetMobileNumber\GetMobileNumber.Android\CSC"
So it looks like I can't read today!
The project had a reference to the Interop and a COM reference that generated the "same" interop. So there were two and I just didn't search very well. I still don't understand why it worked in other places but this did fix it.

Either 'GDI', 'WPF' or 'SILVERLIGHT' must be defined how to remove this error?

I have been working on a project in Visual Studio, C# language and I found an error described above. How can I remove this error?
"Either 'GDI', 'WPF' or 'SILVERLIGHT' must be defined"
Open the project properties for the project that throws the error (Alt+Enter in VS Solution Explorer), go to the Build tab and enter the symbol you want into the "Conditional compilation symbols" field. Enter one of the three values.
It seems the value got lost. I cannot tell you which value got lost. Check one of the other PDFsharp projects (I hope not all projects lost their symbols).

The type 'foo.Info.AgentDetails' exists in both 'foo.dll' and 'foo.dll'

In my asp.net web application, one of my page, I am storing a list of objects(List<AgentDetails>) to ViewState. After that when I try to get it back as (List<AgentDetails>)ViewState["ViewStateAgentDetails"], i gets an error like
The type 'foo.Info.AgentDetails' exists in both 'foo.dll' and 'foo.dll'
I can't understand what is happening here.
I got stuck with this issue.
Could anybody help me out of this?
Thanks in advance.
If i interpret it correctly from answer to my comment, i can see that there might be some other DLL , that can have different dll name says bar.dll, but ultimately has same namespace and class name. So to fix this , find that second DLL, and use extern or change namespace to solve this error.
More explanation - http://blogs.msdn.com/b/abhinaba/archive/2005/11/30/498278.aspx
How do you allow two DLL's with same namespace.class to exist in the same application?

Microsoft InfoPath Error? Cannot open

Just wondering if anyone can help me with an InfoPath problem I've got. I have a form that I am unable to open, originally displaying the message below.
The form definition (.xsf) file contains elements, attributes, or structures that are not valid.
Error details:
The keyref 'ruleSet_41' does not resolve to a key for the Identity Constraint '{http://schemas.microsoft.com/office/infopath/2003/solutionDefinition}ruleset_name_key'.
 
Line 1539, Position 3
--^
I have managed to clear this by removing ruleSet_41 from the manifest.xsf file but the message I am now receiving is shown below.
The following file is referenced in the .xsf file but is not part of the form: myschema.xsd
 
This is stopping me opening the form.
Does anyone have any ideas, anything would be much appreciated.
Many thanks, Jamie.
Remove the button that contains the RuleSetAction.
There would also look, open the file "myschema.xsd" will have been a reference to "ruleSet_41". Also delete it from the .xsd

IfxBulkCopy class doesn't exist?

Q:
I face the following problem.
I wanna to create an object from the following class IfxBulkCopy but it doesn't appear at all.
I do the following:
1- Add a reference IBM.Data.Informix .
2- Add using IBM.Data.Informix;
but in vain .
I search in the documentation and it exists .but i can't find it .
Please help .if there is a different version or some error i made?
I think you need the Common IDS .NET provider.
Basically there are two different providers that implement classes in the IBM.Data.Informix namespace.
More info here

Resources