wuttrain Posted May 15, 2008 Report Share Posted May 15, 2008 Hi, I don't get this error message when I run the application locally, but when I run from a live webserver, it gives me this error. Are there any settings that I need to the folders in chartfx70? Or what am I missing? Thanks! wuttrain Quote Link to comment Share on other sites More sharing options...
wuttrain Posted May 15, 2008 Author Report Share Posted May 15, 2008 Additional info: When I run my app locally, .js files are created in the chartfx70/temp folder, but when this is run live, .js files are not created - RenderFormat is "Auto". When I set the RenderFormat to Image, chart is displayed on both local and remote. Thanks! Quote Link to comment Share on other sites More sharing options...
Frank Posted May 15, 2008 Report Share Posted May 15, 2008 Looks like a security problem in which your server is not letting thru the binary files the .NET Client control needs. Check the HTML source of the page and look at the <OBJECT> tag. Where is the DataPath pointing to (please paste the url in your reply)? If it is pointing to a CFX file, you need to make sure these are allowed in your IIS. In Windows 2003 Server, the default is to block everything except for what's specifically allowed in the supported Mime Types. This can be changed in the IIS manager. Quote Link to comment Share on other sites More sharing options...
wuttrain Posted May 15, 2008 Author Report Share Posted May 15, 2008 Frank, It's a .CHW file, so added this extension as one of the supported Mime Types and it worked. <object codetype="application/octet-stream" id="Chart1" classid="/chartfx70/download/ChartFX.NetIEClient.dll#ChartFX.NetIEClient.Chart" standby="Downloading Chart FX control please wait ..." WIDTH="523px" HEIGHT="360px" style="z-index=1; left=10px; top=15px; position=absolute; " > <param name="DataPath" value="/chartfx70/temp/CFV0515_0128241078A.chw"/> [Chart FX: .NET Active client requires Internet Explorer and .NET Framework 2.0 or greater installed on the client computer.] </object> Excellent! Thanks! wuttrain 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.