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

  • Home
  • SEARCH
  • 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 6003161
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T01:04:57+00:00 2026-05-23T01:04:57+00:00

I have developed a .NET service and it’s been running well on my dev

  • 0

I have developed a .NET service and it’s been running well on my dev machine for ages. I’ve tested deploying it and have never experienced any permission issues.

When I came to deploy the service to a test location, however, I was greeted with this error:

Request for the permission of type 'System.Diagnostics.EventLogPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

The service has permission to write to the event log because it actually does write some events.

What could be going on here?

P.S. I am not prepared to adjust any security zones or run my service under a special account.

  • 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-05-23T01:04:58+00:00Added an answer on May 23, 2026 at 1:04 am

    The problem was that the Service loaded some assembly at runtime, and in my Test deployment I had pointed to the assembly (in the application config) using UNC network share. (e.g. \machine\d$…)
    In my Dev deployments I was pointing to it using a local absolute reference (D:……)

    The LocalSystem account has very tight permissions, including not being able to access files on a remote machine. Additionally, the .Net Framework usually doesn’t like running remote assemblies.

    We know this, but it slipped my mind during the deployment.

    Changing the assembly path to the local form resolved this issue.

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

Sidebar

Related Questions

I have developed a service with vb.net. This service is been installed from a
I have developed the WCF web service in vb.net in visual studio 2010 express
I have a .net Windows Service developed in VB.net. I have a settings file
I have a simple windows Service developed in VS.net 2008 and VB.net. When I
I have a very simple windows Service that is developed in vb.net 2008. When
I have developed a .NET Windows Service (in VS2010) that needs to: Access shared
I have developed a asp.net web service and deployed on IIS 7.5 and windows
I have developed in c# 2 applications. One ASP .NET web service and a
I have a service that was developed in the .NET 2.0 framework. It is
I have developed a WCF Service Application hosted in IIS 7.5 targeting .NET 3.5

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.