Solved

Windows Services has a problem in accessing the Directory

Posted on 2006-06-30
5
212 Views
Last Modified: 2010-04-16
Hi,
  I created an serivce which access shared drive on M/C ABCD on network to open a file. When I start the service I get an exception as Permission denied to access the file/folder. But If I debug the service it works fine.
I set the Service Account as user & I gave my user name & password. Is there anything I have to do.
0
Comment
Question by:kiru
  • 2
5 Comments
 
LVL 27

Expert Comment

by:Chinmay Patel
ID: 17020699
Hi There,

Did you try to use Local Admin A/C?

If you are in a domain then try to run your service with Domain Admin's A/C.

Regards,
Chinmay
0
 

Author Comment

by:kiru
ID: 17020850
Thanks for the reply. I logged in to domain a/c & I have permission  to access the shared folder
 
0
 

Author Comment

by:kiru
ID: 17021070
Hi it worked.. I have to open file in read only mode.
0
 
LVL 1

Accepted Solution

by:
DarthMod earned 0 total points
ID: 17182951
PAQed with points refunded (250)

DarthMod
Community Support Moderator
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video discusses moving either the default database or any database to a new volume.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now