Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

all session restarted when script is run to build new web ..

 
   Web Hosting and Web Master Forums (Home) -> IIS RSS
Next:  'dbmmanage' - Basic question  
Author Message
ngadacz

External


Since: Dec 15, 2004
Posts: 3



(Msg. 1) Posted: Wed Jan 19, 2005 3:51 pm
Post subject: all session restarted when script is run to build new web site
Archived from groups: microsoft>public>inetserver>iis (more info?)

hello all,

I inherited a script which builds new web sites (windows 2003), it does
a bunch of work but in essence
- copies files
- edit folder rights
- adds the dns entries
- uses osql for executing stored procedures
- adds the web site (iisweb.vbs)
- adds 2 virtual web directories (iisvdir)
- reads from the metabase to set up web log program
(var query = "SELECT Name, ServerComment FROM IIsWebServerSetting WHERE
ServerComment='" + serverComment + "'";

var providerObj = GetObject("winmgmts:/root/MicrosoftIISv2");

var sites = providerObj.ExecQuery(query);
)

80% of the time this script is run all of the current sessions die on
the computer. what command would cause this? as we build more and more
sites it is becoming a real problem.
any help would be great,

nicholas.gadacz

 >> Stay informed about: all session restarted when script is run to build new web .. 
Back to top
Login to vote
ngadacz

External


Since: Dec 15, 2004
Posts: 3



(Msg. 2) Posted: Thu Jan 20, 2005 8:40 am
Post subject: Re: all session restarted when script is run to build new web site [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

There is nothing which does a "net stop iisadmin" or a "net stop w3svc"


does anyone know of a good script to set up new sites in IIS? what
happens if i wanted to do 20 new sites a day? what tool would i use?
thanks again,

nicholas.gadacz

 >> Stay informed about: all session restarted when script is run to build new web .. 
Back to top
Login to vote
user641

External


Since: Aug 22, 2003
Posts: 1637



(Msg. 3) Posted: Thu Jan 20, 2005 9:14 am
Post subject: Re: all session restarted when script is run to build new web site [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

<ngadacz.DeleteThis@ftresearch.com> wrote in message
news:1106178711.545093.146790@c13g2000cwb.googlegroups.com...
 > hello all,
 >
 > I inherited a script which builds new web sites (windows 2003), it does
 > a bunch of work but in essence
 > - copies files
 > - edit folder rights
 > - adds the dns entries
 > - uses osql for executing stored procedures
 > - adds the web site (iisweb.vbs)
 > - adds 2 virtual web directories (iisvdir)
 > - reads from the metabase to set up web log program
 > (var query = "SELECT Name, ServerComment FROM IIsWebServerSetting WHERE
 > ServerComment='" + serverComment + "'";
 >
 > var providerObj = GetObject("winmgmts:/root/MicrosoftIISv2");
 >
 > var sites = providerObj.ExecQuery(query);
 > )
 >
 > 80% of the time this script is run all of the current sessions die on
 > the computer. what command would cause this? as we build more and more
 > sites it is becoming a real problem.
 > any help would be great,

Look for something that stops the web service.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: all session restarted when script is run to build new web .. 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
IIS has to be restarted - I have to restart IIS at least 3 times a day. There are no errors in the Event Viewer. Once IIS is restarted everything works properly. I'm running OWA, corporate intranet site, 2 public websites, and a custom webpage for entering sales for previous..

WWW Publishing Service needs to be restarted! - Hello All, I have a win2003 server running IIS 6.0. Recently, my client complained that they couldn't access the OWA to get their Exchange e-mail. When I went to IIS and right-clicked on iistart.htm and browse, I got a "page cannot be displayed e...

multiple DCOM errors require explorer to be restarted - On a windows 2000 server, multiple DCOM events 10010, The server {GUID} did not register with DCOM within the required timeout, are logged, then one of the custom apps gives activex component cannot create object. This has been ongoing for about a few..

PWS // IIS hangs after Visual Studio build process - Hi all, I have a problem with my personal webserver which I am using for development purposes for a website on Windows XP Pro. I use Visual Studio .Net 2003 and .net framework 1.1 Each time I build my project and hit reload in my browser window, the..

SelfSSL Failed to build the subject name blob: 0x80092023 - Hi All, I hope this is the correct group. If not, please direct me. I installed SelfSSL from the IIS6 resource kit on my Windows 2003 R2 server and tried to create a certificate. At a command prompt, I typed in: selfssl.exe /T /N:mail.domain.com..
   Web Hosting and Web Master Forums (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]