I have installed on a 32bit server a IBM Rational ClearQuest and made a process which uses the api that they provide. And there works perfectly.
When I migrate this to another server (64bit) it throws
Retrieving the COM class factory for component with CLSID {94773112-72E8-11D0-A42E-00A024DED613} failed due to the following error: 80040154.
I went to the registry to see what was there, (in both servers) and in the first one, there were some keys regarding where this API dll is placed that in the 64bit server weren't. (Also there were a key about the framework)
I did a research on the web to see this.
My options then (at least the only ones I could think of) where:
I've seen today this cscript, here using Windows Script Host but it does not work with c#.
Supposely c# .Net2008 when the compiler says "Any" machine it clearly means both... but just in case I've changed it to 64bit exclusively...
And guess what... yes you are right... that didn't work also.
I hope you can help me. Thanks in advance.-
Edit:
Searching on the web I've found that when I've tried to do a registration it was throwing error 5 Access Denied
Go to Control Panel --> User Accounts --> "Tune User Account Control on or off". Turn off "Use User Account Control (UAC) to help protect your computer", and restart the computer. Run "the process with the API" again and it worked.