Solved

Windows Services has a problem in accessing the Directory

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
About delegates in c sharp 3 47
scanning dentists xray (the small ones) 3 53
Call Controller Action Method from ASPX 2 13
C# LINQ ForEach() question 6 21
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…
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…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

776 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