06-14-2010 04:16 AM - edited 02-21-2020 04:41 PM
Hi
On some of our clients (Win XP SP3 and Win 7) we get the following error while installing AnyConnect 2.4.1012
Error 1904.
Module C:\Program Files\Cisco\Cisco AnyConnect VPN Client\vpnapi.dll failed to register.
HRESULT -2147221164.
Contact your support personnel. (<--- unfortunately that's me ;-)
Neither deinstallation of VPN Client nor manual registration of vpnapi.dll worked.
Any hints?
Thanks
Stephan
10-07-2010 04:46 PM
Did you ever find an answer to this? I am having the same problem. Thanks!!
10-07-2010 11:18 PM
Hi Jennifer
In some cases the following procedure solved the problem:
- start anyconnect.exe
- when the error message pops up, leave it open
- open cmd, change to directory of AnyConnect and register dll via 'regsvr32 vpnapi.dll'
- it should provide an error message like "couldn't register vpnapi.dll..."
- open registry HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{44EC053A-400F-11D0-9DCD-00A0C90391D3}\InProcServer32
registry key '(default)' (or similar in other languages) should contain the path to atl.dll
if necessary correct to 'C:\WINDOWS\system32\ATL.DLL'
- now try again 'regsvr32 vpnapi.dll'
- it may be necessary to uninstall and reinstall AnyConnect after that
Hope it helps
Stephan
10-08-2010 02:58 PM
Stephan - I actually can't even install AnyConnect so I can't try your solution I get this error message during the installation process and it won't complete. Thanks for the help though. Jennifer
10-09-2010 03:00 PM
Jennifer,
so could you try just this part of the suggested solution:
- open registry HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{44EC053A-400F-11D0-9DCD-00A0C90391D3}\InProcServer32
registry key '(default)' (or similar in other languages) should contain the path to atl.dll
if necessary correct to 'C:\WINDOWS\system32\ATL.DLL'
And then try to install again?
hth
Herbert
10-11-2010 09:44 AM
Hi Herbert,
I went into regedit and located HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID, but I do not have a {44EC053A-400F-11D0-9DCD-00A0C90391D3} entry. Sorry if I am missing something, but this is all kind of new to me.
Thanks for everyone's continued support.
Jennifer
10-11-2010 02:30 PM
Hi Jennifer,
just to double check and make sure you did not miss it, could you go into the registry editor (regedit.exe) and go to Edit->Find (or press CTRL-F).
Enter atl.dll in the 'find what' field, and unselect keys and values (i.e. only look at Data).
The first 2 results (press F3 to go to the next match) should be in HKEY_LOCAL_ROOT, the 3rd one should be the one we mentioned in this thread earlier.
Herbert
10-14-2010 10:24 AM
Herbert, thanks for your help.... I am not sure what happened, but today I tried to install it and it worked!! The only thing different was that I had some Windows updates yesterday. So that must have fixed it!
02-09-2011 08:46 AM
Hey,
I've tried all the above tricks and I still get the same error. Was there any other official(unofficial is ok too) fix for this?
10-08-2010 07:13 AM
Hi,
can you make sure the ASA is in the trusted site?
Stefano
10-08-2010 03:13 PM
I am not quite sure what you mean when you say ASA...
10-08-2010 11:29 PM
Actually I was replying to both post and I was under the impression that the Anyconnect will act as vpn client and the ASA as vpn server (obviously this can be any other appliance supported by Anyconnect)
Now what you need to make sure is that you added the appliance to the trusted site in IE.
Can you try that?
06-27-2011 01:14 PM
Hello. I am having this issue as well on a Windows 7 host. Trying to edit that registry key can't be done - tried more than one PC. Trusted sites are greyed out in Internet Explorer so I'm not sure that can be changed.
Any ideas?
05-24-2017 08:34 AM
7 years later, but better late than never. Here is the solution that worked for me.
Relevant xkcd: https://xkcd.com/979/
11-19-2018 06:05 PM
As an IT from Western Digital i thank you for that reply :) .
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: