• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 538
  • Last Modified:

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
0
Suhashk
Asked:
Suhashk
  • 2
2 Solutions
 
torimarCommented:
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.
0
 
ziolkoCommented:
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.

ziolko.
0
 
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.
0
 
ziolkoCommented:
just a wild guess... maybe it's permissions issue?
is this file located in \Program Files\subdir ?

ziolko.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now