Jump to content
Software FX Community

Diego

Members
  • Posts

    14
  • Joined

  • Last visited

Posts posted by Diego

  1. Hello, so we've migrated from an old server to a windows 2012.... 

    There is an old asp file that generates a graph... it has

    <%=Chart1.GetHtmlTag(Session("GraphWidth"), Session("GraphHeight"), , "Chart1") %>

    In the new server, that generates the following code which shows a static graf, with a button that doesn't do anything.

    <img src="/cfxtemp/CFT0803_1019443B9.jpg" width="600" height="420">

    While in the old server, it the same code generates 

    <OBJECT CLASSID="CLSID:21F49842-BFA9-11d2-A89C-00104B62BDDA"
    TYPE="application/x-oleobject"
    WIDTH="600" HEIGHT="420" ID="Chart1"
    CODEBASE=/installer/cfxdownload/CfxIEAx.cab#Version=5,5,10,3>
    <PARAM NAME="LICENSE" VALUE="/installer/cfxlicense/CfxIE.lic">
    <PARAM NAME="DATAPATH" VALUE="/cfxtemp/CFT0804_0922572B.chw">
    </OBJECT>

    No error...just different output... any ideas whats wrong or missing?

  2.  Hello! We are just migrating from old servers (2003) to 2012 servers.. and the graphs arent working proberly because the temp .js files generated dont create the "cookie" section...
         

          Chart chart = new Chart();
                chart.RenderFormat = ".NET";
    
                MemoryStream content = new MemoryStream();
                StringWriter imgMap = new StringWriter(CultureInfo.InvariantCulture);
                StringWriter htmlTag = new StringWriter(CultureInfo.InvariantCulture);
    
                chart.RenderToStream(content, imgMap, htmlTag);

    Sample temp js in old server: 

    function cfx_replace() {
    document.write('<object codetype="application/octet-stream" id="" classid="/chartfx70/download/ChartFX.NetIEClient.dll#ChartFX.NetIEClient.Chart" standby="Downloading Chart FX control please wait ..."  WIDTH="375px" HEIGHT="250px" >');
    document.write('<param name="Cookies" value="QQBTAFAALgBOAEUAVABfAFMAZQBzAHMAaQBvAG4ASQBkAD0AcABmAHUAcwBzAHEAYQBxAG0AcgBhAHAANQBsAGIAawBpAGMAYgBpAGwAZQA1ADUAOwA="/>');
    document.write('<param name="DataPath" value=""/>');
    document.write('[Chart FX: .NET Active client requires Internet Explorer and .NET Framework 2.0 or greater installed on the client computer.]');
    document.write('</object>');
    }

    Sample in new server:

    function cfx_replace() {
    document.write('<object codetype="application/octet-stream" id="" classid="/chartfx70/download/ChartFX.NetIEClient.dll#ChartFX.NetIEClient.Chart" standby="Downloading Chart FX control please wait ..."  WIDTH="375px" HEIGHT="250px" >');
    document.write('<param name="DataPath" value=""/>');
    document.write('[Chart FX: .NET Active client requires Internet Explorer and .NET Framework 2.0 or greater installed on the client computer.]');
    document.write('</object>');
    }

     

     

  3. Thanks for the reply. Yes, the log shows its trying to access it but gives 404.2 with

    "The page you are requesting cannot be served because of the ISAPI and CGI Restriction list settings on the Web server."

    The file and path exist, but I guess its missing permissions or something to respond that file.... not sure what

  4. Hello, migrating the installation from an old (2003) server to a newer 2012 server, on a site testing its failing, and looking at the trace of what is loading in the site (F12 in IE) it shows a 404 not found error on ChartFX.NetIEClient.Loader.dll. 

    I tried putting all permissions to the file (to everyone) but still nothing changed. I tried with a test html page on the same folder and it works ok.

    Is there a step I'm missing?

    Thank you

    Regards

    Diego

×
×
  • Create New...