Linked Server Connectivity Delays

Jan 15, 2008

Create a linked server to another box.
exec sp_serveroption 'RemoteServer', 'connect timeout', '1'
exec sp_serveroption 'RemoteServer', 'query timeout', '1'

Pull the network cable from the remote box.

SELECT * from RemoteServer.Database.dbo.Table1


Why does it take almost exactly 21 seconds, every time, before it fails?
How can I get it to fail immediately?

View 1 Replies


ADVERTISEMENT

Connectivity To Teradata Through Linked Server

Feb 22, 2005

I've been informed that our data feed systems are going to be shut down and that our data will be residing in Teradata V2R5 databases. I was wondering if anyone knows if you can get connectivity to a Teradata server via Linked Server in the Security folder of SQL Server Enterprise Manager? If no then; Is it possible through a DTS package? Thanks for the info...

View 2 Replies View Related

Linked Server Connectivity Error

Aug 16, 2006

BACKGROUND:

I have two databases that support two separate applications. Both applications are required to be in sync with one anther. One application is MSSQL 2000 based and the other is Oracle 9.i. Given the complexity of the first application (host), the best solution was to use linked servers to connect the SQL database to the Oracle database.

To prevent imbalances, the host application calls a package in Oracle to update the secondary application before it completes the transaction in SQL. This way, if anything fails at any point, the entire transaction is rolled back and neither databases are updated.

PROBLEM:

Our test system is stand alone but is performing the previously mentioned transaction in the same manner to an Oracle database on a Linux server. After passing testing, we promoted the application to the live system and are experiencing the following error when the transaction attempts to call the Oracle package:

Connectivity error: [Microsoft][ODBBC SQL Server Driver][SQL Server]MSDTC on server XXXXX is unavailable.

I have done some reading, but there really isn€™t much literature on linked servers. Will someone help?

Thanks so much,

Tony

View 2 Replies View Related

SQL Server Phantom SPIDs Causes Locking And Delays

Nov 10, 2003

A fellow developer of mine has created a ASP.Net application that executes some fairly complex stored procedures. This application is for all intensive purposes a queue and 3 or 4 people work on processing items in a FIFO type environment. There is logic in the Stored procedures to make sure each worker get a unique entry using a series of query hints.

Well what we are seeing is if these works are moving at a rapid pace and we execute an sp_who2 on the sql server there are entries that that seems to be hanging there and REMAINING there even after a browser is closed or the disposed method has been called on the connection object. Has anyone else experienced something similar to this with an ASP.Net application used by mutiple people?

My inclination is to blame the design of the application, but before I do that and step on my co-workers toes I thought I would throw this out to the group.

Thanks in advance for your input.

View 7 Replies View Related

Calculating Delays With Sql

Jul 11, 2006

I have three columns in my table,'StartDate',EndDate','BatchID'

When I upadate the the table for 'EndDate' I want to calculate the

I want to store this modified value somewhere and calculate the difference in (Value of 'End Date' Before update)-(Value of 'EndDate' after Update')

How it is possible?
Thanks in advance
Swati

View 1 Replies View Related

Connection Delays?

Feb 23, 2008

Hi,

We have been having performance issues with a high use webservice that is making ado calls.
Using past logs, I narrowed down the bottlenecks to delays that always appear to occur around some ADO call.

When I reproduce the same stored procedure calls in Query Analyzer I get a fast response.

I checked and made sure that the sqlConnection is being closed after use.

I feel like I've hit a brick wall. What could be causing these sporadic delays to calls to SQL Server?

Any advice is greatly appreciated.

Thanks,
J.

View 1 Replies View Related

Delays Processing Queries

Dec 28, 2001

I've noticed lately that my queries through ADO/VB are taking alot longer to process at certain times. The query and the result information never changes, only that at certain times the query takes alot longer than usual. I thought that I possibly need more licenses, or it might be network traffic. I currently use MS SQL Server 2000 small business Ed(5 Cals).

Has anyone any information about performance problems due to licensing issues?


Thanks,

Dave Cohoon

View 1 Replies View Related

When You Open Your SSIS Project With Other User, Delays?

Oct 27, 2006

hi everyone,

A couple of issues.

1)I usually connect to my remote server via TS using a specific login (it belong to Admins) and through that user I open my SSIS projects (30 packages). Now, I have a new user and the same operation take a long time and I don't know why (same permissions) the reasons for this big delay.

2)When I'm gonna to press "Delete all Breakpoints" from Debug menu BIDS is closed. Previously appears a Microsoft dialog (Microsoft has encountered an error...) asking if you inform or not of these errors.

Thanks in advance and regards,









View 2 Replies View Related

Linked Server ( Not Able To Access Any Tables Under LINKED SERVER From My DESKTOP Enterprise Manager

Mar 25, 2002

Hi ,
On my Desktop i registered Production Server in Enterprise Manager
on that Server if i go to SecurityLinked Servers
There is another Server is already mapped, when i am trying to see the Tables under that one of the
Linked Server i am getting the Error message saying that
"Error 17 SQL Server does not exist or access denied"

if i went to Production Server location and if i try to see the tables i am able to see properly, no problems
why i am not able to see from my Desk top
i am using the sa user while mapping the Production Server on my DESKTOP using (ENTERPRISE MANAGER)

And i check the Client Network Utility in the Alias using Named Pipe only, i changed to TCP/IP still same problem
What might the Problem how can i see the Tables in Linked Server from my DESKTOP

Thanks

View 5 Replies View Related

DB Engine :: How To Point Linked Server To Specific Database / Rename Linked Server

Apr 24, 2015

I am using Linked Server in SQL Server 2008R2 connecting to a couple of Linked Servers.

I was able to connect Linked Servers, but I cannot point to a specific database in a Linked Server, also, I cannot rename Linked Server's name.

How to point the linked server to a specific database? How to rename the Linked Server?

The following is the code that I am using right now:

USE [master]
GO
EXEC master.dbo.sp_addlinkedserver
    @server = N'Machine123Instance456',
    @srvproduct=N'SQL Server' ;
GO
EXEC sp_addlinkedsrvlogin 'Machine123Instance456', 'false', NULL, 'username', 'password'  

View 6 Replies View Related

Scripting Stored Procedure Add With Linked Server Reference When Linked Server Is Not Available

Jul 18, 2006

Is there a way to bypass the syntax checking when adding a stored procedure via a script?

I have a script that has a LINKed server reference (see below) .

INSERT
INTO ACTDMSLINKED.ACTDMS.DBO.COILS ..etc.

ACTDMSLINKED does not exist at the time I need to add the stored procedure that references it.

PLEASE to not tell me to add the LINK and then run the script. This is not an option in this scenerio.

Thanks,

Terry

View 4 Replies View Related

SQL Server Db Connectivity With Asp.net

Dec 27, 2004

Hi:
I m in new in ASP.net and can't connect sql server db with ASP.net.I write exact code.but it give error in connection string and server error some time.I found that error is in web.config file.can any one have running project of asp.net with sqlserver db..
if any one have then mail the project at this mail address..
ray_boby@hotmail.com

View 1 Replies View Related

SQL Server 7 Connectivity In C# && ASP .NET

Dec 13, 2005

I am using webforms for ASP .NET which has code in C#. My database is running on SQL Server 7. Whats the best way to connect to database. I have tried ODBC connection through myConnection=new SqlConnection(ConfigurationSettings.AppSettings["dsn"]);but it gives me an error that can not connect to the SQL Server 2005 or it does not allow remote connections though it is running SQL Server 7 and not SQL Server 2005.  Thanks in advance.

View 1 Replies View Related

SQL Server And Dos Connectivity

Feb 17, 2000

hello , i have a small problem , an associate want to connect to a micrsoft sql server under nt from a pc with only dos! can such a thing be done?

View 1 Replies View Related

SQL Server Connectivity

Feb 19, 2007

I am trying to connect to my dev Sql server instance remotely from my developer edition and I get the following error


An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) (Microsoft SQL Server, Error: -1)

i Made sure that the following are complete

# [Link] Enable the TCP/IP protocol using the Surface Area Configuration Utility
# [Link] Make sure the TCP/IP protocol is enabled in the SQL Server Configuration Utility
# [Link] Make sure the SQL Server browser is started

View 3 Replies View Related

DB2 Connectivity With SQL Server

Jun 6, 2007

Hi,

We have a DB2 server which is linked to our SQL Server 2005 database. The link is through ODBC connection. Now, we are able to access some of the tables without any problems. But couple of tables are not accessible and we get following error::"

"com.ibm.db.DataException: A database manager error occurred. : [IBM][CLI Driver][DB2/NT] SQL1822N Unexpected error code "08S01" received from data source "TESTPROD". Associated text and tokens are "Communication link failure". SQLSTATE=560BD "

Any ideas on why this is happening and how to resolve this?

Thanks,
Ujjaval

View 3 Replies View Related

Connectivity To Sql Server Ad Asp.Net

Mar 20, 2008

Hi All

how i connect sql server 2000 to Asp.Net.

Please Help me
Thanks

View 1 Replies View Related

Sql Server Connectivity

Apr 25, 2007

Hi,

I am new to SQL Server. I want to connet to SQL Server database and fetch records. SQL Server will be present in some other server.

For connecting to SQL Server is it necessary to create DSN. Is it possibel to connect to SQL Server with out DSN

I want following parameters are enough for opening connetion are not:
MyConnObj.Open _
"Provider = sqloledb;" & _
"Data Source=172.16.1.60;" & _
"Initial Catalog=TESTATV;" & _
"User ID=sa;" & _
"Password=p@ssW0rd;"

As per my assumption

Data Source is your server name

Initial Catalog is your database name

please clarify me on this.

thanks

View 1 Replies View Related

Simple Way For Ms Sql Server Connectivity?

Sep 6, 2006

hi    i am using sql server 2000 i want  to connect from asp.net i am confused with web.config what is this for, to connect should i edit it or simple connectivity is also posible if u know any tutorial please refer me which will guide for database connectivity faisal iqbal ch 

View 1 Replies View Related

SQL Server Connectivity Problem

Jun 21, 2001

I had SQL Server working without a problem on my laptop until I changed the identification name of my laptop to make it more recognisable when I connect to a LAN. However, since I've changed my laptops name, my local SQL Server service wont run and I cant connect to my local databases. I can connect to remote SQL Servers though. If I change my laptops name back to what it was before, it still doesnt work. This has happened in the past and the only way I could solve the problem then was to uninstall SQL Server 7, remove all registry keys referring to it then reinstall it. I dont want to do all that again so....HELP!!!???! I'd really appreciate any help anyone could give me. Please email me at adrianmhills@hotmail.com

View 2 Replies View Related

MS Access Connectivity To SQL Server

Jul 22, 1998

Hi...

I am using MSACCESS form to connect to SQL SERVER database..Is that possible.

my tables are defined in SQL SERVER and through MS ACCESSS forms as a front End I am manipulating it...

How should I do that...Can any body help me in the same

Thanks in Advance

Rakesh

View 1 Replies View Related

Re:SQL Server Connectivity Problems

Mar 10, 1999

To All,
I have two different servers,server1 and server2
they have the same databases(did a dump from server1 and restored on server2)
now I am using ipx/spx to connect to both the servers on the same network.
the problem is I am not able to connect to them when both are online.(using isqlw)
i have to switch one of them off to login to another,but i want both of them to be up and running at the same time
how to solve this problem?
DP

View 2 Replies View Related

SQL Server Network Connectivity

Sep 5, 2001

Has anyone experienced timeouts connecting to SQL 2K from a client and also the server console itself. Typically this error occurs on the client: Microsoft OLE DB Provider for SQL Server error `80040e14`
OLE/DB provider returned message: Timeout expired
conn_info.asp, line 444

View 1 Replies View Related

SQL Server Connectivity Issues

Oct 21, 2005

Hello everyone,
I am experiencing problems connecting to me database from my App. I had created this database and my application that calls all the stored procedures at my old work place. I had then moved it all to my home machine. When I open my connection, I get the error saying, "SQL Server is not available or access is denied"! I have added aspnet user to the users group in the SQL Server, disabled my firewall, made sure that physically in the server view I am able to get to the tables inside of the IDE....but to no success. I have been stuck on this for over two days and need serious help from someone.

Kindly let me know of the reasons and troubleshooting methods for this problem.

Thanks in advance

View 4 Replies View Related

Sql Server Connectivity - Parameters

Apr 25, 2007

Hi,

I am new to SQL Server. I want to connet to SQL Server database and fetch records. SQL Server will be present in some other server.

For connecting to SQL Server is it necessary to create DSN. Is it possibel to connect to SQL Server with out DSN

I want following parameters are enough for opening connetion are not:
MyConnObj.Open _
"Provider = sqloledb;" & _
"Data Source=172.16.1.60;" & _
"Initial Catalog=TESTATV;" & _
"User ID=sa;" & _
"Password=p@ssW0rd;"

As per my assumption

Data Source is your server name

Initial Catalog is your database name

please clarify me on this.

thanks

View 4 Replies View Related

JDBC Connectivity With SQL Server

May 19, 2006

How do I configure the MS-SQLSERVER to accept JDBC connections andprocess the sql?I'm using SQLSERVER 2000 on Windows NT.Thanks for your help

View 2 Replies View Related

SQL Server Connectivity And Security

Feb 2, 2008

Couple of questions for the SQL Server Guru's out there.

SQLServer 2005
Web Hosting Provider

Ok I am developing a Web application in ASP.NET with AJAX, etc. etc. It will be some time before it is ready to roll out. As a mockup I created the same application in Microsoft Access and Visual Basic (VS 2008), which I can link the tables to the hosting provider on the internet. Works very well and speed is very acceptable.

My question is, is how secure is the data that is moving from the local application to SQLServer 2005 with the web hosting provider ? Is there anything that I can do to increase security ?


Thanks, any thoughts ?

View 7 Replies View Related

SQL Server Connectivity Error...

Mar 3, 2008

Hello All -

I am using SQL server 2005 sp1 to work with my applications... and i am using ODBC connection to communicate with SQL serrver...

The connectivity has been working fine for more than a 6 months now .... and suddenly it thows an error ...

"General network error. Check your network documentation.ConnectionRead (recv())."

There about 10 applications accessing SQL server... and all the applications throws this same error...

I intially thought it migjht be bacuase some applications are over utilizing the SQL connection and not closing them properly... but i noticed the connection opened in the Activity monitor are the same as it supposed to be ... no extra unwanted connection opened...

I also noticed that SQLserver.exe process is utilizing almost all the RAM memory and trying to allocate more page memory.... so i restarted the SQL sever service and that reinstated all the connectivity properly....

in couple of days .... the memory utilization again reached the max and this problem started again and i had to restart the SQL server again... and this problem happens every 2 days...

I know SQL server is using up those memory for caching purpose which is normal... but Y would this cause the connectivity to fail...

Is it a problem in SQL server 2005 SP1 ... shd i upgrade it to SP2?

If some of my application is causing this how would i narrow it down to that application and pin point on that particular one?

The thrown error does not have much information for it to guide me in a direction for debugging...

Please can any one help me tro this problem?

Badri

View 8 Replies View Related

SQL Server DSN Connectivity Problem

Nov 2, 2006

Hi All,

I have made a system DSN to connect to sql server, and in my asp code i got the createObjects for the connection strings.

But it keeps asking me for a data provider. What do I do?

Thx

View 1 Replies View Related

Check Connectivity Sql Server

Jun 6, 2007

Hello all, I am hoping this is the correct place for this. I have an application that depends on an active connection to Sql Server Express 2005. I am looking for a way is any to check for the existance ofthe server I defined and wether it is online or not. I know I can just catch the error on connection but it takes a bit and I have customers trying to cancel it before it's finished because they think it's locked up. I would like a quick way to check without trying to create a connection if it's online, then if it is, proceed, if not, let the customer know. I was hoping for something like a database server ping of sorts.



Thank you,

Jim

View 1 Replies View Related

Do I Need To Create A Domain To Get Connectivity To A Report Server Database On A Remote SQL Server Instance?

Oct 23, 2007

I'm setting up a simple SSRS implementation for a non-profit organization, using two servers hosted at a data center. The first server has SQL Server Standard Edition and Reporting Services installed. I've designed and deployed a number of useful reports on this server.

I was hoping to isolate this first server by installing IIS and SSRS on the second server, have users browse from the Internet to that second server (over SSL, of course), and have all reports served up from databases (and, presumably, the report server database) on the first server.

During the installation of SSRS on the second server, however, I'm being prompted to specify the service account. According to the help text:



"Reporting Services. Service accounts are used to configure a report server database connection. Choose a domain user account if you want to connect to a report server database on a remote SQL Server instance. If you are using a local report server database, you can use a domain user account or Local System to run the service."

I believe I want to configure SSRS to connect to a report server database on a remote SQL Server instance; therefore, it appears that I need to enter a domain user account. The only problem is, neither server belongs to a domain; they are members of a simple two-server workgroup.

Does SSRS, configured to connect to a report server database on a remote SQL Server instance, require a domain? Does what I'm hoping to accomplish require a domain? Creating a two-server domain seems like overkill for this implementation, doesn't it?

I appreciate any comments and suggestions. Thanks!

View 1 Replies View Related

Connectivity Between VS 2005 To SQL Server 2000

Apr 29, 2008

I have an application which is under development in VS 2005 but the database is in SQL Server 2000. We are facing some strange problem with the connectivity between VS 2005 - SQL Server 2000.
I have tried all the possible ways or solutions i found when searching in google but unable to find a solution.This had become a major challenge for us now to identifiy the root cause of the problem
 
Error:
"An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)"
Please suggest.
 
Thanks,
Hemant

View 2 Replies View Related

Connectivity Between SQL Server 7.0 And Windows NT Client

Apr 28, 2000

When trying to run a batch of queries (2 queries in the batch) on SQL Server 7.0 from a Windows NT client,
I am getting the following error.
--------------------------------------------------
[Microsoft][ODBC SQL Server Driver][TCP/IP
Sockets]ConnectionCheckForData
((null)()).
[Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]General network
error.
See the network mannual.
Connection Broken
---------------------------------------------------
Here are the points to be noted.

1. The queries work when executed individually.
2. The client can PING the server.
3. I tired changing the default network libraries to 'Named Pipes' but this also returns
the following error
--------------------------------------------------
[Microsoft][ODBC SQL Server Driver][Named Pipes]ConnectionWrite
(GetOverLappedResult()).
[Microsoft][ODBC SQL Server Driver]Connection link failed.
Connection Broken
---------------------------------------------------
4. the ODBC driver version = 03.70.0623

Does someone have any clue to whats wrong?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved