Solved

File not found even if it is there (Delphi)

Posted on 2008-10-04
5
514 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ransomware virus 21 128
Sudden performance loss on a Vista system. 14 158
What is the Best Editor for PHP Development ? 5 92
Behavior-based and anomalies detection for McAfee 2 27
Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project (http://www.eclipse.org/sequoyah/) automates most of the tasks discussed in this article. You can even fin…
In this article we have discussed the manual scenarios to recover data from Windows 10 through some backup and recovery tools which are offered by it.
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.

730 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