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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T15:45:37+00:00 2026-05-28T15:45:37+00:00

I have an IIS server which serves a search page using SolrNet. The search

  • 0

I have an IIS server which serves a search page using SolrNet. The search index is Solr, running inside Tomcat, on a separate machine on the same subnet (in the same room).

I get intermittent connection errors from IIS to the search server, mainly (InnerException):

Error: The operation has timed out
In: System.Net.WebResponse GetResponse()
Stack Trace: at System.Net.HttpWebRequest.GetResponse()
at HttpWebAdapters.Adapters.HttpWebRequestAdapter.GetResponse()

As well as sometimes (InnerException):

Error: Unable to connect to the remote server
In: System.Net.WebResponse GetResponse()
Stack Trace: at System.Net.HttpWebRequest.GetResponse()

I believe the problem is that IIS only ever has two concurrent connections to Tomcat (which I can see using CurPorts), so eventually the calls get so backed up it times out, but I can’t work out why. My preview site, on the same server, is able to create more connections, but increasing the setting using this code in web.config makes no difference:

<connectionManagement>
  <add address="*" maxconnection="100"/>
</connectionManagement>

I have already increased the SolrNet timeout to 30s using:

SolrNet.Startup.Init<SolrDataObject>(new SolrNet.Impl.SolrConnection(System.Configuration.ConfigurationManager.AppSettings["SolrURL"]) { Timeout = 30000 });

I first asked this question about these same errors – I have since found out that there are only ever two connections from IIS to Tomcat, and this seems a very likely cause for this problem to me.

  • 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-28T15:45:38+00:00Added an answer on May 28, 2026 at 3:45 pm

    This was because the machine.config was apparently locked only for some sites in IIS – though I’m not sure how that happened, changing the machine.config fixed this problem.

    (This didn’t fix the underlying problem, but I’ll update that now)

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

Sidebar

Related Questions

I have a instance of Apache and IIS running on my server which i
I have two separate websites running locally on my IIS server at work. One
I have a IIS server running on Windows Server 2003. The server hosts multiple
We have a legacy ASP.net powered site running on a IIS server, the site
I'm using Intelligencia url rewriting currently but have just leased an IIS 7.5 server
I'm trying to deploy an MVC app to a server which is running IIS
We have a notification service running on our TFS server which automatically modifies certain
I have a test server which has been working up until recently. Its running
I have an iis server on a windows 2003 production machine that will not
I have an IIS 6 server with a virtual directory pointing to a network

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.