views:

737

answers:

3

Hi all,

Does anybody have any experience/ knowledge in installing the aspImage.dll on a 64-bit Windows 2008 platform?

I have a Classic ASP site that uses this component and would badly need to get the dll running. I have tried checking support documents for these to no avail.

Would really do appreciate your response.

Thank you!

+1  A: 

In general if you want to use a 32-bit COM object on a 64-bit machine you'll want to register the COM object use the regsvr32 executable located in the Windows\SysWOW64 folder. In IIS you'll want to go to the application pool advanced settings and select true for the Enable 32-bit Applications setting.

Nathan
Thanks for this Nathan.Follow-up question, do I still need to register the dll in the Component Service as well?Thanks again!
mallows98
I apologize, but I'm not familiar with the specific COM object you are using. Is it normally hosted as a COM+ service? If it is a plain old COM object I would not think you should have to register it in component services.
Nathan
A: 

Hi all,

I have managed to have the ServerObject aspImage.dll component run in a Windows 2008 64-bit platform server by creating a COM+ Application and using the aspImage.dll as a COM+ component.

I've also learned that any 32-bit components used in IIS that will be run in a 64-bt server needs to go through this process too.

For more details on delving on COM+ components and apps, please refer to this link: http://technet.microsoft.com/en-us/library/cc725986.aspx

Hope this helps!

mallows98
Did you need to do anything special with the registration program?I successfully ran the registration program, but when I execute my code, it tells me that the evaluation period has expired.
Nils
Not sure about the registration program... what registration program are you talking about?
mallows98
A: 

I cannot add aspImage.dll into the COM+ component. I got an error 80110425. How did you do it?

Test
1. You need to place the dll in the %systemroot%\syswow64 directory.2. Open a command window and point the directory to %systemroot%\syswow64 via "cd" command.3. Run the command regsvr32.exe <the dll you are trying to install>4. Once you have executed that, then follow the steps stated in MSDN: http://msdn.microsoft.com/en-us/library/ms680308(VS.85).aspxLet me know how you go.
mallows98
The regsvr32 works fine.Add Component Services is ok.But still get the following error when run vb script on line "Set MyObj = CreateObject("AspImage.Image")":(null): Invalid access to memory location.It is the same on both 32 or 64bit of win2008.
Test
have you tried setting your application pool to enable 32 bit applications? that might help
mallows98