Page 1 of 1

Seems like a bug with GflAx.dll 2.54

Posted: Thu May 11, 2006 1:02 pm
by Jean-Pierre
Hi everybody,

To test the installation of the ASP component, I use the example.asp and image.asp provided with install.

If the image is located in the same folder as example.asp and image.asp, it works fine. Like
Path = Server.MapPath("/GflAx")
File = Path & "\image.jpg"
File = Path & "\result.bmp"
File = Path & "\microsoft_3.gif"
File = Path & "\COURIERA.TIF"
File = Path & "\Aquatique.jpg"
If the image is located somewhereelse, example.asp displays info about the image, that's correct, but image.asp fails and I get the red X instead of the image. Like
File = Server.MapPath("/xxxxx/yyyyy/zzzzz") & "/Aquatique.jpg"
File = server.mappath("/") & "/xxxxx/yyyyy/zzzzz/" & "Aquatique.jpg"
Any idea ?
Thanks
Jean-Pierre

The bug is in the sample, not in GflAx....

Posted: Thu May 11, 2006 3:51 pm
by Jean-Pierre
The way it's coded, folder names or image names containing spaces produce the error:

example1.asp should be coded:
<td rowspan="8" valign="top"><img src="image.asp?i=<%=file%>"></td>
image.asp should be coded:
File = request.querystring("i")
That's it
Jean-Pierre

Re: Seems like a bug with GflAx.dll 2.54

Posted: Mon May 15, 2006 11:16 pm
by MaierMan
Jean-Pierre wrote:Hi everybody,

To test the installation of the ASP component, I use the example.asp and image.asp provided with install.

If the image is located in the same folder as example.asp and image.asp, it works fine. Like
Path = Server.MapPath("/GflAx")
File = Path & "\image.jpg"
File = Path & "\result.bmp"
File = Path & "\microsoft_3.gif"
File = Path & "\COURIERA.TIF"
File = Path & "\Aquatique.jpg"
If the image is located somewhereelse, example.asp displays info about the image, that's correct, but image.asp fails and I get the red X instead of the image. Like
File = Server.MapPath("/xxxxx/yyyyy/zzzzz") & "/Aquatique.jpg"
File = server.mappath("/") & "/xxxxx/yyyyy/zzzzz/" & "Aquatique.jpg"
Any idea ?
Thanks
Jean-Pierre
I doubt you will get any answers without providing more details (i.e. "real" code).
Furthermore this sounds actually more like a general coding error (or even configuration/permission error).