?
Solved

Windows Services has a problem in accessing the Directory

Posted on 2006-06-30
5
Medium Priority
?
217 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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

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…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month9 days, 3 hours left to enroll

764 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