Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    MS SQL Server


SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





ODBC Connection


Hi,

I just start working on SQL Server 2005, could someone help me to make link of few tables through ODBC.

 

Thanks

AA




View Complete Forum Thread with Replies

Related Forum Messages:
Can't Find SQL Native Client In ODBC Connection Manager In SQL Server Open Database Connectivity (ODBC)
I apologize if this is not the correct forum for this posting. Looking at the descriptions, it appeared to be the best choice.

I am running Windows XP Pro SP2. I have installed the SQL Native Client for 
XP. However, when I try to add a new data source through ODBC Connection 
Manager, SQL Native Client is not listed as an option. I have followed this procedure on three other systems with no problems. What would be causing the
SQL Native Client to not show up in the list of available ODBC data sources?

View Replies !
Remote Connection Refused When Creating ODBC Connection To SQL Server 2005
When I create a new odbc connection to a SQL server 2005 Db I get a failure telling me dat de SQL server does not allow remote connections.

How can I allow the server to allow this.

 

Any help appreciated

 

regards

View Replies !
Lost Connection To MySQL During Query In My ODBC Connection
I am trying to connect Visual Studio 2005 here in the Philippines to a MySQL server in CA, USA using the Connector/ODBC using the following parameters:

 

DSN = mysqlodbc

Server = host376.ipowerweb.com

userid = myuid

password = mypassword

 

when i used the port 3036  i got the  can't connect to MySQL on server blabla(10060)

 

when i used the port 8087 i got the "Lost connection to MySQL during query.

 

How do i connect successfully?

 

 

 

 

View Replies !
"ODBC--Call Failed" And "ODBC--connection To 'SQLServerMYSERVER' Failed"
We are using Access as a front end to a DB we house on a SQL 2000 SP2 box. I have 2 users utilizing this front end and they keep recieving these two errors
"ODBC--Call Failed" and "ODBC--connection to 'SQLServerMYSERVER' failed"
when trying to run a query window. They get the called failed message 99% of the time. I on the other hand, have no problems doing any of this without a File DSN defined. I verified all the file permissions to rule that out. And I also verified how their permissions were setup in Enterprise Manager and they are set the same as mine. The other users get the errors with or without the File DSN defined. After relinking the tables in the front end, it seems to go away for awhile, but then reappears. The only other way I could get the errors to disappear was to make them a domain admin like myself. When I did that, everything seemed to work fine. Now obviously I can't leave them like that, so I was hoping someone would be able to kindly point me in the right direction on how to resolve this. Please help, I am completely out of ideas here. Thanks in advance. Mike

View Replies !
T-SQL ODBC Connection
Would someone provide a code snip example of a T-SQL script using an ODCB connection against a non-SQL2K database. I can hit the outside database using DTS (so I know it is possible) but I'm having trouble with the parameters using a script.

Thanks,
Fred.

View Replies !
ODBC Connection
I am currently running a application and a database server they are connected via ethernet. Only the application is connected to our network. Is there a way to connect MS Access to the database server without connecting the database server to the network? I've tried several different approaches and it still dosent work. Any help would be greatly appreciated.
Dale

View Replies !
ODBC - ASP Connection
We are upgrading from Access to SQL 2000 for our Intranet backend database. This is on a separate server. I have installed Server 2000 ODBC drivers on the IIS machine. I get the following error message which I can't sort out:

Microsoft OLE DB Provider for ODBC Drivers error 80040e4d
[Microsoft[ODBC SQL Server Driver][SQL Server]Login failed for user 'NT AUTHORITYANONYMOUS LOGON'

The ODBC is set up on the IIS server to use NT Authentication. The account logged on has administrative rights for the domain.

The only solution I can think of is to publish to the MSDE I have installed on the IIS machine.

Anyone out there able to help?

Thanks
Bob

View Replies !
ODBC DSN Connection
By defining a System DSN I can specify a simple ODBC connection string like DSN=SomeDSNname. With some repeated testing I've found that using a trusted connection (NT) in the DSN, I can set up either named pipes or TCP/IP and the connection works fine. When I try to set up SQl server authentication I can only get named pipes to work and not TCP/IP. Any ideas?

View Replies !
ODBC Connection
Hi everyone

I installed the MS SQL server 7.0 on a Windows NT 4.0 SP 4 server. The network runs with TCP/IP.
I want to connect the SQL server by a ODBC-connection. Only a connection on the server (local) was successful.

The odbcping-utility reports following:
COULD NOT CONNECT TO SQL SERVER

SQLState: 08001 Native Error: 6
Info. Message: [Microsoft][ODBC SQL Server Driver][DBNMPNTW]Selected SQL server not found.

SQLState: 01000 Native Error: 53
Info. Message: [Microsoft][ODBC SQL Server Driver][DBNMPNTW]ConnectionOpen (CreateFile()).

Do I forget to install a SQL server component? Or a network service?

Thank you for your help.

Greetings
Steven

View Replies !
ODBC Connection
I have DSN setup on IIS 4.0 server that is configure using TCP/IP connection to talk to SQL Server to retrieve data for one of our web site.

The problem I am having is that the DSN cofiguration connection changes automatically to Named Pipe on the IIS 4.0 server, causing web site to generate ODBC connection failure. This happends at least once a week.

To resolve the issue I have to reconfigure the DSN to TCP/IP connection.

Does any one have any idea how to resolve this issue.

Thank You,
Piyush Patel

View Replies !
ODBC Connection
Has anyone had an issue with the ODBC data source that when you set it up for SQL, it does not retain the username and password you entered and keeps defaulting back to the NT windows verification instead of using the SQL verification that you choose?

I add a datasource, select validation based off of SQL profile/password assigned, enter the user and password I assigned on SQL, go through the setup and test successfully. Then I try to connect using that datasource with my VB application and it says connection failure. When I go back to the datasource, it has changed back to NT verification and removes the user/password I entered for SQL verification. Maybe there is an service pack from MS on this?

any help is appreciated. At the very least, I can just hard code into my VB app, but that is my last resort. Thanks!

View Replies !
Can't See ODBC Connection
I am connecting to Informix via ODBC.  When I go to the ODBC manager, I can create a connection DSN and it tests OK.
When I look at the list of available drivers, there are only 3 in the list
 
When I try to run a report & set up the data source, it can't find the DSN but it shows a lsit of dozens of drivers...none of which are Informix
 
Any insight?
 
Thanks
JPS

View Replies !
ODBC Connection
I have front-end visual basic program that use an ODBC connection to connect with SQL server, and my questions is there any automated procedure to configure this ODBC connection instead of configure it manually specially of the user profiles was changed I have to configure it again.

Please advise

View Replies !
Odbc Connection
We have three users that access a particular sqlserver database via microsoft access, two of the users have no problem, the third user used to be able to use the access database but is now getting  a sql server error 18452 followed by an error message 'login failed for user '(null)' reason: not associated with a trusted sql server connection. When reviewing the odbc setup that the user that is having problems has, we find  two sqlserver entries  when it asks 'which sqlserver do you want'.  How do i go about finding out where that entry comes from so i can look into removing one of them. None of the other users have two sqlserver entries. The othere users have no problem accessing this sqlserver database via  ms access, I'm trying to find out why all of a sudden this one user is having problems

View Replies !
ODBC Connection
I am trying to connect to SQL Server using a 3rd party report generating software (dbextra).  Everything is located on my local box.  I am trying to establish connection through ODBC.  Is this installed during setup or is this a function I have to manually set up and configure?

View Replies !
ODBC Connection
Hello - I'm trying to creat an ODBC connection and the db I created is not showing up in the dropdown for 'Change the default database to:' option. I'm logged into SQL using Windows Authentication, create the db, restored it w/ a backup and then added a user w/ no problems. Any ideas?

View Replies !
Creating ODBC Connection
In my project, I have added a database called aspnetdb.mdf and I store all the required information here. Now I want to write a seperate Cryatl Report for my manager, that accesses this database and display required data. This report is not a part of the asp.net project. This is only for my manager. My database is not attached to any server. I just use the attachdb in the coonection string of my project to attach this database. no I want my crystal report to access this database. If I can create an ODBC connection to this database, it will solve my problem. Dows any body know how to access this database from Crystal with or without ODBC?
Any help is greatly appreciated.

View Replies !
ODBC Connection Failing
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 Replies !
ODBC Connection Fails
I am attempting to connect to Altiris Deployment Server through ODBC and this is the error I get:

Microsoft SQL Server ODBC Driver Version 03.70.1146

Running connectivity tests...

Attempting connection
[Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]General network error. Check your network documentation.

TESTS FAILED!

I am connecting through a workstation shortcut. Funny thing is when I log onto the server that is actually running DS the ODBC connection connects immediately. Soemthing tells me it is a rights issue but I can not seem to isolate the problem.

Any help with this problem is greatly appreciated!

Thanks again! griedel :(

View Replies !
ODBC -Connection Failed
I create a Test database in SQL server, also I add new user in security folder. Also I add this user in Test database, the permission are: Public, and db_owner. But when I let the user try to open the database, it is ODBC – Connection failed. I add another user a few months ago, she works fine. But the new user I added in didn’t work, did you know why. I am sure I add the same permission as the later user. Thanks.

View Replies !
ODBC Connection To SQL Server DB
I'm writing a VB app to read and write data to an SQL server database.

I have successfully done so using ADO however I now need to do it using ODBC.

I have set up the appropriate DSN and have no trouble reading data from the database but when I try to write to it I get a message indicating that the database is open for read only access.

I'm no sure whether the restriction is and the VB, ODBC, or database level.

Here's the code which opens the database and recordset.

Set dbsWarehouseServer = OpenDatabase(ODBCDSName, _
dbDriverNoPrompt, False, _
"DSN=" & ODBCDSName)

Set rstRailSet = dbsWarehouseServer.OpenRecordset("Select Store_date, SLN From " & TBName & " where Rail_set_ID = '" & RailID & "'", dbOpenDynaset)

Any help is greatly appreciated.

View Replies !
Loosing ODBC Connection
Hi all,

We recently converted an application from accecc97 to access2003.
We used to have 2 databases : 1 with all and only the data (axelD.mbd), 1 with all the forms, query's, ... (axelP.mdb)

We replaced the data (axelD.mdb) with an MSDE database, through UPSIZE and so on. That all worked fine.
This database is placed on the dataserver (DATA1), the converted programm is on the FRONT2 server (FRONT1 stil usess access97 until conversion is totally ready).

We are able to connect to the MSDE by using ADODB recordsets.
We are also perfect able to link the MSDEtables in our axelP.mbd database

We started to test some heavier parts of our application and started to get the following error:

"ERROR 3151"
"ODBC--connection to 'JOROSOFT' failed"

Nothing more.

This happened in a quite complex routine, whitch updates a lot of records, several times and so on.
We could reproduce the same error when executing the following code:


Public Function TestBestellingen()
Dim sql As String
Dim intervalset As DAO.Recordset
Dim planset As DAO.Recordset
Dim tellerke

x = Opendatabases()
tellerke = 0
sql = "Select bestelnummer from vkpbestellijn where bestelnummer > 100000"
Set planset = Db_AxelP.OpenRecordset(sql, dbOpenDynaset)
Do While Not planset.EOF
tellerke = tellerke + 1
Debug.Print tellerke & " - " & planset!Bestelnummer & " --> " & IsKlantStof(planset!Bestelnummer)
planset.MoveNext
Loop
End Function

Function IsKlantStof(p_bestelnummer)
Dim sql As String, rst As DAO.Recordset
Dim hulp_klantstof As Boolean

hulp_klantstof = False
x = Opendatabases()
sql = "select klantstof from vkpbestellijn where bestelnummer = " & p_bestelnummer
Set rst = Db_AxelP.OpenRecordset(sql, dbOpenSnapshot)

With rst
Do While Not .EOF
If !KlantStof = True Then
hulp_klantstof = True
.MoveLast
End If
.MoveNext
Loop
End With
rst.Close
Set rst = Nothing
IsKlantStof = hulp_klantstof
End Function

Function Opendatabases()
If Db_AxelP Is Nothing Then
Set Db_AxelP = DBEngine(0)(0)
End If
End Function
I know this code makes no sence in a real-time environment, but it was to reproduce the error.
This code basically runs trough a 30.000 records and does a little check for certain fields
After 1981 records we get the above error.
(sometimes after 1979 or 1980 or 1982 records)


1977 - 100859 --> True
1978 - 100860 --> True
1979 - 100860 --> False
1980 - 100861 --> True
1981 - 100861 --> True


"vkpbestellijn" is a table that is linked in the AxelP.mdb trough an ODBC connection.
We get the same error (and after 1981 times) if I change the where to a totally other range of "bestelnummer"

I have installed the latest patches of Jet 4.0, MSDE-server, ...

I've been searching the internet for abour 3 days now, and just cant even find the smallest clue what could make this happen.

I hope someone here has an idea.
If you need more details, just ask.

tia,
Axel.

P.S. I'm from Belgium, so my english aint "correct to the point".

View Replies !
ODBC Connection Is Not Working
I have these two workstation in same domain.

PC A is running on Windows 2000 Professional, with MSSQL 7.0 installed.

PC B is on Windows XP, in which I try to create an ODBC connection to one database in the above MSSQL server.

When I add a system DSN from the ODBC Data Source Administrator, I couldn't connect with the following message:

---------
Connection failed:
SQLState: '28000'
SQL Server Error: 18456
[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'Auserabc'.
---------

I have created the userabc in PC A, both as system adminstrator and as an user permitted to use the database.

I tried both "With windows NT authentication using the network login ID" and "With SQL Server authentication", but both were not working.

Any hint about what may go wrong? Thanks.

View Replies !
ODBC Connection In UNIX
Hi Folks,

I need to access the MSSQL data in Oracle.

For that i need to first create the data source (ODBC Connection) to the MSSQL server on UNIX. Can anybody help me in creating the ODBC connection.

Thanks,
Amit

View Replies !
How To Get ODBC Connection Attributes?
I'm using SQLDriverConnect(Driver=SQL Server) to connect to MS SQL Server 2000/2005.

I want to get the value of the following ODBC connection attributes:

AnsiNPW
AutoTranslate
QuotedID
Regional

1. Which ODBC API functions should I use to get those attributes?
2. Which constants do I pass to the ODBC API functions for those attributes?
3. Which header file (.h) contains the constants?


Thanks.

View Replies !
ODBC Connection Error
Hi,
I'm new to SQL Server, but regularly connect to Oracle via ODBC. I'm trying to a) connect to our SQL Server over an ISP and b) Run Enterprise Manager over the ISP. Both actions work fine over our campus network but fail across an ISP.

The first returns the message: Connection failed:SQLState: '01000' SQL server Error: 1326 [Microsoft][ODBC SQL Server Driver][Named Pipes]ConnectionOpen[CreateFile()]. Connection failed:SQLState:'08001' SQLServer Error 1326 [Microsoft][ODBC SQL Server Driver][Client unable to establish connection

The second returns the message: Unable to connect to server [reason:[DB-Library]Unable to connect. SQL Server is unavailable or does not exist. Register anyway.

I had previously received a different error (in case 1) and, through the knowledge Base discovered I needed MDAC drivers for named pipes. I installed them but get a new error. I can find nothing in the KB or previous SWYNK messages.

Please help..... TIA

View Replies !
Connection ODBC Closed
That is an app ACCESS 2000 wih Named Pipe ODBC to SQL Server 6.5.

After 10 minutes without use this app, the connection closed !

Have-you idea for correct this probleme ?
Regards
Alain

View Replies !
Slow ODBC Connection.
Hi All

We have a web server using iss4.0 and coldfusion. Connection to the database server SQL 7.0 is thru odbc. Would appreciate if some one could explain how to increase the performace web server performace. Any special setting required on iss orcold fusion or SQL

regards
rajeev

View Replies !
ODBC Connection Using MS Excel
I have a database named ET4.2. This is vendor software and the vendor requested that name and like a fool I let them use that. Now I am stuck with the consequences. Most of the time it is just irritating and wrapping it in double quotes does the trick like use "ET4.2" in SQL Query Analyzer.

Now I am trying to connect to this database using an ODBC connection with the SQL Server driver through Microsoft Excel. No matter what I do it tells me "Could not find server 'ET4' in sysservers". Does anyone have any suggestions how to get around this? This is a production database so renaming it isn't really an option.

View Replies !
ODBC Connection Error
One of my user is having trouble connecting to the database,i have already reset his pwd bt when she is trying to connect trhough application , he keeps getting this error

"Unable to connect to database

Sytem Error codes:[microsoft][ODBC SQL Server driver] SQL Server Log in failed for user 'Username'.
[microsoft]ODBC SQL Driver] Invalid connection string attribute
Data provider could not be initialized.
please try again or contact adminstrator!

i am sure it is not psw issue because i have reset his psw
Please help me out.

View Replies !
Trying To Set Up Sybase ODBC Connection In DTS
Hi everyone,

I have a Windows 2000 server and have installed the ODBC driver that comes with Sybase open Client 12.

I can create a data source (to a remote Sybase database) but when I try and use this data source in DTS I get the following error message (which isn't very helpful)

"HResult of 0x80004005 (-2147467259) returned
Unexpected Error Occurred. An error result was returned without an error message"

Can anyone help?

Thanks

Neill

View Replies !
ODBC Connection Failing. Help!
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 Replies !
ODBC Connection Error
I have a web site that provides sport news and I am using SQL Server 7.0 as my back end. The ASP page connect to SQL Server through ODBC(3.70) connection using DSN configured using TCP/IP protocol. This site has been running for
8 months with no problems.

Today, the website page was showing network errror when it was trying to get the infomation from the SQL Server. So, when tried to reconfigure the DSN using TCP/IP prtocol I got the following error.


Connection failed:
SQLState: '08001'
SQL Server Error: 11




[Microsoft][ODBC SQL Server Driver][DBMSSOCN] General Network error. Check your documentation.
Connection failed:
SQLState: '01000'
SQL Server Error: 10061
[Microsoft][ODBC SQL Server Driver][DBMSSOCN]ConnectionOpen(connect())
Connection failed:
SQLState: 08001
SQL Server Error: 11
[Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]General network error. Check your network documentation.
Connection failed:
SQLState: 01000
SQL Server Error: 10061
[Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]ConnectionOpen (connect())

does anyone have any idea why would this happend.


Thank You,
Piyush Patel

View Replies !
Odbc Connection From Ms Access
I don't know a damn thing about SQLServer, but I need to connect to existing tables with a ms access DB. I have downloaded the odbc drivers and I have the ip addess of the server. But I can't connect. I am using the same password as I do in my asp scripts that query the same tables. I also tried setting up a new user and I tried the using the server login. I get error number 5. Anybody have any ideas.

View Replies !
ODBC Connection Problems?
We have a helpdesk built with Sql7 and it has an frontend built with access. We had two machines that would connect to it. Now only one machine connects and is able to see all tables. The other machine cannot see the tables now. All permissions are the same, The other operator can log into the good one and it work and log into the bad one and it not work. All connections are the same. Any ideas on the problem(s)?

View Replies !
ODBC Connection Problems
Has anyone had any problems connecting to SQL server 7.0 using ODBC connection? When I create a dsn within odbc to connect to my sql server the test connection is good. But when I go into access to link the table I get an odbc error message, reading something like, the stored procedure need to complete this task could not be found on this server.

Thanks

View Replies !
ODBC Connection Mystery
I am using MS Access to link to an SQL table via ODBC.
The DSN was setup to "use SQL authentication" with login "user", password "pwd".

After I link to the table and try opening it, I am getting an error, after which a login screen comes up with "Use Trusted Connection" checkbox turned ON. There is NT username in the login textbox. I have to check "Use Trusted Connection" OFF and enter SQL login/SQL password ("user"/"pwd")before I am able to view the table contents.

It just started happening recently. Earlier, I would get a login screen with "Use Trusted connection" OFF prompting me for my SQL username/password. And no errors, of course...

What is making the system use "Trusted connection" (and, I guess, NT authentication)???

I am explicitly asking for "SQL authentication" when creating the DSN...

Is there something wrong with SQL login "user"? I checked and it has access to the database I am trying to connect to... Also, all the table permissions seem to be OK.


Please email me at lpinskaya@firstam.com if you have any ideas.

Thanks a lot!!
Lana

View Replies !
ODBC Connection Error
I am using MS Access to link to an SQL table via ODBC.
The DSN was setup to "use SQL authentication" with login "username", password "pwd".

After I link to the table and try opening it, I am getting an error, after which a login screen comes up with "Use Trusted Connection" checkbox turned ON. There is the user's NT username in the login textbox. I have to check "Use Trusted Connection" OFF and enter SQL login/SQL password ("user"/"pwd")before I am able to view the table contents.

It just started happening recently. Earlier, I would get a login screen with "Use Trusted connection" OFF prompting me for my SQL username/password. And no errors, of course...

What is making the system use "Trusted connection" (and, I guess, NT authentication)???

I am explicitly asking for "SQL authentication" when creating the DSN...

Is there something wrong with SQL login "user"? I checked and it has access to the database I am trying to connect to... Also, all the table permissions seem to be OK.

We have recently upgraded the desktops to have SQL2000 client tools. The server that we are connecting to is still at SQL7. (we wanted to upgrade the desktops because some of our sql servers are at SQL2000.) Another change we had made was to install AS400 Client Express. This had installed some older MDAC files. We upgraded these files back to the current version.


Please email me at barb_brekke@juno.com if you have any ideas.

Thanks a lot!!
Barb

View Replies !
SQL ODBC Connection Problem - Help!
I am using MS Access to link to an SQL table via ODBC.
The DSN was setup to "use SQL authentication" with login "username", password "pwd".

After I link to the table and try opening it, I am getting an error, after which a login screen comes up with "Use Trusted Connection" checkbox turned ON. There is the user's NT username in the login textbox. I have to check "Use Trusted Connection" OFF and enter SQL login/SQL password ("user"/"pwd")before I am able to view the table contents.

It just started happening recently. Earlier, I would get a login screen with "Use Trusted connection" OFF prompting me for my SQL username/password. And no errors, of course...

What is making the system use "Trusted connection" (and, I guess, NT authentication)???

I am explicitly asking for "SQL authentication" when creating the DSN...

View Replies !
ODBC Connection And MTS Server
Dear All,
When trying to connect to the server outside the firewall through an ODBC connection string, we get the following error:

[Microsoft][ODBC SQL Server Driver][SQL Server]Cannot open database requested in login '[database name]'. Login fails.

When trying to uncover some more information pertaining to this problem, we get the associated error number, 4060. When researching this number, we see that the number has an associated error severity code of 11. Thus Microsoft is saying that it is a problem that could be corrected at the user level. Ok, I am missing something. I give. Does anyone have a new idea or an approach on which I can begin to uncover new information? We have also checked the database login and the login for the MTSServices is in fact able to access the database through an integrated login with NT Security. Also the Domain Administrator for User Rights does not have the specific NT Group enabled to log onto the computer from the network but the 'Everyone' field is still on the server. If anyone has specific questions, email me directly. Thanks for your help in advance. Daimon

View Replies !
ODBC Connection Failing
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 Replies !
ODBC Connection With MSDE
Does MSDE use an ODBC connection? and if so, how do i set it up?

View Replies !
IIS Using Odbc Connection Pooling
Hello,
 
I use IIS 6.0 with php and the authentication method is the €œintegration windows authentication€?
 
I have a problem i d€™ like to use odbc  connections pooling to access my database, however the authenticated user must be member of the administrator group to use this feature.
 
Best regards
 
sltex

View Replies !
ODBC Connection Pooling With IIS 6
 

Hello,
 
I tried without success to activate ODBC connection pooling for an ASP (classic) application running on Windows Server 2003. I used the ODBC administration applet and created the registry value described in "INFO: How to Enable Connection Pooling in an ODBC Application".
 
What are the steps to correctly activate ODBC connection pooling with IIS 6?
 
Thank you for your answers,
Radu

View Replies !
ODBC Connection Error
SQL Server Express 2005 Backend
Access2000 Frontend (Linked Tables and lots of pass thru queries) (yes I know, but that is how the app was built and too much time to rebuild)
 
My DSN coneccts fine.
But the connection is intermittent.
 
For example:  I have a form that populates a list.  There are buttons in the footer that will filter the list. (by use of DoCmd.ApplyFilter)  Now the problem is that sometimes it works and sometimes it doesn't.  When it doesn't work I get an error stating
 
"ODBC--connection to 'TriStar' failed."
 
Where TriStar is the name of my DSN.
 
However if I wait a little bit it will come back up.  I don't have to close the form or anything....it just starts working.  And it will work for a minute or so and then BAM....ODBC message again.  The problem is that this is affecting the entire application and it is making it impossible for the users to work.  As the connection is out more than it is in it seems.
 
It has to be an issue with the SQL Server Express.  For some reason it is dropping out.  or is not allowing the request.  Is there a setting I am missing??? 
 
 

View Replies !
Settings Up A Connection With ODBC
ok im trying to set up an odbc connection to my database.
i am using MS SQL SERVER 2005 Express on my labtop that is running windows xp.

on the labtop i went into control panel - admin tools - data sources (odbc) and then under the user dns tab i added a sql server with these values in the fields
name: MyFoxData
Description: [i left empty]
Server: TESTINGSQLEXPRESS

then i hit next

then i have checked With Sql Server authentication using a login id and password entered by users.
i enter in my login id and password.
i then uncheck connect to sql server to obtain default settings.
i hit next and change default database to DNN445
and i leave everything else the way it is, before i save it i test the connection and it works fine.

I do the same exact steps on my desktop to try and connect to the SQL database on the labtop but for some reason i keep getting this message



Microsoft SQL Server ODBC Driver Version 03.85.1117

Running connectivity tests...

Attempting connection
[Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]Specified SQL server not found.

TESTS FAILED!


any ideas?

View Replies !
ODBC Connection To SQL Server
I use Business Objects XI R2 (BOXI) to report against a SQL Server 2000 database using an ODBC connection.
When I query the database using Enterprise Manager on the server I can make use of all functions available within SQL Server, yet when I access it via the ODBC connection I only get a very small subset of SQL Server functions available.

I can use the inbuilt BOXI functions, which work on the data locally, but would like the functions processed on the server instead.

Is this constraint a property of the ODBC driver, and if so are there other drivers which would expose all of the available SQL Server functions.

Any suggestions appreciated.

View Replies !
ODBC Connection Failure
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 Replies !
ODBC Connection Failure
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 Replies !

Copyright © 2005-08 www.BigResource.com, All rights reserved