Along with the above warning, I also get the following message: "This can occur if there is a compilation error in the WebSite, or the web.config file is missing."
Does anyone know what to do to resolve this warning? I do have a web.config file, and I'm just dropping an UltraChart on my Web Form. I am using VS Studio 2008 (VB) on Vista 32-bit business, and I just downloaded and installed the latest version of Infragistics yesterday (12-10-2008).
try viewing the markup for that .aspx page. you should find a line like <igchartprop:GradientEffect /> ... make sure it's not <Infragistics.UltraChart.Resources.Appearance.GradientEffect /> because that is an error that sometimes pops up.
you could also try removing that line entirely to work around the problem...
I do have the <igchartprop:GradientEffect /> line in the aspx page. I suppose I could remove the line, but I'm still wondering why I'm getting the warning, and what I need to do in order to resolve the issue at the source.
do you see the above line (or one like it) at the top of your page?
<%@ Register Tagprefix="igchartprop" Namespace="Infragistics.UltraChart.Resources.Appearance" Assembly="Infragistics2.WebUI.UltraWebChart.v8.3" />
I also changed the final two characters to be "%>" rather than "/>", and now I get the error, "Could not load assembly .... or one of its dependencies"
don't be uncomfortable ... it's just that the .aspx parser added in Visual Studio 2005 is not fully compatible with the chart's serialization, which takes objects from several namespaces and serializes them in collections. none of the basic ASP.NET controls do that, so Microsoft didn't design the parser to support this type of serialization... even though it has worked fine since Visual Studio 2002.
This is a warning, not an error. The compiled chart(s) do seem to use the gradient effect. If I remove the Gradient Effect property, then the warning goes away, but the chart(s) end up looking very bland (i.e., without the gradient functionality).
Again, everything works fine--it's just that I'm uncomfortable with the fact that I'm getting the warning.
I have the exact same problem. I create a new aspx page, drag a chart onto it, skip the wizard, and then when I compile I get the error mentioned above. The following references are inserted in the top of my page:
<%@ Register assembly="Infragistics35.WebUI.UltraWebChart.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" namespace="Infragistics.WebUI.UltraWebChart" tagprefix="igchart" %><%@ Register assembly="Infragistics35.WebUI.UltraWebChart.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" namespace="Infragistics.UltraChart.Resources.Appearance" tagprefix="igchartprop" %><%@ Register assembly="Infragistics35.WebUI.UltraWebChart.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" namespace="Infragistics.UltraChart.Data" tagprefix="igchartdata" %>
Result:
Warning 1 Element 'GradientEffect' is not a known element. This can occur if there is a compilation error in the Web site, or the web.config file is missing.
is this a compiler warning or an error? in other words, does it prevent the page from compiling?
I have the line entered as you have specified now, but the warning hasn't gone away.