473,396 Members | 1,743 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

SLOW oh so slow

con
Hi All,

I have a asp.net web site with vb.net back end, when I connect to the MS sql
2000 server via ado.net it takes a long time to connect to ms sql >25sec.

Addressed sql server via ip, full network name & computer name.

I have enabled pooling, watched the traffic via netmonitor and it has a
number of tds protocol item.

Security is via ad groups, and I have also tried direct user ids.

iis 6.0, Framework 2.0, vs 2003 sql server on seperate server if you need
further information please ask.

Thanks in advance.

Jun 27 '08 #1
4 952
The only reasons I can imagine why it would take that long to connect to SQL
server is due to the distance between your website and the server, or the
data server's processor is at 100% usage. If your web app is in New York,
and your data server is in India it's going to take a while. I work on the
east coast and our data server is on the west coast - so I totally
understand your frustration.

The closer your app and data servers are to each other the quicker your
response time will be. If your servers are in the same building and still
doing that, well, I have no idea what could cause that. Also, if you can't
get the data and app servers closer to each other and you haven't already
done this - start caching common data that doesn't change frequently in
memory within your app. That will help fix the issue since the application
won't have to query the server as often.

"con" <Co*@nospam.nospamwrote in message
news:eC**************@TK2MSFTNGP02.phx.gbl...
Hi All,

I have a asp.net web site with vb.net back end, when I connect to the MS
sql 2000 server via ado.net it takes a long time to connect to ms sql
>25sec.

Addressed sql server via ip, full network name & computer name.

I have enabled pooling, watched the traffic via netmonitor and it has a
number of tds protocol item.

Security is via ad groups, and I have also tried direct user ids.

iis 6.0, Framework 2.0, vs 2003 sql server on seperate server if you need
further information please ask.

Thanks in advance.
Jun 27 '08 #2
con


I agree, but in this case both servers are in the same data center which is
why I am so confused.

"Jeff Winn" <jw***@nospam.comwrote in message
news:A0**********************************@microsof t.com...
The only reasons I can imagine why it would take that long to connect to
SQL server is due to the distance between your website and the server, or
the data server's processor is at 100% usage. If your web app is in New
York, and your data server is in India it's going to take a while. I work
on the east coast and our data server is on the west coast - so I totally
understand your frustration.

The closer your app and data servers are to each other the quicker your
response time will be. If your servers are in the same building and still
doing that, well, I have no idea what could cause that. Also, if you can't
get the data and app servers closer to each other and you haven't already
done this - start caching common data that doesn't change frequently in
memory within your app. That will help fix the issue since the application
won't have to query the server as often.

"con" <Co*@nospam.nospamwrote in message
news:eC**************@TK2MSFTNGP02.phx.gbl...
>Hi All,

I have a asp.net web site with vb.net back end, when I connect to the MS
sql 2000 server via ado.net it takes a long time to connect to ms sql
> >25sec.

Addressed sql server via ip, full network name & computer name.

I have enabled pooling, watched the traffic via netmonitor and it has a
number of tds protocol item.

Security is via ad groups, and I have also tried direct user ids.

iis 6.0, Framework 2.0, vs 2003 sql server on seperate server if you need
further information please ask.

Thanks in advance.
Jun 27 '08 #3
Have you tried connecting to the server from a source other than your site?
If you have the same issue connecting to the server with sql management
studio it might help narrow down the problem.

"con" <Co*@nospam.nospamwrote in message
news:uC**************@TK2MSFTNGP02.phx.gbl...
>

I agree, but in this case both servers are in the same data center which
is why I am so confused.

"Jeff Winn" <jw***@nospam.comwrote in message
news:A0**********************************@microsof t.com...
>The only reasons I can imagine why it would take that long to connect to
SQL server is due to the distance between your website and the server, or
the data server's processor is at 100% usage. If your web app is in New
York, and your data server is in India it's going to take a while. I work
on the east coast and our data server is on the west coast - so I totally
understand your frustration.

The closer your app and data servers are to each other the quicker your
response time will be. If your servers are in the same building and still
doing that, well, I have no idea what could cause that. Also, if you
can't get the data and app servers closer to each other and you haven't
already done this - start caching common data that doesn't change
frequently in memory within your app. That will help fix the issue since
the application won't have to query the server as often.

"con" <Co*@nospam.nospamwrote in message
news:eC**************@TK2MSFTNGP02.phx.gbl...
>>Hi All,

I have a asp.net web site with vb.net back end, when I connect to the MS
sql 2000 server via ado.net it takes a long time to connect to ms sql
>25sec.

Addressed sql server via ip, full network name & computer name.

I have enabled pooling, watched the traffic via netmonitor and it has a
number of tds protocol item.

Security is via ad groups, and I have also tried direct user ids.

iis 6.0, Framework 2.0, vs 2003 sql server on seperate server if you
need further information please ask.

Thanks in advance.
Jun 27 '08 #4
con

Got it working,

I had the ms ajax library removed from the servers and now all is well,
just the application runs in non aja mode but it is fast. Now all I got to
do is get it orking with AJAX.

Thanks for the help
"Jeff Winn" <jw***@nospam.comwrote in message
news:6B**********************************@microsof t.com...
Have you tried connecting to the server from a source other than your
site? If you have the same issue connecting to the server with sql
management studio it might help narrow down the problem.

"con" <Co*@nospam.nospamwrote in message
news:uC**************@TK2MSFTNGP02.phx.gbl...
>>

I agree, but in this case both servers are in the same data center which
is why I am so confused.

"Jeff Winn" <jw***@nospam.comwrote in message
news:A0**********************************@microso ft.com...
>>The only reasons I can imagine why it would take that long to connect to
SQL server is due to the distance between your website and the server,
or the data server's processor is at 100% usage. If your web app is in
New York, and your data server is in India it's going to take a while. I
work on the east coast and our data server is on the west coast - so I
totally understand your frustration.

The closer your app and data servers are to each other the quicker your
response time will be. If your servers are in the same building and
still doing that, well, I have no idea what could cause that. Also, if
you can't get the data and app servers closer to each other and you
haven't already done this - start caching common data that doesn't
change frequently in memory within your app. That will help fix the
issue since the application won't have to query the server as often.

"con" <Co*@nospam.nospamwrote in message
news:eC**************@TK2MSFTNGP02.phx.gbl...
Hi All,

I have a asp.net web site with vb.net back end, when I connect to the
MS sql 2000 server via ado.net it takes a long time to connect to ms
sql >25sec.

Addressed sql server via ip, full network name & computer name.

I have enabled pooling, watched the traffic via netmonitor and it has a
number of tds protocol item.

Security is via ad groups, and I have also tried direct user ids.

iis 6.0, Framework 2.0, vs 2003 sql server on seperate server if you
need further information please ask.

Thanks in advance.
Jun 27 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: yawnmoth | last post by:
using the gethostbyname function seems to noticeably slow down pages. some of the comments in php.net's gethostbyname entry suggest using a version that caches the result, but those versions also...
8
by: Neil | last post by:
I have a very puzzling situation with a database. It's an Access 2000 mdb with a SQL 7 back end, with forms bound using ODBC linked tables. At our remote location (accessed via a T1 line) the time...
2
by: David | last post by:
Hi, We have an internal network of 3 users. Myself & one other currently have individual copies of the front-end MS Access forms and via our individual ODBC links we have used the: File > Get...
3
by: Jennyfer J Barco | last post by:
In my application I have a datagrid. The code calls a Stored procedure and brings like 200 records. I created a dataset and then a dataview to bind the results of the query to my grid using ...
50
by: diffuser78 | last post by:
I have just started to learn python. Some said that its slow. Can somebody pin point the issue. Thans
0
by: Pratchaya | last post by:
In my.cnf i add these lines ####### log-bin log-slow-queries = /var/log/mysqld-slow.log long_query_time=1 #######
2
by: mezise | last post by:
Posted by Pratchaya: ------------------------------------------------------ MySQL Slow Log ERROR In my.cnf i add these lines ####### log-bin log-slow-queries = /var/log/mysqld-slow.log
13
by: eighthman11 | last post by:
using Access 2003 and sql server version 8.0 Hey everyone. Created a text box where the user types in an Inventory number and it takes them to that inventory number on the contimuous form. The...
3
by: John | last post by:
Hi I have replaced an ms access app with its vb.net version at a client site. Now the clients keeps complaining about how slow the app response is. The complains they have are for example when...
10
by: penworthamnaynesh | last post by:
Does php slow your website down? This is what i would like to know.The reason is because my site is writtent 50% in html and 50% in php and is very slow at loading. And i cant tell wether php is...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.