Solved

File not found even if it is there (Delphi)

Posted on 2008-10-04
5
523 Views
Last Modified: 2013-12-09
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
Comment
Question by:Suhashk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 35

Accepted Solution

by:
torimar earned 250 total points
ID: 22640355
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
 
LVL 21

Assisted Solution

by:ziolko
ziolko earned 250 total points
ID: 22642971
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
 

Author Comment

by:Suhashk
ID: 22651054
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
 
LVL 21

Expert Comment

by:ziolko
ID: 22755854
just a wild guess... maybe it's permissions issue?
is this file located in \Program Files\subdir ?

ziolko.
0

Featured Post

Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

These are on the increase and getting more common these days. Users who use the Google search engine may complain of having their search redirected to unwanted sites, regardless of what browser is used. This happens when the system is infected with…
I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question