Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

connect-problems abap -> ms sql server

Former Member
0 Likes
1,154

Hello!

I've problems getting contact to a workgroup-server (ms sql server) from my abap (crm 4.0).

I've made these entries in table dbcon:

DB-Verbindung WG-SERVER

DBMS MSS

Benutzername ides

DB-Passwort ****************************** / ******************************

Verb.Info MSSQL_SERVER=tcp:webrmcmc;MSSQL_DBNAME=ides;

...and this is my code:

REPORT ZCRM_WGSERVER_ABGLEICH.

exec sql.

connect to 'WG-SERVER' as 'WGS'

endexec.

exec sql.

set connection 'WGS'

endexec.

While connecting at "...connect to 'WG-SERVER' as 'WGS'..."

This error raises:

Runtime error DBIF_DSQL2_CONNECTERR

Exception CX_SY_NATIVE_SQL_ERROR

From my SQL Query Analyzer i've no problems to connect to

webrmcmc to make my selections on the smokna1. In the dbcon

i've tried with "tcp:" and without "tcp:" ... nothing helps.

Perhaps there's someone out there with a hint or an advice for me?

Thanks in advance!!!

Best regards,

Ingo

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,033

Hi Ingo,

You should have the dll file on your crm server.

Regards,

Raj

Hello!

I've problems getting contact to a workgroup-server (ms sql server) from my abap (crm 4.0).

I've made these entries in table dbcon:

DB-Verbindung WG-SERVER

DBMS MSS

Benutzername ides

DB-Passwort ****************************** / ******************************

Verb.Info MSSQL_SERVER=tcp:webrmcmc;MSSQL_DBNAME=ides;

...and this is my code:

REPORT ZCRM_WGSERVER_ABGLEICH.

exec sql.

connect to 'WG-SERVER' as 'WGS'

endexec.

exec sql.

set connection 'WGS'

endexec.

While connecting at "...connect to 'WG-SERVER' as 'WGS'..."

This error raises:

Runtime error DBIF_DSQL2_CONNECTERR

Exception CX_SY_NATIVE_SQL_ERROR

From my SQL Query Analyzer i've no problems to connect to

webrmcmc to make my selections on the smokna1. In the dbcon

i've tried with "tcp:" and without "tcp:" ... nothing helps.

Perhaps there's someone out there with a hint or an advice for me?

Thanks in advance!!!

Best regards,

Ingo

6 REPLIES 6
Read only

Former Member
0 Likes
1,033

Hi,

Check this it may help you.

Regards

vijay

Read only

0 Likes
1,033

Hi vijay,

i've read this already yesterday but it can't resolve my problems. Perhaps another one can help?

Read only

0 Likes
1,033

Hi,

you are giving samll letters, give the upper case.

That might be the reason..

Regards

vijay

Read only

0 Likes
1,033

Hi again

Perhaps i've found something interesting...

Transaction sm21 tells me:

"no shared library for the database which is described at WG-Server".

Do i need the dbmssslib.dll? Where should the dll be installed? Local on my workstation or on the relevant crm-server?

Thanks for your efforts!

Read only

Former Member
0 Likes
1,034

Hi Ingo,

You should have the dll file on your crm server.

Regards,

Raj

Read only

0 Likes
1,033

...