
WNetUseConnection returns 1312 intermittently
- or -
Post a project like this2470
£75(approx. $99)
- Posted:
- Proposals: 0
- Remote
- #2260021
- Awarded
Description
Experience Level: Entry
Hi there
We have an issue connecting to a remote drive in a .net application
The first operation using WNetUseConnection works, and then attempting again returns a 1312 error. Waiting 10 mins or so then appears to work again
Other users have experienced the same issue:
https://social.msdn.microsoft.com/Forums/en-US/9e714b18-6632-4de9-96ed-1ce1843aa1ff/wnetaddconnection2-returns-1312-errornosuchlogonsession-in-64-bit?forum=windowsgeneraldevelopmentissues
https://stackoverflow.com/questions/29572509/wnetaddconnection2-reconnections-fail-on-subsequent-attempts-with-error-1312
We are disconnecting (or attempting to) disconnect the session in our code but this doesn't appear to be working
Looking for assistance to resolve this
We have an issue connecting to a remote drive in a .net application
The first operation using WNetUseConnection works, and then attempting again returns a 1312 error. Waiting 10 mins or so then appears to work again
Other users have experienced the same issue:
https://social.msdn.microsoft.com/Forums/en-US/9e714b18-6632-4de9-96ed-1ce1843aa1ff/wnetaddconnection2-returns-1312-errornosuchlogonsession-in-64-bit?forum=windowsgeneraldevelopmentissues
https://stackoverflow.com/questions/29572509/wnetaddconnection2-reconnections-fail-on-subsequent-attempts-with-error-1312
We are disconnecting (or attempting to) disconnect the session in our code but this doesn't appear to be working
Looking for assistance to resolve this
Identify W.
100% (149)Projects Completed
181
Freelancers worked with
131
Projects awarded
26%
Last project
31 Jan 2024
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-

Has this ever worked? Have you tried connecting via the user you are using for this via your network? Is the user locked?
753205
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies