User (Legacy) Posted March 6, 2006 Report Posted March 6, 2006 After upgrading my Sharepoint server to the .net 2.0 framework, I am trying to use ChartFX 2005 in a custom webpart. Like the previous version, I am having difficulty confiuring Sharepoint to use ChartFX. I had the previous version of ChartFX working with .net 1.1, but need to get the 2005 version to work with the .net 2.0 framework on a Sharepoint server. Has anyone gotten this to work? Are there any differences in settings for this new version? Is there a white paper or some other form of support to help set this up? Any help would be appreciated. -todd reeves -treeves@mms.org
Software FX Posted March 6, 2006 Report Posted March 6, 2006 I am not aware of any additional issues. Notice that .NET Framework's 2.0 permissions are set independently of those for .NET 1.1, so make sure you run the correct control panel plug-in. Also make sure all virtual directories are created, specifically the ChartFX70\Pss virtual folder. It needs to be defined as an application and point to the appropriate folder, a Web.Config file must be there pointing to ChartFX.Pss.HttpHandler,ChartFX.Pss.HttpHandler. All this should be done by the installer provided you give it the appropriate Web Site. But it is worth checking. What kind of errors are you getting ? -- Francisco Padron www.chartfx.com
User (Legacy) Posted March 10, 2006 Author Report Posted March 10, 2006 What settings in the web.config are needed? Which DLL´s in which directories should be included in the wss_minimaltrust.config? Are the assemblies strongly named? For the previous version, I manually added everything to these files but the assemblies and locations have changed in this version. I just did an install and the virtual directories were setup correctly. Now I just need to get the permissions setup correctly. Thank you for your help. -todd "SoftwareFX Support" <noreply@softwarefx.com> wrote in message news:x0gO%23pWQGHA.2416@webserver3.softwarefx.com... >I am not aware of any additional issues. > > Notice that .NET Framework´s 2.0 permissions are set independently of > those for .NET 1.1, so make sure you run the correct control panel > plug-in. > > Also make sure all virtual directories are created, specifically the > ChartFX70\Pss virtual folder. It needs to be defined as an application and > point to the appropriate folder, a Web.Config file must be there pointing > to ChartFX.Pss.HttpHandler,ChartFX.Pss.HttpHandler. All this should be > done by the installer provided you give it the appropriate Web Site. But > it is worth checking. > > What kind of errors are you getting ? > > -- > Francisco Padron > www.chartfx.com >
Software FX Posted March 10, 2006 Report Posted March 10, 2006 1- All the assemblies in Chart FX\Bin need to be granted full trust. 2- They are all strong named with the same key. -- Francisco Padron www.chartfx.com
User (Legacy) Posted March 10, 2006 Author Report Posted March 10, 2006 There are assemblies in three places: \Program Files\Chart FX for Visual Studio 2005\bin \Program Files\Chart FX for Visual Studio 2005\Chartfx70\download \Program Files\Chart FX for Visual Studio 2005\Chartfx70\PSS\Bin Should just the assemblies in the first location be added or do all of them need to be added? Also, are there any specific directory security permissions that need to be set? If so, which account? I am assuming the ASPNET machine account if there are any. Just trying to clarify so there is no confusion. Thanks again. -todd "SoftwareFX Support" <noreply@softwarefx.com> wrote in message news:TVgYEEFRGHA.3176@webserver3.softwarefx.com... > 1- All the assemblies in Chart FX\Bin need to be granted full trust. > > 2- They are all strong named with the same key. > > -- > Francisco Padron > www.chartfx.com >
Software FX Posted March 10, 2006 Report Posted March 10, 2006 Sorry about that I should have been more specific: 1) \Program Files\Chart FX for Visual Studio 2005\bin Contains the files used by ASP.NET and running inside the ASP.NET process space. These are the ones you need to grant full trust. 2) \Program Files\Chart FX for Visual Studio 2005\Chartfx70\download Contain Client-Side controls, these controls never run in the server but they are downloaded from the server to the client. The only security issues here are the standard Windows and IIS Permissions so that they can be downloaded. 3) \Program Files\Chart FX for Visual Studio 2005\Chartfx70\PSS\Bin Are files used by the PSS service. By default this service runs using the local system account, you can change this in the Services Plug-in in your control panel's administrative tools. 4) \Program Files\Chart FX for Visual Studio 2005\Chartfx70\ChartFX70\PSS\bin Contains an HTTP handler. Standard directory security permissions are required so that this application can run. As for directory permissions, you need to make sure the user used by SharePoint/ASP.NET has permission to read both 1) and 2). -- Francisco Padron www.chartfx.com
User (Legacy) Posted March 13, 2006 Author Report Posted March 13, 2006 Thank you for your clarification. I have implemented the changes you listed below. My current WebPart contains a VS 2005 .net web user control which contains a text box for a query, a button, and a ChartFx object to display the results. This user control is then loaded into the web part and rendered. This is the default way we do all our parts; as web user controls. When I try and add the part to a page, I get the following error: {System.Web.HttpParseException: Could not load file or assembly ´ChartFX.WebForms´ or one of its dependencies. The system cannot find the file specified. ---> System.Exception: Could not load file or assembly ´ChartFX.WebForms´ or one of its dependencies. The system cannot find the file specified. ---> System.IO.FileNotFoundException: Could not load file or assembly ´ChartFX.WebForms´ or one of its dependencies. The system cannot find the file specified. File name: ´ChartFX.WebForms´ The .ascx and .ascx.vb files are in the root directory. I have not copied any of the ChartFx files to the /wwwroot/bin directory where any assemblies used by web pages would go. Should any of the ChartFx files be copied to this location since web user controls are trying to access them? Are there any additional securtiy issues by doing that? Should the installer have taken care of that? Thank you for your help Francisco. This is getting closer and closer to working. -todd "SoftwareFX Support" <noreply@softwarefx.com> wrote in message news:Gsh9T5IRGHA.440@webserver3.softwarefx.com... > Sorry about that I should have been more specific: > > 1) \Program Files\Chart FX for Visual Studio 2005\bin > > Contains the files used by ASP.NET and running inside the ASP.NET process > space. These are the ones you need to grant full trust. > > 2) \Program Files\Chart FX for Visual Studio 2005\Chartfx70\download > > Contain Client-Side controls, these controls never run in the server but > they are downloaded from the server to the client. The only security > issues here are the standard Windows and IIS Permissions so that they can > be downloaded. > > 3) \Program Files\Chart FX for Visual Studio 2005\Chartfx70\PSS\Bin > > Are files used by the PSS service. By default this service runs using the > local system account, you can change this in the Services Plug-in in your > control panel´s administrative tools. > > 4) \Program Files\Chart FX for Visual Studio > 2005\Chartfx70\ChartFX70\PSS\bin > > Contains an HTTP handler. Standard directory security permissions are > required so that this application can run. > > As for directory permissions, you need to make sure the user used by > SharePoint/ASP.NET has permission to read both 1) and 2). > > -- > Francisco Padron > www.chartfx.com >
Software FX Posted March 14, 2006 Report Posted March 14, 2006 You need to add Chart FX's DLL's to the GAC as explained in the following White Paper: http://www.softwarefx.com/SFXDownloads/PDFs/ChartFX_SharePoint_wp.pdf Even though this White Paper is for .NET 6.2 it applies to Chart FX 7 with the exception of the names of the dlls. -- Francisco Padron www.chartfx.com
User (Legacy) Posted March 14, 2006 Author Report Posted March 14, 2006 I would need to know which DLLs from which ChartFX 2005 directory would need to be copied to the GAC? I copied the ones that were in the bin directory for my web control, but I am still getting an error. Thank you for your help. -todd "SoftwareFX Support" <noreply@softwarefx.com> wrote in message news:6KaeJL4RGHA.3992@webserver3.softwarefx.com... > You need to add Chart FX´s DLL´s to the GAC as explained in the following > White Paper: > > http://www.softwarefx.com/SFXDownloads/PDFs/ChartFX_SharePoint_wp.pdf > > Even though this White Paper is for .NET 6.2 it applies to Chart FX 7 with > the exception of the names of the dlls. > > -- > Francisco Padron > www.chartfx.com >
Software FX Posted March 14, 2006 Report Posted March 14, 2006 ChartFX.WebForms.*.dll : ChartFX.WebForms.Base.dll ChartFX.WebForms.Adornments.dll ChartFX.WebForms.dll ChartFX.WebForms.Dhtml.dll Plus these optional assemblies hat you may or not be using: ChartFX.WebForms.Data.dll ChartFX.WebForms.Annotation.dll ChartFX.WebForms.Writer.Flash.dll ChartFX.WebForms.Writer.Svg.dll ChartFX.WebForms.Writer.Accessibility.dll Are you still getting the File Not Found error ? -- Francisco Padron www.chartfx.com
User (Legacy) Posted March 15, 2006 Author Report Posted March 15, 2006 I have copied all of the DLLs into the GAC and I am still getting this error: ex = {System.Web.HttpParseException: Could not load file or assembly ´ChartFX.WebForms´ or one of its dependencies. The system cannot find the file specified. ---> System.Exception: Could not load file or assembly ´ChartFX.WebForms´ or one of its dependencies. Please let me know if you have any suggestions. Thanks. -todd "SoftwareFX Support" <noreply@softwarefx.com> wrote in message news:8NYOPZ6RGHA.3992@webserver3.softwarefx.com... > ChartFX.WebForms.*.dll : > > ChartFX.WebForms.Base.dll > ChartFX.WebForms.Adornments.dll > ChartFX.WebForms.dll > ChartFX.WebForms.Dhtml.dll > > Plus these optional assemblies hat you may or not be using: > > ChartFX.WebForms.Data.dll > ChartFX.WebForms.Annotation.dll > ChartFX.WebForms.Writer.Flash.dll > ChartFX.WebForms.Writer.Svg.dll > ChartFX.WebForms.Writer.Accessibility.dll > > Are you still getting the File Not Found error ? > > -- > Francisco Padron > www.chartfx.com >
Software FX Posted March 16, 2006 Report Posted March 16, 2006 I'm doing a installation from the scratch to come up with a step-by-step procedure. I'll keep you posted. -- Francisco Padron www.chartfx.com
User (Legacy) Posted April 3, 2006 Author Report Posted April 3, 2006 Any more information on this topic? "SoftwareFX Support" <noreply@softwarefx.com> wrote in message news:OcxEyHTSGHA.3212@webserver3.softwarefx.com... > I´m doing a installation from the scratch to come up with a step-by-step > procedure. I´ll keep you posted. > > -- > Francisco Padron > www.chartfx.com >
Software FX Posted May 3, 2006 Report Posted May 3, 2006 I've been researching this issue and I found the reason why you are having these problems. Check out the following blog: http://msmvps.com/blogs/anguslogan/archive/2005/05/19/48160.aspx It explains that SharePoint does NOT work with ASP.NET 2.0 (Chart FX fro VS 2005 uses .NET 2.0) and how to make it work. One of the things it requires is Windows Server 2003 R2, including SP2. I will set up a system with it for testing. -- Francisco Padron www.chartfx.com
User (Legacy) Posted August 1, 2006 Author Report Posted August 1, 2006 Has anyone done ChartFX 2005 on Sharepoint 2007 Beta? Reason we upgraded to this is to make sure drill-down works in Sharepoint2007 .. any ideas? "SoftwareFX Support" <noreply@softwarefx.com> wrote in message news:1$nKj2sbGHA.1536@webserver3.softwarefx.com... > I´ve been researching this issue and I found the reason why you are having > these problems. > > Check out the following blog: > > http://msmvps.com/blogs/anguslogan/archive/2005/05/19/48160.aspx > > It explains that SharePoint does NOT work with ASP.NET 2.0 (Chart FX fro VS > 2005 uses .NET 2.0) and how to make it work. > > One of the things it requires is Windows Server 2003 R2, including SP2. I > will set up a system with it for testing. > > -- > Francisco Padron > www.chartfx.com > >
saswata Posted September 16, 2008 Report Posted September 16, 2008 Hi, I am facing a similar problem as described i the discussion thread.I am trying to use a ChartFX7 chart control in a Sharepoint 2007 webpart, by loading it in a webuser control. The web user control containing the chart fx chart control has been put in the location - "C:\\Program Files\\Common Files\\Microsoft Shared\\Web Server Extensions\\12\\template\\controltemplates\\UserCtrlChartFX.ascx". I load the user control into a webpart and it works fine till there - its built and deployed in sharepoint. when i try to load that webpart into the sharepoint page, i get a "File Not found" exception and the detailed exception is as mentioned below: The assembly "ChartFX.WebForms.Adornments" reported by the exception is in GAC; i have checked that. In fact, all the other ChartFX7 dlls are in GAC. Now, I am not sure if something went wrong with the installation. Could this be an installation issue? If necessary, i will do a reinstallation; just wanted to be sure. ---------Exception------------------ System.Web.HttpParseException was unhandled Message="Could not load file or assembly 'ChartFX.WebForms.Adornments' or one of its dependencies. The system cannot find the file specified." Source="System.Web" ErrorCode=-2147467259 FileName="C:\\Program Files\\Common Files\\Microsoft Shared\\Web Server Extensions\\12\\template\\controltemplates\\UserCtrlChartFX.ascx" Line=3 VirtualPath="/_controltemplates/UserCtrlChartFX.ascx" StackTrace: at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding) at System.Web.UI.TemplateParser.ParseFile(String physicalPath, VirtualPath virtualPath) at System.Web.UI.TemplateParser.ParseInternal() at System.Web.UI.TemplateParser.Parse() at System.Web.Compilation.BaseTemplateBuildProvider.get_CodeCompilerType() at System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider) at System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders() at System.Web.Compilation.BuildProvidersCompiler.PerformBuild() at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at System.Web.UI.TemplateControl.LoadControl(String virtualPath) ------------------------------- -saswata
Frank Posted September 16, 2008 Report Posted September 16, 2008 We have testeed ChartFX 7 in SharePoint 2007 and we are not aware of any issues. Check out the following KB article for more info: Q7501012. Using ChartFX and gauges inside a Sharepoint 3.0 Web Part URL: http://support.softwarefx.com/ShowArticleSep.aspx?Type=KB&Product=CfxNet70&Source=http://support.softwarefx.com/kb/750/1/012.htm?_r=1
Recommended Posts
Archived
This topic is now archived and is closed to further replies.