Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 10 of 12 total
Thread Running EWBSRVR.EXE
Tue, Oct 27 2020 2:06 PMPermanent Link

Richard Harding

Wise Nutrition Coaching

I wish to install both EWBSRVR (EWB2) and EWBSRVR3 (EWB3) as a service.

I have uninstalled EWBSRVR.

C:\Program Files (x86)\Elevate Web Builder 3 Beta\bin\ewbsrvr\win64\ewbsrvr.exe is run as an administrator. Otherwise I receive an "Access denied" error.

Running "net start" does not show any EWBSRVR services running

A process list does not show any processes associated with ewbsrvr.exe

Executing the command ewbsrvr.exe /install /name=EWBSRVR3 /desc="EWBSRVR3 Beta"
results in the message: Service "EWBSRVR3 Beta" failed to install with an error "System Error. Code 1073. The specified service already exists"

Executing the command ewbsrvr.exe /uninstall
results in the message: Service "Elevate Web Server 3 Web Server" failed to uninstall with an error "System Error. Code 1060. The specified service does not exist an an installed service"

Running the ewbsrvr.exe as an application does not result in an error but the application does not show up in the process list.

I would appreciate some suggestions as to what this all means.

Richard
Tue, Oct 27 2020 4:10 PMPermanent Link

Raul

Team Elevate Team Elevate

On 10/27/2020 2:06 PM, Richard Harding wrote:
> I have uninstalled EWBSRVR.

Check service manager to confirm EWB servers are gone

> C:\Program Files (x86)\Elevate Web Builder 3 Beta\bin\ewbsrvr\win64\ewbsrvr.exe is run as an administrator. Otherwise I receive an "Access denied" error.

All you need to do is install the service from admin commandline and you
do not need to change how it runs.


> Running "net start" does not show any EWBSRVR services running

Are they actually started ?
if yes then see if they use default name of "Elevate Web Builder ...."

> A process list does not show any processes associated with ewbsrvr.exe

Then probably not running

> Executing the command ewbsrvr.exe /install /name=EWBSRVR3 /desc="EWBSRVR3 Beta"
> results in the message: Service "EWBSRVR3 Beta" failed to install with an error "System Error. Code 1073. The specified service already exists"

You have either not uninstalled OR it was running when you ran uninstall
- in this case it's not actually removed until you stop it.

>
> Executing the command ewbsrvr.exe /uninstall
> results in the message: Service "Elevate Web Server 3 Web Server" failed to uninstall with an error "System Error. Code 1060. The specified service does not exist an an installed service"

This simply means that default instance is no longer installed (see also
note above about stopping it)

> Running the ewbsrvr.exe as an application does not result in an error but the application does not show up in the process list.

EWB3 server will not but EWB2 should

> I would appreciate some suggestions as to what this all means.

These steps work for me (win10)

1. Uninstall all existing EWB server services (i.e. nothing in services
for ewb). Stop them first (if running) and then run the /uninstall with
the correct exe

2. configure EWB servers so they use unique ports and not conflict with
each other (and not conflict with anything else in the system for
ports). I personally run them on 8000 range just to keep it simple

3. start admin command prompt

4. navigate to EWB3 web server folder and execute "ewbsrvr.exe /install
/name=EWBSERVER3" - should see "Service installed successfully" prompt

5. execute "net start EWBSERVER3" - should see command line entries
about starting and started for service

6. now repeat 4-5 for EWB2 except use "EWBSERVER2"


At this point
- I see both in the process list
- see both in services (and both show as running)
- net starts shows them as
Elevate Web Builder 2 Web Server
Elevate Web Builder 3 Web Server


Raul
Wed, Oct 28 2020 1:23 AMPermanent Link

Richard Harding

Wise Nutrition Coaching

Thank you Raul (once again) for your detailed response.

I am using Windows 10.

My first problem was that I tried to install the win64 ewbsrvr.exe as the service and was not able to uninstall it using the command line.

I found the registry entry that had this application in the list of services. When that was deleted, I thought that would allow the service to be installed as you suggested.

Running the following command from the \cmdline\win32 directory
ewbsrvr.exe /install /name=EWBSRVR3 /desc="EWBSRVR3 Beta"

displays the services parameters, starting with:
Server: EWBSRVR3 [EWBSRVR3 Beta]
Listening on port 80 and secure port 443

However, there is no message to say that Service has been installed.
The EWBSRVR3 does not join EWBSRVR in the services list.

I had changed the ports in the configuration files for both EWB2 and EWB3 - ewbsrvr.ini.
EWB2 service is still working OK.

I do run the command window as an Administrator.

Richard
Wed, Oct 28 2020 7:52 AMPermanent Link

Raul

Team Elevate Team Elevate

On 10/28/2020 1:23 AM, Richard Harding wrote:

Richard,


> My first problem was that I tried to install the win64 ewbsrvr.exe as the service and was not able to uninstall it using the command line.


This definitely works OK here for both 64 and 32bit versions - i can
install and uninstall and get expected dialogs etc.

> I found the registry entry that had this application in the list of services. When that was deleted, I thought that would allow the service to be installed as you suggested.

Not ideal but if you got all of it removed then should be OK -

> Running the following command from the \cmdline\win32 directory
>   ewbsrvr.exe /install /name=EWBSRVR3 /desc="EWBSRVR3 Beta"
>
> displays the services parameters, starting with:
> Server: EWBSRVR3 [EWBSRVR3 Beta]
> Listening on port 80 and secure port 443
>
> However, there is no message to say that Service has been installed.
> The EWBSRVR3 does not join EWBSRVR in the services list.

That's a command line server and not a service one - you cannot install
it as a service AFAIK.

For service you need use one either one of these :

bin\ewbsrvr\win32\ewbsrvr.exe
or
bin\ewbsrvr\win64\ewbsrvr.exe

Both of those install and uninstall just fine here

Raul
Wed, Oct 28 2020 11:06 PMPermanent Link

Richard Harding

Wise Nutrition Coaching

Greetings Raul

I have Windows 10 64 bit OS
Client has Windows 7 Professional 64 bit OS.

I cannot run the Win64 version of ewbsrvr.exe as an application.

When the Win64 version of ewbsrvr.exe is run, the dialog is displayed asking "Do you want this app to make changes to your computer?"
Respond with YES.

The following is logged in the Application Events.
Source: ewbsrvr.exe
The operation completed successfully.
The service process could not connect to the service controller

This seems to indicate that there is some other issue - as well as me not understanding what is required.

<<That's [\ewbsrvr\cmdline\win32\ewbsrvr.exe] a command line server and not a service one - you cannot install it as a service AFAIK.>>

What is the purpose of the command line server?

Richard
Thu, Oct 29 2020 8:05 AMPermanent Link

Raul

Team Elevate Team Elevate

On 10/28/2020 11:06 PM, Richard Harding wrote:

Richard,

> I have Windows 10 64 bit OS

Same here

> I cannot run the Win64 version of ewbsrvr.exe as an application.
>
> When the Win64 version of ewbsrvr.exe is run, the dialog is displayed asking "Do you want this app to make changes to your computer?"
> Respond with YES.

This is the UAC (user account control) prompt and either your UAC is set
at max level or you set ewbsrvr to run with modified privileges.

I would lean towards latter - any hcance you modified how it runs (file
properties->comptibility) like "as admin" or comtibility mode !?

Otherwise no idea


> The following is logged in the Application Events.
> Source: ewbsrvr.exe
> The operation completed successfully.
> The service process could not connect to the service controller
>
> This seems to indicate that there is some other issue - as well as me not understanding what is required.

AFAIK you cannot run this interactively anymore so app event log is
likely normal.

This can be used only as a service so you should register and start/stop
it as service and not from exe.


>
> <<That's [\ewbsrvr\cmdline\win32\ewbsrvr.exe] a command line server and not a service one - you cannot install it as a service AFAIK.>>
>
> What is the purpose of the command line server?
>

AFAIK it's the interactive one now - you can start/stop this interactively

Raul
Tue, Nov 17 2020 12:35 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Richard,

<< I cannot run the Win64 version of ewbsrvr.exe as an application. >>

Yes, that is by-design.  In EWB 3.x, you can only run the command-line debug version of the EWB Web Server as a normal application.  The other versions of the EWB Web Server can only be run as Windows services, and do not have an interface.

As for your issues with multiple servers: make sure that when you install or uninstall a given EWB Web Server as a Windows service, you always remember to include the /name parameter so that the EWB Web Server knows to set the service name accordingly and the correct service is installed or uninstalled.

I'm finishing up a video on configuring and starting the EWB 3 Web Server this afternoon, so that should help alleviate some of these issues for you.

Tim Young
Elevate Software
www.elevatesoft.com
Tue, Nov 17 2020 11:43 PMPermanent Link

Richard Harding

Wise Nutrition Coaching

Tim and Raul

EWB3 will not allow ewbsrvr.exe to be run as a service with Windows 7 or 10 Home Editions. Works fine with the Professional Editions.

EWB2 ewbsrvr worked OK with the Hone Editions.

Most small businesses with one computer seem to have Windows Home Edition Pro.

I am a little uncomfortable with having three different versions of ewbsrvr.exe all having the same name. How about giving them different names so that we can easily see what application that we are dealing with?

<<I'm finishing up a video on configuring and starting the EWB 3 Web Server this afternoon, so that should help alleviate some of these issues for you.>> Thank you.


Richard
Wed, Nov 18 2020 9:16 AMPermanent Link

Raul

Team Elevate Team Elevate

On 11/17/2020 11:43 PM, Richard Harding wrote:

> EWB3 will not allow ewbsrvr.exe to be run as a service with Windows 7 or 10 Home Editions. Works fine with the Professional Editions.

What is the error you're getting ?

Do not have access to either and while Win 7 is not supported by MS even
Win 10 should be ok. Make sure you have the option to sideload apps
enabled (under security updates/security - developer to load apps from
any source).

>
> Most small businesses with one computer seem to have Windows Home Edition Pro.
>

In small business likely not a problem but all windows desktop editions
(Win8/10) AFAIK have a concurrent incoming TCP connection limit.


> I am a little uncomfortable with having three different versions of ewbsrvr.exe all having the same name. How about giving them different names so that we can easily see what application that we are dealing with?
>

That one is up to Tim but they are in unique folders today and really
there are just 2 - command line and regular (which has 32 and 64bit
editions but again most likely one would just use 64bit these days).


Raul
Thu, Nov 19 2020 3:28 PMPermanent Link

Richard Harding

Wise Nutrition Coaching

Raul

On running the install command, there is no message to say that the service has been installed using the Windows Home editions.

With the Professional 64 bit Edition (Win 7 and 10) there is a message to indicate that the service has been installed.

The following is logged in the windows Application Events.
Source: ewbsrvr.exe
The operation completed successfully.
The service process could not connect to the service controller

Richard
Page 1 of 2Next Page »
Jump to Page:  1 2
Image