GraphicsServer.GSNet.Charting question

Discussion in 'ASP.NET 2.0' started by jreynders, Jan 22, 2006.

  1. Hello,

    I'm new to the forum here... tyring to get the GraphicsServer.GSNet.Charting component working on my development platform. Having trouble with the image path that is generated. Any folks out there using this component in their applications? Below is my problem is some more detail:

    DiscountASP.NETprovides Graphics Server .NET as an available
    component - however, the developer's kit to which i am pointed appears to
    be "Developer?s Kit for Graphics Server .NET: Web Hosting Version 2.1"
    located at:
    http://www.graphicsserver.com/downloads/downloadHostKit.aspx?source=whda04

    ( more specifically: Version=2.1.319.1001 )

    so - i don't have access to the ByteStream feature. It would be great if I
    could download and develop with your 3.0 version - however, this version is not provided.

    I downloaded the accompanying Graphics Resource Service Center with
    version 2.1 and am using the provided example code in the "Creating a
    Simple Chart" web example as is - but i end up with the image not showing
    on my local development platform. I have validated that the image files
    are indeed being created in the correct place - so, the security is
    working ok. The problem seems to be that when i observe the source of the
    dynamically created .aspx page, rather than pointing to the image file
    located at

    "C:\reynders\tuitiondata\VSlearn\images\GSImgtmpD56.png"

    I instead have an image line that reads as :

    <img src="..\..\C:\reynders\tuitiondata\VSlearn\images\GSImgtmpD56.png"
    BORDER="0" USEMAP="#tmpD56_map" id="chtMain"
    style="height:300px;width:500px;" />

    Here we see the image file reference has been changed to:


    "..\..\C:\reynders\tuitiondata\VSlearn\images\GSImgtmpD56.png"

    I have no idea from where the prepending "..\..\" charaters have come. The
    image file GSImgtmpD56.png indeed exists in the location
    C:\reynders\tuitiondata\VSlearn\images\
    So, the problem appears to be with the erroneous insertion of the "..\..\"
    characters. When i edit/save the dynamically created .aspx file as .html
    and remove the "..\..\" prepend - the page looks correct. I'm not sure
    what i should try and tweek to fix this issue in .aspx page generation,
    i'm not able to debug into the GSNet component to see what's going on....

    -turbo
     

Share This Page