SQL 6.5 Replication Task Failing Due To ODBC Login Failure

Nov 2, 1999

I'm "trying" to set up Replication. The Publishing/Distribution server is in one domain, and the subscribing server is in another. Both domains are fully trusted.

The synchronization step builds the .tmp file, but the repl_subscriber Distribution task bites the dust with an error message, "28000[Microsoft][ODBC SQL Server Driver][SQL Server] Login failed".

The setting on the distribution options dialog box is ODBC, SQL Server. I'm not using a special login/password. I've even tried putting a user name and password there, and it doesn't work. The ODBC connections test out fine on both servers. Any suggestions where I've gone wrong?

Thanks,
Layne

View 3 Replies


ADVERTISEMENT

Dts Transform Task Failing When Using IBM Db2 Odbc Driver..

Oct 4, 2004

The thing is I am using a DTS package to get data from db2 residing on a s390-mainframe and put it in a sql 2000 db on windows 2000 server..

I have the odbc driver that the server guys gave me..I installed it and then run a batch pgm, which i think does the database set up...in short i set up the DSN's in my local machine..I can use the dsn when i use the sql client...

I can't create a new package and then complete the task..Problem is when i try set up a transform task, i get a memory error...it says that the instruction referenced a memory location that can't be read...

So what i do is i use the import task in sql...which inturn uses the same odbc connection and runs the query on db2..inserts the results into a table in sql..then save the package...Only problem is that i can't edit the transorm task...same memory error...

Any idea why this happens ?? I would like to see how i can get past this using Odbc...

View 2 Replies View Related

Replication - Distribution Task - ODBC Problem - Ray Miao Please Help!

Mar 8, 2000

I will try the mixed security tomorrow. I have in the mean time discovered that I am not able to use the odbcping.exe utility successfully. It returns the same 08001 error message (Specified SQL Server not found). Does this means that the problem is within ODBC? What are somethings that I can try?

Thanks, Kevin


-----------

You need mixed security, also check password of the sql service account on nt.


------------
Kevin G. at 3/8/00 3:21:47 PM

I have set up replication on two SQL Servers (6.5), SP5a, on NT 4.0 (SP3). The Distribution Task on the Publisher is failing with the following error:

08001[Microsoft][ODBC SQL Server Driver][dbnmpntw]Specified SQL Server not found.

I am using standard security in a workgroup environment. I have my trusted connection setup and I am using named pipes. I had this process working on our test servers but when I tried to implement it into production I received the above message. Please give me some ideas or things to try. What source can I use to look up the 08001 error?

Thanks, Kevin

View 1 Replies View Related

Replication-Distribution Task - Login Failed

Nov 9, 1999

I am now getting the following error:

Replication-Distribution: Task 'CAServer_Page_VAServer_InPage' failed. 3700[Microsoft][ODBC SQL Server Driver][SQL Server] Login Failed - User: Reason: Not associated with a trusted SQL Server connection.

I checked under the SQL Security Manager, View, SA Privilege and my sqlexecutivent login is set up as:

CAServersqlexecutivent sa

Thanks in advance for any tips you can give me with this. Both servers are set up in a workgroup. We are not using Domains.

Also, should my table already exist on the Subscribing Server?

------------

View 1 Replies View Related

I Am Getting A EM - DB Backup Job Failure - But The Job Is NOT Failing. Help?

Jul 25, 2001

Help! I am getting a Job failure for a DB Backup Job when I open up the
EM -> Management -> SQL Server Agt -> Jobs
When I check the SQL Logs, there is no Error message, nor is there an error message in the DB Maintenance Plan History. I checked the Server to make sure the DB was being backed up, and the current file is there. Does anybody have any suggestions? Thanks! (make me look good to the rest of my group!)

View 5 Replies View Related

ODBC Connection Failing

Jun 26, 2006

First of all i apologise if this is in the wrong area.  My problem is as follows.  I had set up a couple of aspx pages on our webserver which accessed a sql database on another server.  These pages were set up using frontpage 2003 and everything worked fine.  A week ago the pages stopped working giving the error "Server Error in '/' Application". As far as I know nothing has been changed on the servers.  On top of this frontpage has started having connection problems.  Frontpage will connect to the database but is unable to access the fields giving the following error.
Server error: Unable to retrieve schema information from the record source ' NAME' in a database using the connection string:
'DRIVER={SQL Server};SERVER=servername;DATABASE=live;UID=********;PWD=********'.
The following error message comes from the database driver software; it may appear in a different language depending on how the driver is configured.-------------------------------------------------------[Microsoft][ODBC SQL Server Driver][SQL Server]Invalid object name 'NAME'.
Source: Microsoft OLE DB Provider for ODBC DriversNumber: -2147467259 (0x80004005)
 
I have been trying for the past few days to solve this one, but am reasonable new to SQL, so this may be an easy one.
Hope someone can help me

View 6 Replies View Related

ODBC Connection Failing. Help!

Dec 18, 1998

We recently install SQL Server 7 and we are testing things to get it up to speed so we can use it for our clients. We are having difficulty calling the database from a ASP page. Here is the error it gives in the browser:

Microsoft OLE DB Provider for ODBC Drivers error '80004005'

[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user ''.

/asptest.asp, line 11

Now here is the ASP code:

<%
set conntemp=server.createobject("adodb.connection")
conntemp.open "DSN=Northwind;uid=dbuser;pwd=dbuser"
set rstemp=conntemp.execute("select * from customers")
howmanyfields=rstemp.fields.count -1
%>


I have created a System DSN name Northwind, and a user 'dbuser' on the PDC (running IIS as well). I have gone into SQL Server and added the user dbuser and specified to authenticate it from the PDC. What am I missing? What am I doing wrong?
Could someone please point it out to me.

TIA

-Jason
jason@flnet.com

View 1 Replies View Related

ODBC Connection Failing

Feb 9, 2007

I had an ODBC connection set up, and it has been working fine for the last week or so.

Suddenly, last night, I started getting this error and I'm at a loss for what to do.

Here is the error that I get:

View 1 Replies View Related

ODBC Connection To SQL Server Failing

Jul 23, 2005

Hi, I have an access 2003 database which connect to sql server via aDSN that goes through a VPN. The database works fine and everyone cancoonect from their normal computers but for anyone working on theirLaptops (IBM Think Pad T42's) they cannnot connect to the datasource.The DSN fails upon connection attempt with :Connection Failed:SQLState: '01000'SQL Server Error: 1326[Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionOpen(Connect()).Connection Failed:SQLState: '08001'SQL Server Error: 17[Microsoft][ODBC SQL Server Driver][DBNETLIB]SQL Server does not existor access is denied.This has been driving me insane as i cannot understand why it works forour desktop computers and not for our laptops. The version of MDAC isthe same on a computer that connects as it is on a laptop that doesn't.TCP/IP is enabled on the server and is using the default 1433 port.severs, desktops and laptops all patches and up to date with the latestSP's. DSN has been dropped and re-created. Domain user has been put inlocalAdmin group for laptop.I hope i'm mising something really obvious....can someone please pleaseput me out of my misery and tell me they have come accross this beforeand have a solution. Ive tried everything i can think of.CheersDan

View 3 Replies View Related

Enforcing Precedence Constraint While NOT Failing Package(On Failure Logic Ignored)

Aug 1, 2007

I have designed an SSIS package that :

(1) contains a for loop task (in which all the logic is contained) that loops through a particular folder for excel files
WITHIN THE FOR LOOP:
(2) pulls data from an excel file into SQL Tables(Data Transformation Task)
(3) run stored proc to validate data (Execute SQL TASK)
(4)ON SUCCESS of executing the SQL Task (Script Task - move file to success or reject folder based on value returned from sproc)
(5)ON FAILURE of executing the stored proc (Script Task - move file to bad format failure)

NOTE:
I have modified the MaximumErrorcount property of (1 FOR LOOP) and (3 EXECUTE SQL TASK) and the package itself to 0.
In order to deal with badly formatted excel files...I do not want the package to stop for every missing tab in excel file or data entry error. I simply want the badly formatted file to be moved to a special folder

PROBLEM:
on failure logic is never executed (I have 2 options after step (3)) on success do step (4) on failure do step (5)
step (3) fails...then it simply iterates to the next file
step 5 is never executed

Is this because I changed the maximumerrorcount property?
What am I doing wrong witht he Precendence Logic?

View 4 Replies View Related

Login Failing....

Apr 24, 2001

this is the message that i'm getting and i dont know what to do so that i can access my SQL databases thru cold fusion:

ODBC Error Code = 37000(Syntax error or access violation)

[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.

i didnt have any problems with this database until i moved it over to another SQL server and tried the cold fusion front end to it. i dont know what to do now.

View 1 Replies View Related

Who Is Failing SA Login

Feb 16, 2001

I have inherited the task of setting some standards for SQL Server setup and usage in my company. Use of SA with and without a password was rampant. As I get DTS jos and VB code changed to use another account I have been securing the SA account with a password that no one uses. I now get a multitude of failed logins for the SA account on multiple systems by people trying to logon as SA, not jobs. Is there any way to generate an error message that will pass the host PC or server, or network ID of the user trying to login with the SA account?

Thanks in advance.
Bill

View 2 Replies View Related

ODBC Connection Failing On 64 Version Of Windows 2003 Server

May 3, 2006



I have an application that talks to a SQL backend using an ODBC DSN connection. It works fine when running on a 32bit machine but fails in the 64bit environment. The DSN is setup properly on the 64bit box and the Test Connection returns sucess. However when my application tries to use the DSN to connect to the database I recieve the following error.

IM002 - Data source name not found and no default driver specified.

The data source name does exist, it's in the ODBC.INI and in registry. As mentioned above the Test Connection succeeds in the ODBC Administrator so logic would dictate that it's setup correctly.

Any help would be appreciated.

View 22 Replies View Related

Login Failing After Using SSMSE

Jun 2, 2007

Using



SQL Server Express with advanced Services

Visual Web Developer 2005 Express

Microsoft Visual C# 2005 Express

SQL Server Management Studio Express

.NET 2

ASP.NET



Problem



After using SSMSE on an IIS ASP.NET database created with VWD this error starts.



"Cannot open user default database. Login failed.
Login failed for user 'machinenameASPNET'. "



If I never use SSMSE, I never have a problem.



I have tried every single suggestion I could find and none of them solve the problem.

Luckily, I am only in the development stages so at least I'm not loosing data.



Development Path



Create VWD Project

Create Database and Tables
Write WebService for DB access
Create C# Project

Connect to WebService
Write project code
Use SSMSE

Attach Database
Do non-admin fuctions on the database(I only opened it to get the auto-generated code for sql statements such as creating Columns so I could do it on the fly)
Detach Database - Check mark the Close Connections
Back to the C# Project

Run the code.
Cannot open user default database. Login failed.Login failed for user 'machinenameASPNET'.

What is SSMSE doing to the database that the web service can no longer log into it?



From VWD you can still connect from the Database Tab.



I finally got so fustrated I just got the SQL Code to create the tables and made a function to create them

after I delete and recreate the database.





View 6 Replies View Related

Login Failing For A User

Mar 14, 2007

I have loaded my c# windows app onto a PC and I can connect to the database, when I logon as an admin I can run my app and connect to the database. However when I logon as an 'ordinary' user I can run the app but not acess the database - error: Login failed for user 'Rfred' ie '<domain><user>'

Obviously I need to adjust a setting somewhere, I'm just not sure where!

Help

View 7 Replies View Related

Linked Sql Servers Login Failing

Jul 17, 2007

Server1 sa password is password1
server2 sa password is password2

I can't execute sql with linked server tables because the login fails for sa.
When I setup a login with the same password on both servers, it's fine.
Is there a way to save the password?

I used sp_add_linked_server to generate the link between them.

Server: Msg 18456, Level 14, State 1, Procedure InsertOutstandingInvoices, Line 6
Login failed for user 'sa'.

the line it fails on is where I have qualified the server name:
[server].[db].dbo.[tablename]

View 3 Replies View Related

ODBC Connection Failure

Sep 12, 2006

Hello there!

This is my issue: I do have a database which back end is in SQL Server 2005 and front end is in ACCESS 2003. When one of the forms is trying to write duplicate information in any of the tables, there is a message coming "ODBC -- call failure", I wrote code trying to avoid that situation, but is keeps on coming. Does anybody have any idea about how to handle this exception? I would really appreciate a help on this subject.

Thanks;

Luisofo

View 1 Replies View Related

ODBC Connection Failure

Mar 15, 2007

My application (written in a proprietary old 4GL) is connecting to a SQL 2000 database via ODBC

This works fine nearly all the time, but occasionally, it throws the following error when trying to connect :

Connection Failed

SQLState '01000'

SQL Server Error: 10060

[Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]Connection Open(Connect()).

Connection Failed:

SQLState '08001'

SQL Server Error: 17

[Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]SQL Server does not exist or access denied.

This error is displayed in a Windows dialog box. When the OK button on this dialog is clicked, it throws up a login/password box. When this is filled in and submitted, the connection is usually made cleanly and the application continues.

The big problem is that the application is an unattended service, and this dialog can go unnoticed for quite a while.

If these dialogs are 'Cancelled' rather than 'OK'd, the 4GL receives the error and arranges to re-try the connection itself.

Is ODBC responsible for popping up the interactive dialog, and, if so, can I do anything to force it to return an error instead ?

View 3 Replies View Related

ODBC Connection Failure

Apr 7, 2007

I am having a problem getting the ODBC driver to connect.



I just installed VS2005 and can't connect to my SQL2000 server. It is there. I can't connect using either one of the mix mode authentication.



I can login to SQL from another pc when logged in with this user name. It has to be something on this pc blocking it.



Iam not rying to do this from a ASP web page just trying to setup a ODBC driver and I get these errors.

I get the error:" Login failed for user (null)" Not associated with a trusted connection



Thanks

Mike









View 3 Replies View Related

Aspclassic On IIS7 SQL 2005. ODBC SQL Server Driver[SQL Server]Cannot Open Database Requested By The Login. The Login Failed

Apr 16, 2008


Hi all,

Have just tried my sql server 2005 connected asp classic website on II7 for the first time and have gotten some errors.
First off I have unchecked show friendly errors in IE and have enabled ASP to send error messages to the browser.

My error I get is when I execute a basic .asp page:

Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC SQL Server Driver][SQL Server]Cannot open database "mydatabasename" requested by the login. The login failed.
/index.asp, line 10 which is dbConnect.Open cstring


from this peice of code:

sub dbOpen()
set dbConnect = Server.CreateObject("ADODB.Connection")
cstring = "DSN=mysqldsn; Trusted Connection=yes"
dbConnect.Open cstring
end sub

I have gone into ODBC and have setup both a user dsn and file dsn that equals mysqldsn and points to my database (I know you only need to set up one DSN but I'm not sure which)

I also notice under mywebsite home panel there is a connection string option. Do I do anything with that?


Definatley a lot more to it than XP's II6!

Any help or advice would be greatly appreciated.

View 3 Replies View Related

Failing Execute SQL Task

May 9, 2007

Inside of an SQL Task (below), I have a call to a stored procedure with 7 parms.



[Audit].[spBatchPackage_OnExtract] ?, ?, ?, ?, ?, ?, ?



User:: ParentExecution_Idx Long

User:: Batch_Idx Long

System:: PackageName Nvarchar

System:: PackageID GUID

User:: TargetTable Nvarchar

System:: ContainerStartTime DBTimestamp

User:: DataFilePattern Nvarchar



In my SP I have this:

ALTER PROCEDURE [Audit].[spBatchPackage_OnExtract]

@Execution_Idx int

,@Batch_Idx int

,@Source nvarchar(1024)

,@SourceId uniqueidentifier

,@Destination nvarchar(1024)

,@StartTime DATETIME

,@FileSpecification nvarchar(2)



When I execute the SQL Task, I get this error:



[Execute SQL Task] Error: Executing the query "[Audit].[spBatchPackage_OnExtract] ?, ?, ?, ?, ?, ?, ?" failed with the following error: "Invalid character value for cast specification". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.



Any help on clearing up this error would be appreciated!

View 12 Replies View Related

Web Service Task Always Failing

Jun 23, 2006

Executing the simplest of Web Service tasks consistently fail with the error: "Object reference not set to an instance of an object".

This really isn't a very helpful message for this task, and there's nothing from the task editor that can be adjusted. I am using SP1, the HTTP connection to the service tests OK, the WSDL file downloads OK, and the methods and parameters appear OK.

Suggestions?

Richard

View 14 Replies View Related

FTP Task Failing When Using Agent Proxy

Jan 11, 2008

Hi,

I am having problems with an SSIS package whereby the first step of the package is failing. I am getting the following error message:

Unable to connect to FTP server using "FTPLocation".

This only happens when I use a Agent Proxy as the 'Run as' option. If I change it back to SQL Agent Service Account it works perfectly.

For the credentials of the proxy, I have used my own windows login as the identity. And I have full priveleges on the server, ie if I log on to the server I can successfully ftp to the same site and download the file without any problems. So shouldn't the Agent be able to do so too when it uses my credentials?

Any help would be much appreciated.

DrBrain

View 3 Replies View Related

Index Reorg Task Is Failing

Apr 15, 2008



Getting this error when running a maintenance plan step. The backup steps work fine.

" Description: Failed to acquire connection "Local server connection". Connection may not be configured correctly or you may not have the right permissions on this connection. End Error Warning: 2008-04-15 09:15:03.02 Code: 0x80019002 Source: OnPreExecute Description: SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED. The Execution method succeeded, but the number of errors raised (1) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors. End Warning Error: 2008-04-15 09:15:45.02 Code: 0xC0024104 Source: Reorganize Index Task ... The package execution fa... The step failed."


The step is run under the sql service agent account.

We are at SP2 on a 64 bit machine.

Thanks.
Sam

View 5 Replies View Related

ODBC Error 40001- Serialization Failure

Dec 21, 1999

I have started to see regular occurences of "ODBC error 40001- serialization failure" in the log of a client website (using cold fusion) and would be grateful for any suggestions on likely causes and solutions. The error message also mentions deadlock victims. Thank you in advance.

View 1 Replies View Related

ODBC Communication Link Failure To SQL Server

Sep 1, 2004

Okay-- if anyone can solve this they are truly the SQL genius! We are getting this error when we run a VB program that we use to access an SQL database on a server across our network on a workstation. In fact we get this same error when we even run the program on the server where the SQL database is running or on any of our workstations. Here is the error message:

08501:[Micorsoft][odbc sql server driver] communications link failure

Now the odd thing is that many other functions in the workstation application work fine and retrieve data from SQL but certain data requests by the workstation application fail with the above error message and we get this message consistently. Even though it appears that different workstations running the identical Vb application will get this error consistently but in different locations when running the application. We were running SQL 6.5 on an old server, with the workstation application for literally years without any problems. We also decided to upgrade to a new server, installed server 2000 operating system and the latest version of SQl -- moved all the databases pointed the workstations odbc at this new server and get exactly the same error in the same location in the workstation applications. The programmer that wrote the application and designed the database in SQL can't find the problem and a number of other computer "experts" also could not find the error. We did add a new linksys DSL router/firewall but everything kept working after this installation for several weeks so I don't know if this is the problem on the network. THe programmer also noted that he had problems using terminal services on our network to connect to his office computer and decided that there must be some network issues that are causing the ODBC communicaitions to fail and also terminal services to fail-- or of course they may be unrelated. Has anyone ever seen this ODBC communication error in their travels through SQL implementations? Any help will be greatly appreciated. If we can't fix this we will have to abandon a software application that has been used for over five years and just too complex to rewrite.

Jeff Kilpatrick

View 3 Replies View Related

Send Mail Task Failing In DTS Package

Jan 8, 2012

I have a DTS package in SQL Server 2000 that has a Send Mail task to shoot me an email when it completes. When I tested this manually it ran fine however when it runs as a scheduled job in the SQL Agent the Send Mail task fails.

Prior to being able to send emails I installed Outlook so I could build a MAPI profile. With the MAPI profile there I am able to create and at least manually test a Send Mail task. From experience I believe this issue arises due to the fact that when I'm logged in Outlook is running but when I'm logged out of the Server, it is not running and so the task fails.

View 1 Replies View Related

Send Mail Task Failing Under SQL Agent

Nov 9, 2006

Using SQL 2005, SSIS, I have an SSIS package which is scheduled as a SQL Server Agent job. The package contains a Send Mail task. This task fails when SQL Agent runs the package. The task succeeds when executed interactively from the package, logged on as the SQL Agent service account. The package as a whole succeeds when executed from "Start Debugging". An Execute SQL Task in the same package containing an sp_send_dbmail statement succeeds when SQL Agent runs the job, and the same sp_send_dbmail succeeds in Mgmt Studio query window. All these events all logged onto the server as the SQL Server/SQL Agent service account.

I would appreciate ideas on what else to check for here, so that I can use the Send Mail SSIS task in packages which are run by SQL Agent jobs.

Thanks, Holly

View 1 Replies View Related

ODBC Error Code = 40001 (Serialization Failure)

Sep 22, 2004

We get this error constantly...

24.121.0.118, Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322), ODBC Error Code = 40001 (Serialization failure) [Microsoft][ODBC SQL Server Driver][SQL Server]Transaction (Process ID 56) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.


Any ideas? Would setting the isolation level to Read Commited help?

View 1 Replies View Related

SQl Express Edition Install Failure With ODBC Error

Dec 29, 2006

Can some one help me with this ?



C:WINDOWSsystem32Odbc32.dll
Version:
3.525.1117.0


SQL_SUCCESS_WITH_INFO (1) in OdbcConnection::connect
sqlstate=01000, level=-1, state=-1, native_error=444, msg=The driver returned invalid (or failed to return) SQL_DRIVER_ODBC_VER:
sqlstate=01000, level=-1, state=-1, native_error=5701, msg=[Microsoft][SQL Native Client][SQL Server]Changed database context to 'master'.
sqlstate=01000, level=-1, state=-1, native_error=5703, msg=[Microsoft][SQL Native Client][SQL Server]Changed language setting to us_english.

SQL_ERROR (-1) in OdbcConnectionHandle::set_attr
sqlstate=IM001, level=-1, state=-1, native_error=0, msg=[Microsoft][ODBC Driver Manager] Driver does not support this function

SQL_ERROR (-1) in OdbcConnectionHandle::get_attr
sqlstate=IM001, level=-1, state=-1, native_error=0, msg=[Microsoft][ODBC Driver Manager] Driver does not support this function

SQL_ERROR (-1) in OdbcHandle::release
sqlstate=HY010, level=-1, state=-1, native_error=0, msg=[Microsoft][ODBC Driver Manager] Function sequence error

SQL_ERROR (-1) in OdbcHandle::release
sqlstate=HY010, level=-1, state=-1, native_error=0, msg=[Microsoft][ODBC Driver Manager] Function sequence error

Error Code: 0x8007ea74 (60020)
Windows Error Text: Source File Name: libodbc_handle.h
Compiler Timestamp: Wed Oct 26 16:37:41 2005
Function Name: OdbcConnectionHandle::set_attr@connect
Source Line Number: 168



---- Context -----------------------------------------------


Connecting to SQL Server
ExecuteSqlCommands
Originial error was 8007ea74 (60020)
ipt
SqlScriptHlpr



Error Code: 60020
MSI (s) (D0!0C) [18:24:47:187]: Product: Microsoft SQL Server 2005 Express Edition -- Error 29521. SQL Server Setup failed to execute a command for server configuration. The error was [Microsoft][ODBC Driver Manager] Driver does not support this function. Refer to the server error logs and Setup logs for detailed error information.

View 1 Replies View Related

Login Failure

Jul 1, 2006

I am new to asp.net 2.0, although I have some experience with asp.net 1.1. In my new machine I have VS 2005, SQL Server 2000 and Sql Server 2005 installed. I wanted to connect to a database in SqlServer 2000 from a simple asp.net 2.0 project. I used the following connection string:
string strConn = "Data Source=xyz/abc;Initial Catalog=dbname;UID=abc;PWD=efg;";
xyz/abc is the name displyed in the enterprise manager, under SQLServer Group. When I run the app, I am getting 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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
The error indicates that it is trying to connect to SQL Server 2005, although my xyz/abc is a SqlServer 2000 instance. Not sure how to force the connection to the SqlServer 2000 database.
Thanks

View 1 Replies View Related

Login Failure

Aug 11, 2006

Hello Everyone and thanks for your help in advance.  I have set up a new installation of SQL Server 2005 and VS 2005.  I am trying to get some web applications up and working, but am experiencing problems with the database connection.  I am tring to use the the sa account to connect, but am receiving the error "Login for user 'sa' failed.  Not associated with at trusted account...".  I am familiar with this error and have made sure that the SQL Server is using SQL Server and Windows Authentication Mode.  The connection string I am passing to it is: 
server=(local);uid=sa;pwd=password;database=Northwind
which I believe is correct.  So I'm confused as to what the problem is.  Any help on this topic would be greatly appreciated.  Thanks.
 
 

View 2 Replies View Related

Login Failure

Mar 18, 2002

Hi

I am running sql server 7, since friday my users are not unable to access their database on the server. NT group authentication is the mode of accessing the data on the server, the temporary soluton I have found so far is to create individual login. Which means creating login for every user on the network. NT4 Group membership that has always worked no longer functions.

Please help.

View 4 Replies View Related







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