Re: VFP Exe run as a Service does not function correctly???

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Ook (usenet_at_nospam.emberts.com)
Date: 09/07/04


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
> >
> >
> >



Relevant Pages

  • Re: Strategy for moving to Mac
    ... Let's say I'd like to keep all apps on the system up-to-date ... What you're doing is abdicating Configuration Management control. ... the the smart thing to do anyway is set up a 'sandbox' account. ...
    (comp.sys.mac.advocacy)
  • Re: Unable to Deploy ASP.Net 2.0 App to Local IIS
    ... Unless you've configured impersonation for the IUSR_ANONYMOUS account, ... Give access permissions to the correct account. ... Open the IIS Manager, scroll on the left to "Web Service Extensions", ... Apps developed apps simply won't deploy ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Unable to Deploy ASP.Net 2.0 App to Local IIS
    ... Unless you've configured impersonation for the IUSR_ANONYMOUS account, ... Give access permissions to the correct account. ... Open the IIS Manager, scroll on the left to "Web Service Extensions", ... Apps developed apps simply won't deploy ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: SEEMS LIKE SPAM!!!!!!
    ... After you have registered you should receive an activation email - you will need to click the link to enable your account. ... Once you have activated your account, please use the logon box on the left-hand side of the screen to logon. ... The apps were developed when I was working as an IT Technician at a college. ... my website and applications. ...
    (microsoft.public.windows.server.active_directory)
  • Re: XP Specific Program Access for Limited User Accounts
    ... one of these apps installed to ... In the default the Users group has read/execute on this. ... If there are many machines, ... > receptionist (for whom I've created a limited account) to ...
    (microsoft.public.windowsxp.security_admin)