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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T21:51:17+00:00 2026-05-18T21:51:17+00:00

First of all, I’m not a pro on IIS configuration topic. I got a

  • 0

First of all, I’m not a pro on IIS configuration topic.

I got a website written in VB.NET 3.5 Web Forms. I have a small web service, ASMX, running as a part of this website. One page on the website calls the web service with AJAX (jQuery $.ajax function, post). The server is running Windows 2003 and IIS 6.0. The website and the web service are sharing the same Application Pool.

In IIS Application Pool properties there is a setting "Idle Timeout" which says "Shutdown worker processes after being idle for N (time in minutes)". The problem is when the worker process shuts down after N minutes, it is not being started again on any of the AJAX calls from the page. What can I do in this kind of situation? I’ve only dealt with .NET MVC before in terms of AJAX, and I have never seen anything like this.

There are no errors in the logs. Here is what’s being returned by the server through XmlHttpRequest:

Ready State: 4

Status: 500

Status Text: Internal Server Error

Xhr Message: undefined

Response Text: {"Message":"There was
an error processing the request.",
"StackTrace":"","ExceptionType":""}

I was told that setting the Shutdown value to a big number, like 24 hours, would fix this. I guess it would, but to me it doesn’t seem like a proper solution.

Edit

This is the JavaScript $.ajax call. I’m not sure if this will make any difference.

  $.ajax({
    type: "POST",
    url: "MyWebService.asmx/GetRecordsExceedingMessage",
    data: '{}',
    contentType: "application/json; charset=utf-8",
    dataType: "json",
    success: function(result) {
      LMM.Operative_CheckError(result);  //display Records Exceeding Message as validation error
    },
    error: function(xhr, status) {
      LMM.Operative_DisplayClientErrors(xhr);
    }
  });

EDIT:
I just remembered this little piece from Web.config of the website:

<webServices>
  <protocols>
    <remove name="HttpGet"/>
    <remove name="HttpPost"/>
    <remove name="HttpPostLocalhost"/>
    <remove name="Documentation"/>
    <remove name="AnyHttpSoap"/>
  </protocols>
</webServices>
  • 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-18T21:51:17+00:00Added an answer on May 18, 2026 at 9:51 pm

    Is the MyWebService.asmx/GetRecordsExceedingMessage actually a correct way of accessing your asmx? If you fetch that url manually, will it start the worker? It might also be that your handler only handles a certain content-type, hence your application/json won’t trigger it.

    I’m guessing that your handler-mapping isn’t working, therefor IIS errors out and never starts your app-pool. Try activating detailed errors for IIS, I know you can do that for IIS7 and onwards, not sure how to do that in IIS6, maybe this will help:

    In IIS control panel select web site, right click to properties, then select the the custom errors tab.

    Now select all the custom pages (Click top page, press shift and click bottom page) and click set as default. All pages to now show as being default.

    Stop and the re-start IIS and now you should now get detailed errors.

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

Sidebar

Related Questions

(First of all, sorry for my english, it's not my first language) I have
first of all some details: I configured security as below in web.xml view plaincopy
First of all, apologize because I have seen some posts about this, but I
First of all, let me say that I am not a professional coder -
I have 3 cards. at first all cards move to the right, then after
I have movies table with movieID,movieName and movieDate. I want to select first all
First of all this is all just concept, I have no actual programming done
First of all i have to those categoryIDs 1-whos parentcategoryID only appears one 2-ParentCategoryID
First of all, let me clarify that I know you cannot have actual abstract
First of all, I got this huge xml file that represents data collected by

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.