Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Most embarrased: How do you start and stop IIS?

 
Logged in as: Guest
arrSession:exec spGetSession 2,7,33289
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [General Forum] >> Other Programming/Scripting Languages >> Most embarrased: How do you start and stop IIS?
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Most embarrased: How do you start and stop IIS? - 4/9/2006 7:27:47 AM   
  Mattis

 

Posts: 7
Score: 0
Joined: 4/9/2006
Status: offline
That's really my question. And do I need to make configurations before I get going or can I just take it "for a ride" immidiately? Also, where do I put the scripts, in cgi-bin as usal?


Thanks a bunch

Mattis

< Message edited by Mattis -- 4/9/2006 8:07:05 AM >
 
 
Post #: 1
 
 RE: Most embarrased: How do you start and stop IIS? - 4/10/2006 5:28:40 AM   
  VBS

 

Posts: 110
Score: 0
Joined: 3/2/2005
From: Lebanon
Status: offline
I dont know if i got u correctly,
do u wanna stop and start IIS using cgi-bin
or on the server?

If u meant on the server
u could simply tyoe this command in the cmd
iisreset /restart  ===> to restart The IIS
iisreset /start ===> to start   The IIS
iisreset /stop ===> to stop The IIS

for more information, type iisreset /?

Hope this is what u need


Best Regards
Firas S Assaad

_____________________________

Anything in VB or VBScript or ASP email me or IM on firas489@hotmail.com or firas489@gmail.com

(in reply to Mattis)
 
 
Post #: 2
 
 RE: Most embarrased: How do you start and stop IIS? - 4/10/2006 6:17:50 AM   
  Mattis

 

Posts: 7
Score: 0
Joined: 4/9/2006
Status: offline
Actually I solved the issue with starting/stopping the IIS from the desktop. What I didn't know though was that its' possible to start/stop it from a script. Is it? But my main issue this far is where I shall put the scripts I create. Should they go in a cgi_bin or anywhere else, does IIS use a CGI at all, and is VB installed together with the server? Also does VB still use cgi.bas/cgi32.bas and is IIS the same as Windows Webserver and how do I get in contact with the server through my web browser? Do I just type "http://localhost/" in the address field?

Thanks a lot for your help though

Mattis

< Message edited by Mattis -- 4/10/2006 9:39:32 AM >

(in reply to VBS)
 
 
Post #: 3
 
 RE: Most embarrased: How do you start and stop IIS? - 4/10/2006 10:02:27 PM   
  Snipah


Posts: 1341
Score: 6
Joined: 11/1/2004
From: Netherlands
Status: offline
Sounds to me that you are very new to IIS, which is not a problem, only there is online documentation for installing and using IIS for Windows.

http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/750d3137-462c-491d-b6c7-5f370d7f26cd.mspx?mfr=true

Please follow the above link from Microsoft, which will lead you to the "Installing IIS 6.0" website, where also links and tips are mentioned.

Good luck.

_____________________________

For more information, please see the "Read me First" topic.

http://www.visualbasicscript.com

(in reply to Mattis)
 
 
Post #: 4
 
 Error in server application - 4/26/2006 12:39:51 AM   
  Mattis

 

Posts: 7
Score: 0
Joined: 4/9/2006
Status: offline
Thanks for your link, but I still can't get a connection with the server. I've tried finding help in your link above, but I can't find anything that addresses my problem. I've tried entering

http://localhost/
http://127.0.0.1/
http://localhost:80/
http://127.0.0.1:80/

and all I get is

The server found an error when an application program was loaded in connection with your request. More information can be found in the event log. Ask the adminitrator for help.

When I look in the eventlog in the systemslog it says

The server couldn't load the application program /LM/W#SVC/1/ROOT. The error was Server process couldn't be started because the configured identity was faulty/defective Check username and password.

I have tried to check the usernames and passwords and as far as I can tell they seem fine. Besides I don't give a password when I call on the server, I never have. The ironic thing is I have been in contact with the server before, but this time I don't even get a login messagebox. I have tried to shut my firewall down, but I still get the same result. I have even tried to reinstall the server. I also thaught it might have something to do with the webbrowser, so I tried with IE and got the same results.


My Best Regards
Mattis

< Message edited by Mattis -- 4/26/2006 2:44:14 AM >

(in reply to Snipah)
 
 
Post #: 5
 
 RE: Error in server application - 4/29/2006 1:44:18 AM   
  Mattis

 

Posts: 7
Score: 0
Joined: 4/9/2006
Status: offline
This issue was solved by:

Restoring configuration 0 (right click on Internet Information Services and it's there at the top).
Removing IIS completely with the W2k-CD (by deselecting it under install additional components - in the swe ver.)
Restarting the computer
Reinstalling IIS together with Network Services
Choosing update for localhost:80 in the browser


Voilą!



I don't know if all this would really be nessecary, but this is how I did it. If anyone knows how to make this list above shorter, then by all means make amendments to it. I believe both I and others browsing issues on this server would be greatful.

Mattis

Happy holidays!

< Message edited by Mattis -- 4/29/2006 1:47:00 AM >

(in reply to Mattis)
 
 
Post #: 6
 
 RE: Error in server application - 4/29/2006 2:48:24 AM   
  Mattis

 

Posts: 7
Score: 0
Joined: 4/9/2006
Status: offline
Bummer!

Everything looked so great, but after restarting my computer I still get the same error message as above in post 4.

Also in the systemlog under Error it says:
Source: DCOM Event-ID: 10004

DCOM got the error overlapped I/O-operation is in progression and couldn't log in.
\IWAM_*Computer name* to run the server.

If anyone has any idea about what to do with this, then pleeaase write me!


Mattis

< Message edited by Mattis -- 4/29/2006 3:47:15 AM >

(in reply to Mattis)
 
 
Post #: 7
 
 Progress? - 4/29/2006 5:03:29 AM   
  Mattis

 

Posts: 7
Score: 0
Joined: 4/9/2006
Status: offline
I found IWAM_*Computer name* in Users under Local Users and Groups under Computer Managing.

I also remember the computer got some problems with some logging in and asked me if I wanted to use what could have been just this address/account at later logging ins and I answered yes, which could have been sort of stupid I guess. Question is how you change this back to your own account. Should there even be a predefined account at all?

This is what the tab says:

General:

IWAM_*Computername*

Full Name: Account for start of IIS-Process
Description: Ready account for Internet Information Services for starting applications outside of the process(There is that application again...).

The user cannot change password
The password is never invalid

Member of:

Guests

Profile:

*empty*


Grateful for replies

Mattis

Ps I've tried to translate names of folders and such as best I could from swedish Ds

(in reply to Mattis)
 
 
Post #: 8
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [General Forum] >> Other Programming/Scripting Languages >> Most embarrased: How do you start and stop IIS? Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts