Ronnie,
Please see the message "SOLVED: Can't run as a service on Windows 2016 (or
later)" - the info might be helpful to you. I realise you're on 2012, not
2016, but I suspect the same issue may apply.
HTH

Pat

On Wed, 16 Oct 2019 at 09:03, Tarawerkz via 4D_Tech <[email protected]>
wrote:

> Hi Ullst,
>
> Thanks for your mail.
>
> The service is run-in under the administrator   account with full
> privileges.
> You are right that the default Windows service path only lays out the path
> to the 4D Server app and the structure files, NOT the data files that is
> sitting on a separate repository.
>
> Is there any way to modify the path in a Windows Service as such?
>
> Regards,
> Ronnie
> Tarawerkz
>
>
>
>
> > On 16 Oct 2019, at 3:07 PM, Uist Macdonald <[email protected]>
> wrote:
> >
> >
> > The user that the service is running under must have network access
> privileges. It is unlikely the default will have these privileges, so
> cannot see your data files.
> >
> > Uist
> >
> >
> > --
> >
> > Ceres Computer Consultants Ltd
> >
> > Registered Office:
> > South Scotstarvit
> > Chance Inn
> > Cupar
> > Fife KY15 5QJ
> >
> > +44 (0) 1334 828002
> >
> > Registered in Scotland : SC107838
> >
> > An ISO 9001 registered company.
> >
> >> On 16 Oct 2019, at 06:24, Tarawerkz via 4D_Tech <[email protected]>
> wrote:
> >>
> >> Hi All,
> >>
> >> I have a 4Dv17 application that the client’s IT decided has to run on
> Windows Service (under Windows Server 2012r2).
> >> That is fine till a new requirement surfaced.
> >>
> >> They wanted the 4D data files to be stored on separate repository, away
> from the 4D Server application and the 4D structure files, ie. the .4DD,
> .4DR and the log file will be stored on a drive (with a different IP
> address) away from the .4DB and .RSR files and the 4D Server application.
> >>
> >> This works fine when the 4Dv17 Server is run directly as an application.
> >> However the service fails because apparently the service is unable to
> locate the data files on the separate server when the service starts.
> >> The service will start and quit.  Windows Event Log indicated an error
> to the effect that the database cannot be opened.
> >>
> >> Is there any solution for this?
> >>
> >> Regards,
> >> Ronnie
> >>
> >> **********************************************************************
> >> 4D Internet Users Group (4D iNUG)
> >> Archive:  http://lists.4d.com/archives.html
> >> Options: https://lists.4d.com/mailman/options/4d_tech
> >> Unsub:  mailto:[email protected]
> >> **********************************************************************
> >
>
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:[email protected]
> **********************************************************************



-- 
*************************************************
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*************************************************
**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to