Solved

Windows Services has a problem in accessing the Directory

Posted on 2006-06-30
5
213 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

912 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

16 Experts available now in Live!

Get 1:1 Help Now