Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Com runs on xp, not win2k
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Divers
Thread ID:
00955560
Message ID:
00955678
Vues:
21
Hi Kevin,

>It works great on my xp machine, but it hangs on my win2k machine.

One effective way I found in debugging this kind of issues is using FILEMON from http://www.sysinternals.com. Search for any entry containing ACCDENIED in the result column. ASP pages by default require the IWAM_ account (or IUSR_ if you changed application protection to low).

>Also, when it hangs, the only way to stop the process is to re-boot. When I try to stop it through task manager, it says it's unable to terminate the process.

That's because the process is running as a different account than you. However, this raises another question...

Is this an EXE COM server? And you are saying, the server is running, but than hangs? In this case, permissions to the server are probably not the problem, rather something in your code. What happens when you instantiate the component from a VFP application on the W2K machine and call the same methods as the ASP page. Do you get an error message? Or does the printer driver try to display a file open dialog?

Having an error dialog is a common way to hang a process on the server. Because these objects run npn-interactive, you won't see the dialog, yet VFP waits. Make sure you enabled unattended server mode SYS(2335).

Also check if both machines have the same version of the VFP runtime (SP1) installed.

--
Christof
--
Christof
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform