Frinavale: It was only after using the Depends.exe that comes with Visual Studio 2005 that I realized that there are CPU conflicts concerning this DLL.
What's the problem ?
Frinavale: I've tried registering the DLL on the server but the web-application ignores the registered DLL and uses the one in the project's "bin" folder.
You should only have the interop in bin folder. Anyhow if you regsvr32 another physical dll this one should be used, not any other ones.
Frinavale: but I don't remember seeing an error in when running regsrv32
regsvr32 won't tell you that registry entries are bad.
Frinavale: I've only just touched on GUID's and have no idea what the difference between a ProgID and ClassID is.
ProgID is the human readable form, IndependentVersionProgID is the versionless ProgID and ClassID is the GUID form.
For example :
ADODB.Command.2.80 is the ProgID for the object Command version 2.8
ADODB.Command is its IndependentVersionProgID
and {00000507-0000-0010-8000-00AA006D2EA4} its ClassID.
The object can be instantiate using one of the three. If the IndependentVersionProgID is used it shall instantiate the latest registered version.
It looks like one entry is missing in the registry. One of your component but as you are using VB6, it may come from one of VB runtime.
I'll try to uninstall and reinstall the component but also all VB runtime. I'll try to deploy on another x64 machine but you may not have one more...
There may be a confusion/setup problem between "Program Files" and "Program Files (x86)".
I've juste grab the ADODB.Command entries to show how it should looks like for your component. But it's painful to check VB runtime... I'm afraid I cannot help you any longer...
...But logically if it works using a ProgID it should work using a CLSID
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\ADODB.Command]
@="ADODB.Command"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\ADODB.Command\CLSID]
@="{00000507-0000-0010-8000-00AA006D2EA4}"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\ADODB.Command\CurVer]
@="ADODB.Command.2.8"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\ADODB.Command.2.80]
@="ADODB.Command"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\ADODB.Command.2.80\CLSID]
@="{00000507-0000-0010-8000-00AA006D2EA4}"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{00000507-0000-0010-8000-00AA006D2EA4}]
@="ADODB.Command"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{00000507-0000-0010-8000-00AA006D2EA4}\InprocServer32]
@="C:\\Program Files\\Common Files\\System\\ado\\msado15.dll"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{00000507-0000-0010-8000-00AA006D2EA4}\ProgID]
@="ADODB.Command.2.8"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{00000507-0000-0010-8000-00AA006D2EA4}\VersionIndependentProgID]
@="ADODB.Command"