Hi,
We have a very old power builder code and its running fine in production ( windows 2008 and SQL 2008 )
Currently when a user logins , the "profilestring" in the code Trim(ProfileString("C:\windows\choice.ini", "Choice", "drive", "") , default its looking for the choice.ini file in user profile folder . In my case its looking at c:\users\ramesh\windows\choice.ini. If it doesn't find it in my user profile then only its going to c:\windows\choice.ini . This is working fine now in production version.
As a part of server upgrade task , I compiled the the code in Appeon 2019 R2 and placed all the necessary the files in the new server ( windows 2016 ) now the profilestring is not looking in the user profile folder , instead its going to C:\windows. Anything changed in profilestring functionality ? How to fix this. I want profilestring to look in the user profile folder first because every user has different connection strings. Your response is greatly appreciated.
Thanks
Ramesh G
Additional Info :
I tested this in my local machine. Profilestring is looking in the following folder first C:\Users\rgovinda\AppData\Local\VirtualStore\Windows. If it doesn't find then checking in c:\windows. So after upgrade profilestring functionality is sort of working in my laptop( windows 10 ). I compiled the same code and put in server ( windows 2016 ) and it doesn't work . Something is missing . Need advice.
Thanks again.
Thanks
Ramesh G