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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T02:21:42+00:00 2026-05-21T02:21:42+00:00

This is my own fault, and I’m just missing something obvious. I am building

  • 0

This is my own fault, and I’m just missing something obvious. I am building a WCF REST app, on .Net 4.0, and have it working in development, now. I pushed it up to my production server, and get a 500 error after logging in. Now, I’m sure this is an issue with my application, but here’s the rub – I have no idea what the error is – I just get a generic 500 error, even if I do it from the lcoalhost. So, I went looking for a log, but there is no entry in the logs under inetpub, just acouple of 400 and 401 errors from some previous experimenting. What am I missing? Where does my WCF app write log entries to? Or do I have to tell it to write 500 errors to a log somewhere, by hand? How would I do that.

  • 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-21T02:21:43+00:00Added an answer on May 21, 2026 at 2:21 am

    WCF apps don’t write logs, unless you’ve adding logging to them.

    However the WCF stack can, optionally, write trace files out which you can, sometimes, use to track down the inner exceptions. MSDN has instructions on how to enable and view them.

    However that page doesn’t show you how to configure file logging, instead this one does. You will need to add an XML trace listener which writes to a file,

            <listeners>
               <add name="traceListener" 
                   type="System.Diagnostics.XmlWriterTraceListener" 
                   initializeData= "c:\log\Traces.svclog" />
            </listeners>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We currently have a website at somedomain.net/codefest. We do not own this server (or
OK, this is my own fault, but I can't seem to rescue myself. Whenever
This is really just for my own use: I would like to be able
Using this sample : I have make my own Fragment that holds tabhost and
I am relatively new to git so this issue might be my own fault.
I am working on my own storage engine for MySQL. So far this storage
I can think of lots of ways to do this on my own, but
This program I use has it's own variables to set when you run it,
This is a follow-up to #1644748 where I successfully answered my own question, but
For this assignment I had to create my own string class. I initially wrote

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.