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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T02:39:30+00:00 2026-05-26T02:39:30+00:00

At work I’ve got an issue with a website I’ve been working on and

  • 0

At work I’ve got an issue with a website I’ve been working on and it’s got me a bit stumped. It’s an Microsoft MVC 2 site running on IIS6 on Windows Server 2003 against a SQL Server database thats on a different server.

The issue presents itself as extreme slowness when trying to log in, I wrote a quick script to call the log in page 100 times and the times varied between 3 seconds and 14 seconds, but it was rather erratic.

I’ve ran sql profiler while performing the log in and the behaviour is you’ll hit submit, a second or too will pass, you’ll see the sql profiler log the connection then execute the sql in milliseconds then a couple of more seconds pass before being redirected.

As a sanity check we deployed to another server on a cloud hosting service that we have access too and the site performs speedily, the same login script x100 the full request consistently takes 1-2 seconds.

So just to run through everything we’ve ruled out:

It’s not the server hardware as the processor and memory use is hardly anything.
It’s not the bandwidth as once connected to Sql Server the scripts that execute sequentially are very fast.
It’s not the Sql being execute or any indexing issues, the sql executes very quickly.

At this stage it feels like a problem with how the application is making opening and closing the initial connection to sql server. Like the handshake between servers is taking up all the time, because once connected the interaction with the database is very fast.

I just cant figure out what the difference between this server and the cloud server where it runs fine would be.

Any suggestions of tools or tests i could perform would be extremely appreciated.

Thanks.

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

    Try using something like Red Gate Ants Profiler – it’ll show you timings of all the managed code (even the Framework stuff you don’t have source for – just make sure you choose the filter to show it). (The trial should work fine).

    This should give you an idea if the time is spent on the managed-side. If it’s not, it’ll be harder to track down, but here’s a few ideas:

    • DNS
    • Authentication (could it be authenticating externally, like against a domain controller?)
    • Network connection between servers
    • Failing to connect with one protocol, falling back to another (Firewall?)
    • LLMNR?

    Hope this helps

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

Sidebar

Related Questions

At work I have been tasked with adding additional functionality to an existing MVC
Work on asp.net vs05. I have three type of value Like:IsDesign,IsPrinting,IsInstall they are bit
At work, we have multiple branches that we may be working on at any
Work got in the way of learning Objective C but i'm back at it
Work on ASP.NET 2.0 C# on the web. In my site, I have three
I work for a .NET/MSSQL shop that has trouble supporting customers running Novell, partially
I work with an e-commerce website that uses a PayPal checkout component written in
I work with windows XP operation system When I create new vbs file on
work on asp.net vs 05 C#.Master page header contain the bellow code <script type=text/javascript
work on SQL Server 2000. want to Automated Email Notifications using SQL Server Job

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.