Hi Pat, I don’t have any experience with running 4D as a Service, but I see that there is a Tech Tip from about 10 years ago which mentions having to “Run as Administrator”
https://kb.4d.com/assetid=75056 HTH, Tom Benedict > On Feb 27, 2019, at 02:40, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I'm having a bit of trouble trying to set up our 4D app to run as a service > on a Windows server. > > The server version is Windows Server 2016 Standard. > If I run the app "As Administrator" it starts up OK and we can connect to > it. > > If I don't start it as Administrator, I get a message that the database (or > one of its segments) is locked. > If I try to set it up to run as a service, it doesn't work - in the > Services window, it says it's running, but in the Task Manager it says > Stopped. I'm guessing this is because when it tries to start the service, > it can't because of the locked data file problem. > > So, I think the question is: How come it has to run As Administrator? I am > logged on (remotely via MS Remote Desktop) with, supposedly, full admin > privileges. How do I run it as not-administrator? > > Thanks! > Pat > > -- > ************************************************* > 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:4d_tech-unsubscr...@lists.4d.com > ********************************************************************** ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************