Hi
Is it possible restart IIS from ASP?
I tryed activex dll, but it wont work, i think its an "user rights" problem
When i use this dll form vb6 all works fine.
Any other solution?
Best regards;
Meelis 5 3707
Meelis Lilbok wrote on 30 dec 2004 in
microsoft.public.inetserver.asp.general: Is it possible restart IIS from ASP? I tryed activex dll, but it wont work, i think its an "user rights" problem When i use this dll form vb6 all works fine.
I hope not.
Try crashing the operating system?
Any other solution?
Sure, don't. Why would you want to do that in the first place?
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress) Sure, don't. Why would you want to do that in the first place?
Because some clients dont know how to restart IIS, and in IIS4.0 when you
modifie
global.asa sometimes web application "hangs" and only restarting IIS or
system helps.
I update and upload files with FrontPage.
Mex
Meelis Lilbok wrote on 30 dec 2004 in
microsoft.public.inetserver.asp.general: Sure, don't. Why would you want to do that in the first place? Because some clients dont know how to restart IIS, and in IIS4.0 when you modifie global.asa sometimes web application "hangs" and only restarting IIS or system helps.
Make a .bat-file that does that on the client machine, perhaps, to be
called by that client.
I update and upload files with FrontPage.
I would not do that. Why not upload the global.asa "by hand"?
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
On Thu, 30 Dec 2004 10:53:10 +0200, "Meelis Lilbok"
<me***********@deltmar.ee> wrote: Is it possible restart IIS from ASP? I tryed activex dll, but it wont work, i think its an "user rights" problem When i use this dll form vb6 all works fine.
Any other solution?
Most restarts will require a sufficient access level to perform the
task, often local admin. I'd suggest instead of ASP you use a
shortcut on the user's desktop, to IISRestart or a NET STOP command.
Jeff
Jeff Cochran wrote on 30 dec 2004 in
microsoft.public.inetserver.asp.general: On Thu, 30 Dec 2004 10:53:10 +0200, "Meelis Lilbok" <me***********@deltmar.ee> wrote:
Is it possible restart IIS from ASP? I tryed activex dll, but it wont work, i think its an "user rights" problem When i use this dll form vb6 all works fine.
Any other solution?
Most restarts will require a sufficient access level to perform the task, often local admin. I'd suggest instead of ASP you use a shortcut on the user's desktop, to IISRestart or a NET STOP command.
You could fake that by having an administrator level skeduled batch file
executing say every 10 minutes, checking for existence of a file
"restart.iis" that could be created by a passworded asp
"Scripting.FileSystemObject"
execution.
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Piotr Trawiński |
last post by:
I have this notorious problem: at some point pgsql simply hangs up and
requires a restart.
---------------------------------------------------------------------------
-------...
|
by: localhost |
last post by:
In the Application_OnStart, I make some data calls and place the
results in the HTTP cache. Sometimes, the database is not available
when the application starts up, so I want to sleep for 20...
|
by: amdishigh |
last post by:
We are experiencing the following problems concerning ASP.NET: our
ASP.NET application, written in .NET 1.1 platform, and hosted in IIS 5.0
environment, experience frequent session timeout problem....
|
by: Pint |
last post by:
I would like to know if there is a programatic way to force the
Application object to restart. I have a hosted website where I will be
unable to control the webserver (eg:iisreset), and I would...
|
by: John A Grandy |
last post by:
In ASP.NET 1.1 and/or 2.0 .....
Is it possible to configure a web-app so that replacement of an .xml file
( physically located under the virtual dir root ) with a newer version of
the file...
|
by: Leonardo Curros |
last post by:
Hello,
I would like to know what's the best way to restart one service. I
would like to do it from the service itself. Is this possible?
I try it with
ServiceController.stop()...
|
by: kenneth fleckenstein nielsen |
last post by:
hi guru's
I want to restart my webservice when ever it throws an exception that isn't
cought. can i do that by web.config or iss or how ??
|
by: shorti |
last post by:
Can anyone explain in greater (and more comprehensive) detail what the
RESTART option does in the ALTER TABLE table ALTER COLUMN statement.
This is the description in Info Center:
RESTART or...
|
by: MarkusJNZ |
last post by:
Hi, I have two different applications running on 2003 both in two
different vitrual directories. One application runs on the .NET
framework 1.1 whilst the other runs on 2.0.
If I change the...
|
by: Brian Simmons |
last post by:
Hi All,
I know that if you modify the web.config file or any file in the App_Code
subfolder, that ASP.net 2.0 will "restart" the application (i.e. clear out
any sessions, etc...).
Are there...
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
|
by: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
| |