Problem Installing Sol Man 4.0 /Windows/SQL Server 2000
Hi,
Ran into the following problem when installing, any ideas:
SAPinst is getting started.
Please be patient ...
starting gui server process:
sapinstport: 21200
guiport : 21212
guistart : true
command : "C:\Program Files\Java\jre1.5.0_06/bin\javaw.exe" -cp "C:/DOCUME1/ADMINI1/LOCALS1/Temp/2/sapinst_exe.4268.1158783242\jar\instgui.jar;C:/DOCUME1/ADMINI1/LOCALS1/Temp/2/sapinst_exe.4268.1158783242\jar\inqmyxml.jar" -Xmx256M -Dsun.java2d.noddraw=true SDTServer config=jar:sdtserver.xml guiport=21212 sapinsthost=localhost sapinstport=21200 guistart=true
load resource pool J:\IM_WINDOWS_I386\resourcepool.xml
guiengine: no GUI connected; waiting for a connection on host SCLO027, port 21200 to continue with the installation
guiengine: login in process.
IRunModeReceiver CChoiceDialogModifier::continuePreviousRun()
ERROR 2006-09-20 13:14:44 [kdxxctaco.cpp:872]
CKdbTableContainerImpl::buildUpKeydbFromXmlFile(iastring,PKdbNameSpaceManager,iXMLDocument&)
FKD-00049 XML - Parser error: error: no DTD specified, can't validate in line 1, 1
in file C:\Program Files\sapinst_instdir\SOLMAN\SYSTEM\MSS\CENTRAL\AS\keydb.xml
Exit status of child: 1
Thanks,
Bob
I have solved this problem :
1. Rename the keydb.xml. For exmaple rename to keydb.xml_bak.
2. You can see the keydb.1.xml, keydb.2.xml, keydb.3.xml, keydb.4.xml, etc. in the same folder.
3. You choose the biggest or latest .xml file. For example, you choose the keydb.3.xml.
4. The choosen file, keydb.3.xml, rename keydb.xml
5. You can reinstall.
Take care of yourself.
Se Hoon, Jin
Seoul, Korea
Similar Messages
-
Problem of loading the Driver of MS SQL Server 2000
Is there anyone in the Sun Forum who will help me?
I have already tried to give the full class path of .jar files to the System and User Variables but received the same error. I am doing BCA and developing my very first Project on Java.
Please, tell me one thing. When I had installed MS SQL Server 2000 at my system first time then the 3 JAR files were present in the lib folder and all my codings of connectivity were working properly. Then due to some reasons, I had to format C drive and installed the MS SQL Server 2000 again then in the lib folder the 3 JAR files were not there. How it has happened? Then, I installed the downloaded driver of MS SQL Server 2000 for JDBC 1.4 then the JAR files were installed in the related downloaded driver folder. I manually copied them to the lib folder of MS SQL Server and gave that path to the Classpath of System and User Variables, but it didn't work.
I am not understanding the reason that The Software which worked previously is not working correctly in second time of installing.
I am using command line to develop my stand-alone project. Please help me.I have really no idea what in earth "the same error" is which you're talking about. Be specific. Post the exception type, message and stacktrace.
-
Problem with NW04s SR2 installation with MS SQL Server 2000 SP4
Im struggling with the NW04s installation with MS SQL Server 2000.
The installation stops at the step Create/modify database schema SAPJ2EDB.
The following error/info from log file,
INFO 2007-06-06 12:02:33 [iaxxgenimp.cpp:632]
showDialog()
Execute step doConfiguration of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_MSS_DB|ind|ind|ind|ind|2|0|NW_MSS_SRVCFG|ind|ind|ind|ind|6|0.
INFO 2007-06-06 12:02:35 [iaxxgenimp.cpp:632]
showDialog()
Execute step doTempdb of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_MSS_DB|ind|ind|ind|ind|2|0|MssDowntimeConfig|ind|ind|ind|ind|7|0.
INFO 2007-06-06 12:02:36 [iaxxgenimp.cpp:632]
showDialog()
Execute step doSwitch of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_MSS_DB|ind|ind|ind|ind|2|0|MssDowntimeConfig|ind|ind|ind|ind|7|0.
INFO 2007-06-06 12:02:36 [iaxxgenimp.cpp:632]
showDialog()
Execute step doTempDBAnalyze of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_MSS_DB|ind|ind|ind|ind|2|0|MssDowntimeConfig|ind|ind|ind|ind|7|0.
INFO 2007-06-06 12:02:37 [iaxxgenimp.cpp:632]
showDialog()
Execute step doTempDBBeforeRestart of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_MSS_DB|ind|ind|ind|ind|2|0|MssDowntimeConfig|ind|ind|ind|ind|7|0.
INFO 2007-06-06 12:02:38 [iaxxgenimp.cpp:632]
showDialog()
Execute step doRestartServer of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_MSS_DB|ind|ind|ind|ind|2|0|MssDowntimeConfig|ind|ind|ind|ind|7|0.
INFO 2007-06-06 12:02:58 [ianxbservi.cpp:697]
CIaNtServices::stop(const map<iastring,iastring>&)
The service 'MSSQLSERVER' stopped successfully on host 'GBCZ672C'.
INFO 2007-06-06 12:03:10 [ianxbservi.cpp:632]
CIaNtServices::start(const map<iastring,iastring>&)
The service 'MSSQLSERVER' started successfully on host 'GBCZ672C'.
INFO 2007-06-06 12:03:21 [ianxbservi.cpp:632]
CIaNtServices::start(const map<iastring,iastring>&)
The service 'SQLSERVERAGENT' started successfully on host 'GBCZ672C'.
INFO 2007-06-06 12:03:21 [iaxxgenimp.cpp:632]
showDialog()
Execute step doTempDBAfterRestart of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_MSS_DB|ind|ind|ind|ind|2|0|MssDowntimeConfig|ind|ind|ind|ind|7|0.
INFO 2007-06-06 12:03:22 [iaxxgenimp.cpp:632]
showDialog()
Execute step doChangeTempSetNewSize of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_MSS_DB|ind|ind|ind|ind|2|0|MssDowntimeConfig|ind|ind|ind|ind|7|0.
INFO 2007-06-06 12:03:39 [iaxxgenimp.cpp:632]
showDialog()
Execute step CheckParameters of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_MSS_DB|ind|ind|ind|ind|2|0|MssSchemaCreate|ind|ind|ind|ind|9|0.
INFO 2007-06-06 12:03:39 [iaxxgenimp.cpp:632]
showDialog()
Execute step CreateDirectories of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_MSS_DB|ind|ind|ind|ind|2|0|MssSchemaCreate|ind|ind|ind|ind|9|0.
INFO 2007-06-06 12:03:40 [iaxxgenimp.cpp:632]
showDialog()
Execute step CreateDatabase of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_MSS_DB|ind|ind|ind|ind|2|0|MssSchemaCreate|ind|ind|ind|ind|9|0.
ERROR 2007-06-06 12:03:40 [iaxxgenimp.cpp:731]
showDialog()
FCO-00011 The step CreateDatabase with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_MSS_DB|ind|ind|ind|ind|2|0|MssSchemaCreate|ind|ind|ind|ind|9|0|CreateDatabase was executed with status ERROR .
ERROR 2007-06-06 12:03:40
lib=iamodmssql module=CIaNtMssDmo
MDB-05053 Errors when executing sql command: <p nr="0"/> If this message is displayed as a warning - it can be ignored. If this is an error - call your SAP support.
INFO 2007-06-06 12:04:04 [iaxxgenimp.cpp:774]
showDialog()
An error occured and the user decided to retry the current step: "|NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_MSS_DB|ind|ind|ind|ind|2|0|MssSchemaCreate|ind|ind|ind|ind|9|0|CreateDatabase".
ERROR 2007-06-06 12:04:05 [iaxxgenimp.cpp:731]
showDialog()
FCO-00011 The step CreateDatabase with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_MSS_DB|ind|ind|ind|ind|2|0|MssSchemaCreate|ind|ind|ind|ind|9|0|CreateDatabase was executed with status ERROR .
Please let me know if you can help or if there is any other way around.
Many Thanks in advance.
Ritin JainHi All,
I was not able to solve the problem with MS SQL 2000, but I was able to resolve the issue with MS SQL 2005.
You have to chhose the following settings while instalation,
Service Account - Select one of the following options:
1) Use the built-in System account for each service and choose Local system or Network Service.
2) Use a domain user account, and enter the user name and password.
Under Start services at the end of setup make sure that SQL Server and SQL Server Agent are selected.
Authentication Mode
1) Select Mixed Mode (Windows Authentication and SQL Server Authentication).
This mode is required for a Java or ABAP+Java system.
If you choose this mode, you have to set the password for the sa login.
Note: The password for the sa login must comply with the Windows password policy.
Collation Settings
1) Select SQL collations (used for compatibility with previous versions of SQL Server).
2) From the drop-down list select Binary order based on code point comparison, for use with the 850 (Multilingual) Character Set.
I hope this helps! -
Problem of Teststand3.1 database and microsoft SQL Server 2000 personal edition
I have a problem when using teststand database function with Microsoft sql server 2000. the error(seen in attached screenshot3.jpg) is:
"An error occurred calling 'LogResults' in 'ITSDBLog' of 'DBLog 1.0 Type Library'
An error occurred executing a statement.
Schema: Generic Recordset (NI).
Statement: UUT_RESULT.
[Microsoft][ODBC SQL Server Driver][SQL Server]unable to insert NULL value to column "ID", table "test.dbo.UUT_RESULT";This column is not alowed to be blank. INSERT Failed. Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.
[Microsoft][ODBC SQL Server Driver][SQL Server]terminated.
Source: TSDBLog"
Here I listed my proceess.
1, Configure in SQL Sever, please see attached screenshot0.jpg
a, Open SQL
b, build a new database with the name of test
c, import the data from "C:\Program Files\National Instruments\TestStand 3.1\Components\NI\Models\TestStandModels\Database\TestStand Results.mdb"
2, Configure Microsoft SQL sever: please see attached screenshot1.jpg
a, Open windows Control Panel and select "Data Sources (ODBC). Under system DSN tab, add a SQL server data source
3, Configure teststand database option, see attached screenshot2.jpg
a, configure logging option, enable
b, configure datalink
c, select schemas of "Generic recordset (NI)
d, No change on the tabs of "statements" and "Columns/Parameters"
4, run an seqence file with the proess model of SequentialModel.Seq.
Attachments:
Screenshot.zip 425 KBThanks Scott,
The database function is OK now after I changed imported tables in SQL Sever.
Actually, I once tried anothor method that you refered by using the scripts
located at: <TestStand>\Components\NI\Models\TestStandModels\Database\SQL Server Create Generic Recordset Result Tables.sql. Attached is the error screenshots, please help me on this.
Thanks
Jacky
Attachments:
Error.jpg 59 KB -
Problem Using JSQL level 4 driver for SQL Server 2000
I am having problem , connecting to my Sql Server 2000 ( deployed on Windows 2000 Professional) using Microsoft JSQL level 4 Deriver .
I am doing it with following code,
Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
Connection conn = DriverManager.getConnection
("jdbc:microsoft:sqlserver://192.168.0.232:1433;databaseName=DBNew;user=nakhter;Password=java;");
It gives me following Exception ,
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Login failed for user 'nakhter'. Reason: Not associated with a trusted SQL Server connection.
at com.microsoft.jdbc.base.BaseExceptions.createException Unknown Source)
at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source)
at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source)
at com.microsoft.jdbc.sqlserver.tds.TDSLoginRequest.processReplyToken(Unknown Source)
at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)
at com.microsoft.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source)
at com.microsoft.jdbc.base.BaseConnection.getNewImplConnection(Unknown Source)
at com.microsoft.jdbc.base.BaseConnection.open(Unknown Source)
at com.microsoft.jdbc.base.BaseDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(DriverManager.java:517)
at java.sql.DriverManager.getConnection(DriverManager.java:177)
I am usign my windows authentication usrname and password .
I has tried it with user "sa" but still same exception .
Could someone help me in this regard ?You need to switch SQL server to just use SQL Server authentication or both. The problem is that it is looking for a Windows NT account for nakhter with the password java. We get this all the time on new SQL Server installs if you just take the defaults.
-
Problems creating the Master Repository with MS SQL Server 2000
Hello guys!
I can't create the Master Repository with MS SQL Server 2000 database.
Wath is the correct adress in the URL?
I select the Driver: com.microsoft.jdbc.sqlserver.SQLServerDriver and the URL: *jdbc:microsoft:sqlserver://<host>:<port>;SelectMethod=cursor[;<property>=<value>...]*
Thanks
Maurício
Edited by: user857262 on 03/10/2008 10:05Hi Maurício,
For MS SQL Server the following drivers should avaliable in /drivers folder (http://www.inetsoftware.de/),
* msutil.jar
* mssqlserver.jar
* msbase.jar
JDBC Driver is:
com.microsoft.jdbc.sqlserver.SQLServerDriver
JDBC URL is:
jdbc:sqlserver://serverName\instance:port;property=value[;property=value]
Example,
jdbc:sqlserver://myHost:1433;selectMethod=cursor;databaseName=myDB
Thanks,
G -
Upgrading from 4.6C to ECC 6.0 on Windows/SQL Server 2000
Phase PARDIST_SHD failed with the following error:
"Table change not possible. There is a DB trigger on the table."
This problem is documented in the note 825146 (Add Info on upgrading to NW04s) in section IV item number 7. The note points to note number 956198 for the fix, which is to delete the trigger defined on table MSSDEADLCK manually in the SQL Server query analyzer.
I have performed the steps outlined in note 956198 to delete the trigger, but when restarting the upgrade it keeps coming back with the same error. It seems that, even if I restart the upgrade with INIT option, the upgrade is not re-setting to the beginning of the phase, but continues to error out immediately upon restart. Originally the phase took about 45 minutes to complete before it aborted with the error. Each time I have restarted the phase it ends after only a few seconds.
Anyone have any thoughts? I'm real close to just starting the whole thing over, I've never run into anything like this before. I am using the latest SAPup.Hi,
did you do it as log said:
1. Manually delete the DB trigger using the report
SFSRFW_DROP_FSI_TRIGGER
2. Perform table changes
3. Create the DB trigger using the report SFSRFW_CREATE_FSI_TRIGGER
Thanks! -
Problem of loading the MS SQL Server 2000 driver for JDBC
Thanks for your reply.
I have already tried to give the full class path of .jar files to the System and User Variables but received the same error. I am doing BCA and developing my very first Project on Java.
Please, tell me one thing. When I had installed MS SQL Server 2000 at my system first time then the 3 JAR files were present in the lib folder and all my codings of connectivity were working properly. Then due to some reasons, I had to format C drive and installed the MS SQL Server 2000 again then in the lib folder the 3 JAR files were not there. How it has happened? Then, I installed the downloaded driver of MS SQL Server 2000 for JDBC 1.4 then the JAR files were installed in the related downloaded driver folder. I manually copied them to the lib folder of MS SQL Server and gave that path to the Classpath of System and User Variables, but it didn't work.
I am not understanding the reason that The Software which worked previously is not working correctly in second time of installing.
I am using command line to develop my stand-alone project. Please help me.Don't bother with the System CLASSPATH, more often than not, it is not even used.
When running from an IDE, set the project's library preferences.
When running from a web container/application server configure the applications libraries in the server/container, see it's documentation.
When running an applet, configure the [ codebase and/or archive |http://java.sun.com/docs/books/tutorial/deployment/applet/html.html] tags properly.
When running from the command line with the [ "-cp" |http://java.sun.com/javase/6/docs/technotes/tools/solaris/java.html] option, the System CLASSPATH is ignored.
When running from the command line with the "-jar" option, both the System CLASSPATH path and the "-cp" option are ignored, configure the [manifest file|http://java.sun.com/docs/books/tutorial/deployment/jar/downman.html] properly.
When running any other way, the System CLASSPATH might be used. -
Problem of loading the MS SQL Server 2000 Driver for JDBC 1.4.1
Thanks for your reply.
I have already tried to give the full class path of .jar files to the System and User Variables but received the same error. I am doing BCA and developing my very first Project on Java.
Please, tell me one thing. When I had installed MS SQL Server 2000 at my system first time then the 3 JAR files were present in the lib folder and all my codings of connectivity were working properly. Then due to some reasons, I had to format C drive and installed the MS SQL Server 2000 again then in the lib folder the 3 JAR files were not there. How it has happened? Then, I installed the downloaded driver of MS SQL Server 2000 for JDBC 1.4 then the JAR files were installed in the related downloaded driver folder. I manually copied them to the lib folder of MS SQL Server and gave that path to the Classpath of System and User Variables, but it didn't work.
I am not understanding the reason that The Software which worked previously is not working correctly in second time of installing.
I am using command line to develop my stand-alone project. Please help me.Don't bother with the System CLASSPATH, more often than not, it is not even used.
When running from an IDE, set the project's library preferences.
When running from a web container/application server configure the applications libraries in the server/container, see it's documentation.
When running an applet, configure the [ codebase and/or archive |http://java.sun.com/docs/books/tutorial/deployment/applet/html.html] tags properly.
When running from the command line with the [ "-cp" |http://java.sun.com/javase/6/docs/technotes/tools/solaris/java.html] option, the System CLASSPATH is ignored.
When running from the command line with the "-jar" option, both the System CLASSPATH path and the "-cp" option are ignored, configure the [manifest file|http://java.sun.com/docs/books/tutorial/deployment/jar/downman.html] properly.
When running any other way, the System CLASSPATH might be used. -
Update kernel steps for IDES 4.7 - Windows - MS SQL SERVER 2000
Hello,
Concerning updating the kernel - for IDES 4.7, Windows, SQL SERVER 2000 - is there a way to locate exactly the.SAR files - for the database dependent & database independent parts - which are compatible with the used SAP version.
Also, does updating the kernel involve only the following:
- Downloading the .SAR file.
- Taking a backup copy of the exe/run folder's content.
- Stopping the SAP system and all related services.
- Unpacking the .SAR files using the SAPCAR utitilty,
i.e. are there any specific steps to be done after the unpacking ?
Thanks in advance.
Reda Khalifa
IT Department - Almansour Automotive Group - EgyptHi Reda,
I guess You want to upgrade kernel from 6.20 to 6.40.
Go to service.sap.com -> downloads -> SAP Support Packages -> Search for SP and Upgrades -> enter "kernel 6.40" and follow the link "kernel 6.40 32-BIT".
On next window choose from location :SAP KERNEL 6.40 \ Windows Server \ Database independent following SARs (title):
- enq
- disp+work package
- dsrlib
- enserver
- librfc
- MMC (optional)
- Kernel Part I (for Basis 640/620/610) Q1/2007 (very important)
- saposcol
From location:SAP KERNEL 6.40 \ Windows Server \ MS SQL Server choose following SARs:
- Database Library
- R3LOAD
- R3load Control
- Kernel Part II (for Basis 640/620/610) Q1/2007 (very important)
Unpack it to newKernel directory and copy it to \exe\run directory.
Next step Frank Deijkers already wrote.
On the end of upgrade go to \exe\run catalog and run sapstartsrv.exe program for registering new service and COM library.
Regards,
Marcin -
SAP BW INSTALL ON MS SQL SERVER 2000
Hi
I tried to install SAP BW IDES with MS SQL Server 2000 but unfortunately it was unsuccessful. An error occurred at the last operation progress.
Here is the error :
" Unable to add acount SAPMssXPUser to group Administrators. The specified account name is already a member of the local group. "
The process of installation is stopped at : " Changing account...Server\SAPMssXPUser"
So would you be so kind to give me some help about this. Thank you in advance.
Best Regards.Hi Markus
And thanks to your answer, it helped me to succeed in this first step but unfortunately 1 minute later during the install process I have a new error telling me :
MDB-05042 Error while executing script "CREATE DATABASE BW3 ON PRIMARY ( name = 'BW3DATA1' , filename = ' C:\BW3DATA1\BW3DATA1.mdf ', size = 11000 FILEGROWTH = 60 )....... idem for BWDATA2 ......... idem for BWDATA3 MODIFY FILE encountered operating system error 112 while attempting to expand the physical file. CREATE DATABASE failed. Some file names listed could not be create.
Could you help me to solve this error . Thank you in advance. -
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 -
BEA WebLogic Commerce Server 3.5 with MS SQL Server 2000 as DB
Ooops !
Sorry but in my last mail I forgot to attach the file with the
stdout log with the described example portal errors. Here is
the message and the file.
Davide Pozzi
Hi to all.
I have a problem using BEA WebLogic Server 3.5 (with service
pack 1) with SQL Server 2000 as the database. I followed the
instructions for SQL Server 7 included in the file readme.txt > in WLCS_35_DDLand the (thin) Web documentation on the
subject. The I tried to run the example portal and the
templates examples. All is working well apart from the fact
that some data seem not to be taken from the database. For
example the example portal lacks the news titles in the "News > Index" portletand the ads in the "AcmePromotion" portlet. In > the templates examples some logo
are missing (the E-Business
Control Center loads, but no campains or discounts, etc. are
loaded). When I start the example portal, a lot of exceptions > arise. In theattached text file the stdout log of Commerce
Server is reported.
Can anyone tell me a hint to solve these problems ? There are > known problemssetting up SQL Server 2000 with Commerce Server > 3.5 ? I've seen that Commerce
Server 3.5 is not yet certified > for SQL Server 2000, is BEA going to certificate
it ?
>
Thank you in advance for any help.
Davide Pozzi[errors.txt]Ooops !
Sorry but in my last mail I forgot to attach the file with the
stdout log with the described example portal errors. Here is
the message and the file.
Davide Pozzi
Hi to all.
I have a problem using BEA WebLogic Server 3.5 (with service
pack 1) with SQL Server 2000 as the database. I followed the
instructions for SQL Server 7 included in the file readme.txt > in WLCS_35_DDLand the (thin) Web documentation on the
subject. The I tried to run the example portal and the
templates examples. All is working well apart from the fact
that some data seem not to be taken from the database. For
example the example portal lacks the news titles in the "News > Index" portletand the ads in the "AcmePromotion" portlet. In > the templates examples some logo
are missing (the E-Business
Control Center loads, but no campains or discounts, etc. are
loaded). When I start the example portal, a lot of exceptions > arise. In theattached text file the stdout log of Commerce
Server is reported.
Can anyone tell me a hint to solve these problems ? There are > known problemssetting up SQL Server 2000 with Commerce Server > 3.5 ? I've seen that Commerce
Server 3.5 is not yet certified > for SQL Server 2000, is BEA going to certificate
it ?
>
Thank you in advance for any help.
Davide Pozzi[errors.txt] -
SQL Server 2000 Driver for JDBC
I am trying to learn how to connect to SQL Server 2000 and I keep getting errors. I have set my classpath and read through the online books, but I can't fix it. I'm not sure if I'm missing something in the configuration, or at the database level. Here are the errors I'm getting followed by my code: By the way, is there a limit on how long the classpath can be?
C:\j2sdkP>java TableMaker
Exception in thread "main" java.lang.NoClassDefFoundError: com/microsoft/jdbc/ba
se/BaseDriver
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:509)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
3)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:246)
at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
at java.lang.ClassLoader.loadClass(ClassLoader.java:262)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:322)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:130)
at TableMaker.registerDriver(TableMaker.java:34)
at TableMaker.<init>(TableMaker.java:22)
at TableMaker.main(TableMaker.java:77)
import java.sql.*;
import sun.jdbc.odbc.JdbcOdbcDriver;
public class TableMaker
static String jdbcDriver = "com.microsoft.jdbc.sqlserver.SQLServerDriver";
static String dbName = "Contacts";
static String SQLCreate =
"Create Table Contact_Info (" +
"Contact_ID Integer Not null Primary Key, " +
"First_Name Varchar(20) Not null," +
"MI Char(1) Null," +
"Last_Name Varchar(30) Not null," +
"Street varchar(50) Not null," +
"City varchar(30) Not null," +
"State Char(2) Not null," +
"Zip varchar(10) Not null," +
public TableMaker()
registerDriver();
public void setDatabaseName( String dbName )
this.dbName=dbName;
public void registerDriver()
try {
Class.forName( jdbcDriver );
catch ( ClassNotFoundException e ){
System.err.println(e.getMessage());
public void execute( String SQLCommand )
Connection con = null;
Statement stmt = null;
try {
con = DriverManager.getConnection("jdbc:microsoft:sqlserver://localhost:1433","test","test"); // test is both login and password
stmt = con.createStatement();
stmt.execute(SQLCommand);
con.close();
catch(Exception e) {
System.err.println(e.getMessage());
finally {
try {
if (con != null)
con.close();
if (stmt != null)
stmt.close();
catch (Exception ex) { }
public static void main(String[] args)
TableMaker tableMaker = new TableMaker();
tableMaker.execute(SQLCreate);
}Finally, I fix the problem! Can't put white space after ";" for CLASSPATH!!! for instance classpath=.; c:\..\*.jar doesn't work! it must be classpath=.;c:\..\*.jar The stupid JAVA!!! Thanks a lot.
I have another problem, right now I can connect to SQL Server 2000 from standalone program, but I can't connect to my DB from servlet.
ie. the following codes works for standalone program. but it doesn't work for servlet. Any help will be appreciated!
// Make sure the JdbcOdbcDriver class is loaded
Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
// Try to connect to a database via ODBC
conn = DriverManager.getConnection(
"jdbc:microsoft:sqlserver://127.0.01:1433", "sa",""); -
Store&read chinese characters in MS SQL server 2000 using Java
Hi,
I have a problem to store Chinese characters in MS SQL Server 2000, storing question marks(??????) instead of Chinese characters
I am using JSF framework, SUN APPLICATION Server 9.1 , MS SQL Server 2000 server and Microsoft data source driver class (com.microsoft.sqlserver.jdbc.SQLServerDataSource) to connect db.
I have one solution:
IN JSP:
<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
and
In database column type should nvarchar in place of varchar
while inserting or updating the same need to add N prefix with the value like insert into client(Name, Id .) values (N+)
the above is working fine but the problem is here i have already defined database with 100s of tables I cant change database tables as well as queries
Thanks,
SathiI don't know any betterer option, than to copy the database tabels redefining the Chinese data fields as nvarchar.
To be frank I had also problems writing to a html file Chinese text stored in MS SQLServer 2000 nvarchar fields.
The following worked:'
public String getEncodedData(ResultSet resultSet, int columnIndex, String charset)
throws SQLException
//final String methodName = "getEncodedData";
InputStream binaryStream =resultSet.getBinaryStream(columnIndex);
String readStringFromStream=readStringFromStream(binaryStream, charset);//UTF_16LE);
return readStringFromStream;
public String readStringFromStream(InputStream inputStream, String charset) {
final String methodName = "readStringFromStream";
StringBuffer buffer = new StringBuffer();
try {
int ch;
InputStreamReader isr = new InputStreamReader(inputStream, charset);
Reader in = new BufferedReader(isr);
while ((ch = in.read()) > -1) {
buffer.append((char)ch);
in.close();
return buffer.toString();
} catch (IOException exception) {
Log.printError(this,methodName, exception);
return null;
}And writing it to file:
public void writeEncodedStringToFile(String text, String filePath, String charset, boolean append){
final String methodName = "writeEncodedStringToFile";
OutputStreamWriter writer= null;
try {
FileOutputStream fileOutputStream = new FileOutputStream(filePath, append);
writer = new OutputStreamWriter(fileOutputStream, charset);
writer.write(text);
} catch (IOException exception) {
Log.printError(this,methodName, exception);
}finally{
try {
writer.close();
} catch (IOException exception) {
Log.printError(this,methodName, exception);
}Edited by: astlanda on Feb 10, 2009 11:13 PM
Edited by: astlanda on Feb 10, 2009 11:21 PM
Maybe you are looking for
-
I am trying to determine the best way to set up our imac so each user account can access the same media (songs, movies etc.) through itunes and also back up and manage their personal devices under their own personal user account. There are 4 users o
-
Cannot pick up calls on wait, Cannot make a second call holding the first call
I have a really weird problem with my iPhone 5S. (iOS 7.1) 1. When I am on a call, I am not able to pick up a second call that is on wait. I can see the second call, I can hear the beep sounds but as soon as I pick up, the call freezes in 00.00 time,
-
Javascript not rendering properly with jsf
I have two JSF jsp pages. One of them is a template.(template.jspx) One of them is header.(header.jsp) The template, basically just has a <jsp:includes page="header.jsp> tag. It looks something like: <!--<?xml version='1.0' encoding='windows-1252'?>
-
Having trouble logging in Microsoft account from L...
I am having trouble in logging in to my Microsoft account from my Lumia 520. The error message is 800c0008...i dont know what to do coz I tried almost all solutions given on Google.
-
HT201335 Is their any way I can mirror from iPad one to Apple TV
Is their any way I can mirror from iPad one to Apple TV