ross13
asked on
Login failure: unknown username or bad password
In my vb.net application I am trying to copy a file from one location to another and receive the following message:
Login failure: unknown username or bad password
The program works fine on my pc but I moved to run on the server under a scheduled task.
Cheers
Login failure: unknown username or bad password
The program works fine on my pc but I moved to run on the server under a scheduled task.
Cheers
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
So It seems that your Bug was with your application, then kindly give feedback to me.
This is obviously a permissions issue. What are the source and destination locations? Does the user under which the app runs, has permissions on both source and destination folders?
ASKER
I am running the application under my name (administrator). I can copy the files between the servers ok.
I have been looking at some other links on google and can found some information regarding user impersonation. Do i need to do something like this?
http://support.microsoft.com/kb/842789
http://www.netframeworkdev.com/net-base-class-library/logon-failure-unknown-user-name-bad-password-8947.shtml
Cheers,
I have been looking at some other links on google and can found some information regarding user impersonation. Do i need to do something like this?
http://support.microsoft.com/kb/842789
http://www.netframeworkdev.com/net-base-class-library/logon-failure-unknown-user-name-bad-password-8947.shtml
Cheers,
If the app is running under Administrator then no other impersonation is needed. But is that local administrator or domain administrator? And is the source and destination on same server or different servers?
ASKER
The pc is not on the domain. I have asked the guy from hp to have a look.
ASKER