Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 5 of 5 total
Thread Running ewbsrvr.exe as service
Tue, Nov 3 2015 4:29 AMPermanent Link

Petter Topp

I have installed the ewbsrvr.exe as a service on a Windows Server 2012 R2 (ewbsrvr.exe /install) (Cmd - run as administrator)
But it seems that when running as a service, ewbsrvr.exe can't access settings. IOW site is loded, but no data can be accessed.
If I stop the service, and run ewbsrvr as a standalone everything works fine.

1. Where are the settings for ewbsrvr stored?
2. Do I need to create a separate ewbsrvr "service" account in my domain for configuring and installing?
3. Just to be sure, when ewbsrvr is installed as a service, Will I need to stop the service and launch ewbsrvr as stand alone application to change settings (In my case when running as service there is no icon in the sys tray) ?

Br
Petter
Tue, Nov 3 2015 7:37 AMPermanent Link

Uli Becker

Petter,

> Where are the settings for ewbsrvr stored?

Search for ewbsrvr.ini (usually stored in "C:\ProgramData\Elevate
Software\Elevate Web Builder 2 Web Server")

> Just to be sure, when ewbsrvr is installed as a service, Will I need to stop the service and launch ewbsrvr as stand alone application to change settings (In my case when running as service there is no icon in the sys tray) ?

That's what I do. If you run the server as a service there is no icon on
the taskbar and you can't access the settings directly. AFAIK Tim is
working on a webinterface to make things easier.

I use two batch files in order to stop and restart the service:

net start ewbsrvr
net stop ewbsrvr

To edit the settings, I stop the service, start the server exe, do my
work and close it. Then restart the service.

On the desktop of my windows server I have a folder with links and batch
files, so that changes can be done very quickly (see screenshot).

Uli




Attachments: Clip2.png
Tue, Nov 3 2015 9:03 AMPermanent Link

Raul

Team Elevate Team Elevate

On 11/3/2015 4:29 AM, Petter Topp wrote:
> I have installed the ewbsrvr.exe as a service on a Windows Server 2012 R2 (ewbsrvr.exe /install) (Cmd - run as administrator)
> But it seems that when running as a service, ewbsrvr.exe can't access settings. IOW site is loded, but no data can be accessed.
> If I stop the service, and run ewbsrvr as a standalone everything works fine.

Where is the data itself stored? Make sure it's not pointing to your
user specific folders since service by default would run as local system
account (and not as your user account).



> 1. Where are the settings for ewbsrvr stored?

EWB Web Server will first look for the INI in the same folder as EXE and
then fall back to default location in "C:\ProgramData\Elevate
Software\Elevate Web Builder 2 Web Server\ewbsrvr.ini"

So you could copy the ewbsrvr.exe and ini to separate folder and then
register that as a service - this allows you to have different settings
from default install (of course also means one has to keep updating the
exe as it gets updated).


> 2. Do I need to create a separate ewbsrvr "service" account in my domain for configuring and installing?

You can but do not have to - just make sure config and data is generally
accessible on the machine (i.e. and not under specific user folders)

> 3. Just to be sure, when ewbsrvr is installed as a service, Will I need to stop the service and launch ewbsrvr as stand alone application to change settings (In my case when running as service there is no icon in the sys tray) ?

For now yes.

I have no doubt Tim has plans web admin interface at some point (written
in EWB of course).

Raul
Tue, Nov 3 2015 2:11 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Raul,

<< I have no doubt Tim has plans web admin interface at some point (written in EWB of course). >>

Yes, absolutely.  I just have to solve a couple of other architecture issues first, and then I'll be working on rounding out the server with SSL, a proper web interface, and a guardian app.

Tim Young
Elevate Software
www.elevatesoft.com
Wed, Nov 4 2015 12:53 AMPermanent Link

Petter Topp

After fiddling around with your information, I still could not make it work...

The server (ewb) is hosting a intranet site in a domain with a lot of group policies - IOW problems were related to user rights...

Site (EWB-Application) is now running, even if the server has been restated during the night Smile

Thanks
Petter

Image