Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
App runs on some machines; errors starting on others
Message
 
 
To
13/05/2005 02:18:18
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows NT
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01013593
Message ID:
01013862
Views:
18
Al,

Thanks for your thoughts on my problem.

1. The application is fully installed on each machine's hard drive. Only the database itself is common to all machines, and that is stored on the network server.

2. I will try to turn AV off while testing. We are an institution, and the central gestapo controls that. But I think I can get them to let me turn if off/on as needed. I'll let you know if that helps.

3. We do run full AV scans regularly, but I will check the AV logs to be sure they ran. Also, will look into the question of spyware.

4. How could DNS be involved in this?

5. And, I will look into the question of write-behind caching.

Thanks again for you input. Keep it coming. This is very difficult to debug.

Jim

>
>My VFP 9 application (an EXE) is behaving differently on different computers, all running XP, and all accessing the same database located on another machine in the lab.
>
>On two of the computers, the application starts up just fine, and presents the user with the startup form. On 3 other computers, 80% of the time it starts up fine, and around 15 to 20% of the time it does not. When it does not, it presents a series of 45 error messages that is always the same each time it occurs. The error messages indicate a problem during application initialization. The program appears to be having a problem in the SetAllProp method of the TxtBtns control in the Wizbtns.vcx library that comes with VFP.
>
>This method is a recursive function that goes through all of the containers of the form, and sets the Enable property of the enclosed controls to either enabled or disabled.
>
>I get two types of error messages. Both are error #1924 ("name" is not an object). The first says that a parameter being passed into the method is not an object. These messages indicate a line # in the SetAllProp method. Sometimes the indicated line does have a reference to the object parameter; sometimes they do not.
>
>The second kind of error message shows a SELECT statement, followed by the error #1924, and a line # in the SetAllProp method. But, the SELECT statement is not in the SetAllProp method. Rather it is the RowSource for a listbox elsewhere on the same page of the form.
>
>This bug is proving particularly difficult to debug. I have VFP 9 installed on the two computers where the problem does not occur. I do not have VFP 9 installed on the computers where it does occur.
>
>I have tried using DebugView from SysInternals on the computers showing the problem. I have inserted OutputDebugString messages to monitor the program. However, when DebugView is running, the problem does not occur.
>
>On one of the computers having the problem, I have stopped the WindowsUpdate program (which is running in the background), and the problem seems to have gone away. However, on a 2nd machine with the problem, stopping WindowsUpdate did not stop the problem.

If you're not already doing so, run your .EXE from local HDs rather than a single copy on the "server" machine.

Try disabling AV on all systems to see if that makes a difference.

Run full AV scans on the problem computers and antispyware such as Ad-Aware or Spybot.

You can take a look at Re: Write-behind caching. Still need it off? Thread #994207 Message #994323 for some general ideas. XP is sensitive to DNS configuration, check out http://support.microsoft.com/?id=291382
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform