Loading...

Deploy GdPicture on IIS 7

Discussions about image processing in GdPicture.NET using GdPictureImaging.

Deploy GdPicture on IIS 7

Postby lordnedox » Wed Feb 08, 2012 7:42 am

hi,
i'm trying to do a TIF to JPEG conversion on the server side, using a web service.
Everything (GdPicture.dll and all the unmanaged DLLS) is inside the Bin folder of my web project.

Initially I got the error:
"The version of GdPicture.NET.image.gdimgplug.dll is invalid. Please, copy last version of this dll into your application directory at: C:\Windows\SysWOW64\inetsrv"
So my understanding is that IIS is looking for the DLLs in that folder. Copying them in the folder and restarting IIS makes it works.

The question is, is there a way to make IIS locate the DLLs inside the Bin folder of my project, so that when I make a setup I don't have to copy GdPicture Dlls inside Windows system folders, having to check the operating system (32 or 64bit) and the application pool (again could be 32-64, depends on the customer environment) ?
Is there a best practice to do these kind of deployments?
lordnedox
 
Posts: 16
Joined: Sun Oct 10, 2010 5:13 am

Re: Deploy GdPicture on IIS 7

Postby Loïc » Wed Feb 08, 2012 1:08 pm

Hello,

If you copy all required dlls in the Bin folder it should work. Have you tried that ?

Kind regards,

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4442
Joined: Tue Oct 17, 2006 10:48 pm
Location: France

Re: Deploy GdPicture on IIS 7

Postby lordnedox » Thu Feb 09, 2012 6:34 am

Yes that was my first try and there I got the error I reported in my first post.
The problem is not on GdPicture.DLL, which can be found, but in other DLLs like "GdPicture.NET.image.gdimgplug.dll " which are searched at runtime.
Do you have any example that should work (with everything inside the Bin folder)? It would be really helpful.
May it be some kind of conflict over 32/64 bit, or read permission in the bin folder? (anyway, i tried to deploy both 32 bit and 64 bit with same results)

thanks
regards
lordnedox
 
Posts: 16
Joined: Sun Oct 10, 2010 5:13 am

Re: Deploy GdPicture on IIS 7

Postby Loïc » Thu Feb 09, 2012 11:44 am

Hello,

I think we have solved this issue for the next minor release. Waiting for, you can try to load the runtime dlls by using the LoadLibrary method on each required dlls.

You can also contact us via http://support.gdpicture.com to get a beta version.

Hope this helps!

Kind regards,

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4442
Joined: Tue Oct 17, 2006 10:48 pm
Location: France

Re: Deploy GdPicture on IIS 7

Postby lordnedox » Thu Feb 09, 2012 1:48 pm

Hi Loic,
thanks for your prompt reply.
As this is quite urgent, I would like to get this beta version. Don't know exactly what to do in support area, I opened the ticket #17766.

thanks
regards
lordnedox
 
Posts: 16
Joined: Sun Oct 10, 2010 5:13 am


Return to Image Processing

Who is online

Users browsing this forum: No registered users and 1 guest