Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: Enabling a web application through the registry requires Restart.

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2016
    Location
    São Paulo - Brazil
    Posts
    682

    Default Enabling a web application through the registry requires Restart.

    Hi,


    Following Stephen recommendation. . .
    WASAdmin.exe (dataaccess.com)


    Check the difference in behavior between DF23 x DF24:

    Click image for larger version. 

Name:	webappserver_1.jpg 
Views:	83 
Size:	261.5 KB 
ID:	16591


    Both in off state:

    Click image for larger version. 

Name:	webappserver_2.jpg 
Views:	63 
Size:	282.5 KB 
ID:	16592


    Modify the parameter to enabled in DF24, and the application does not start:

    Click image for larger version. 

Name:	webappserver_3.jpg 
Views:	62 
Size:	277.7 KB 
ID:	16593

    Do the same for DF23 and after a few seconds the application starts:

    Click image for larger version. 

Name:	webappserver_4.jpg 
Views:	49 
Size:	249.5 KB 
ID:	16594


    Restart in DF24, for the application to start:

    Click image for larger version. 

Name:	webappserver_5.jpg 
Views:	49 
Size:	224.6 KB 
ID:	16595

    Regards,

    Edgard Luis Paneque

  2. #2
    Join Date
    Oct 2017
    Location
    Belgium
    Posts
    248

    Default Re: Enabling a web application through the registry requires Restart.

    Oof, not good. Since we have some automations that use this

  3. #3
    Join Date
    Mar 2009
    Location
    New Zealand
    Posts
    1,834

    Default Re: Enabling a web application through the registry requires Restart.

    Hi Edgard

    Refer to this link
    https://support.dataaccess.com/Forum...626#post260626

    Enabling and Disabling a WebApp
    Regards,
    Raveen Sundram

    Software Development Manager
    Excellent Software Ltd
    Auckland, New Zealand
    www.helixretail.co.nz


  4. #4
    Join Date
    Sep 2016
    Location
    São Paulo - Brazil
    Posts
    682

    Default Re: Enabling a web application through the registry requires Restart.

    Hi Raveen,

    At the time I reached this post and was unsuccessful, which is why I opted for Stephen's solution.
    Although the forum is an excellent knowledge base, in this case over 10 years old I believe that it will not work in the DF24 version since it did not work for me in DF23.
    I would like the command to be referenced in the help, so as not to resolve doubts.
    I will wait for the solution proposed by Harm.

    Regards,

    Edgard L. Paneque

  5. #5
    Join Date
    Feb 2009
    Location
    Adelaide, South Australia
    Posts
    2,871

    Default Enabling a web application through the registry requires Restart.

    That is a bug afaik!

    All our deployment scripts rely on a powershell script to stop and start the application using this registry setting.

    If this is by design, please give us another way so deployment managers (like octopus deploy) can stop and start the application.

    Especially in SPLF this is essential for 24/7 availability- during updates.
    Marco Kuipers
    DataFlex Consultant
    28 IT Pty Ltd - DataFlex Specialist Consultancy
    DataFlex Channel Partner for Australia and Pacific region
    Adelaide, South Australia
    www.28it.com.au

  6. #6
    Join Date
    Feb 2009
    Location
    The Netherlands
    Posts
    4,690

    Default Re: Enabling a web application through the registry requires Restart.

    We are looking into this.

  7. #7

    Default Re: Enabling a web application through the registry requires Restart.

    Lets say that a slightly untested web application manager cli tool was available? Would you use that?

    For now it might provide the following actions:

    Usage: wasabi.exe -v 24.0 -a WebOrder -c stop

    -v (DataFlex version 20.0 or higher is supported.)
    -a (Application name e.g. WebOrder - quotes are optional but mandatory if "application name" contains spaces.)
    "Application name" is case sensitive.
    -c (Commandtype values: stop, start, restart, reset, disabled, enabled.)
    -s (Service commands: stop, start, restart, status.)
    -p (Set process pool values: x:y sets min pool to x and max pool to y | enable, disable)
    -l (Lists all Web Applications: use "-l status" for more information.)
    -i (Shows information about a web application and does basic error checking.)
    -cl (Check license, shows current active license information.)
    -ra (Used to register a DataFlex application. | Optional: --fix.)
    -rs (Used to register an IIS Web Application if -site <site name> is not specified "Default Web Site" is used.)
    -site (-site list:apps, -site list:sites. | Optional: <site name> )


    So you could use the following to update an application while using disabled (but -c stop works too)

    wasabi.exe -v 24.0 -a WebOrder -c disabled

    *your update script*

    wasabi.exe -v 24.0 -a WebOrder -c enabled
    wasabi.exe -v 24.0 -a WebOrder -c start <- for 24.0




    Disclaimer:

    Comes As is ...
    It might eat your IIS configuration. (this never happened to me )
    Will most definitely raid your fridge.

    Download

  8. #8
    Join Date
    Feb 2009
    Location
    Brazil
    Posts
    5,531

    Default Re: Enabling a web application through the registry requires Restart.

    Nice. Daw should provide something similar
    Samuel Pizarro

  9. #9
    Join Date
    Feb 2009
    Location
    Adelaide, South Australia
    Posts
    2,871

    Default Re: Enabling a web application through the registry requires Restart.

    Sounds exactly what we need!
    Thanks!!!

    Just one question, at some stage it will be updated to 24.1 etc right?
    Marco Kuipers
    DataFlex Consultant
    28 IT Pty Ltd - DataFlex Specialist Consultancy
    DataFlex Channel Partner for Australia and Pacific region
    Adelaide, South Australia
    www.28it.com.au

  10. #10

    Default Re: Enabling a web application through the registry requires Restart.

    Unless something changes drastically in the 24.1 C source it probably will work till 99.0

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •