Connection with SQL Server 2000 to SQL Developer 1.2 Migration Workbench
Hi all,
I keep getting the following error with setup for SQL Developer 1.2 Migration Workbench connection to SQL Server 2000 database:
"Status: Failure -Network error IOException: Connection refused:connect"
I can access the Microsoft SQL Server 2000 database with username
and password using Enteprise Manager. However for some odd
reason the Oracle SQL Developer 1.2 cannot connect to it.
I was having this problem too. I'll mangle this explanation, but Our SQLServer instance was on a local server with some named DNS something. So, to get to the server, we used theservername.outdomain instead of an IP. We could never get it to connect through the named server. We got an SQLServer instance going on a server that we could connect to through a regular IP, and it connected just fine.
Also, are you using the JTDS driver, or microsofts driver? We have only been able to connect with the JTDS driver. http://jtds.sourceforge.net/
Similar Messages
-
Changes required to switch from SQL Server 2000 to SQL Server 2005?
I'm converting a legacy app from SQL Server 2000 to SQL Server 2005. The app is written in VB6 and utilizes CR 8 OCX. When I invoke a report from VB I'm getting Error# 20599 Cannot open SQL server. I redefined the ODBC DSN specifying Windows Authentication, and the SQL Server instance supports mixed mode.
Searching for the error, I found an article that suggests I need p2sodbc8.zip, but I can't find a link to it in the Downloads area.
Would greatly appreciate any help at all - including a link to p2sodbc8.zip if that's the likely resolution.
Thanks in advance,
PeteHi Peter,
As you are having issue with SDK's.
I would suggest you to post your question in
Business Objects SDK Application Development » [Legacy Application Development SDKs|;
That forum is monitored by qualified technicians and you will get a faster response there. Also, all SDK queries remain in one place and thus can be easily searched in one place.
Thank you for your understanding,
Shweta -
Hi guys,
Procedure
Homogeneous System Copy on SQL Server
Source Platform
Windows 2003 Server x86
SQL Server 2000 SP4
SQL_Latin1_General_CP850_BIN2
SAP R/3 4.7 x200
SAP Kernel 6.40 Patch 347 x86 (Sep 10 2010)
SAP_BASIS 620 Patch 69
Target Platform
Windows 2008 Server x64
SQL Server 2005 SP3
SQL_Latin1_General_CP850_BIN2
SAP R/3 4.7 x200
SAP Kernel 6.40 Patch 347 x64 (Sep 10 2010)
SAP_BASIS 620 Patch 69
Symptom
When running STM (SAP Tools for SQL Server) on the target server I get the following error:
- Errors when executing sql command: (Microsoft)(ODBC SQL Server Driver)(SQL Server)Could not find stored procedure u2018sap_use_var_MAXu2019.
Further Analysis
I'm able to start the SAP system.
Tx SICK returns the following:
- Wrong long datatypes. Perform SQL Server after upgrade steps. Please see note 126973
Troubleshooting
Note 126973 - SICK messages with MS SQL Server
Solution:
Proceed as described in Note 1291861
Note 1291861 - SICK message: Wrong long datatypes
2. If the problem occurred following a system copy from SQL Server 2000 to SQL Server 2005 or later then execute the following statements:
setuser 'sid'
exec sap_use_var_MAX
Where 'sid' is the SAPSID of your system in lower case.
setuser 'dev'
exec sap_use_var_MAX
Msg 2812, Level 16, State 62, Line 2
Could not find stored procedure 'sap_use_var_MAX'.
Request
I'm thinking if any one of you is able to access an SAP system on SQL Server (2005 or other) with the above mentioned stored procedure present you could scipt it to a txt file and post it here in order for me to create it manually on my system.
I've checked several SAP Notes on this subject and none of them explains how to create this store procedure from scratch, they all just assume it's already there and tell you to execute it.
Thank you.
Bruno PereiraI was able to solve this issue just now the following way:
- A friend of mine scripted it to a file which I then used to create the sap_use_var_MAX on the target database.
Here is a copy of that file:
USE [<SID>]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
create proc [<sid>].[sap_use_var_MAX] as
begin
declare @tabname sysname
declare @colname sysname
declare @datatype sysname
declare @nullflag nvarchar(1)
declare @cmd nvarchar(1024)
declare @n_altered int
declare c cursor for
select t.TABLE_NAME,c.COLUMN_NAME,c.DATA_TYPE,
nullflag = substring(c.IS_NULLABLE,1,1)
from INFORMATION_SCHEMA.COLUMNS c,
INFORMATION_SCHEMA.TABLES t
where c.TABLE_NAME = t.TABLE_NAME AND
c.TABLE_SCHEMA = t.TABLE_SCHEMA AND
t.TABLE_TYPE like '%TABLE%' AND
c.TABLE_SCHEMA = schema_name() AND
c.DATA_TYPE IN ('text','ntext','image')
order by t.TABLE_NAME,c.COLUMN_NAME
open c
set @n_altered = 0
fetch next from c into @tabname,@colname,@datatype,@nullflag
while (@@fetch_status <> -1)
begin
if (@@fetch_status <> -2)
begin
set @cmd = N'alter table [' + @tabname +
N'] alter column [' + @colname +
N'] '
if @datatype = N'text'
set @cmd = @cmd + N'varchar(MAX)'
else if @datatype = N'ntext'
set @cmd = @cmd + N'nvarchar(MAX)'
else
set @cmd = @cmd + N'varbinary(MAX)'
if @nullflag = N'N'
set @cmd = @cmd + ' NOT NULL'
else
set @cmd = @cmd + ' NULL'
-- print @cmd
exec( @cmd )
set @n_altered = @n_altered + 1
end
fetch next from c into @tabname,@colname,@datatype,@nullflag
end
close c
deallocate c
select convert(varchar,@n_altered) + N' columns were altered'
end -- sap_use_var_MAX
Mind you, you'll have to change <SID> and <sid> acoordingly, considering also if your db is dbo schema or sid schema owned!
Thank you for your help nonetheless!
Bruno Pereira -
Moving sql server 2000 to sql server 2014
Moving sql server 2000 to sql server 2014. Could someone please give me steps to move everything from sql 2000 one server to sql 2014. I have 2 instance on sql 2000. 8 databases on each of them. On both instances we have store procedure and jobs.
i think your SQL Server 2000 is hosted on old Windows server version so based on that you should prepare new environment for SQL Server 2014 from Win Server 2012 Sp1 and SQL Server 2014 and build your clusters then start your Migration from Old Servers to
new servers and here below is 10 configurations outlines that you should look after carefully for any DB consolidation or migration from a server to a server and indeed they represent unique potentials for your DB Consolidation /migration service that
can leverage distinctly your service quality and shape you very well in front of your customers:
1- Backup DBs and restore DBs with ZERO down time and ZERO data loss in the same time …Awesome …!
2- Cloning all DB special features that are not covered by backups and restores such as :
RCSI (Read committed snapshot isolation level using row versioning)
Service brokers
Encryption keys and certificates
3- Cloning identically all SQL logins with their mapped DB users including their passwords (if SQL authenticated logins ) and privileges on both server and DB levels .
4- Copying .rdl and .rds files between different versions of reporting services where backup and restore reportserver and reportservertemp DBs is not an option
5- Cloning all special Jobs like certain business jobs configured to perform some business stuff .
6- Cloning all mail profiles with their mail accounts
7- Cloning all Linked server + Aliases might be used inside old DB servers
8- Cloning some server configurations like CLR ,CPU parallelism, Replication size , Network packet size , optimize for ad hoc workloads
9- Cloning all Replications configurations for publishers and subscribers
10- Cloning all DTC configurations for both local and clustered DTC services
Follow the below links to know the steps by the scripts:
http://sqlserver-performance-tuning.net/?p=5262
http://sqlserver-performance-tuning.net/?p=5359
http://sqlserver-performance-tuning.net/?p=5398
http://sqlserver-performance-tuning.net/?p=5415
http://sqlserver-performance-tuning.net/?p=5458
Mustafa EL-Masry
Principle Database Administrator & DB Analyst
SQL Server MCTS-MCITP
M| +966 54 399 0968
MostafaElmasry.Wordpress.com -
Upgrade SQL From the SQL Server 2000 to SQL Server 2008
hello:
I am running the following query. This query is based on SQL server 2008. POIShare is a view which is created by the table.
"select PoiShare.AddressCode,REPLACE(PoiShare.NameSpell,' ','') as NameSpell,PoiShareOffset.Offset from PoiShare, PoiShareOffset where POIShare.AddressCode & 0xFF000000 = %COUNTRY_ADCODE% and PoiShare.POIID = PoiShareOffset.POIID order by PoiShare.AddressCode,PoiShare.NameSpell"
I'm getting the following result.
3188785409 "папа,мама,я"
791241
3188785409 01кафе
0
3188785409 007
5767272
3188785409 03
4790808
3188785409 02lounge
19
3188785409 03аптека
4791813
3188785409 03аптека
4791805
3188785409 01сервис
1246782
"PoiShare.NameSpell" is not sorted. I try to solve this problem.but It doesn't work.
I tried some ways.
1.Sort all of the field
2.Using "COLLATE Cyrillic_General_CI_AI_KS_WS" to "NameSpell"
3.Create index for "NameSpell"
4.Using "cast(replace(PoiShare.NameSpell,',','') as bigint)",But SQL returned an error
5.Install SQL SP1
any help is greatly appreciated.SELECT * FROM <<VIEW>>
ORDER BY <<COLUMN>>
The query above work fine in SQL Server 2008. NameSpell has already been sorted, thank you. -
Open Connection to SQL Server 2000 Instances
Dear All:
I always got following error when connecting to a SQL Server 2000 instance:
"Can't open a socket on NAMNGO\RNDSQLSVR:1433. Check host and port number and
make sure the
security manager allows this connection. You can also try running the SocketApplet
(java.net.UnknownHostException:
NAMNGO\RNDSQLSVR)"
I am using Wel Logic 6.1 and SQL Server 2000. SQL Server 2000 has an instance
named RNDSQLSVR with default TCP port is 1433.
Is there anyone hit this problem, please let me know.
Please check the attached file for sample code.
Thanks,
Nam Ngo
[att1.html]Hi Sree,
Thank you for your help. It worked.
Nam Ngo
"Sree Bodapati" <[email protected]> wrote:
Hi Nam,
The way you do this is by finding out on what port the instance of SQL
Server you want to connect is listening on. (Use the server network utility
that comes with SQL Server 2000 for this). Then just mention the
server=<machine name/ip> of the server this instance is running on. and
the
port as the port that is shown by the server network utility as port=<port
number>. Microsoft specifies NAMNGO\RNDSQLSVR:1433 as the convention
for
ODBC but , this driver is a type 4 driver and it needs only the machine
name
and port, it doesnt need any instance name.
(Each instance of SQL Server 2000 listens at a different port)
HTH
sree
"Nam Ngo" <[email protected]> wrote in message
news:[email protected]..
Dear All:
I always got following error when connecting to a SQL Server 2000instance:
"Can't open a socket on NAMNGO\RNDSQLSVR:1433. Check host and portnumber
and
make sure the
security manager allows this connection. You can also try running theSocketApplet
(java.net.UnknownHostException:
NAMNGO\RNDSQLSVR)"
I am using Wel Logic 6.1 and SQL Server 2000. SQL Server 2000 has aninstance
named RNDSQLSVR with default TCP port is 1433.
Is there anyone hit this problem, please let me know.
Please check the attached file for sample code.
Thanks,
Nam Ngo -
SQL Server 2000\2005 compatibility with Active Directory 2012
Hi All,
We are currently using Active Directory 2003 and will be upgrading to AD 2012. I'm trying to determine if there is any known compatibility issues when running older versions of SQL Server (2000 and 2005) when upgrading to AD 2012. I've
read forums from when others went from AD 2003 to AD 2008 and didn't experience any issues. We have the newer versions of SQL but I'm not too concerned about these. Any advice would be greatly appreciated? Has anyone been through
this process.
Thanks,Hi CraftsmanRobert,
Based on my understanding, you used Active Directory 2003, then it would be upgraded to Active Directory 2012. You wanted to run older versions of SQL Server (2000 and 2005) with Active Directory 2012.
Firstly, there can be a compatibility problem when run older version with Active Directory 2012. SQL Server 2005 (the release version and service packs) and earlier versions of SQL Server are not supported on Windows Server 2012 R2, Windows Server 2012,
Windows 8.1, or Windows 8. For more information, please refer to this article: How to use SQL Server in Windows and Windows Server environments (http://support.microsoft.com/kb/2681562/en-us).
Besides, Microsoft doesn’t provide assisted support for SQL Server 2000 and SQL Server 2005 already. Please upgrade the existing instance of SQL Server 2000 and SQL Server 2005 to a new version like SQL Server 2012. You can download SQL Server 2012 Express
from this link:
http://www.microsoft.com/en-us/download/details.aspx?id=29062.
Best regards,
Qiuyun Yu -
MS SQL server 2000 to 2005 migration
Hi Experts,
My application is developed in jdk1.4 and JRUN using MS SQL server 2000.Now I want to upgrade with MS SQL server 2005
Few questions here:
1) How can I achieve this ?
2) Is jdk 1.4 compatible with MS SQL Server 2005 ?
3) How can I change the driver?
Thanks
HarshmeetHi Harshmeet,
As your application is not SAP, please follow the steps in the link below for upgrade
how can I upgrade SQL server 2000 to SQL server 2005 sp2 - SQL Server - www.windows-noob.com
For JDK support refer link below
using Microsoft SQL Server 2005 JDBC Driver with JDK 1.3 (or JRE 1.3)
Hope this helps.
Regards,
Deepak Kori -
MS SQL Server 2000 migrate to Oracle 8
Hi -
i am trying to migrate 8 distinct databases from SQL Server 2000 to Oracle 8 using the Migration Assistant Utility.
as i am new to Oracle, i am having some challenges.
1. do i need to migrate the SQL Server "Master" database first?
2. the Migration Assistant runs and is able to "define" the source model, but when it tries to create the Oracle model, it errors with a number of problems, typically with messages like "null" for the keys.
can anybody explain and/or point to me a clear and concise explanation of what is the procedure here?
thanksCheck out the following tech bulletin
http://otn.oracle.com/support/tech/migration/workbench/htdocs/bulletins/sqlserver_01.htm
it will help u
Hi -
i am trying to migrate 8 distinct databases from SQL Server 2000 to Oracle 8 using the Migration Assistant Utility.
as i am new to Oracle, i am having some challenges.
1. do i need to migrate the SQL Server "Master" database first?
2. the Migration Assistant runs and is able to "define" the source model, but when it tries to create the Oracle model, it errors with a number of problems, typically with messages like "null" for the keys.
can anybody explain and/or point to me a clear and concise explanation of what is the procedure here?
thanks -
SQL Server 2000, 2005 and 2008 migration
Hi,
we have to migrate SQL Server 2000, 2005 and 2008 to SQL Server 2014. Can anyone please help with some good links to migrate DTS and SSIS package from 2000, 2005 and 2008 to SQL Server 2014?
Regards,
Satendra SinghPlease see these links:
Migration SQL Server 2000 to SQL Server 2012
Migrating to SQL Server 2014
T-SQL Articles
T-SQL e-book by TechNet Wiki Community
T-SQL blog -
SQL SERVER 2000 RESTORE STATUS
Hi
Is there any query to find the restore percentage on the Database?
thanks in advance.
Regards, Pradyothana DP http://www.dbainhouse.blogspot.in/If you are still using SQL Server 2000, then you need to quickly check on migrating to later version. Microsoft will no longer be supporting SQL Server 2000.
Hello,
I agree with Latheesh's opinion. I strongly recommend you consider upgrading SQL Server 2000 to higher version. Here are some articles for your reference, please see:
Migration SQL Server 2000 to SQL Server 2012:
http://blogs.technet.com/b/mdegre/archive/2012/06/15/migration-sql-server-2000-to-sql-server-2012.aspx
SQL Server Upgrade Advisor: Considerations when upgrading from SQL 2000 to SQL 2012:
http://blogs.msdn.com/b/mspfe/archive/2012/12/06/sql-server-upgrade-advisor-considerations-when-upgrading-from-sql-2000-to-sql-2012.aspx
Regards,
Elvis Long
TechNet Community Support -
Which is the best way to migrate the SQL SERVER 2000 Database to SQL SERVER 2003 Database?
Hi,
I need to migrate the Production database sql server 2000 to Sql server 2003, Please give me the best idea to migrate the database without any loss data, credentials and Objects.
Nandha KumarSQL server does not have any version named SQL server 2003 please check the version correctly it should be either SQL 2005,2008,2008 R2,2012
You can use the backup/restore to upgrade the SQL 2000 database to till SQL 2005,2008,2008R2
For SQL Server 2000 to 2012
First upgrade from SQL 2000 database to either SQL 2005, 2008 or 2008R2 and than upgrade it to SQL 2012.
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/eaa1eb44-729f-466b-8233-cb768fbb4208/upgrading-to-sql-server-2008-from-sql-server-2000?forum=sqlsetupandupgrade
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/4fac7511-2c75-46a0-802b-807dd26b12bf/sql-2012-will-not-convert-a-sql-2000-database?forum=sqlservermigration
And after migration to SQL 2005 or 2008, if you want to script the database than can generate scripts pick DB and check off "script all objects in the selected database".
http://blog.sqlauthority.com/2011/05/07/sql-server-2008-2008-r2-create-script-to-copy-database-schema-and-all-the-objects-data-schema-stored-procedure-functions-triggers-tables-views-constraints-and-all-other-database-objects/
You can upgrade from SQL Server 2005, SQL Server 2008, and SQL Server 2008 R2 to SQL Server 2012.
http://msdn.microsoft.com/en-us/library/ms143393(v=sql.110).aspx
Please click the Mark as answer button and vote as helpful if this reply solves your problem -
BO 6.5 switching from SQL Sql Server 2000 to 2005
Need information for BO 6.5 on issues switching from Sql Server 2000 to Sql Server 2005.
Thanks in advance for any information!If you're migrating the Repository database as well from SQL 2000 to SQL 2005, you need to also to update the security files by taking the steps below:
1. Stop the server
2. Rename the existing security files (bomain.key and bomain.lsi)
3. Run the Safe Recovery to regenerate a new bomain.key
4. Run the Scan, Repair and Compact of the Repository
5. Copy the new bomain.key to the locdata located at u2026\nodes\<server>\<cluster>\locdata
Regards,
Jeff -
Connect webdynpro callable object with ms sql server 2000
Hi all
how connect webdynpro callable object with ms sql server 2000?
How can I register on the portal as an additional connection?
thank you very much!Thanks for your answers, Now I have the following problem, to develop this code:
try {
InitialContext iC = new InitialContext();
DataSource dataSource = (DataSource)iC.lookup("jdbc/ConnectionAlias");
Connection con = dataSource.getConnection();
java.sql.Statement stmt = con.createStatement();
ResultSet rs = stmt.executeQuery("select * from ejemplo");
while (rs.next()){
com.sap.test.sql.testsql.wdp.IPrivateTestIViewView.IDatosElement
DatosElement =
wdContext.nodeDatos()
.createDatosElement();
DatosElement.setId(rs.getString("id"));
DatosElement.setNom(rs.getString("nom"));
DatosElement.setNum(rs.getInt("num"));
}catch (SQLException e) {
wdContext.currentContextElement().setB(e.getMessage());
}catch (Exception e){
wdContext.currentContextElement().setB(e.getMessage());
and shows me the following exception
ResourceException in method ConnectionFactoryImpl.getConnection(): com.sap.engine.services.dbpool.exceptions.BaseResourceException: SQLException thrown by the physical connection: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.
the data that you place in the visual administrator were:
Drivers: com.sap.aii.af.jmsproviderlib (msutil.jar , mssqlserver.jar , msbase.jar)
DataSources: sap.com/JDBCConnector_MyDatasource.xml
Name: MyDatasource
Alias: ConnectionAlias
DriverName: com.sap.aii.af.jmsproviderlib
JDBC Version: 1.x
Driver Class: com.microsoft.jdbc.sqlserver.SQLServerDriver
Database URL: jdbc:microsoft:sqlserver://181.42.101.219:1433;DatabaseName=test
User: sa
Password: abcd1234
did not know the cause of the problem
thanks! -
Invalid session : connecting from developer 6i to sql server 2000
Hi ,
I am facing the following problem for connecting to sql server
2000 from oracle forms 6i.
Oracle developer 6i(form builder 6.0.8.11.3)
sql server 2000
o/s windows 2000 server
plus80.exe <username>/<password>@odbc:<dsn_name>
SQL*Plus: Release 8.0.6.0.0 - Production on Tue Oct 24 17:36:56
2000
(c) Copyright 1999 Oracle Corporation. All rights reserved.
ORA-00022: invalid session id; access denied
ORA-00022: invalid session id; access denied
ORA-00022: invalid session id; access denied
Error accessing PRODUCT_USER_PROFILE
Warning: Product user profile information not loaded!
You may need to run PUPBLD.SQL as SYSTEM
Server not available or version too low for this feature
ORA-00022: invalid session id; access denied
Connected to:
Oracle Open Client Adapter for ODBC 6.0.5.29.0
Microsoft SQL Server 08.00.0194
SQL>
pls help
Thanks in advance
YogeshHello ,
this forum must have a attachment option , so it very easy for others to update their development
Now how can i paste the procedure it have 6 - 8 pages and when i paste it, the words merge or join with others word, it become very difficult to read,,
anyhow
mail me i send the document
[email protected]
Maybe you are looking for
-
Now that AIR supports the MinimumOSVersion key, apps can set a specific minium version they will support. It wasn't available before, so it ended up in the app store with the default of 4.0. Any device that AIR supported had to have ARMv7 anyways and
-
Help! why can't i sync my entire photo album onto my phone?
I used to sync my entire photos in iphoto onto my iphone 3. Now that i have changed to iphone 4, it can only sync some of my photos. IT says, ' It says: "Some of your photos, including the photo "DSC04441.JPG", were not copied to the iPhone "adelehen
-
After nearly 4 hours of editing in PE7, I got the Windows XP error message telling me that the program had encountered a problem and needed to shut down. Just before that, I had clicked on the button to make a DVD. My first reaction was that I wouldn
-
Webarchive as web page insert?
Is it possible to insert a webarchive as a web view in keynote? I can save a webarchive from a page I want to view, but I can't type that url (file:///etc) into the web page URL field in keynote. The particular page is a popup photogallery that saves
-
hello i have the problem when i try to print a check, all the time generates the mistake f0251, and F0253. also in the log apears some problems with & in summary or Main. it is very urgent, thanks you