Good Day,
I have been developping a software using a 3rd party api and sdk to access an historian server and write to it's table.
Now when i execute this program using a poweruser,i have no problem.As soon as i try with a restricted user,the api part doesn't seem to find files it needs to initiate it's connection.But the SDK-COM works fine.
I have been discussing this with the compagnie support all week and we can't find a solution.
So here is my question.I have noticed that the api ini file was under the window folder of the users doc&set, but there is also one in the windows folder of the machine.Which one does it access?I would guess the doc&set one.
This ini file gives the path to the software home.Now the log file gives us an error message saying the api cannot find some other ini file contained in this home directorie.
I added a file read and write in my programs,that reads the ini file in the winpath and writes to the home folder,and i have no problems doing so.I still don t know if the winpath is in doc&set or c:\windows.
I have given restricted user read&write on the home folder.But it is still not able to find the files.
What could be the problems.When it reads from ini files that the home directorie is c:\program files\pipc,does it search this adress from the c root or does it search it from a possible users root?
I hope i have given enough info to help you help me get a glimpse at what might be going on.
I am desperate!!
Thank you