Click to See Complete Forum and Search --> : WNetAddConnection2 Failed with ERROR_LOGIN_WKSTA_RESTRICTION


SandyG
September 4th, 2009, 08:08 AM
Hi all,

I am using WNetAddConnection2 API to create remaote IPC$ mapping. The API is working fine on Windows 2003 machine, but on Windows 2000 machine it is returning error code ERROR_LOGIN_WKSTA_RESTRICTION
(1240).

Please suggest any resolution in above case.


Thanks
SandyG

SandyG
September 11th, 2009, 06:03 AM
Solved the problem using:

http://support.microsoft.com/?kbid=839499