Advertisement

05.11.2004 at 07:31AM PDT, ID: 20985349
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

The file or directory is corrupted and unreadable

Tags: file, corrupted, directory, unreadable
Recent problem in rebuilding my Foxpro 2.6 DOS applications.

Each time I rebuild the app a different component of the application gets the error message 'The file or directory is corrupted and unreadable'.

So far it has happened with the PJT file, 2 SPR files and one FRT file. I cannot delete the corrupted files either through DOS or Windows Explorer. The only way I can get them to disappear (and restore from backups) is to reboot PC and occassionally while checking my drives upon bootup it will say that it has erased the name of the corrupted file from its index.

OS is Windows XP with all patches installed - I have been building and developing on this PC and O/S for over a year - I suspect a virus but MacAfee has detected nothing.


Any ideas?
Start your free trial to view this solution
Question Stats
Zone: Microsoft
Question Asked By: AliFox
Solution Provided By: CarlWarner
Participating Experts: 3
Solution Grade: A
Views: 256
Translate:
Loading Advertisement...
05.11.2004 at 09:13AM PDT, ID: 11042009

Rank: Sage

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.16.2004 at 03:01PM PDT, ID: 11085197

Rank: Genius

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.17.2004 at 01:30AM PDT, ID: 11087604

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.19.2004 at 04:09AM PDT, ID: 11106736

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.19.2004 at 08:31AM PDT, ID: 11108858

Rank: Genius

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
01.06.2005 at 07:40AM PST, ID: 12972988

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
Microsoft
  • Internet Protocols
  • Applications
  • Development
  • OS
  • Hardware
  • Windows Security
Apple
  • Operating Systems
  • Hardware
  • Programming
  • Networking
  • Software
Internet
  • Search Engines
  • File Sharing
  • WebTrends / Stats
  • Spy / Ad Blockers
  • Web Browsers
  • New Net Users
  • Web Development
  • Chat / IM
  • Anti Spam
  • Web Servers
  • Anti-Virus
  • Email Clients
Gamers
  • Tips
  • Online / MMORPG
  • Puzzle
  • Emulators
  • Action / Adventure
  • Role Playing
  • Consoles
  • Game Programming
  • Strategy
  • Sports
  • Misc
  • Computer Games
Digital Living
  • Hardware
  • New Net Users
  • New Users
  • Software
  • Digital Music
  • Gaming World
  • Home Security
  • Apple
  • Networking Hardware
Virus & Spyware
  • Vulnerabilities
  • IDS
  • Encryption
  • Anti-Virus
  • Operating Systems Security
  • Software Firewalls
  • WebApplications
  • Cell Phones
  • Operating Systems
  • Internet
  • Hardware Firewalls
Hardware
  • Handhelds / PDAs
  • Displays / Monitors
  • Components
  • Networking Hardware
  • Peripherals
  • Laptops/Notebooks
  • Storage
  • Servers
  • Desktops
  • New Users
  • Misc
  • Apple
Software
  • System Utilities
  • Industry Specific
  • Network Management
  • Photos / Graphics
  • Page Layout
  • VMWare
  • Misc
  • Web Development
  • OS
  • CYGWIN
  • Voice Recognition
  • Message Queue
  • Quality Assurance
  • Security
  • Firewalls
  • MultiMedia Applications
  • Development
  • Database
  • Office / Productivity
  • Business Management
  • OS/2 Apps
  • Server Software
  • Internet / Email
ITPro
  • OS
  • Storage
  • Encryption
  • Operating Systems Security
  • Apple Hardware
  • Laptops & Notebooks
  • Servers
  • Networking Hardware
  • Peripherals
  • Devices
  • Displays / Monitors
  • WebTrends / Stats
  • Search Engines
  • Firewalls
  • WebApplications
  • IDS
  • Vulnerabilities
  • Email Clients
  • File Sharing
  • Spy / Ad Blockers
  • Web Browsers
  • Web Servers
  • Networking
  • Anti-Virus
  • Chat / IM
  • Anti Spam
Developer
  • Web Servers
  • Web Browsers
  • Game Programming
  • Dev Tools
  • Industry Specific
  • Office / Productivity
  • Database
  • CYGWIN
  • Web Development
  • Search Engines
  • File Sharing
  • WebTrends / Stats
  • Programming
  • Content Management
  • Application Servers
  • Protocols
Storage
  • Removable Backup Media
  • Storage Technology
  • Servers
  • Grid
  • Remote Access
  • Backup / Restore
  • Misc
  • Hard Drives
OS
  • Miscellaneous
  • Security
  • Development
  • Linux
  • VMWare
  • MainFrame OS
  • Unix
  • Apple
  • OS / 2
  • AS / 400
  • BeOS
  • Microsoft
  • VMS / OpenVMS
Database
  • Oracle
  • Miscellaneous
  • MySQL
  • Software
  • Sybase
  • Contact Management
  • PostgreSQL
  • Data Manipulation
  • Clarion
  • InterSystems Cache
  • Siebel
  • MUMPS
  • OLAP
  • SQLBase
  • SAS
  • GIS & GPS
  • 4GL
  • Berkeley DB
  • DB2
  • Informix
  • Interbase / Firebird
  • FoxPro
  • Reporting
  • LDAP
  • Filemaker Pro
  • MS SQL Server
  • dBase
  • MS Access
Security
  • Misc
  • Web Browsers
  • Software Firewalls
  • Operating Systems Security
  • File Sharing
  • Spy / Ad Blockers
  • Vulnerabilities
  • WebApplications
  • IDS
  • Anti-Virus
  • Encryption
  • Anti Spam
  • Email Clients
  • VPN
  • Chat / IM
Programming
  • Editors IDEs
  • Installation
  • Handhelds / PDAs
  • Multimedia Programming
  • System / Kernel
  • Algorithms
  • Game
  • Signal Processing
  • Project Management
  • Open Source
  • Database
  • Misc
  • Languages
  • Processor Platforms
  • Theory
Web Development
  • Scripting
  • Blogs
  • Web Servers
  • Software
  • Search Engines
  • Web Graphics
  • Images
  • Internet Marketing
  • Images and Photos
  • Components
  • Document Imaging
  • Web Languages/Standards
  • Illustration
  • WebApplications
  • Fonts
  • WebTrends / Stats
  • Authoring
  • Digital Camera Software
  • Miscellaneous
Networking
  • Protocols
  • Apple Networking
  • Network Management
  • Message Queue
  • Application Servers
  • Content Management
  • File Servers
  • Email Servers
  • Misc
  • Java Editors & IDEs
  • Wireless
  • Networking Hardware
  • Backup / Restore
  • System Utilities
  • ISPs & Hosting
  • Web Servers
  • Storage Technology
  • Removable Backup Media
  • Servers
  • Broadband
  • Grid
  • OS / 2
  • Novell Netware
  • Unix Networking
  • Windows Networking
  • Security
  • Telecommunications
  • Operating Systems
  • Linux Networking
Other
  • Community Advisor
  • Lounge
  • Community Support
  • New Net Users
  • Philosophy / Religion
  • Math / Science
  • Miscellaneous
  • URLs
  • Expert Lounge
  • Politics
  • Puzzles / Riddles
Community Support
  • Suggestions
  • New to EE
  • New Topics
  • Community Advisor
  • CleanUp
  • Announcements
  • General
  • Feedback
  • Input
  • EE Bugs
 
05.11.2004 at 09:13AM PDT, ID: 11042009

Rank: Sage

I think it's a session of FoxPro that disappears from view but is still active. It keeps the files open. Or an Exception Error that damages the files and FoxPro exists. I do not suspect a virus since it's a DOS application and today's viruses are written for Windows.
 
05.16.2004 at 03:01PM PDT, ID: 11085197

Rank: Genius

It could be a virus, but I wouldn't think that a virus would single out the file types you've mentioned.  The "I Love You" virus a while back affected FoxPro's .sct files.  But, that wasn't in the category of a .pjt, .spr, or .frt file.  Keep in mind the .pjt and the .frt files are actually memo field files attached to the .pjx and .frx file tables, respectively.  So, a pattern would be that you are having issues with getting your work saved to memo field files.  The .spr files, of course, are a byproduct of screen generation that comes from the initial .scx screen (table) file with its associated .sct (memo field) file.  I wonder if the .sct file is corrupt in the instances where you have corresponding .spr file problems after the screen generation process.

If you are having other issues on that WinXP PC with some devices and their drivers acting up, that could cause issues with overwriting memory spaces that FoxPro is using and then the results will be corrupted in selected spots.  However, it seems you would get other symptoms of a problem in your FoxPro sessions long before you see corrupt files occurring.  It still seems that you have an issue as things get saved where they seem to get saved incorrectly.

Possibly see if removing your current Fox resource file from your active sessions helps to calm down your design environment.  Just delete (or temporarily rename) the foxuser.dbf file.  If that gets corruption, unpredictable results come up in very unusual ways.

Possibly you have some corruption in your project itself.  At least try to clean out past old work in the project by choosing the Project menu choice and the Pack option at the bottom of the list while you have your Project open on screen.  That will at least assure no old work is still in the picture, even though those records were marked for deletion.

I just cleaned up a laptop yesterday for someone where his college kid had taken very few precautions to ward off spyware attacks.  There were all kinds of rogue processes running in his Task Manager that were stealing precious RAM and CPU cycles from him.  There's no telling how they might have affected other running applications.  Anyhow, I first installed the Personal Edition of Ad-Aware that discovered and allowed me to delete most of the junk that browsing the internet introduces to the computer in the way of programs, new files, directories, and registry entries.   There were about 500
entries in the first scan-- that is the most I've ever seen.  Whatever pieces required to be memory resident stole about one third of his total processing power.  Anyhow, I recommend that you download and install and USE, if you don't already, the following spyware/malware removal tools.  What one misses the other one catches.  They both catch different things and together, you can get some piece of mind if you browse the web pretty regularly.

Ad-aware 6.0 build 181
http://download.com.com/3000-8022-10214379.html

Spybot - Search & Destroy
http://download.com.com/3000-8022-10122137.html

If you think McAfee is just missing the problem and you want a second opinion, try downloading the free AVG anti-virus software package and letting it scan your PC to be assured you in fact are clean from virus signatures.

AVG Free Edition
http://www.grisoft.com/us/us_dwnl_free.php

Other general references specific to FoxPro:

HOWTO: Troubleshoot to Resolve Suspected Corruption
http://support.microsoft.com/default.aspx?scid=kb;en-us;193952

INFO: Possible Causes of Data Corruption in Visual FoxPro
http://support.microsoft.com/default.aspx?scid=kb;en-us;264867
Accepted Solution
 
05.17.2004 at 01:30AM PDT, ID: 11087604
Carl,

Some interesting pointers there....... will check them all. Give me a couple of days to assess if there is any noticeable difference and I will come back to you with results.

I suspect the memo files and writing to (of such) are fine as the application writes to these database memo files regularly and there a very few problems except the routine error 41 problems which everyone gets now and again.

Bye for now...

 
05.19.2004 at 04:09AM PDT, ID: 11106736
Carl,

The pointers suggested were very useful. I have deleted and re-created the Foxuser respource file and also moved all components of the project from an old area of my drive to a new area and recompiled cleanly a few times.

Packed project too, - not sure if that has achieved anything but overall there is a noticeable improvement in lack of errors.

The adaware and spybot urls have been loaded and run but I don't think they have had any effect. The articles are interesting to read though - what u don't know doesn;'t hurt you, but once u know what these things are capable of - well, well!!

To summarise I have recompiled application 10+ times now and have only have 1 occurrence of the old error - I accept that as a very noticeable improvement and have to thank you very much for the pointers and advice offered which has led to this success.

Cheers, and thanks again.
AliFox
 
05.19.2004 at 08:31AM PDT, ID: 11108858

Rank: Genius

I'm glad you made real progress.  

I'm sorry we don't have perfection though. <s>  That last mile is the toughest.
 
01.06.2005 at 07:40AM PST, ID: 12972988
Did you try good old chkdsk? you can start it from a command prompt (Start->run / windows-key+r).
First run only the chkdsk x:
Then if errors are reported chkdsk x: /r
 
 
20080236-EE-VQP-29