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 1059991
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T18:15:27+00:00 2026-05-16T18:15:27+00:00

Log4Net doesn’t write when iis hosting a WCF Service. it works great when i

  • 0

Log4Net doesn’t write when iis hosting a WCF Service.
it works great when i use the self hosting ( Visual Studio Development Server),
but when i run it using the IIS it doesn’t write anything.

i read about this prolem and the conclusion is that
it must be a permission problem, but i don’t know how to solve it.

how can i check that i have a permission to write a log file?
where can i change the permission? change AppPool users?
Can you give me some simple steps of how to check if i have a permission problem?

i’m an administrator on my computer.
i’m trying to create the file in the project folder.
The file is a rolling file appender.

thank you.

  • 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-16T18:15:27+00:00Added an answer on May 16, 2026 at 6:15 pm

    The problem was solved when i moved the path of the log from “c:\Log.txt” Hard drive to “c:\log\Log.txt” folder in the hard drive.

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

Sidebar

Related Questions

Have Log4Net configured in our application to use a date stamped name and a
I use log4net in just about every code project. I was wondering what other
I decided to use log4net as a logger for a new webservice project. Everything
I am configure log4net to use a composite RollingFileAppender so that the current file
Playing with log4net, I have seen the possibility to use a per-thread stack of
I want log4net to write log files (using RollingFileAppender) to a subfolder of the
How do I make Log4net only log Info level logs? Is that even possible?
I have wrapped Log4net in a static wrapper and want to log loggingEvent.LocationInformation.MethodName loggingEvent.LocationInformation.ClassName
Backstory: I'm using log4net to handle all logging for a project I'm working on.
I am using Log4Net with the AdoNetAppender to log messages from a simple systray

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.