Forms Data Controls :: Unrecognized Namespace System.Web.UI.DataVisualization.Charting?
Feb 10, 2011
I'm getting a warning in my page directives saying that this namespaceystem.Web.UI.DataVisualization.Charting isn't found. I went to add a reference to the project so I could import the namespace and this namespace does not exist in the .NET tab. What do I need to do to get this working? Also, even if I add this to my Global Assembly Cache, that won't do anything for the web host web server that my website is publically on.Any guidance on this? How to get it on my local machine as well as understanding that it'll work on the actual web server?
View 5 Replies
Similar Messages:
Nov 11, 2010
I have a report like page which displays a gridview and a chart created from .Web.UI.DataVisualization.Charting which I want to convert to pdf. Currently I am using iTextSharp which in my opinion is really great. I managed to create the table in the pdf but cannot find a way how to display the chart as well.
View 1 Replies
Oct 22, 2010
I'm using MonoDevelop on Mac OS X Snow Leopard to develop an ASP.NET MVC Application. I have tested it on Visual Studio 2008 on Windows 7 and it worked fine, but when compiling it on MonoDevelop it throws the error: The type or namespace name 'Objects' does not exist in the namespace 'System.Data' under this line: public partial class MoviesDBEntities : global::System.Data.Objects.ObjectContext
View 1 Replies
Jan 11, 2011
I am getting a strange error over one site vs another. I have created a chart web site that works, but now I'm moving that code into an existing website. I'm getting this error (see title) and cannot figure out why. The references are the same and I have the using directives the same (as far as I can tell). I'm stumped.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.DataVisualization.Charting;
using System.Data.SqlClient;
using System.Drawing;
using System.Data;
...
Charting.Title vbTitle = new Charting.Title( ddlSchool.SelectedItem.Text.ToString() + " Logins per Hour" );
...
View 7 Replies
Aug 4, 2010
I am having problems getting Microsoft Charting:
System.Web.DataVisualization.dll
To work in the Medium Trust on Windows Server 2008 on IIS 7 Using .Net 3.5 In an environment at Rackspace on their Cloud Sites. I get this error message from the Rackspace hosting environment:
Security Exception
Description:
The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.
Exception Details:
System.Security.SecurityException: That assembly does not allow partially trusted callers. I have setup a site in our local staging environment to test the medium trust, and I get this message: Required permissions cannot be acquired.
Description:
An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details:
System.Security.Policy.PolicyException: Required permissions cannot be acquired.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[PolicyException: Required permissions cannot be acquired.]
System.Security.SecurityManager.ResolvePolicy(Evidence evidence, PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset, PermissionSet& denied, Boolean checkExecutionPermission) +10239406
System.Security.SecurityManager.ResolvePolicy(Evidence evidence, PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset, PermissionSet& denied, Int32& securitySpecialFlags, Boolean checkExecutionPermission) +97
[FileLoadException: Could not load file or assembly 'System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)]
System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +416
System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +166
System.Reflection.Assembly.Load(String assemblyString) +35
System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +190
[ConfigurationErrorsException: Could not load file or assembly 'System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)]
System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +11204104
System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +388
System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +232
System.Web.Configuration.AssemblyInfo.get_AssemblyInternal() +48
System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +210
System.Web.Compilation.BuildProvidersCompiler..ctor(VirtualPath configPath, Boolean supportLocalization, String outputAssemblyName) +76
System.Web.Compilation.ApplicationBuildProvider.GetGlobalAsaxBuildResult(Boolean isPrecompiledApp) +283
System.Web.Compilation.BuildManager.CompileGlobalAsax() +50
System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +676
[HttpException (0x80004005): Could not load file or assembly 'System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)]
System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +76
System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +1012
System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters) +1025
[HttpException (0x80004005): Could not load file or assembly 'System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +11297830
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +88
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +4336948
Version Information: Microsoft .NET Framework Version:2.0.50727.4200; ASP.NET Version:2.0.50727.4016
Rackspace will not install the MSChart.exe package on the Rackspace Cloud Sites servers.
View 1 Replies
Mar 4, 2010
I installed Cahrt control of ASP:Net and It works fine on local. I made neccessary changes on web.config but When I deploy it to my site I am getting the error ! It says as below;
Server Error in '/' Application.
Parser Error
Description:An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not load file or assembly 'System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
Source Error:
[Code]....
View 4 Replies
May 7, 2010
I am getting this compilation error"
All my pages are receiving this error - website is down; here's the code:
[Code]....
Except my web config file shows linq is accounted for? [Code]....
I would note that I updated to VWD Express 2010 then had to revert back to 3.5 because my host at Arvixe had not updated my server yet. He then said he updated it and I reverted up to 4.0 again. It turned out he hadn't and I tried to revert back...and then this showed up and numerous other errors.
View 2 Replies
Apr 19, 2010
i get the following error when trying to compile my asp.net site after updating the project from vs2008 to vs2010The type or namespace name 'Syndication' does not exist in the namespace 'System.ServiceModel' (are you missing an assembly reference?)I have the asp.net site targeting 3.5 framework (as it did in vs2008)I also added a reference to System.ServiceModel.Web
View 3 Replies
Sep 9, 2010
I have a ASMX web service. When I access it from a client the ASMX get compiled but I get this error:
Looking at csc.exe command line from the error detail the System.Windows.Forms asseembly is not referenced.
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0234: The type or namespace name 'Windows' does not exist in the namespace 'System' (are you missing an assembly reference?)
Source Error:
Line 3: using System.ComponentModel;
Line 4: using System.Drawing;
Line 5: using System.Windows.Forms;
Line 6: using System.Xml;
Line 7: using Idp.Core.Configuration;
View 1 Replies
Sep 2, 2010
I uploaded my website to the server, and I have there a working with wcf - it should be fw 3.5I saw that fw 3.5 is installed on the server and also we have re fw 3.0 sp1.I run my website : www.qenglishcenter.comand I'm getting an error : The type or namespace name 'Linq' does not exist in the namespace 'System' (are you missing an assembly reference?)shouldn't System.linq be already existed ?
View 2 Replies
Sep 17, 2010
Is this possible? To display a value in a legend. Here is my code:
[Code]....
View 1 Replies
May 12, 2010
As you see above , we have more data in pie chart to plot and hence 3 DOTS appear at right bottom. Hence user cant see all the legends.Is it possible to have.say a tooltip on 3 DOTS so that when an user hovers,he sees entire / remaining legend list?
View 5 Replies
Jul 16, 2010
i doing one application.That is grid binding .i got this error
System.Web.Mvc.HtmlHelper<object>' does not contain a definition for 'GridView' and the best extension method overload 'MvcApplication2.Code.GridViewExtensions.GridView<T>(System.Web.Mvc.HtmlHelper, MvcApplication2.Code.GridViewData<T>, System.Action<MvcApplication2.Code.GridViewData<T>>, System.Action<T,string>, string, string, System.Action<T>, System.Action<MvcApplication2.Code.GridViewData<T>>)'
how to find this solution and how to change System.Web.Mvc.ViewPage to System.Web.Mvc.ViewPage<Model>
View 1 Replies
Jul 17, 2010
Any body worked with MS Charting control for VS 2008.
I am using the chart control to displaying marks secured by students in different exams.
Series of the chart can be dynamically generated.
View 1 Replies
Jun 30, 2010
I am looking for a charting tool to generate charts in my ASP.Net page which will allow me to customize the charts to a great extent like changing the background of chart, specfying custom x and y axis and much more.Moreover, another major requirement is that the chart should be interactive enough. I would like to select data points on my chart, select a range of data points on charts by making a selction with mouse clicks and use these selections for further processing.
View 2 Replies
Mar 15, 2010
I am plotting a chart using charting control. The x-values are text values and y values are date values.
If there is same text multiple times, then the plotted chart has multiple bars of same value. I want the values for the same text to be on the same bar.
View 2 Replies
Jan 19, 2010
I am making a chart on a asp.net page (visual studio 2010). I am "summing" time. As long as the sum is not more than 24hours, all goes well. But if the sum is bigger than 24hours, then I get a "Not a legal Oleaut date" error.
This is my code (simplified) :
Chart1.DataBindCrossTable(_dataset._table.AsEnumerable(), "factor",
"week",
"time",
"");
Chart1.Series[0].YValueType =
ChartValueType.Time;
duurhhmm is a DateTime field. "factor" and "week" are my groupings for the x-axis.
first question : what to do about the "not a legal oleaut date" ?
second question : on the axis I see 00:00,06:00, 12:00,18:00 and then again 00:00,06:00, etc... But I would like to have 24:00, 30:00.
View 2 Replies
Mar 8, 2011
[URL]
i m not able to download the
Built-in Charting Controls (VS 2010 and .NET 4 Series)
View 3 Replies
Mar 3, 2011
i´m creating a webpage as a project to school. In this project i´m dynamically adding data to Placeholder (PH1). Is possible to send all the content from PH1 by using namespace System.Net.Mail?
View 2 Replies
May 29, 2010
in mscorlib.dll assembly with "System" namespace present ,why it was necessery to take the same name "System" for a assembly System.dll ? Is there any relation in choosing the same name ?
View 7 Replies
Jul 19, 2010
I have the charting working very basic. I would like to learn how to use the control more fully. I find the system to be totally inadequate.
View 7 Replies
Jan 3, 2010
i am facing a problem in theme and skin.
when i am trying this in skin
<asp:TextBox runat="server" BackColor="#BFDFFF" BorderColor="Black"></asp:TextBox>
<asp:DropDownList runat="server" BackColor="#BFDFFF"> </asp:DropDownList>
<asp:Button runat="server" BackColor="#BFDFFF" BorderColor="Black" />
<asp:GridView runat="server" AllowPaging="True"
AutoGenerateColumns="False" Width="100%">
<RowStyle BackColor="#BFDFFF" ForeColor="Black" />
<SelectedRowStyle BackColor="#FFFF99" />
<HeaderStyle BackColor="#666666" />
<AlternatingRowStyle BackColor="Silver" />
</asp:GridView>
<asp:DataList runat="server" Width="100%" RepeatColumns="3">
<ItemStyle BackColor="#BFDFFF" ForeColor="Black" Width="90%" />
<AlternatingItemStyle BackColor="Silver" />
<HeaderStyle BackColor="#666666" />
</asp:DataList>
and < pages theme="BlueTheme" runat="Server"/>
then this error comes .
Error1 'XElement'is ambiguous in the namespace 'System.Xml.Linq'.InternalXmlHelper.vb
View 7 Replies
Feb 15, 2011
When i writing: "System.W...", the intellisence isn't show me "System.Web" why?
View 4 Replies
Mar 19, 2010
This may seem like a really simple question, but can I use the System.Threading namespace in ASP.NET web forms? I have a web page which uses HTTP GET/POST to gather page customisations (title, subtitle, etc.) from the user and numerical input which is passed to a ASMX web service. Currently they work sequentially, the customisation first followed by numerical processing. So can I use threading to do this?
View 3 Replies
Aug 12, 2010
I am using MS Chart control (3.5), and have a requirement where I need to display 2 pie charts. The datapoints for the pie charts is set programatically. My doubts are as follows:
1. Can I display both the pie charts in a single chart control and area, or do I have to use two controls? (Currently I am using two controls)
2. How can I maintain the same size for both the pie charts? This is my main concern, since the pie sizes keep changing, depending on the number of datapoints. I tried using custom properties like "MinimumRelativePieSize", but it's not working.
View 1 Replies