Hi Beni & Venki,
Thanks for the pointers.
Let me know any solution / suggestion on the following - query 2/ scenario2
Present status:
Background: SAP provided test code : "Samples\COM DI\VB.NET\03.UsingSBObob"
Changed : databasetype: 7 for 2012 sqlserver
Trusted : True
In development, windows user I created with full "sysadmin" role & securables - Control Server / Authenticate Server. It is working to connect DB server & connect company DB.
I know the above is not acceptable for production. But to complete application development, it is a work around for me.
Still I'm not able to use windows authentication with ONLY db_datareader on Company DB.
I created 'user1' with server authentication - is working by assigning sysadmin role and providing all the user mappings of sysadmin to 'user1'.
Then B1 server connection with 'user1' is OK, and could connect to 'SBODemoUS' database also.
Windows Group authentication : Company Connect fails:
Query1: Read access on windows authentication
1) Scenario : I'm having already a windows group 'domain\group1' and users
created
B1 server login for 'domain\group1'. for windows authentication
Default database : 'SBODemoUS' ,
Server role: public,
User mapping : 'SBODemoUS with db_datareader
'SBO-Common' with db_datareader
'SLDModel.SLDData' with db_datareader
'master' with db_datareader
Securables : Connect 'sa' GRANT (which I can 't modify)
Grant 'Connect' & Login 'Enabled'
Error:
-111 Unable to access SBO-Common database
Query 2: sample 'UsingSBObob'
1) Scenario : all the settings same
Server role: public, sysadmin : added sysadmin role (which we want to avoid)
No Error:
0 : It OK , Company listing is available. Hence SqlServer connection established
2) Scenario : sample 'UsingSBObob' , as settings of scenario 2
Server role: public, sysadmin ; added sysadmin role (which we want to avoid)
Server connection is OK.
next connect company step: Selected company , Connect Company 'SBODemoUS' DB fail
Error:
-8037 Failed to connect or logon to SLD, please check connection
parameters and configure file
Thanks in advance
Narayana Reddy