Resolved Web Service
- Issue
- Service
- Moshe Tangi
- PowerBuilder
- Tuesday, 24 April 2018 08:53 AM UTC
Helo all ,
I have an desktop app , using pb 2017 r2 . running and connecting to mssql 2014 DB . The pb + database are installed on the same sever
Now , I need to develop .Net WebService . ( it going to be published on the same server) .
I wrote one function which does : connect ( Via ADO.NET ) , and then SELECT and returs the select result ( one string ). I published and it went well .
Testing with the IE , returns the message : "error connecting data base" ( i put that in a case i can't connect ).
1. Do i need to include dll files ( such as : Sybase.PowerBuilder.Ado.dll ) in the WS deploy in the ( in the Library tab of the project painter ) ?
2. do i need to connect in the open event instead of the function code itself ?
3. Originally , i do connect with ini file. ( i tried with ini and witout ) , if i want to do so , where do i put the ini file ?
thanks
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.