cancel
Showing results for 
Search instead for 
Did you mean: 

SAP 46 with SQL SERVER 2005 : Error connection

Former Member
0 Kudos

Hi sapguys,

I'm a new SAP administrator on SQL SERVER : I have been working for SAP on Oracle for 10 years.

i have just installed a SAP 46C on SQL SERVER 2005 SP3 : the kernel is 46D EX2 32 bits no unicode.

Yet when I launch SAP with MMC the instance seems to start but after 10 seconds, the instance become yellow.

in the log of the Work Process, I have this kind of message :

"C

C Mon Sep 19 14:04:39 2011

C MapHr:8000FFFF E_UNEXPECTED

C HandleOledbError [OpenOledbConnection,line 34759]: Error/Message: (err 17, sev 0), [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.

C HandleOledbError [OpenOledbConnection,line 34759]: Error/Message: (err 0, sev 0), Invalid connection string attribute

"

and the work process died.

I am sure that I made a mistake but i can't find it.

Can anyone help me please ?

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

markus_doehr2
Active Contributor
0 Kudos

Can you please post more of the workprocess trace?

Markus

Former Member
0 Kudos

Hi Markus,

Thanks for your help.

Here is the log of dev_w1 :

"

-


trc file: "dev_w1", trc level: 1, release: "46D"

-


*

  • ACTIVE TRACE LEVEL 1

  • ACTIVE TRACE COMPONENTS all, M

*

B

B Mon Sep 19 14:03:33 2011

B create_con (con_name=R/3)

B Loading DB library 'D:\usr\sap\PZ1\SYS\exe\run\dbmssslib.dll' ...

B Library 'D:\usr\sap\PZ1\SYS\exe\run\dbmssslib.dll' loaded

B Version of library 'D:\usr\sap\PZ1\SYS\exe\run\dbmssslib.dll' is "46D.00", patchlevel (0.2539)

B New connection 0 created

M relno 4640

M patchlevel 0

M patchno 2571

M intno 0

M pid 5572

M

M ***LOG Q0Q=> tskh_init, WPStart (Workproc 1 5572) [dpxxdisp.c 976]

I MtxInit: -2 0 0

M DpRqQInit: Parameter rdisp/queue_lock_level = 2

X EmInit: MmSetImplementation( 2 ).

X <ES> client 1 initializing ....

X Using implementation std

M <ES> Memory Reset enabled

X ES initialized.

I

I Mon Sep 19 14:03:34 2011

I *** ERROR => New Process with the same PID

[semnt.c 1513]

I *** ERROR => New Process with the same PID

[semnt.c 1513]

M ThSysUsrCheck: clear T1

M calling db_connect ...

C Warning: Env(MSSQL_SERVER) [sirtly\PZ1] <> Prof(dbs/mss/server) [sirtly]. Profile value will be used.

C Thank You for using the SLOLEDB-interface

C Using dynamic link library 'D:\usr\sap\PZ1\SYS\exe\run\dbmssslib.dll'

C dbmssslib.dll patch info

C patchlevel 0

C patchno 2539

C patchcomment Tp execdbscript -- operations are not executed on database (1492873)

C

C Mon Sep 19 14:03:50 2011

C MapHr:8000FFFF E_UNEXPECTED

C HandleOledbError [OpenOledbConnection,line 34759]: Error/Message: (err 17, sev 0), [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.

C HandleOledbError [OpenOledbConnection,line 34759]: Error/Message: (err 0, sev 0), Invalid connection string attribute

C

C Mon Sep 19 14:04:06 2011

C MapHr:8000FFFF E_UNEXPECTED

C HandleOledbError [OpenOledbConnection,line 34759]: Error/Message: (err 17, sev 0), [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.

C HandleOledbError [OpenOledbConnection,line 34759]: Error/Message: (err 0, sev 0), Invalid connection string attribute

C

C Mon Sep 19 14:04:22 2011

C MapHr:8000FFFF E_UNEXPECTED

C HandleOledbError [OpenOledbConnection,line 34759]: Error/Message: (err 17, sev 0), [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.

C HandleOledbError [OpenOledbConnection,line 34759]: Error/Message: (err 0, sev 0), Invalid connection string attribute

C failed to establish conn. 0

C Warning: Env(MSSQL_SERVER) [sirtly\PZ1] <> Prof(dbs/mss/server) [sirtly]. Profile value will be used.

C Thank You for using the SLOLEDB-interface

C Using dynamic link library 'D:\usr\sap\PZ1\SYS\exe\run\dbmssslib.dll'

C dbmssslib.dll patch info

C patchlevel 0

C patchno 2539

C patchcomment Tp execdbscript -- operations are not executed on database (1492873)

C

C Mon Sep 19 14:04:38 2011

C MapHr:8000FFFF E_UNEXPECTED

C HandleOledbError [OpenOledbConnection,line 34759]: Error/Message: (err 17, sev 0), [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.

C HandleOledbError [OpenOledbConnection,line 34759]: Error/Message: (err 0, sev 0), Invalid connection string attribute

C

C Mon Sep 19 14:04:55 2011

C MapHr:8000FFFF E_UNEXPECTED

C HandleOledbError [OpenOledbConnection,line 34759]: Error/Message: (err 17, sev 0), [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.

C HandleOledbError [OpenOledbConnection,line 34759]: Error/Message: (err 0, sev 0), Invalid connection string attribute

C

C Mon Sep 19 14:05:11 2011

C MapHr:8000FFFF E_UNEXPECTED

C HandleOledbError [OpenOledbConnection,line 34759]: Error/Message: (err 17, sev 0), [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.

C HandleOledbError [OpenOledbConnection,line 34759]: Error/Message: (err 0, sev 0), Invalid connection string attribute

C failed to establish conn. 0

B ***LOG BY2=> sql error -1 performing CON [dbsh 0707 ]

B ***LOG BY0=> [dbsh 0707 ]

B ***LOG BY2=> sql error -1 performing CON [dblink 0627 ]

B ***LOG BY0=> [dblink 0627 ]

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

M in_ThErrHandle: 1

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

M

M Info for wp 1

M

M stat = 4

M reqtype = 1

M act_reqtype = -1

M tid = -1

M mode = 255

M len = -1

M rq_id = -1

M rq_source = 255

M rq_info = 0

M last_tid = 0

M last_mode = 0

M int_checked_resource = 0

M ext_checked_resource = 0

M report = > <

M action = 0

M tab_name = > <

M

M *****************************************************************************

M *

M * LOCATION SAP-Server sirtly_PZ1_02 on host sirtly (wp 1)

M * ERROR tskh_init: db_connect

M *

M * TIME Mon Sep 19 14:05:11 2011

M * RELEASE 46D

M * COMPONENT Taskhandler

M * VERSION 1

M * RC 13

M * MODULE thxxhead.c

M * LINE 8650

M * COUNTER 1

M *

M *****************************************************************************

M

M Entering ThSetStatError

M call ThrShutDown (1) ...

M ***LOG Q02=> wp_halt, WPStop (Workproc 1 5572) [dpnttool.c 310]

"

Thanks.

markus_doehr2
Active Contributor
0 Kudos

> I Mon Sep 19 14:03:34 2011

> I *** ERROR => New Process with the same PID

> [semnt.c 1513]

> I *** ERROR => New Process with the same PID

> [semnt.c 1513]

For this error check

Note 920530 - Error Message in Trace: New Process with the same PID

> C Warning: Env(MSSQL_SERVER) [sirtly\PZ1] <> Prof(dbs/mss/server) [sirtly]. Profile value will be used.

are you running a named instance or using the DEFAULT connection?

Markus

Former Member
0 Kudos

Hi,

A named instance call PZ1.

As mentionned in note 920530, I already used the latest kernel SAP KERNEL 4.6D_EX2 32-BIT number 2571.

regards.

markus_doehr2
Active Contributor
0 Kudos

> A named instance call PZ1.

Check

Note 98678 - SQL Server Connection Issues

and set the profile parameter dbs/mss/server to "sirtly\PZ1".

> As mentionned in note 920530, I already used the latest kernel SAP KERNEL 4.6D_EX2 32-BIT number 2571.

The "very latest" kernel (dw*) is patchlevel 2595

Markus

Former Member
0 Kudos

I'm going to try your note 98678 and to modify the profile parameter.

the latest dw is 2598 from 16th September....

Thanks very much for your help.

Former Member
0 Kudos

Markus,

You are really an expert !!!

your parameter dbs/mss/server solved my problem.

thanks so much.

regards.

Answers (0)