Hello,
I have 4 web services which was build in PB .NET 12.5. Now I am converting those services in PB2017 r3. I am unable to find database name from web.config file. "web.config" is automatically created after Install web service msi.
File location: "C:\inetpub\wwwroot\TestWebService03132019\web.config"
In previous code: I was getting value through GetConfigSettings() to get Database name, DBParm and other information.
However this function is working in PB2017r3.(May function obsolete).
Please give your valuable suggestion.
Thank you to helped me on this issue.
I did the same even I can get proper path of webservices.ini but I am unable to read this file. the FileExists() and ProFileString() function not working.
File path during debug: "C:\inetpub\wwwroot\UMWebService_PB2017R3_03132019_root\file\common\c\Dev\CCNX-UMWebServices\WebService.ini"
Whenever I am trying to get DB information from same webservices.ini through other PB application then it is working. I don't know wrong with this INI file.
When I deployed my web service in other location like D drive then it is working. it seem's some right issue while trying to read file through PB. I applied setfileattributes() function before read file but not working.