Solved

Windows Services has a problem in accessing the Directory

Posted on 2006-06-30
5
215 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

733 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