18 06 2009

WNetAddConnection2A is essentially a WinAPI function that allows you to add/mount Windows share connections (Samba shares if you will)… it lets you specify a comp name, username and password. Now the problem is, once in a while, you may encounter 1219 error. This translates to multiple connections from the same comp to the remote comp – which is apparently bad in Windows. Until today, I used to restart both comps to make this go away. Dont do that. Goto command line, do a net use and see who/what is using the connections. Then do a net use * /delete to remove them all… google more to find out how to remove only what you want or better still, experiment.




Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: