joyblesson Posted October 16, 2007 Report Share Posted October 16, 2007 Hi, I have created a webpart with ChartFX and when I go to the page with the webpart I see the webpart without the image. when I right click the blank box that shows up I see the ChartFX menu. Is there any configuration I have to do on the server? I have installed the production version of chart & gauge. Please can some one help me out here. Thanks in advance. Blesson. Quote Link to comment Share on other sites More sharing options...
Frank Posted October 17, 2007 Report Share Posted October 17, 2007 Looks like a configuration problem. Look at the HTML of the page (View Source in your browser) and locate the chart's image tag (the ID will be the one you gave the chart in your WebPart). What's the source ulr for the image pointing to? Is there a virtual folder in your Sharepoint site that maps this url? Quote Link to comment Share on other sites More sharing options...
joyblesson Posted October 17, 2007 Author Report Share Posted October 17, 2007 The URL is /chartfx70/pss/ChartFX.aspx?id=0-101715460&type=png&mime=image%2fpng I have a virtual folder under the sharepoint site called chartfx70 pointing to C:\Program Files\Chart FX for Visual Studio 2005\ChartFX70 and another under 'chartfx70' called 'pss' pointing to C:\Program Files\Chart FX for Visual Studio 2005\ChartFX70\pss. Thanks again, Blesson Joy Quote Link to comment Share on other sites More sharing options...
Frank Posted October 17, 2007 Report Share Posted October 17, 2007 Right after hitting your page, try hitting the image url (e.g. http://yoursite/chartfx70/pss/ChartFX.aspx?id=0-101715460&type=png&mime=image%2fpng) directly from your browser. if there is an error you should get a descriptive message this way. Quote Link to comment Share on other sites More sharing options...
joyblesson Posted October 18, 2007 Author Report Share Posted October 18, 2007 I get the following error when I browse to the image url. [securityException: That assembly does not allow partially trusted callers.] System.Reflection.MethodBase.PerformSecurityCheck(Object obj, RuntimeMethodHandle method, IntPtr parent, UInt32 invocationFlags) +0 System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +172 System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +1036 System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +114 System.Runtime.Remoting.RemotingConfigHandler.CreateChannelFromConfigEntry(ChannelEntry entry) +442 System.Runtime.Remoting.DelayLoadClientChannelEntry.get_Channel() +22 System.Runtime.Remoting.RemotingConfigHandler.FindDelayLoadChannelForCreateMessageSink(String url, Object data, String& objectURI) +132 System.Runtime.Remoting.RemotingServices.CreateChannelSink(String url, Object data, IMessageSink& chnlSink) +142 System.Runtime.Remoting.RemotingServices.Unmarshal(Type classToProxy, String url, Object data) +151 System.Activator.GetObject(Type type, String url, Object state) +41 ChartFX.Pss.HttpHandler..ctor() +27 Thanks, Blesson Quote Link to comment Share on other sites More sharing options...
joyblesson Posted October 18, 2007 Author Report Share Posted October 18, 2007 I see the images being created in the following folder. C:\Program Files\Chart FX for Visual Studio 2005\PSS\Temp I was also wondering if it should create the images in the following folder instead. C:\Program Files\Chart FX for Visual Studio 2005\ChartFX70\Temp. Thanks, Blesson Quote Link to comment Share on other sites More sharing options...
joyblesson Posted October 18, 2007 Author Report Share Posted October 18, 2007 The images are created as "101809371(domain_userid)_png" in the following folder : C:\Program Files\Chart FX for Visual Studio 2005\PSS\Temp when I change the "_png" to ".png" i am able to open the image. Quote Link to comment Share on other sites More sharing options...
Frank Posted October 18, 2007 Report Share Posted October 18, 2007 You are going to have to dissable PSS. Check out the following KB article to see how:Q7621010. Disabling the PSS Service URL: http://support.softwarefx.com/Article.aspx?KBID=7621010&Product=CfxNet70&Embed=0&_r=1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.