senthil wrote:initially the application compiled as any CPU but we deploy in the 2012 server and we got this error
Retrieving the COM class factory for component with CLSID {8E959D41-51F5-4545-B481-0A509877E527} failed due to the following error: 80040154.
after that i compiled as "32 bit".also all DLLs register using Regsvr32 in the server. after that the above errors are gone.but now i am getting this error
Attempted to read or write protected memory. This is often an indication that other memory is corrupt in line no 445.
Please advice.
Hi Senthil,
Thanks for the project - I see a few issues right away, but not immediately relating to your reported problem. I will have to pull bits out of your project and into a new one for me to test, as your project is version VS 2005, not compatible with my environment here (VS 2013) and I'm not willing to setup a dev environment for VS 2005. I also see references to classes in there which are much older than 06.05.13 of Jiwa and give me compile errors - specifically references to JiwaCreditors.StdFunctions - as a guess I'd say that was the 06.04.xx series of Jiwa this code was built against.
Using x86 as the target platform was the correct thing to do - but your issues with COM registry entries being absent and them being resolved by using Regsvr32 to register them causing the problems to go away - You do have Jiwa installed on both the development machine and the target server, right ? and they are both 06.05.13 ?
Mike