TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
roby.gir
NA
1
0
[C# WindowServices and SAMBA share]
Sep 29 2011 9:59 AM
Hi all, I'm developed a c# window service that loop a folder for a file ad read it.
The folder is a SAMBA share, and my domain account have permission to use that share.
When the service run, I get the following error:
Eror when access to folder: unknown username or invalid password.
Note that the service is installed with ServiceAccount.User security and when install it I put my username and password
serviceProcessInstaller.Account = ServiceAccount.User;
serviceProcessInstaller.Username = null;
serviceProcessInstaller.Password = null;
Any ideas?
Thanks in advance!!!
Have a good day.
Reply
Answers (
0
)
File Watcher program
How to set Windows service in life time