473,386 Members | 1,673 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Problems porting COM component to ASP.Net 2.0 64 bit website

I am moving a classic ASP website on a 32 bit server to an ASP.NET 2.0
website on a 64 bit server. I very much need to port the Adobe Acrobat
FDF sdk to the new site, but I've run in to the dreaded "Retrieving the
COM clas factory for component with CLSID {..} failed due to the
following error: 80040154" error message. Any suggestions on what to do
next would be greatly appreciated.

The sdk has two libraries, a main one that can be registered, and a
secondary one that can not. The main library has a companion IDL file
and the secondary one has a companion .LIB file. This is what I have
done:

1. Use si.exe to create a strong key.

2. Use tlbimp.exe to create a .NET wrapper around the main library. The
wrapper includes the strong key.

3. Copy the two component libraries and their companion files to the
\Windows\SysWOW64 folder of the new server. From there, I used regsvr32
to register the main library. I then confirmed that it was listed under
HREF_LOCAL_MACHINE\Software\Wow6432Node\Classes. The CLSID found there
matches the one coming up in the error message.

4. Made sure that all four files had read/execute permission for local
user ASPNET.

5. Copy the wrapper library to the bin directory of the website project.

On a test 32 bit server, I can now run my page and generate a FDF file.
Doing these exact same steps on the 64 bit machine, however, causes the
page to crash on the first reference to the wrapper class:

Dim FdfAcX as FdfAcX_NET = New FdfAcX_Net.FdfApp

I have found suggestions to compile the project specifically for x86
processors rather than with the default "All CPU" setting for VS 2005. I
know where this is done with a Windows project, but I can't locate any
such option for a web project.

I am at a loss. Any suggestions on what to try next? And before you
ask... there is no 64 bit version of the Adobe Acrobat sdk, at least not
that Adobe mentions on their website.
--
Gregory Gadow
te******@serv.net

Nov 8 '06 #1
0 1752

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

20
by: Lucas Raab | last post by:
I'm done porting the C code, but now when running the script I continually run into problems with lists. I tried appending and extending the lists, but with no avail. Any help is much appreciated...
6
by: Colin Young | last post by:
I've got a owner-drawn listview control that displays images and now I'm trying to implement drag and drop so I can drag images from the control and drop them onto other applications. So far if I...
5
by: David | last post by:
Hi everyone, I have a ActiveX EXE component written in VB6. This ActiveX EXE exposes various public methods that can be called by several other independent Windows EXE applications (also written...
8
by: ineedyourluvin1 | last post by:
Alright I've searched all over but to no avail... I have Visual Studio 2005 installed on my computer and I went to add the Component Class to a project. Guess what ? It's not there in this...
4
by: Chuck Chopp | last post by:
I have an application that I originally built using Visual Studio .NET 2003 as native C++ . This application includes a template class that was derived from the string class that's part of the C++...
0
by: Jonathan Wood | last post by:
I seem to be having errors creating and accessing an SQL database. Unfortunatley, I am brand new to SQL setup and administration issues so this really is not my area of expertise. I know I had...
2
by: n# | last post by:
I have an old existing website with a Header/ Left Hand Menu and a iframe as the main body content, adjacent to the menu. So for every click on the menu item, I used to load a aspx page on the...
2
by: alberthung01 | last post by:
Hi all, I wrote a component with ComponentDesigner to let users drag and drop it to WebPage from toolbox directly. Just like the behavior of dataAdapter. But it works fine on ASP.NET 1.1 but not...
409
by: jacob navia | last post by:
I am trying to compile as much code in 64 bit mode as possible to test the 64 bit version of lcc-win. The problem appears now that size_t is now 64 bits. Fine. It has to be since there are...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.