Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to solve: DB-Connect Failed, Return Code 000256 ?

Hi all experts:

My operation system: Win2003 server

database: SQL Server 2000 SP1

Because of my database error, I have restore database from backup, now the database has started normally, but when I start SAP, in SAP management console, there syslog show error as: DB-Connect Failed, Return Code 000256.

Then I go to F:\usr\sap\QAS\DVEBMGS00\work to see dev_w0, find the error as follow:

X ES initialized.

M calling db_connect ...

C ExecuteAndFlush return code: 0x80040e14 Stmt: [if user_name() != 'qas' setuser 'qas']

C HandleOledbError [ExecuteAndFlush,line 36912]: Error/Message: (err 4604, sev 0), There is no such user or group 'qas'.

C setuser 'qas' failed -- connect terminated

C ExecuteAndFlush return code: 0x80040e14 Stmt: [if user_name() != 'qas' setuser 'qas']

C HandleOledbError [ExecuteAndFlush,line 36912]: Error/Message: (err 4604, sev 0), There is no such user or group 'qas'.

C setuser 'qas' failed -- connect terminated

C ExecuteAndFlush return code: 0x80040e14 Stmt: [if user_name() != 'qas' setuser 'qas']

C HandleOledbError [ExecuteAndFlush,line 36912]: Error/Message: (err 4604, sev 0), There is no such user or group 'qas'.

C setuser 'qas' failed -- connect terminated

C failed to establish conn. 0

M ***LOG R19=> tskh_init, db_connect ( DB-Connect 000256) [thxxhead.c 1197]

M in_ThErrHandle: 1

M *** ERROR => tskh_init: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c 8847]

M

Can you help me? Thanks a lot.

Former Member
Not what you were looking for? View more on this topic or Ask a question