Solved

Problem with FoxPro application on Win2k Server in Terminal Services

Posted on 2006-10-19
6
272 Views
Last Modified: 2010-04-13
Hello,

I've got a real weird problem: I've got an application written in FoxPro (recent version), that is mostly accessed by people using terminal services on the Win2k server to access it.  At seemingly random times, people are kicked out of the app with an error, and often subsequent restarts of the app fail with a Windows error message (unfortunately I don't have the exact wording at the moment, but it says something about Fatal Error, no real other description or numbers).

The odd part is that it starts affecting a few handful of profiles, then seems to get worse with time.  There is one profile that seems to generally always work.  Even the Administrator account will do it.

If I copy the file some where else, then copy it back over itself, the problem goes away!  For a while.. then a week or two later, it starts coming back.
If I access the same file through a share, and load it on a remote workstation, it runs fine.

I've checked and double-checked permissions, and all is ok.  There doesn't appear to be any write-lock on the file when this problem occurs.  

I've spoken with the software authors, and they said that the error is not coming from FoxPro, as their error dialog boxes look different - it is some microsoft windows error message we're seeing.  Everyone is stumped.  This is a fairly fresh install of Win2k Server, so there's not much else on it that could be messing up.  No spyware or viruses.

Any idea what I should look for?  The strange thing is that it is pretty random, and only affects certain profiles... at first.  When it was bombing out, I tried creating a new profile, but still no dice, so it doesn't seem to be too tied-in to the profile data.
0
Comment
Question by:drtester
[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
6 Comments
 
LVL 63

Expert Comment

by:SysExpert
ID: 17773722
It sounds more like a network or local data integrity isse since replacing the file resolves it temporarily.

I would run OS and Hardware diagnostics as well asn Memory tests on all related servers.

Also check for any network erros on switches etc.

Did you check the event logs on all related machines ?

I hope this helps !
0
 

Author Comment

by:drtester
ID: 17778881
THanks for the reply.

Memory tests check out OK.

There wouldn't be network errors on switches, because everything is running "locally", as it is when running in terminal server mode that barfs.  Ironically, running it over the network works fine!

There are no errors logged in the event logger.

Any more ideas?
0
 

Author Comment

by:drtester
ID: 18273738
The solution was never really found.  I ended up moving the data to a linux server, running the app on the windows box.  Works 100%, although there is a decrease in performance speed due to having to fetch the data over the network connection (from the linux box) compared to getting it locally.  Gigabit ethernet helped, but still isn't the same.
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 18281099
PAQed with points refunded (500)

Computer101
EE Admin
0
 

Expert Comment

by:kipdole
ID: 23339930
I had this same problem.  I would just copy to the data from the network to my computer and then back and the problem would go away.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
This article shows the steps required to install WordPress on Azure. Web Apps, Mobile Apps, API Apps, or Functions, in Azure all these run in an App Service plan. WordPress is no exception and requires an App Service Plan and Database to install
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

756 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