views:

708

answers:

5

This is my set up on a stage server

compiled my web application

published website

copied the output directory from my machine to stage server

created domain account

created virtual site on a static IP

website runs under domain account created

impersonate set too true as windows integrated authentication is used with sql server

Now first time i hit my stage site, the page is slow to load which i understand, but subsequent request do take a while for the page to load.

planning to run wire shark to see what the traffic is. is there anything else that i should look for?

Note: My IIS and SQL are on the same machine.

A: 

What browser are you using? For me, if I use Firefox with firebug all my web apps load very slow, all the time! If you're using Firefox, try IE or Chrome to check if that's the case.

Shahin
Shahin, you need to disable IPv6 -- that's why your FireFox is slow. Type "about:config" into your FireFox URL bar, and then search for ipv6. You should see a configuration property named "disableIPv6". Make sure it's enabled and restart FireFox. Good to go!
Nicholas H
Thanks for the tip I'll definitely give it a go at work tomorrow
Shahin
A: 

You should run it through a profiler to see what it is spending so much time on. SQL Server includes it's own nice query profiler, and if you want a free profiler for .net, there's nprof. If you want to pay for a profiler for .Net, and it's probably worth it in the long run, there's lots of good offerings available.

Kibbee
A: 

Am using IE. Will try and run with nprof.

A: 

Kibbee, So i downloaded the latest version of nprof. i tried to attach it to my web app and when i click on the 'file' menu of nprof, it gives me no option of attaching to my web site

StingyJack: What gives on using comments, when i do use comments people say post it as an answer and now you say use comments. Is there a standard that everyone agrees too?
A: 

Can you define slow? how many seconds?

Definitely check the queries to sql server to see what they are doing.

There is always task manager and take a look at cpu/memory. It is not hard to peg a single cpu for example. Anything else on the server?

When having problems I always like to have an empty aspx page just to eliminate other issues.

Data Dave
Data Dave: 5 seconds to load my start page. SQl execution plan is all good for the stored procedure and does not show anything abnormal.