troubleshooting Question

cast COM Exception when creating VPN

Avatar of hamid441
hamid441 asked on
VPNC#OS Security
2 Comments1 Solution468 ViewsLast Modified:
I have a webApp written in that creates VPN connection per user request (uses F5 Networks Components. It works fine on windows XP and vista, however, I get the following error when I run it on a server 2008 VMware:
12/17/2009 16:46:16 VPN: Exception caught opening session: InvalidCastException: Unable to cast COM object of type 'APPCTRLLib.AppTunnelExClass' to interface type 'APPCTRLLib.IAppTunnelExConnectionSettings'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{BA82B157-1C6E-4F7E-AB7D-2654282C25E4}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
12/17/2009 16:46:16 Exception caught while polling: InvalidCastException: Unable to cast object of type 'System.EventArgs' to type 'System.Timers.ElapsedEventArgs'.

I done some googling, it seems that there is a problem in the windows registery.
C:\windows\system32 > regsvr32.exe /u actxprxy.dll
and then register it again C:\windows\system32 > regsvr32.exe actxprxy.dll, didnot work for me as it is suggested in

any ideas?

Todd Gerbert
Senior Engineer
Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros