Dear Sir/Madam,
Currently we have to use custom shapes for users to draw their processes, then LeanIcons.shl had be defined in shape designer.
So we use tag called ShapeListBox in aspx page shown in the following,
<ndiag:ShapeListBox ID="ShapeListBox1" runat="server" Height="450px" Style="background-color: white"
Width="200px" ShapeLibraryLocation="LeanIcons.shl">
</ndiag:ShapeListBox>
It works fine when developing, custom shapes can be shown in the panel. The url is below,
http://localhost:4625/DevelopmentSite/management/EditProcess.aspxWhen I deployed this service on live server and I got the error below in the Java’s console
java.io.FileNotFoundException:
http://www.company.com/management/LeanIcons.shljava.lang.RuntimeException: java.io.FileNotFoundException:
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(Unkn
own Source)
at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(U
nknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
... 4 more
CreateGUI didn't complete successfully.
And the shapes are all set to default, so I cannot use custom shape defined in LeanIcons.shl on live server.
The problem could be addressed on Virtual Directory
In Develop environment:
http://localhost:4625/DevelopmentSite/management/EditProcess.aspx ----->it works fine.
In Live environment:
http://www.company.com/management/EditProcess.aspx ----> custom shape cannot be used
So is there any way I can set ShapeLibraryLocation properly?
I try to use “~/management/LeanIcons.shl” in ndiag:ShapeListBox tag, the path will be generated as
http://www.company.com/management/~/management/LeanIcons.shlAny suggestions?
PS:Environment is NetDiagram Trial Version 3.1.1 /Windows Server 2003/ Asp.net 2.0
Many Thanks,