File not found even if it is there (Delphi)

We have appl developed in delphi accessing a custom config file. It says file not found even if the file is there.
It happens only at particular installations, The prime difference in environments is Antivirus (Symantec at problematic env. and Avast at th working). Filesystem is NTFS.

I do not know if symantec is problem but if it is what can be the solution
Who is Participating?
torimarConnect With a Mentor Commented:
Unfortunately, this is not enough information for remote diagnostics.

Assuming your intuition is right and Symantec might be the culprit, these are the steps that I would take:
- change the name of the conf file
- have the application save the conf file to another location

If that doesn't work, then maybe installing Symantec on the development machine and debugging the program is the only way to get a clue. Be sure to run a full system backup beforehand, though, because removing Symantec could be a difficult and possibly system breaking task.

Good luck.
ziolkoConnect With a Mentor Commented:
try to exclude this file from scanning, it's possible that application wants to open file exclusively but antivirus already has opened handle to this file. that's why application fails.

SuhashkAuthor Commented:
Yeah, we have thought the same way and I have done both the above steps. Also put couple of solutions, so it's wait and watch scenario.
just a wild guess... maybe it's permissions issue?
is this file located in \Program Files\subdir ?

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.