473,403 Members | 2,293 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,403 software developers and data experts.

slow ASP-SQL database connection

My ASP pages have very slow connections with SQL Server database, although
eventually it will reach the page and get the results. The SQL Server
database and IIS are in the same machine, I have no idea why it will cause
the problem.

I just put this connection string as SSI:

strConnect="Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security
Info=False;Initial Catalog=MYDATABASE;Data Source=MYCOMPUTER"

Anyone has any ideas? Please advise. thanks!
John
Jul 19 '05 #1
4 7763
How are you determining that it's the connection that is slow?

John Davis wrote:
My ASP pages have very slow connections with SQL Server database,
although eventually it will reach the page and get the results. The
SQL Server database and IIS are in the same machine, I have no idea
why it will cause the problem.

I just put this connection string as SSI:

strConnect="Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist
Security Info=False;Initial Catalog=MYDATABASE;Data Source=MYCOMPUTER"

Anyone has any ideas? Please advise. thanks!
John

Jul 19 '05 #2
I just migrated the database and web pages from one machine to another
machine. The speed of the original web pages are faster than the current
one.

I wonder if anything to do on IIS or SQL Server settings??

"Bob Barrows" <re*******@yahoo.com> wrote in message
news:OK**************@TK2MSFTNGP12.phx.gbl...
How are you determining that it's the connection that is slow?

John Davis wrote:
My ASP pages have very slow connections with SQL Server database,
although eventually it will reach the page and get the results. The
SQL Server database and IIS are in the same machine, I have no idea
why it will cause the problem.

I just put this connection string as SSI:

strConnect="Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist
Security Info=False;Initial Catalog=MYDATABASE;Data Source=MYCOMPUTER"

Anyone has any ideas? Please advise. thanks!
John


Jul 19 '05 #3
I just migrated the database and web pages from one machine to another
machine. The speed of the original web pages are faster than the current
one.

I wonder if anything to do on IIS or SQL Server settings??

"Bob Barrows" <re*******@yahoo.com> wrote in message
news:OK**************@TK2MSFTNGP12.phx.gbl...
How are you determining that it's the connection that is slow?

John Davis wrote:
My ASP pages have very slow connections with SQL Server database,
although eventually it will reach the page and get the results. The
SQL Server database and IIS are in the same machine, I have no idea
why it will cause the problem.

I just put this connection string as SSI:

strConnect="Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist
Security Info=False;Initial Catalog=MYDATABASE;Data Source=MYCOMPUTER"

Anyone has any ideas? Please advise. thanks!
John


Jul 19 '05 #4
This question cannot be answered until you verify where the slowdown is
occurring. This will require some debugging to be done with your pages. Use
Response.write's to report on your code timing:

<%
dim t
t= now()
....
response.write datediff("s",t,now()) & "<BR>"
....
response.write datediff("s",t,now()) & "<BR>"
....

Bob Barrows

John Davis wrote:
I just migrated the database and web pages from one machine to another
machine. The speed of the original web pages are faster than the
current one.

I wonder if anything to do on IIS or SQL Server settings??

"Bob Barrows" <re*******@yahoo.com> wrote in message
news:OK**************@TK2MSFTNGP12.phx.gbl...
How are you determining that it's the connection that is slow?

John Davis wrote:
My ASP pages have very slow connections with SQL Server database,
although eventually it will reach the page and get the results. The
SQL Server database and IIS are in the same machine, I have no idea
why it will cause the problem.

I just put this connection string as SSI:

strConnect="Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist
Security Info=False;Initial Catalog=MYDATABASE;Data
Source=MYCOMPUTER"

Anyone has any ideas? Please advise. thanks!
John


Jul 19 '05 #5

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

Similar topics

5
by: Kurt Bauer | last post by:
I have an ASP group calendar application which pulls calendar data from Exchange via webdav into an XML string. I then loop the XML nodes to populate a collection of appointments. Finally I use...
8
by: BlueBall | last post by:
I am writing some kind of network testing tool and I have wrote the following code in ASP.NET with C# int size= 10048576; // around 10 MB data string buffer = ""; for (int j=1; j<=1024;...
8
by: Soeren S. Joergensen | last post by:
Hi, From a win-service I do a HttpWebRequest to a secure url with some parameters to get some simple data from a remote system used later on in a worker thread. When making the request from...
4
by: Vito DeCarlo | last post by:
Over the past week, I've been noticing that any websites (on this one particular web server) built with ASP.NET have unusually slow (5 second) response times when moving through the site. There...
3
by: Pavils Jurjans | last post by:
Hello, I am experiencing very slow processing of ASP.NET pages that are served over LAN, while when running them on the server machine (ie http://localhost), there is no slowdowns. We have...
8
by: aualias | last post by:
I am rewriting a web page that was previously done with ColdFusion. It has a DataGrid and one column in the DataGrid is a dropdown list which is the same for all rows. The ItemDataBound code...
5
by: Ram | last post by:
Hi After deploying a simple web application to the production environment, I see that hwne I launch my app's url it takes a while to load the home page.(it doesnt do anything complex. A pretty...
10
by: John | last post by:
Hi When I open a new outlook email from vb.net, sometimes outlook is very slow to appear or occasionally outlook freezes completely. I am targeting mixed office2000/xp environments so I am...
9
by: SAL | last post by:
I have an ASP.NET 2.0 app that takes about 17 seconds to load on first startup but then is very fast after that. As I understand it from some posts in June, this is caused by the loading of the App...
6
by: Cirene | last post by:
I have VS2008 and the IDE is super slow. I updated to the latest version. Is there a way to find out why it's acting so slow?
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.