Loading...

Can not find GdPicture.NET.image.gdimgplug.64.dll.

Discussions about image processing in GdPicture.NET using GdPictureImaging.

Can not find GdPicture.NET.image.gdimgplug.64.dll.

Postby rdugre » Wed Aug 17, 2011 6:43 pm

I am using an evaluation license for GdPicture.NET. I have version 8.1.0.1 and I am compiling with .NET 4.0. I have the GDPicture.NET.dll added as a reference in my project. Ohh, this is an ASP.NET MVC 3 project using VB.NET, and I am in my Windows 7 development environment with Visual Studio 2010.

When I run the following code:

Dim pic As New GdPicture.GdPictureImaging()
pic.SetLicenseNumber("MY LICENSE NUMBER")
Dim imageId As Integer = pic.CreateGdPictureImageFromStream(fileStream)

I get the following exception:

System.Exception was unhandled by user code
Message=Can not find GdPicture.NET.image.gdimgplug.64.dll. Please, copy last version of this dll into your application directory at: c:\windows\system32\inetsrv
Source=GdPicture.NET
StackTrace:
at al.a(Boolean A_0)
at al.a(Boolean A_0)
at av.a(Int32& A_0, String& A_1, Boolean A_2, Boolean A_3, Boolean A_4, IWin32Window A_5, Boolean A_6, Boolean A_7, Boolean A_8, DocumentFormat A_9)
at av.a(Int32& A_0, Byte[]& A_1, Boolean A_2, Boolean A_3, Boolean A_4, String A_5)
at av.a(Int32& A_0, Stream A_1, Boolean A_2, Boolean A_3, Boolean A_4)
at GdPicture.GdPictureImaging.CreateGdPictureImageFromStream(Stream Stream)
at Photopinion.PhotoProcessor.Process(String fileName, Stream& fileStream) in D:\Projects\Photopinion\Photopinion\Classes\PhotoProcessor.vb:line 41
at Photopinion.PhotoController.UploadFile(List`1 photoFiles) in D:\Projects\Photopinion\Photopinion\Controllers\PhotoController.vb:line 33
at lambda_method(Closure , ControllerBase , Object[] )
at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass15.<InvokeActionMethodWithFilters>b__12()
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
InnerException:

Should I do what it says and copy that DLL into the folder mentioned in the exception? Why do I need to do that? Will I also need to do that on the Web servers that host the application?

I'm a newbie to this SDK, so please provide me the information I need to get going. Thank you.
rdugre
 
Posts: 1
Joined: Wed Aug 17, 2011 6:35 pm

Re: Can not find GdPicture.NET.image.gdimgplug.64.dll.

Postby Loïc » Wed Aug 17, 2011 8:34 pm

Hi,

Just copy the GdPicture.NET.image.gdimgplug.64.dll in the same location as GdPicture.NET.dll. I suppose it can be found on the "Bin" folder of your project.

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


Return to Image Processing

Who is online

Users browsing this forum: No registered users and 0 guests