cancel
Showing results for 
Search instead for 
Did you mean: 

regarding Return code from tp: 0249

Former Member
0 Kudos

Hi

Any one can help resolving this issue.

Return code from tp: 0249

Error text from tp: ERROR: No connect due to DbSl Load Lib Failure

it happened when I try to release a transport.

Thanks.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi!

Could you please check the log in trans directory and could you provide that to analyze the error.

As this error may have different reasons, need to analyze the error

regards,

KIRAN

Former Member
0 Kudos

Hi Kiran

this is the log file

ERROR: No connect due to DbSl Load Lib Failure

ERROR: environment variable dbms_type is not set.

ERROR: Connect to ERP failed (20080409143651).

I can tell you that I have set the environment variable dbms_type = mms, but why it is still saying that environment variable dbms_type is not set.

this is from the file ULOG08_2

20080409143651 RFC: tp EXPCHK ERPK910436 pf=d:\usr\sap\trans\bin\TP_DOMAIN_ERP.PFL -Dtransdir=d:\usr\sap\trans

I hope you can help

Thanks.

Former Member
0 Kudos

Hi!

Are you using windows environment. If so,

Make sure that the environment variable DIR_LIBRARY is set for the operating system users that manage the source and the target system and that it is filled with the correct value. The value must point to the executable directory of the respective system.

Example: SIDadm must have the value /usr/sap/SID/SYS/exe/run for the variable DIR_LIBRARY in its environment

Hope this will help you,

Regards,

KIRAN

Former Member
0 Kudos

Hi,

Just check the environment variable dbms_type., where you have set mms, it is not mms, just rename it to mss.

Hope this will do,

regards

KIRAN

Former Member
0 Kudos

Hi Kiran

I did whar you suggested but now I am getting the following error.

"""

Your transport request could not be exported, since all requirements

were not fulfilled.

Calling the transport control program tp

"tp EXPCHK ERPK910436 pf=d:\usr\sap\trans\bin\TP_DOMAIN_ERP.PFL

-Dtransdir=d:\usr\sa"

which checks the export requirements, returned the following

information:

Return code from tp: 0232

Error text from tp: ERROR: Connect to ERP failed (20080410082844),

fai

""""

Thanks for you help.

Former Member
0 Kudos

Hi malu!!

could you please tell me which SAP version are you using??

and give me the log details

thanks,

KIRAN

Former Member
0 Kudos

Hi Kiran

Thanks again

The version is 700 and we are running in windows ,

This is from the log file (se10)

ERROR: Connect to ERP failed (20080410150634), failed to read table SVERS.

and this is from the following dos command

D:\usr\sap\ERP\DVEBMGS10\exe> TP CONNECT erp pf=d:\usr\sap\trans\bin\TP_DOMAIN_E

RP.PFL>>err.log

This is TP version 370.00.01 (release 700, unicode enabled)

Warning: Parameter DBHOST is no longer used.

Warning: Parameter DBNAME is no longer used.

TRACE-INFO: 1: [dev trc ,00000] Thu Apr 10 14:51:48 2008 442 0.000442

TRACE-INFO: 2: [dev trc ,00000] load shared library (D:\usr\sap\ERP\DVEBMGS10\exe\dbmssslib.dll), hdl 0

TRACE-INFO: 3: 10 0.000452

TRACE-INFO: 4: [dev trc ,00000] using "D:\usr\sap\ERP\DVEBMGS10\exe\dbmssslib.dll" 9 0.000461

TRACE-INFO: 5: [dev trc ,00000] Thank You for using the SLOLEDB-interface 1632 0.002093

TRACE-INFO: 6: [dev trc ,00000] Using dynamic link library 'D:\usr\sap\ERP\DVEBMGS10\exe\dbmssslib.dll'

TRACE-INFO: 7: 15 0.002108

TRACE-INFO: 8: [dev trc ,00000] dbmssslib.dll patch info 15 0.002123

TRACE-INFO: 9: [dev trc ,00000] patchlevel 0 7 0.002130

TRACE-INFO: 10: [dev trc ,00000] patchno 53 7 0.002137

TRACE-INFO: 11: [dev trc ,00000] patchcomment MSSQL: KRN comment for kernel SQL (937845)

TRACE-INFO: 12: 10 0.002147

TRACE-INFO: 13: [dev trc ,00000] np:(local) connection used on IWDFVM 56 0.002203

TRACE-INFO: 14: [dev trc ,00000] CopyLocalParameters: dbuser is 'dbo' 9 0.002212

TRACE-INFO: 15: [dev trc ,00000] Using Provider SQLNCLI 7822 0.010034

TRACE-INFO: 16: [dev trc ,00000] OpenOledbConnection: MARS property was set successfully. 88 0.010122

TRACE-INFO: 17: [dev trc ,00000] Provider Release:9.00.1399.06 85006 0.095128

TRACE-INFO: 18: [dev trc ,00000] Using Provider SQLNCLI 407 0.095535

TRACE-INFO: 19: [dev trc ,00000] OpenOledbConnection: MARS property was set successfully. 64 0.095599

TRACE-INFO: 20: [dev trc ,00000] CheckCodepageType: line 24099. hr: 0x80040e37 Invalid object name 'DBPROPERTIES'.

TRACE-INFO: 21: 3518 0.099117

TRACE-INFO: 22: [dev trc ,00000] sloledb.cpp [CheckCodepageType,line 24099]: Error/Message: (err 208, sev 16), Invalid object name 'DBPROPERTIES'.

TRACE-INFO: 23: 29 0.099146

TRACE-INFO: 24: [dev trc ,00000] Procname: [CheckCodepageType -- no proc] 8 0.099154

TRACE-INFO: 25: [dev trc ,00000] Cache sizes: header 68 bytes, 100 names (157600 bytes), 100 dynamic statements (567200 bytes), total 724868 bytes

TRACE-INFO: 26: 40 0.099194

TRACE-INFO: 27: [dev trc ,00000] Initializing private procedure name cache. 9 0.099203

TRACE-INFO: 28: [dev trc ,00000] procedure cache created/attached 15 0.099218

TRACE-INFO: 29: [dev trc ,00000] Connected to db server : [IWDFVM] server_used : [np:(local)], dbname: ***, dbuser: dbo

TRACE-INFO: 30: 15 0.099233

TRACE-INFO: 31: [dev trc ,00000] pn_id:IWDFVM*** 8 0.099241

TRACE-INFO: 32: [dev trc ,00000] Using MARS (on sql 9.0) 8 0.099249

TRACE-INFO: 33: [dev trc ,00000] The IRow interface is supported by this OLEDB provider 6378 0.105627

TRACE-INFO: 34: [dev trc ,00000] ParamStmtExec: line 12784. hr: 0x80040e14 Statement(s) could not be prepared.

TRACE-INFO: 35: 18 0.105645

TRACE-INFO: 36: [dev trc ,00000] sloledb.cpp [ParamStmtExec,line 12784]: Error/Message: (err 8180, sev 0), Statement(s) could not be prepared.

TRACE-INFO: 37: 21 0.105666

TRACE-INFO: 38: [dev trc ,00000] Procname: [##Y4IWDFVM21***00000041680000000001145148] 9 0.105675

TRACE-INFO: 39: [dev trc ,00000] sloledb.cpp [ParamStmtExec,line 12784]: Error/Message: (err 208, sev 16), Invalid object name 'SVERS'.

TRACE-INFO: 40: 57 0.105732

TRACE-INFO: 41: [dev trc ,00000] Procname: [##Y4IWDFVM21***00000041680000000001145148] 9 0.105741

TRACE-INFO: 42: [dev trc ,00000] ParamStmtExec failed. HR 80040e14 DBSL retcode 103. stmt: [SELECT VERSION FROM SVERS ]

TRACE-INFO: 43: 19 0.105760

TRACE-INFO: 44: [dev trc ,00000] Conn_i:1 selection:1 singleton:1 flag_fupd:0 use_cursor:0 chksum: 1112300

TRACE-INFO: 45: 12 0.105772

TRACE-INFO: 46: [dev trc ,00000] DbSlRead - Error 103 (dbcode 208) on open 15 0.105787

TRACE-INFO: 47: [dev trc ,00000] DbSlRead - <##Y4IWDFVM21***00000041680000000001145148> 9 0.105796

TRACE-INFO: 48: [dev trc ,00000] DbSlRead - Error 103 (dbcode 208) on fetch 9 0.105805

TRACE-INFO: 49: [dev trc ,00000] DbSlRead - <##Y4IWDFVM21***00000041680000000001145148> 9 0.105814

TRACE-INFO: 50: [dblink ,01299] ***LOG BZA=>table SVERS does not exist on database [dblink#3 @ 1299]

TRACE-INFO: 51: 36 0.105850

tp returncode summary:

TOOLS: Highest return code of single steps was: 0

ERRORS: Highest tp internal error was: 0232

tp finished with return code: 232

meaning:

connect failed

Former Member
0 Kudos

H!

from the error i can see the environmental variable are not set properly,

Just check once the envi variables as sidadm user

MSSQL_SERVER: specify the database server

MSSQL_DBNAME: enter the name of the SAP database (in the case of 'normal' systems this is <SID>, in the case of MCOD systems the corresponding 'collection' database).

if not set these parameters

and sometimes this can occur due to buffer issues

first check the buffer and then clean the buffer and try transporting

and finally if you got an yahoo or gmail id

give me that..so that it will be easy to rectify the problem

regards,

KIRAN

Former Member
0 Kudos

Hi Kiran

I did waht you suggested but still have the same problem, the strange thing is when I run the command i dos I get the following.

command in dos

tp EXPCHK ERPK910409 pf=d:\usr\sap\trans\bin\TP_DOMAIN_ERP.PFL -Dtransdir=D:\usr\sap\trans>>err.log

result

This is tp version 370.00.01 (release 700, unicode enabled)

Warning: Parameter DBHOST is no longer used.

Warning: Parameter DBNAME is no longer used.

createinfo succeeded

Buffer check succeeded

tp finished with return code: 0

meaning:

Everything OK

But when I release in se10 I get the following

In se10

Test call of transport control program (tp) ended with return code 0232

Message no. TK094

Diagnosis

Your transport request could not be exported, since all requirements

were not fulfilled.

Calling the transport control program tp

"tp EXPCHK ERPK910409 pf=d:\usr\sap\trans\bin\TP_DOMAIN_ERP.PFL

Dtransdir=D:\usr\sap\trans

which checks the export requirements, returned the following

information:

Return code from tp: 0232

Error text from tp: ERROR: Connect to ERP failed (20080411170838),____________________________________________

This is the TP profile

TRANSDIR D:\usr\sap\trans

CTC 0

DBHOST IWDFVM

DBNAME ERP

DBTYPE mss

NBUFFORM 1

SAPEVTPATH D:\usr\sap\ERP\DVEBMGS10\exe

TP_VERSION 266

user env.variable (Admin)

MSSQL_SERVER = IWDFVM

MSSQL_DBNAME = ERP

can you se anything wrong in it.

Once again thank you.

Edited by: Malu Mader on Apr 16, 2008 9:32 AM

by the way may yahoo id is mmader73@yahoo.dk

Former Member
0 Kudos

Hi,

This might be also when you try to transport the request with out releasing it.

Just release the request and try to add it in the queue and then try.

Regards,

Vamshi.

JPReyes
Active Contributor
0 Kudos

This might be also when you try to transport the request with out releasing it.

This doesn't make sense as you can't import a transport wiyhout releasing it as no cofile or datafile will be generated.

Regards

Juan

Former Member
0 Kudos

Thank you Guys.

can not solve the problem on my owen . I have to get a Basis guy.

regards.

Former Member
0 Kudos

Dear all,

I have been in identical situation this days. I am running SAP ECC6.0 with SQL 2005 database.

I had returning code 0249 with dbms_type error.

Found a sap note that helped me. it is 31559. All you need to do, is to check in the registry HKEY_LOCAL_MACHINE\SOFTWARE\SAP\<sid>\Environment are there enviroment variables set. For unexplained reason, for our SAP DEMO system, these varialbles was deleted ..i dont know how it happend.

There is a tool in kernel directory called NTENV2REG.EXE. just run the file, and variables will be set in registry. after that, everything works fine. I hope that this will be helpfull for you, as I was trying to manage this error for 4-5 days.

Best regards, Bozidar

JPReyes
Active Contributor
0 Kudos

Hi Malu,

This usually happen when environment variable dbms_type is not set. value of this variable depend on the DB your using... example: for Oracle is ora, mssql is mss, etc..

This should solve your problem

regards

Juan