Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8899249
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T00:48:50+00:00 2026-06-15T00:48:50+00:00

I developed an application in Delphi 2010 that reads XML data from a transactional

  • 0

I developed an application in Delphi 2010 that reads XML data from a transactional queue. It works fine if the queue is local or remote and I don’t have to set permissions in both cases.

Now I have to convert that application into a Windows Service. I copied and pasted the same application into the service code, but when I try to read the queue I get the “Access denied” error. I’m doing the tests on my local machine.

Some people say that it’s a matter of permissions. I found here in Stack Overflow some posts to the same problem but I didn’t find the solution.

Any ideas? I’m using Windows 7 as well.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T00:48:51+00:00Added an answer on June 15, 2026 at 12:48 am

    If you are running the application locally, you are running it under your Windows logon credentials. Services by default are launched under a different user account which may not have the same rights as your account does.

    Bring up the service manager (start->services.msc), find your service in the list, right click it and select Properties. Then select the Log On tab and change it to a specific account name/password. (Use your account name / password.) You’ll then be executing the code using the same credentials so your Access Denied error should go away.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have an application server developed with Delphi 2010 and Indy 10. This server
I developed an application that uses Delphi 7, ADO and ORACLE, the provider I
I am using Firebird on Windows (Delphi 2010 developed Application). Is it possible to
I have an old application developed in Delphi 2006 that I now needed to
We have an application developed using Delphi 5 that we cannot upgrade to Delphi
I developed a Document Managment System (DMS) as a Delphi client server application that
I have developed an database application with Delphi XE2 using an Access DB, now
At one point of time, I have to terminate my application developed in Delphi
I'm trying to develop an application in Delphi XE2 that will be able to
i have developed application for read information from card reader. Here i have used

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.