PDA

Click to See Complete Forum and Search --> : can't run code on windows server 2008


hyper88
Aug 23rd, 2009, 02:05 PM
Hi,

I have an app that was created using vb.net with vs 2005 and was tested to be ok on windows XP. but when i try to run it on windows server 2008, i am getting an error

System.runtime.interopservices.COMException(0x80040154): Retrieving the COM Class factory for component CLSID { xxx} failed due to the following error: 80040154.

I tried to register the dll using regsvr32 ( i have done it on windows XP) and it works fine but when i try it on windows server 2008 and windows vista home premium. Regsvr32 just hangs there (process still active when view in taskmanager).

Any ideas what i should try next? I have attached the dll library if any kind soul would try it out for me.

It is a library to communicate with a public announcement device by bosch security.

thanks

jmcilhinney
Aug 23rd, 2009, 09:19 PM
This really isn't a VB.NET issue. If your app works when the COM component is registered then that's all VB can do. How to register a COM component on Windows Server 2008 is really nothing to do with VB.NET.

dee-u
Aug 23rd, 2009, 10:04 PM
Have you installed your app on those target machines?

si_the_geek
Aug 24th, 2009, 04:40 AM
I think our 'Application Deployment' forum is the best place for this question - so I've moved the thread there.