473,657 Members | 2,484 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

SQL Server and ASP.net timeout problems

Jim
Group,

I have a Web application sitting on a staging server that is using SQL
Server 2000 as its data store, and I can run the application flawlessly.
Now, when I copy the project to my localhost and run the application, using
the same SQL Server, I keep on receiving a SQLException Timeout expired. Any
ideas how I can remedy this?
Nov 18 '05 #1
9 4427
Can you create a simpler application locally that works?

Does any of it work? Is it a connection timeout or query timeout?

Jeff
"Jim" <Ji*@discussion s.microsoft.com > wrote in message
news:B1******** *************** ***********@mic rosoft.com...
Group,

I have a Web application sitting on a staging server that is using SQL
Server 2000 as its data store, and I can run the application flawlessly.
Now, when I copy the project to my localhost and run the application, using the same SQL Server, I keep on receiving a SQLException Timeout expired. Any ideas how I can remedy this?

Nov 18 '05 #2
Jim
Even if I create another application trying to pull the information from the
same SQL Server I get the timeout exception when it goes to fill the DataSet
using the DataAdapter. Now, if I go and pull the information from my local
host SQL Server that has a copy of the staging SQL Server's data everything
works OK.

"Jeff Dillon" wrote:
Can you create a simpler application locally that works?

Does any of it work? Is it a connection timeout or query timeout?

Jeff
"Jim" <Ji*@discussion s.microsoft.com > wrote in message
news:B1******** *************** ***********@mic rosoft.com...
Group,

I have a Web application sitting on a staging server that is using SQL
Server 2000 as its data store, and I can run the application flawlessly.
Now, when I copy the project to my localhost and run the application,

using
the same SQL Server, I keep on receiving a SQLException Timeout expired.

Any
ideas how I can remedy this?


Nov 18 '05 #3
How are you logging onto SQL Server in your app?

Can you return data via Query Analyzer ok using the same login?

Jeff
"Jim" <Ji*@discussion s.microsoft.com > wrote in message
news:A3******** *************** ***********@mic rosoft.com...
Even if I create another application trying to pull the information from the same SQL Server I get the timeout exception when it goes to fill the DataSet using the DataAdapter. Now, if I go and pull the information from my local host SQL Server that has a copy of the staging SQL Server's data everything works OK.

"Jeff Dillon" wrote:
Can you create a simpler application locally that works?

Does any of it work? Is it a connection timeout or query timeout?

Jeff
"Jim" <Ji*@discussion s.microsoft.com > wrote in message
news:B1******** *************** ***********@mic rosoft.com...
Group,

I have a Web application sitting on a staging server that is using SQL
Server 2000 as its data store, and I can run the application flawlessly. Now, when I copy the project to my localhost and run the application,

using
the same SQL Server, I keep on receiving a SQLException Timeout
expired. Any
ideas how I can remedy this?


Nov 18 '05 #4
Jim
I am logging in using SQL Server authentication, and I can retrieve
information using SQL Query Analyzer.

"Jeff Dillon" wrote:
How are you logging onto SQL Server in your app?

Can you return data via Query Analyzer ok using the same login?

Jeff
"Jim" <Ji*@discussion s.microsoft.com > wrote in message
news:A3******** *************** ***********@mic rosoft.com...
Even if I create another application trying to pull the information from

the
same SQL Server I get the timeout exception when it goes to fill the

DataSet
using the DataAdapter. Now, if I go and pull the information from my

local
host SQL Server that has a copy of the staging SQL Server's data

everything
works OK.

"Jeff Dillon" wrote:
Can you create a simpler application locally that works?

Does any of it work? Is it a connection timeout or query timeout?

Jeff
"Jim" <Ji*@discussion s.microsoft.com > wrote in message
news:B1******** *************** ***********@mic rosoft.com...
> Group,
>
> I have a Web application sitting on a staging server that is using SQL
> Server 2000 as its data store, and I can run the application flawlessly. > Now, when I copy the project to my localhost and run the application,
using
> the same SQL Server, I keep on receiving a SQLException Timeout expired. Any
> ideas how I can remedy this?


Nov 18 '05 #5
Did you try a "select * from authors" in the Pubs database?

Jeff
"Jim" <Ji*@discussion s.microsoft.com > wrote in message
news:13******** *************** ***********@mic rosoft.com...
I am logging in using SQL Server authentication, and I can retrieve
information using SQL Query Analyzer.

"Jeff Dillon" wrote:
How are you logging onto SQL Server in your app?

Can you return data via Query Analyzer ok using the same login?

Jeff
"Jim" <Ji*@discussion s.microsoft.com > wrote in message
news:A3******** *************** ***********@mic rosoft.com...
Even if I create another application trying to pull the information from
the
same SQL Server I get the timeout exception when it goes to fill the

DataSet
using the DataAdapter. Now, if I go and pull the information from my

local
host SQL Server that has a copy of the staging SQL Server's data

everything
works OK.

"Jeff Dillon" wrote:

> Can you create a simpler application locally that works?
>
> Does any of it work? Is it a connection timeout or query timeout?
>
> Jeff
> "Jim" <Ji*@discussion s.microsoft.com > wrote in message
> news:B1******** *************** ***********@mic rosoft.com...
> > Group,
> >
> > I have a Web application sitting on a staging server that is using

SQL > > Server 2000 as its data store, and I can run the application

flawlessly.
> > Now, when I copy the project to my localhost and run the application, > using
> > the same SQL Server, I keep on receiving a SQLException Timeout

expired.
> Any
> > ideas how I can remedy this?
>
>
>


Nov 18 '05 #6
Jim
Yes I did, and I was able to retrieve all authors.
"Jeff Dillon" wrote:
Did you try a "select * from authors" in the Pubs database?

Jeff
"Jim" <Ji*@discussion s.microsoft.com > wrote in message
news:13******** *************** ***********@mic rosoft.com...
I am logging in using SQL Server authentication, and I can retrieve
information using SQL Query Analyzer.

"Jeff Dillon" wrote:
How are you logging onto SQL Server in your app?

Can you return data via Query Analyzer ok using the same login?

Jeff
"Jim" <Ji*@discussion s.microsoft.com > wrote in message
news:A3******** *************** ***********@mic rosoft.com...
> Even if I create another application trying to pull the information from the
> same SQL Server I get the timeout exception when it goes to fill the
DataSet
> using the DataAdapter. Now, if I go and pull the information from my
local
> host SQL Server that has a copy of the staging SQL Server's data
everything
> works OK.
>
> "Jeff Dillon" wrote:
>
> > Can you create a simpler application locally that works?
> >
> > Does any of it work? Is it a connection timeout or query timeout?
> >
> > Jeff
> > "Jim" <Ji*@discussion s.microsoft.com > wrote in message
> > news:B1******** *************** ***********@mic rosoft.com...
> > > Group,
> > >
> > > I have a Web application sitting on a staging server that is using SQL > > > Server 2000 as its data store, and I can run the application
flawlessly.
> > > Now, when I copy the project to my localhost and run the application, > > using
> > > the same SQL Server, I keep on receiving a SQLException Timeout
expired.
> > Any
> > > ideas how I can remedy this?
> >
> >
> >


Nov 18 '05 #7
Any chance there is some sort of firewall or proxy between your local
machine and the staging server?

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Thu, 4 Nov 2004 16:53:02 -0800, Jim <Ji*@discussion s.microsoft.com >
wrote:
Yes I did, and I was able to retrieve all authors.


Nov 18 '05 #8
Jim
I downloaded and installed SP2 a couple of days ago. Anyway, I opened up
port 1433 of the firewall, but I'm still running into the same problem.

"Scott Allen" wrote:
Any chance there is some sort of firewall or proxy between your local
machine and the staging server?

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Thu, 4 Nov 2004 16:53:02 -0800, Jim <Ji*@discussion s.microsoft.com >
wrote:
Yes I did, and I was able to retrieve all authors.


Nov 18 '05 #9
So, um..what's different then? Did you do some troubleshooting at this
point after you realized that Pubs works?

What could be different? Permissions for one thing. Also, run SQL Profiler
on the SQL box to verify what SQL is being passed.

Jeff
"Jim" <Ji*@discussion s.microsoft.com > wrote in message
news:44******** *************** ***********@mic rosoft.com...
Yes I did, and I was able to retrieve all authors.
"Jeff Dillon" wrote:
Did you try a "select * from authors" in the Pubs database?

Jeff
"Jim" <Ji*@discussion s.microsoft.com > wrote in message
news:13******** *************** ***********@mic rosoft.com...
I am logging in using SQL Server authentication, and I can retrieve
information using SQL Query Analyzer.

"Jeff Dillon" wrote:

> How are you logging onto SQL Server in your app?
>
> Can you return data via Query Analyzer ok using the same login?
>
> Jeff
> "Jim" <Ji*@discussion s.microsoft.com > wrote in message
> news:A3******** *************** ***********@mic rosoft.com...
> > Even if I create another application trying to pull the information
from
> the
> > same SQL Server I get the timeout exception when it goes to fill
the > DataSet
> > using the DataAdapter. Now, if I go and pull the information from my > local
> > host SQL Server that has a copy of the staging SQL Server's data
> everything
> > works OK.
> >
> > "Jeff Dillon" wrote:
> >
> > > Can you create a simpler application locally that works?
> > >
> > > Does any of it work? Is it a connection timeout or query timeout? > > >
> > > Jeff
> > > "Jim" <Ji*@discussion s.microsoft.com > wrote in message
> > > news:B1******** *************** ***********@mic rosoft.com...
> > > > Group,
> > > >
> > > > I have a Web application sitting on a staging server that is using SQL
> > > > Server 2000 as its data store, and I can run the application
> flawlessly.
> > > > Now, when I copy the project to my localhost and run the

application,
> > > using
> > > > the same SQL Server, I keep on receiving a SQLException

Timeout > expired.
> > > Any
> > > > ideas how I can remedy this?
> > >
> > >
> > >
>
>
>


Nov 18 '05 #10

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

Similar topics

3
8296
by: Hasan | last post by:
Hi I'm having a problem with deadlocks in a table in SQL server when trying to update it through Biztalk 2004. There is no problem when I use the same Biztalk solution to update a similar dummy table, but when I try updating the original table in the production database, some transactions are updated successfully whereas others become the victim of the deadlock (Transaction (Process ID 185) was deadlocked on lock resources with another...
1
1978
by: jrefactors | last post by:
I posted this question before but no replied. I really need some suggestions. The JSP application is deployed in IBM Websphere, and it has file upload operation. The problem is if the user upload a huge file like 20 MB, it will returns "Page cannot be displayed" in the browser after 30 seconds. If upload a small file size, it doesn't have any problems. I tested it in local machine with WSAD, and it can upload any file size. I suspect it...
9
1642
by: John | last post by:
I have a single server running SQL Server 2000 sp3a, and acting as a ASP.NET webserver (.net 1.1 sp1). W2k sp4. Dual Xeon processor, 2 gigs RAM. Everything works fine, but sometimes when I execute a particular stored procedure (on server console using command line, nothing .net), my webapps will fail intermitently. Custom errors are turned on, so at this stage I can't give you error codes! But my assumption is that it's a SQL problem,...
0
1278
by: Phinneas | last post by:
Howdy, I have multiple apps running on a pair of dual-processor Win2k IIS servers, neither of which are domain controllers. My users are experiencing fairly frequent (10-20 / day) "Server Application Unavailable" errors. I'm using a custom "Server Application Unavailable" page to send me an email whenever this occurs. I also have a ProcessHistory page that leverages ProcessModelInfo.GetHistory() to show me what's going on at the...
2
907
by: Crirus | last post by:
Hi I designed a server with tcp that should listen on a port (9500) for incoming connections I designed a client application that use WebRequest to connect to my server. Anyway, everything works just fine on my PC. Now the client should be able to connect from any intranet/internet computer I started the server on a LAN computer and tryed to make a request using my
14
7027
by: Marcus | last post by:
I have a function that simply returns TRUE if it can connect to a particular Sql Server 2005 express, or FALSE if it cannot. I am getting some strange error codes returned when the computer that sql server resides on is not reachable. The error is different depending on the connection string that I use. If I use the following connection string: "server=192.1.1.1; Initial Catalog=master; uid=The_User; password=The_Password; Connect...
3
5749
by: Saizan | last post by:
I embedded an Rpyc threaded server in a preexistent daemon (an irc bot), this is actually very simple; start_threaded_server(port = DEFAULT_PORT) then I had the necessity to stop the thread which accept() new connections without killing the whole app, the thread is simply a while True that spawn a new thread which serves each connection, so I placed a flag and a break in this way: def local_threaded_server(port = DEFAULT_PORT, **kw):...
1
1299
by: stubailey | last post by:
Hi, I am having real problems with timeout on queries when I specify a server and database name. i.e. INSERT .. SQLSERVER1.DATABASE1.DBO.TABLE1 SELECT .... FROM SQLSERVER1.DATABASE1.DBO.TABLEX The problem is that the stored procedure can be used over either 1 or 2 servers, when use over 2 servers as long as they are linked it is not an issue. If the server is the same then I timeout. The query is actually run within an EXEC statement...
0
8325
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8742
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8518
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8621
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7354
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6177
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5643
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
2743
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1971
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.