Hi, I am trying to use the Microsoft Charting components in my site. These require an assembly called System.Web.DataVisualization to be in the GAC. Therefore, I have added the following to my web.config. <add assembly="System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/></assemblies> I am seeing a compilation error, telling me the assembly is not in the GAC: Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration 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. Assembly Load Trace: The following information can be helpful to determine why the assembly 'System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' could not be loaded. Version Information: Microsoft .NET Framework Version:2.0.50727.4200; ASP.NET Version:2.0.50727.4016 How can I leverage the ASP.Net Charting controls on Winhost? Thanks, -Dan
Hi, In order for the chart controls to work, you have to install the MSChart assemblies on the server: http://www.microsoft.com/downloads/...86-BF49-4FE5-9CA8-910AE6EA442C&displaylang=en It appears this hasn't been done on the server my site is hosted on. However, on the homepage it states you Winhost is "Microsoft Charting Controls Compatible". Any assistance would be greatly appreciated. Thanks! -Dan
Hi, Well, I used search on your forum, and found out how to fix Uploaded System.Web.DataVisualizations.dll to my bin, and changed my web.config to run as full trust (which is necessary for the controls), as specified in this KB: http://support.Winhost.com/KB/a657/changing-the-default-aspnet-trust-level.aspx Fixed! Thanks! -Dan
Dan, that's correct, the Microsoft Charting Components are not installed on the servers but that should not stop you from using it. This is a .Net product and can be placed in the applications Bin directory for usage. We try to make it a policy to minimize the number of components and assemblies we install on the server even if it is a Microsoft product. If it is a .Net component we prefer that our customers upload it themselves to their Bin directory. This keeps the server more efficient and cleaner and helps us manage and standardize it much easier.