Re: VFP Exe run as a Service does not function correctly???
From: Ook (usenet_at_nospam.emberts.com)
Date: 09/07/04
- Next message: Alan C. Sheffield: "Re: Problem while migrating data with Memo content from VFP to Oracle"
- Previous message: Rick Bean: "Re: Textbox covered by label caption"
- In reply to: Nonoy of Philippines: "Re: VFP Exe run as a Service does not function correctly???"
- Next in thread: Nonoy of Philippines: "Re: VFP Exe run as a Service does not function correctly???"
- Reply: Nonoy of Philippines: "Re: VFP Exe run as a Service does not function correctly???"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 7 Sep 2004 07:13:45 -0700
Where is your database located? I have seen issues with running apps as
services that access resources over the network. As an example, I had an app
set to run as a service. I reboot the machine. Windows would load my app
before loading network drivers, and because of that network access would
fail. What is in the startup for the admin account? Look in the registry
also, not just the startup folder. It's possible there is a startup item
that your application is depending on that does not run until you login to
the machine.
You may need to put some debug code in your app to find out at which point
it is failing. It helps to know what line of code fails.
"Nonoy of Philippines" <NonoyofPhilippines@discussions.microsoft.com> wrote
in message news:00E19A4C-CC49-44AB-9F93-8C33BB7BF2D2@microsoft.com...
> Hi Ook,
>
> I am using the Administrator's account for this. And when I logged in
using
> the Administrator's account, and run the program from the desktop, I don't
> find any problem with the program. Did I miss anything?
>
>
> "Ook" wrote:
>
> > When you run it as a service, what user account does it use? If your SQL
> > update isn't working, it could be because the account it uses doesn't
have
> > the ODBC data source, for example, or other privelage issues. I've ran
VFP
> > apps as a service, and they always worked fine. Contrary to popular
belief,
> > you can even have an interactive gui with VFP apps run as a service,
there
> > really is little you can't do.
> >
> > "Nonoy of Philippines" <NonoyofPhilippines@discussions.microsoft.com>
wrote
> > in message news:B30B7312-7ED7-4B53-92C8-6A62652FC369@microsoft.com...
> > > Hello everyone,
> > >
> > > First of all, I'ld like to say thank you to Olaf and Mitchell for
replying
> > > to my last question I posted 2 days ago.
> > >
> > > I was able to run the VFP exe now as a service in Win2k server.
However,
> > I
> > > learned that my application does not actually do what it does if I run
it
> > > from the desktop. My application should write something on my SQL
tables
> > > while it is running. But it seems that, if my application runs as a
> > SERVICE,
> > > whether I am logged in or not, it does not do what it should do. But
if I
> > > run it from the desktop, it works fine. Is this because VFP
applications
> > are
> > > not compiled to run as a service???
> > >
> > > Your replies will be very much appreciated. Thanks.. :)
> > >
> > >
> > > --
> > > Nonoy
> > > Philippines
> >
> >
> >
- Next message: Alan C. Sheffield: "Re: Problem while migrating data with Memo content from VFP to Oracle"
- Previous message: Rick Bean: "Re: Textbox covered by label caption"
- In reply to: Nonoy of Philippines: "Re: VFP Exe run as a Service does not function correctly???"
- Next in thread: Nonoy of Philippines: "Re: VFP Exe run as a Service does not function correctly???"
- Reply: Nonoy of Philippines: "Re: VFP Exe run as a Service does not function correctly???"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|