Loading...

GdPicturePro4 initialisation error on Windows Server 2008

Support for GdPicture Light Imaging Toolkit and GdPicture Pro Imaging ActiveX/SDK.

GdPicturePro4 initialisation error on Windows Server 2008

Postby iaincatt » Fri May 08, 2009 7:19 pm

Hi,

I hope someone can help. We have a windows service using GdPicturePro4 that has been developed, compiled and tested on VS2008/C#/Windows XP. When deployed to our new Windows 2008 64-bit servers we get the following error

"Error Message: GdPicturePro4 initialisation error : Retrieving the COM class factory for component with CLSID {CFFF8126-EF8A-45EB-9333-3C3FA078BF2F} failed due to the following error: 80040154. InnerException: System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {CFFF8126-EF8A-45EB-9333-3C3FA078BF2F} failed due to the following error: 80040154. at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) at System.Activator.CreateInstance(Type type, Boolean nonPublic) .................."

I have installed GdPicturePro as I have done with no problem several times on non-64bit machines. I have tried regsvr32 on the gdpicturepro4.ocx file (both from windows\system32 and windows\SysWOW64 folders). I'm pretty sure I can see that the component is being registered fine in the registry under HKCR\Wow6432Node\CLSID, but our app is looking for it under HKCR\CLSID (which is where it is on the dev machines). I've searched and tried various things but can't find a way around this.

Does anyone have a solution?

cheers,
Iain
iaincatt
 
Posts: 2
Joined: Fri May 08, 2009 7:06 pm

Re: GdPicturePro4 initialisation error on Windows Server 2008

Postby iaincatt » Tue May 12, 2009 10:14 am

I will now add that I am getting exactly the same error (with different CLSID) with your new GdPicturePro5 component.

Can I get some help?

cheers,
Iain
iaincatt
 
Posts: 2
Joined: Fri May 08, 2009 7:06 pm

Re: GdPicturePro4 initialisation error on Windows Server 2008

Postby Loïc » Tue May 12, 2009 11:15 am

Hi,


from: http://social.msdn.microsoft.com/Forums ... c4ecb62fd7


Code: Select all
1) Change the configuration from Any CPU to x86

2) Make a new component object with the assembly in Administrative tools - > Component services -> Computers-> My computer ->COM+Applications ->New


Hope this helps,

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

Re: GdPicturePro4 initialisation error on Windows Server 2008

Postby mmImc » Thu Feb 11, 2010 10:56 pm

I am having the same trouble with Pro5. I am confused about your solution that you have listed, what do you do after clicking the new Com+ application?
mmImc
 
Posts: 10
Joined: Wed Feb 11, 2009 9:52 pm


Return to GdPicture [Pro] ActiveX

Who is online

Users browsing this forum: Bing [Bot] and 1 guest

cron