I am using WNetAddConnection2 function to access share folder. Everything works fine if I use it through an application, but when I use same code from a windows service then I get this error. What could be the reason.
error number 1219 (The credentials supplied conflict with an existing set of credentials).
plz HELP me.