An exception occurred: 'LoadBitmap'

Discussions on GFL SDK, the graphic library for reading and writing graphic files

Moderators: helmut, XnTriq, xnview

User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

nec wrote:Yes.
Now it hung again - with the errormessage above...
Is it possible to get the ASP script?
Pierre.
Guest

Post by Guest »

I seem to recall having these problems with 1.92 or such. Sometimes IIS would just hung, i never stumbled over that exact error tho, but i think i remember that we came to the conclusion that GflSdk was behind the error. I think i solved this by upgrading GflSdk, and i haven't seen the problem since.

What operating system is your server running? Have you applied all servicepacks and patches? I am pretty sure this is not because of GflAx, but if you wanna make certain use something like this:

Code: Select all

<%
On Error Resume Next
.LoadBitmap sFilePath 
Response.AppendToLog "gfl: " & sFilePath & " (" & err.number & ", " & err.description & ")"
On Error goto 0
%>
After that you should be able to examine the server logfiles (located in %SYSTEMROOT%\System32\Logfiles) to see which file was causing the error and if it could have got anything to do with the image file in question, or if it's located outside of Gfl.

Still, upgrade if you are on Windows 2000, and if you got Windows XP with SP2 i would suggest you downgraded to SP1 ;)

Hope any of this helps :)

Cheers,
Christopher
harvey

I found the same error, but I used the version 2.4

Post by harvey »

The code:
Dim objGax
Set objGax=Server.CreateObject("GflAx.GflAx")
objGax.LoadBitmap "d:\photo\76A8768D775A6.jpg"
Set objGax=Nothing
Yesterday, I just installed the dll.
The system is Windows 2000 Advanced.
How can I solve?
Thanks^_^
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: I found the same error, but I used the version 2.4

Post by xnview »

harvey wrote:The code:
Dim objGax
Set objGax=Server.CreateObject("GflAx.GflAx")
objGax.LoadBitmap "d:\photo\76A8768D775A6.jpg"
Set objGax=Nothing
Yesterday, I just installed the dll.
The system is Windows 2000 Advanced.
How can I solve?
Thanks^_^
You have a crash with this code?
Pierre.
Harvey

Re: I found the same error, but I used the version 2.4

Post by Harvey »

xnview wrote:
harvey wrote:The code:
Dim objGax
Set objGax=Server.CreateObject("GflAx.GflAx")
objGax.LoadBitmap "d:\photo\76A8768D775A6.jpg"
Set objGax=Nothing
Yesterday, I just installed the dll.
The system is Windows 2000 Advanced.
How can I solve?
Thanks^_^
You have a crash with this code?
Yes, the same problem,"An exception occurred: 'LoadBitmap'"
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: I found the same error, but I used the version 2.4

Post by xnview »

Harvey wrote:
xnview wrote:
harvey wrote:The code:
Dim objGax
Set objGax=Server.CreateObject("GflAx.GflAx")
objGax.LoadBitmap "d:\photo\76A8768D775A6.jpg"
Set objGax=Nothing
Yesterday, I just installed the dll.
The system is Windows 2000 Advanced.
How can I solve?
Thanks^_^
You have a crash with this code?
Yes, the same problem,"An exception occurred: 'LoadBitmap'"
Always? With any jpg files? Could you send me the jpeg file?
Pierre.
Guest 2

simialr issue

Post by Guest 2 »

Hi, I'm having the same issue.

Error: Access is Denied. <font face="Arial" size=2>
<p>Microsoft VBScript runtime </font> <font face="Arial" size=2>error '800a01fb'</font>
<p>
<font face="Arial" size=2>An exception occurred: 'LoadBitmap'</font>
<p>
<font face="Arial" size=2>/Iris_Core/Secure/_Library/OpenAnswer.asp</font><font face="Arial" size=2>, line 233</font>

line 233 --> lProcessor.LoadBitmap lSessionTemporaryFile

Has this been resolved??
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: simialr issue

Post by xnview »

Guest 2 wrote:Hi, I'm having the same issue.

Error: Access is Denied. <font face="Arial" size=2>
<p>Microsoft VBScript runtime </font> <font face="Arial" size=2>error '800a01fb'</font>
<p>
<font face="Arial" size=2>An exception occurred: 'LoadBitmap'</font>
<p>
<font face="Arial" size=2>/Iris_Core/Secure/_Library/OpenAnswer.asp</font><font face="Arial" size=2>, line 233</font>

line 233 --> lProcessor.LoadBitmap lSessionTemporaryFile

Has this been resolved??
With last gflAX?
Pierre.
Post Reply