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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T08:57:08+00:00 2026-05-12T08:57:08+00:00

We have an IIS hosted web method which is randomly dying on us about

  • 0

We have an IIS hosted web method which is randomly dying on us about 10% of the time. In trying to debug this we’ve added Log.Debug() messages in front of every real code line and it appears to be dying on random lines.

Has anyone seen this or have an idea on how to debug this?

[Additional Details]

We’ve spent a lot of time looking at it and have discovered the following…

  1. We have a seperate self-hosted WCF Service that access the same database and lives on the same machine. When it is under heavy load the web method croaks every time. If it’s not under load then things usually work fine (but not 100%).

  2. High CPU doesn’t seem to be part of the problem. We ran a small app that created a high cpu load and the web service did not die.

  3. The web service dies when we either new up an XmlSerializer (without doing the sgen precomp) OR have NHibernate create a SessionFactory. The only two things these things have in common is that they 1) seem like things people commonly do.. 2) seem like they would be fairly intensive.

  4. We’ve added a Global.asax to try to capture Application_End and Application_Error but neither event gets fired. This to me implies that we’re not dealing with a normal application pool resetting?

  • 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-12T08:57:08+00:00Added an answer on May 12, 2026 at 8:57 am

    Figured it out.. two problems really..

    1. We added Global.asax but it didn’t get copied over which explains why we weren’t seeing any messages. We fixed this and found out that…

    2. Our WCF log was being written out to the bin directory of the IIS Web Service. In retrospect this is kind of silly since the WS is an old school web service. The WCF stuff is in the same directory only for some reason that is unknown to us since the initial person who set things up is gone..

    Lesson learned.. Somewhere there is a message that explains everything.. you just have to find it.

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

Sidebar

Ask A Question

Stats

  • Questions 198k
  • Answers 198k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer You could do some repetitive polling of the time elapsed… May 12, 2026 at 7:36 pm
  • Editorial Team
    Editorial Team added an answer Whether or not messages inherit from ActiveRecord or ActionMailer, you… May 12, 2026 at 7:36 pm
  • Editorial Team
    Editorial Team added an answer The currrent C++ standard does not say anything about thread… May 12, 2026 at 7:36 pm

Related Questions

I am seeing a very strange problem on one of my production boxes. We
I have a web application uses a proxy to invoke an operation on a
We have a Web project containing both an ASP.Net (forms) UI, and some WCF
I am developing a WCF service hosted by IIS, using VSTS2008 + C# +

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.