Jump to content

Windows Services


erikkl2000
 Share

Recommended Posts

Hi,

I have created a windows service that retrieves images from a remote location and saves them to the local disk every hour.

This works great with a windows form; however, i am receiving an error of access denied in my system logs when i try this with a windows service.

I have just recompiled the application this time under the credentials of LocalSystem.

Where am i going wrong here?

thanks

erik

Link to comment
Share on other sites

Welcome to the Windows Forum.

Sorry, I cannot tell you what you do wrong. Also, we do not have many system developers here.

I know that it is difficult to debug services, at least I wouldn't know how to do that. What I would try in your situation is issue messages to pinpoint the location in your app where the 'access denied' occurs, then take it on from there.

Also, do you get any more detailed information from the event logs?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy