ok on windows 7 x64, error on w2008 x64

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

Moderators: XnTriq, xnview

gennarokoala
Posts: 3
Joined: Fri May 04, 2012 5:27 pm

ok on windows 7 x64, error on w2008 x64

Postby gennarokoala » Fri May 04, 2012 5:44 pm

I'm doing some test with gflax version 2.82 because version 3.40 give me error when I try to register the dll

I'm implementing on a asp.net site (in vb.net)
Windows 7 x64 (with IIS7) gflax 2.82 and ghostscript 9.0.5 is ok:
Register the dll, add the reference to the web site, run the test page where I create a jpeg from first page of a pdf with this code

Code: Select all

        Dim g As New GflAx.GflAxClass()
        g.EpsDpi = 72
        g.Page = 1
        g.LoadBitmap(file)
        g.Resize(90, 120)
        g.SaveFormat = GflAx.AX_SaveFormats.AX_JPEG
        g.SaveJPEGQuality = 100
        g.SaveBitmap(output_file)


All works perfectly

On the production server I installed the same version of Ghostscript and registered the same version of gflax (2.82), but when I run the test page I get the following error:

Unknown format
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Runtime.InteropServices.COMException: Unknown format


if someone could help me I would be very happy

PS: Sorry for my poor english

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

Re: ok on windows 7 x64, error on w2008 x64

Postby xnview » Mon May 07, 2012 8:57 am

Problem with PDF was in 2.82
You can't register 3.40?
Pierre.

gennarokoala
Posts: 3
Joined: Fri May 04, 2012 5:27 pm

Re: ok on windows 7 x64, error on w2008 x64

Postby gennarokoala » Tue May 08, 2012 5:02 pm

when I try to register the dll is 3.40 i get error (i translate error from italian to english):

not load the module "Test.dll"
.....
.....
Can not find the specified module

I get error when try to register 3.40 on windows 7 and windows 2008
Version 2.82 on windows 7 works properly, "InteropServices.COMException: Unknown format" is only on Windows 2008

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

Re: ok on windows 7 x64, error on w2008 x64

Postby xnview » Wed May 09, 2012 7:56 am

Do you have installed Visual2008 CRT dll?
Pierre.

gennarokoala
Posts: 3
Joined: Fri May 04, 2012 5:27 pm

Re: ok on windows 7 x64, error on w2008 x64

Postby gennarokoala » Wed May 09, 2012 9:35 am

In control panel i see:

Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729.6161
Microsoft Visual C++ 2008 Redistributable - x64 9.0.30729.6161

Is this ?

I see also:

Microsoft Visual C++ 2005 Redistributable
Microsoft Visual C++ 2010 x86 Runtime - 10.0.40219
Microsoft Visual C++ 2010 x64 Runtime - 10.0.40219

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

Re: ok on windows 7 x64, error on w2008 x64

Postby xnview » Wed May 09, 2012 10:10 am

Could you send me your email by PM
Pierre.


Return to “GFL SDK”

Who is online

Users browsing this forum: No registered users and 1 guest