HELP PLEASE!!: How To Connect To SQL Sever 2000 From Solaris?
Aug 11, 2005
We want to run Unix Scripts on SunSolaris which Connected to MS SQL
Server 2000.
We would like to connect to SQL Server 2000 from Solaris. Is there any
way to connect to Sql Server 2000 natively (just like isql we use in
windows which has the client) with the help of third party ct library?
or any other drivers or tools???
TIA
View 5 Replies
ADVERTISEMENT
Sep 6, 2006
I recently upgraded from SQL Server 2000 to SQL Server 2005. I have Oracle databases I need to share data with. I was using the Heterogeneous Services (hsodbc) from Oracle and connected to SS 2000 fine. Since I've upgraded, I can't use hsodbc to connect to my SS 2005 database. I get the following error:
ORACLE GENERIC GATEWAY Log File Started at 2006-09-06T09:40:07
hoainit (3): ; hoainit Exited with retcode = 0.
hoalgon (7): ; hoalgon Entered. name = edw.
DB_ODBC_INTERFACE (2085): ; [Microsoft][SQL Native Client][SQL Server]Login
failed for user 'edw'. (SQL State: 28000; SQL Code: 18456)
DRV_InitTdp: DB_ODBC_INTERFACE (2085): ; [Microsoft][SQL Native Client][SQL
Server]Login failed for user 'edw'. (SQL State: 28000; SQL Code: 18456)
nvRETURN (F:WorkConnect_4_6_3srcdrvDRV_BIND.C 356): -2220
nvRETURN (F:WorkConnect_4_6_3srcavNAV_BIND.C 293): -2220
hoalgon (7): ; hoalgon Exited with retcode = 28500.
View 6 Replies
View Related
Apr 23, 2007
I need to connect to Express edition of sql server installed on my machine, from perl (solaris platform). How should the connection string containing server, port, database etc look like ??
View 5 Replies
View Related
Jul 20, 2005
Does anyone know of any shareware tools available to allowisql/bcp-like access to sql server 2000 from Sun Solaris ?
View 1 Replies
View Related
Apr 21, 2003
After restarting the SQL Sever agents, I can not connect to the server from my desktop via Enterprise manager or analyzer, but everything seems find on the server side. the error message is as follows: "a connection could not be established to [servername]
reason: SQL Server does not exist or access denied ConnectionOpen (Connect())..
I have not attempted to reboot the server yet, I would like to try to resolve the problem withoutout having to do this (last alternative)
setup:
SQL Server 2000 Service pack 3
running on Server 2000.
any help would be appreciated, thank you
View 2 Replies
View Related
Dec 1, 2007
I have a problem with the connection to the DB…
I wrote this connection string in the web.config
<add name="dbConnectionString" connectionString="server=(local);database=2C2M;Trusted_connection = True" providerName="System.Data.SqlClient"/>But then when I creat ( SQLdataSource ) and chose this connection , this message is appeared
DataBase schema could not be retrieved for this connection . Please make sure the connection setting are correct and that the database is online. An error has occurred while establishing a connection to the sever . When connection to SQL Server 2005 , this failure may be caused by the fact that under the default setting SQL Server does not allow remote connections. ( provider : Named Pipes provider , error : 40 – Could not open connection to SQL Server )
How I can solve this problem ?
Note : I use SQL EXRESS SERVER
View 1 Replies
View Related
Jun 28, 2006
hi
i have created a .aspx page and a sql database in visual studio ,, my question is how can i connect that database in SQL Server Managment Studio?
View 3 Replies
View Related
Apr 24, 2007
Iam trying to connect to local copy of sql sever express from the command prompt with this command(sqlcmd) but i get the error below. What should i do to overcome the error. Basically what i want to do is to try out some commandline backup utilities and i deadly want to know how to do a backup from the command prompt. Help is greatly appreciated.
HResult 0x2, level 16, state 1
Named pipes provider: could not open a connection to sql sever [2]
sqlcmd: Error: Microsft sql native client: An error has occurred while estarblishing a connection to the sever. When connecting to sql sever 2005, this failure may be caused by the fact that under the default settings SQL sever does not allow remote connections..
Sqlcmd: Error: Microsoft sql native client: Login time out expired.
View 3 Replies
View Related
Jun 22, 2007
I want to connect to a SQL server from my workstation using the application in the Subject, but I need to connect as a different Windows user. Basically, I login to my workstation with my "Joe User" account, but for servers I used my "Joe Admin" account for security purposes. However, the Management console autofills in my workstation username when I select "Windows authentication" for the connection, and grays out the username/password fields so that I cannot specify another set of credentials.
Is there a way to change this behavior? Otherwise I will need to termserv into a server using my administrative account, install the management software there, and then begin the process. That is a lot of unecessary overhead that I would like to avoid.
Thank You,
John G
View 4 Replies
View Related
May 17, 2002
I have a situation where I might want to pull(select) some information from a DB2 database, and possibly push(insert) some data to the same DB2 database. I am sure this is being done in the real world. WHat software, infrastrucure, etc would I need to accomplish this. Is it as simple as using DTS and the proper drivers, or are their better products and solutions. ANy
input appreciated.
View 3 Replies
View Related
Jun 6, 2004
Hi, I have installed SQL 2000 on my system and when I try to start it gives me an error saying 'ordinal 29 cant be found in the dynamic link library odbcbcp.dll.
Please advice!!
View 1 Replies
View Related
May 14, 2003
i need write a Feasibility report about MS SQL 2000
Easy of use?
Cost?
Development speed?
Features
View 1 Replies
View Related
Sep 22, 2004
Hi all,
I have a server that is missing some important files, and instead of doing process of elimination, I feel it is best just to reinstall 2000.
Now is there a way to reinstall 2000 and just getting the files that the server is missing?
Is there any guidelines or steps for reinstalling 2000 out there?
Thanking you in advance.
Lystra
View 7 Replies
View Related
Sep 20, 2006
I am upgrading our SQL 2000 Server hardware. I am looking for a way to "mirror" this server. The only items that we are changing are updating the hardware and the OS will be Server 2K3 instead of Server 2k
Does anyone have a reliable method, or suggested processes for migrating one server to another?
View 1 Replies
View Related
Dec 6, 2005
Knowing that web synchronization is a new feature comes with SQL Server 2005.
View 1 Replies
View Related
Nov 21, 2006
Hi, I am trying to create a connection string that will connect to a SQL Server 2005 Registration on a remote machine. I have a SQL Server 2000 registration (installed) on the same machine and so I think there may be a conflict. The SQL 2005 registration is denoted as HARDYSQL5 and the 2000 registration is merely HARDY (the machine name). I need to connect to a database on the HARDYSQL5 registration but I am not connecting. I have tried various connection strings but none have worked. I get a Login failure. I think this is red herring because I doubt its even finding the database.I can connect to the 2000 db with:"Server=HARDY;Database=Perimeter;UID=use;pwd=example;" But its fails with the following, for example:"Server=HARDYSQL5;Database=Perimeter;UID=use;pwd=example;" "Server=HARDYSQL5;Database=HARDYSQL5Perimeter;UID=use;pwd=example;" "Server=HARDY;Database=SQL5Perimeter;UID=use;pwd=example;" I'm gon go nuts. What am I doing wrong? Thanks.
View 10 Replies
View Related
Jul 27, 2006
Hi all,
I have an aplication in VB6 that uses an ODBC to link to a SQL database.
Until today all my clientes had SQL Server2000 and my aplication worked fine.
Some of my cliente have now SQL 2005 and my application still woks fine except in one of them.
In this particular cliente it gives an error when the application tries to read/write a particular table and a particular column.
This column is data type BIT and my code is
...
Myrs("Servida")= true
...
Any idea why the error appens? And why only in a particular machine and not all of them with SQL2005?
What can I do? I changed the code for
myrs("servida")=abs(cint(true)) and solved the problem, but is not the way that I want to go. I do not want to change thousands of line of code where I read/write a column in the database data type BIT.
Is there a way to configure SQL Server 2005 the way that it controls data type BIT?
Regards
Luis
View 1 Replies
View Related
Apr 25, 2006
Is it possible to connect SQL Sever 2005 Express from SQL Sever 2000 Enterprise Manager? Tried to connect but got the error message "must use SQL Server management tools to connect this sever"
Thanks
View 3 Replies
View Related
Jun 17, 2004
Hi, i'm very new to Web Matrix. I've been following the C# end-end application tutorial exactly but i can't seem to run my application.
The code given in the link below is for MS Access but I'm using MS SQL 2000, so i'm not sure of the syntax for the code provided below (string connectionString...)
Please help..thank u!!
http://www.asp.net/webmatrix/guidedtour/section91/bookrequestcontrol.aspx
string connectionString = @"Provider=Microsoft.Jet.OLEDB.4.0; Data Source=D:TempProjectsLibraryDatabase.mdb";
public void LoadRequestedBooks(){
try
{
string mySelectQuery = string.Format("SELECT books.* from books, requests where books.bid = requests.bid and requests.mid = {0}", Session["userid"]);
System.Data.OleDb.OleDbConnection myConnection = new System.Data.OleDb.OleDbConnection(connectionString);
System.Data.DataSet myDataSet = new System.Data.DataSet();
System.Data.OleDb.OleDbDataAdapter myOleDbDataAdapter = new System.Data.OleDb.OleDbDataAdapter(mySelectQuery, myConnection);
myOleDbDataAdapter.Fill(myDataSet);
DataGrid1.DataSource = myDataSet.Tables[0];
DataGrid1.DataBind();
myConnection.Close();
}
catch(Exception exp)
{
Label2.Text = "<br>Error: " + exp.Message + "<br>";
}
}
View 3 Replies
View Related
Jan 13, 2005
I installed SQL Server 2000 Develloper version and I am wondering what are the limitation of this version compare to the other versions available? Like how many connections can I have open at the same time? Can I use it for my intranet application? etc...
Thanks
View 1 Replies
View Related
Jul 20, 2005
Does anyone know of any shareware tools out there that can connect tosql server 2000 from Unix(specifically Sun Solaris) and performqueries and return result sets ? Appreciate your help.Steve Chiang
View 1 Replies
View Related
Oct 24, 2007
We have a SQL Server 2000 and want to migrate to SQL Server 2005 Express.
It's possible?
SQL Server 2005 Express have support to do this?
View 6 Replies
View Related
Sep 8, 2005
Given than once SQL Server 2005 is installed, SQL Server Studio has to
be used instead of Enterprise manager, can both SQL 2000 and 2005 be
used on the same machine, be it development or production? (The second
one to be installed probably would be a named instance.)
Any experiance of doing this or a pointer to a Microsoft recommendation would be appreciated.
View 2 Replies
View Related
Apr 26, 2007
hi,Does MS2005 JDBC Driver 1.1 support integrated security on Solaris and if sohow?Thanks,MarcM
View 1 Replies
View Related
Aug 15, 2007
In several weeks of effort and research I cannot locate any method to get this to work and need some help. We've loaded the most recent version of the Microsoft OLE DB (Feb 2007) and have located several discussion threads on these and other forums that all point to the same conclusion... you cannot use this to talk to a UDB/DB2 instance on Sun Solaris unless you are pulling a full table. Any custom SQL will not work. So, I'm trying to setup a custom query which in most cases is to determine a date to use in the filter (where clause) and the rest of the query is static. The DataReader source does not support parameters and also appears to not support SQL command from variable. Any thoughts on how to get this to work without having to read the full table and pass the data to subsequent filters within the package???
Thanks
View 14 Replies
View Related
Jun 19, 2006
Hi,
I'm working on a database conversion from Sybase to SQL Server 2005 and have hit a wall with a character conversion problem when reading non-ASCII characters (encrypted password) via JDBC.
My application runs on Solaris and accesses a SQL Server 2005 database via the Microsoft JDBC driver. The server was unfortunately specified as having a SQL_Latin1_General_CP1_CI_AS collation at installation time, and the database being accessed has taken this default. After creation the data was migrated across via DTS.
The invalid character is a dagger '€ '. When read over JDBC it is converted to a question mark '?'.
In my original environment a Sybase database was accessed via JDBC driver from Solaris and the correct value was returned. The Sybase database used Latin1_General_BIN as it's collation. By way of experimentation I have modified the default collation sequence within the SQL Server 2005 database, and created a new table to hold the password. I am then able to correctly return strings containing this character from within SQL Server Management Studio, but the same problem still exists when accessing it via JDBC.
I am not sure where to focus my investigation and would be grateful for any useful pointers/advice. To me it looks like it's a JDBC driver issue as with the change in collation it works from a non-JDBC client.
Many thanks
Alistair
View 6 Replies
View Related
Mar 13, 2006
Hi,i have SQL 2000 and 2005 on same machine(with different intance names,of course), my laptop - XP with SP2. The 2005 works fine but i can'tconnect on SQL 2000. All the the SQL services are started.Any idea? Have i to reinstall 2000?Tks,Lourival
View 1 Replies
View Related
Feb 25, 2004
I need to populate a Public Contacts Folder on an Exchange Server with data in a SQL 2000 Table. What would be the best way to do this?
Thanks
View 1 Replies
View Related
Jun 5, 2007
i have do a web site with asp.net 2.0
when i run the on the development pc it can coonect to db
when i publish the website, it become cannot connect to sql2000
the conn string as belowstrConn = "Data Source=SHHDB;Initial Catalog=test8;Persist Security Info=True;User ID=sa;Password=;Trusted_Connection=yes;Current Language=British;"
the DB server is on other pc with same network
and i have public it to same pc with the development pc
it come out with "erro like cannot connect to sqlserver 2005, name pipe error: 40"
the problem is the both iis and dbpc don have sql 2005
only db server installed sql 2000
View 3 Replies
View Related
Aug 20, 2007
I am trying to connect to SQL 2000 server (Default instance). I also have sql 2005 installed in the server.
In the connection string for SQL 2000. It is referring to SQL 2005, how can I point it to SQL 2000
<add name="ConnectionString1" connectionString="Data Source=192.120.0.10;Initial Catalog=AMP III;Persist Security Info=True;User ID=uid;Password=pwd"
providerName="System.Data.SqlClient" />
But 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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
View 3 Replies
View Related
Aug 17, 2006
hi everybody, i got this error in my code.
Server Error in '/' Application.
SQL Server does not exist or access denied.
Source Error:
Line 12: Dim SQLConn As SqlConnection = New SqlConnection()Line 13: SQLConn.ConnectionString = ConfigurationSettings.AppSettings("ConnectionString")Line 14: SQLConn.Open()Line 15: Line 16: cmdLath = New SqlCommand ( _
my web.config
<configuration>
<appSettings>
<add
key="ConnectionString" value="Data
Source=xxx;UID=xxx;pwd=xxx" />
<add
key="ConnectionString" value="Server=xxx.xxx.x.x;database=xxx;UID=xxx;pwd=xxx;Trusted_Connection=True"
/>
</appSettings>
<system.web>
<sessionState cookieless="false" timeout="20"
/>
<customErrors
mode="Off"/>
</system.web>
</configuration>
what seems to be a problem, please help me??????
View 6 Replies
View Related
Feb 25, 2008
hi i have sql server 2000 installed on my domain server machine. Now i want to connect to that instance from another client machine.thanx in advance
View 3 Replies
View Related
Mar 31, 2008
Hi All, I am trying to connect to an SQL SERVER in a remote production server from ASP.net using following code. Dim conProd As New OleDbConnection("Provider=SQLOLEDB.1;Data Source=ServerName;UID=User Name;PWD=Password;Initial Catalog=Database")conProd.Open()I am getting following error while running this script [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or
access denied. But I am able to connect to this server using following three other ways:1) Using query analyzer2) I created DSN and performed test connection, it succeded.3) In ASP.NET -> Server Explorer -> Data Connections, I added this connection and test connection also successful.I tried to connect to this server in VB 6.0 using following code Dim conProd As New ADODB.ConnectionconProd.Open "Provider=SQLOLEDB;Data Source=ServerName;Initial Catalog=Database; Timeout=500;", "UserName", "Password" I am able to connect using this above code in VB 6.0 also.But I dont what is happeing in .NET. Please help me. I am using XP and VS .NET 2003
View 1 Replies
View Related