0

I have got a .aspx page When I run it on localhost it get executed with approx 17 sec. Following is the screenshot of network tab of browser

enter image description here

The same page when I upload it on server and try to run it it takes approx 2 minutes which is too long Following is the screen shot

enter image description here

I have made changes to the web.config file as compilation debug="true" along with enableCompression="true" enableCaching="true" also made changes in the view state.

My database is on the other domain and the .aspx page is on another domain. I also tried uploading the page on the same domain and run it but it is also slow. Please Help.

Pooja Shrigod
  • 165
  • 1
  • 1
  • 13
  • 1
    Check how much response takes to reach you after sent from server. It it is transport then your connection might be slow or data is large. It it is not transport then check what part of process is taking time – Adil Feb 24 '16 at 11:24
  • Possible duplicate of [How can I profile an ASP.NET application running on a production server?](http://stackoverflow.com/questions/3978566/how-can-i-profile-an-asp-net-application-running-on-a-production-server) – CodeCaster Feb 24 '16 at 11:28
  • 1
    There really is no way for others to answer this, you'll need to [go profile your application](http://stackoverflow.com/questions/3978566/how-can-i-profile-an-asp-net-application-running-on-a-production-server). – CodeCaster Feb 24 '16 at 11:29

1 Answers1

0

I added a tracer and found that the user controls takes long load time . Fixed it. Thanks @CodeCaster and @Adil

Pooja Shrigod
  • 165
  • 1
  • 1
  • 13