Data Access Worldwide Knowledge Base

Article ID 2021
Article Title HOWTO: Stop/Start Web Applications from a Program
Article URL http://www.dataaccess.com/kbasepublic/kbprint.asp?ArticleID=2021
KBase Category VDF10
Date Created 07/09/2004
Last Edit Date 07/09/2004


Article Text
QUESTION:
How can I start/stop a web application programmatically?

ANSWER:
To start and stop a Web Application you need to have your program change the value of the following registry entry:
HKEY_LOCAL_MACHINE\SOFTWARE\Data Access Worldwide\Visual DataFlex\<VDF revision>\WebApp
Server\Web Applications\<your web application name>\Disable.

The value of Disable can be 0 (running/enabled) or 1 (stopped/disabled).

Even when process pooling is active the processes start and stop immediately according to the value set for Disable.




Contributed By:
Knut Sparhell
Company: QA Systems AS
email: knutsp@qasystems.no


Email this Article
Email this Article to a Colleague
Send Feedback on this Article to Data Access Worldwide
Copyright ©2010 Data Access Corporation. All rights reserved.

The information provided in the Data Access Technical Knowledge Base is provided "as is" without warranty of any kind. Data Access Corporation disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. In no event shall Data Access Corporation or its suppliers be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages, even if Data Access Corporation or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation may not apply.