Avatar of zystemsgo
zystemsgo

asked on 

Windows Server 2008 IPHPAPI.DLL Procedure entry point not found

I am trying to install an application which uses the API GetIPAddrfromTable stack. When I start up the application, I get the error "Procedure entry point not found in IPHLPAPI.dll"

I noticed that the dll file was quite old, so I tried replacing it, but Windows server 2008 doesn't let anyone copy any files to the system32 folder, even if you are administrator.

I tried to run sfc, and it updated the IPHLPAPI.DLL, and I tried to register the new DLL, but I get the error saying "The module iphlpapi.dll was loaded but the entry point DLLRegisterServer was not found. Make sure it is a valid DLL or OCX file".

I tried searching for the error messages, and they say something about using regasm, but I get the error "Error RA0000 : Failed to load because it is not a valid .NET assembly"
C++Windows Server 2008Windows OS

Avatar of undefined
Last Comment
zystemsgo
Avatar of jkr
jkr
Flag of Germany image

Bad news first: There is no funciton called 'GetIPAddrfromTable()', see http://msdn.microsoft.com/en-us/library/aa366071%28v=VS.85%29.aspx ("IP Helper Functions")

Anyway, a simple way to resolve such a DLL issue is to copy the newer version(s) in the application's working directory, since that's where Windows will look for DLLs before checking the system directories.
Avatar of zystemsgo
zystemsgo

ASKER

I am sorry about the wrong function name. The error says "Procedure entry point GetIpAddrTableFromStack could not be located in iphlpapi.dll". And this works on winxp,win2000 and win2003 to get the IP address of the local machine.

I tried replacing it, but server 2008 does not let me copy anything into the system32 folder. It says "Permission is needed to continue". I tried booting into safe mode and still can't copy it. I tried turning off UAC, and I am logged in as Administrator and still not able to copy the newer DLL.
ASKER CERTIFIED SOLUTION
Avatar of jkr
jkr
Flag of Germany image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of zystemsgo
zystemsgo

ASKER

Followed the instructions.

Worked successfully
Avatar of zystemsgo
zystemsgo

ASKER

Yes, that worked successfully. Thanks a lot! Saved me a lot of time.
Windows OS
Windows OS

This topic area includes legacy versions of Windows prior to Windows 2000: Windows 3/3.1, Windows 95 and Windows 98, plus any other Windows-related versions including Windows Mobile.

129K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo