J
JohnFol
I am using the Win23 API WNetCancelConnection2 and can sucessfully make a
connection to a share within my class. The class is called from a Windows
Form based test harness.
When I instantiate exactly the samce class from a Windows Wervice, I get "A
specified logon session does not exist. It may already have been terminated"
.. The error number is 1312.
I know the code to be good, so I suspect something around security / windows
accounts etc.
Any pointers?
(FYI I am using VB.Net and am an Admin on the machine)
connection to a share within my class. The class is called from a Windows
Form based test harness.
When I instantiate exactly the samce class from a Windows Wervice, I get "A
specified logon session does not exist. It may already have been terminated"
.. The error number is 1312.
I know the code to be good, so I suspect something around security / windows
accounts etc.
Any pointers?
(FYI I am using VB.Net and am an Admin on the machine)