Charora's website  
Home arrow Technical Articles arrow Microsoft.NET arrow ASP.NET
Wednesday, 08 September 2010
 
 
ASP.NET
What do I do if SMTP is not showing up in IIS? PDF Print E-mail
Written by Hari Kishan Charora   
Thursday, 31 August 2006
If SMTP is not showing up in the IIS Administrator Console, this either means it is not installed, or not properly recognized by IIS.

If you know that SMTP is installed, from a command prompt, type the following command:
regsvr32 %systemroot%\system32\inetsrv\smtpsnap.dll

This should register the necessary .dll file for IIS to recognize the service.

If SMTP is not installed, you will need to do the following:

1. Click Start -> Settings -> Control Panel -> Add/Remove Programs
2. Click the Add/Remove Windows Components button
3. Select Application Server and click Details.
4. Select Internet Information Services (IIS) and click Details.
5. Check the box for SMTP Service.
Once the installation is complete, open the IIS Manager and you should see the "Default SMTP Virtual Server".


However, by default, the SMTP Server can be connected to from *any* outside source. To restrict this, do the following:

1. Right-click Default SMTP Virtual Server, click Properties.
2. Click the Access tab.
3. Click the Connection button.
4. Change the option to "Only the list below"
5. Click Add, and type the server's IP address or range of IPs into the correct fields.

Write Comment
Last Updated ( Tuesday, 06 November 2007 )
 
Connection Timeout vs Session Timeout in IIS PDF Print E-mail
Written by Administrator   
Thursday, 31 August 2006
Connection Timeout
This value is the number of seconds that the server will wait before an inactive connection is disconnected.

Setting the Connection Timeout
You can control the length of time before inactive users are disconnected from the server (the connection timeout), in the master properties for all Web sites, or on a site specific basis. The IIS 4.0 Connection Timeout is set in the Web Site property sheet and defaults to fifteen minutes.

For dedicated applications, you may want to increase the connection timeout in order to facilitate greater user connectivity. For sites with a large number of hits per day, you may want to decreased the connection timeout value to more quickly release inactive connections, and increase the number of users that will be able to access the site.

Set the Connection Timeout by doing one of the following:
To set the Connection Timeout master properties, right-click the server in ISM, and select Properties. Select the WWW Service and click Edit in the server properties dialog box. Enter the timeout value (in seconds) in the Connection Timeout text box of the Web Site property sheet. To set the Connection Timeout for a specific Web site, right-click the Web site in ISM, and select Properties. In the Web Site property sheet, enter the timeout value in the Connection Timeout text box.

Setting the Session Timeout
You can control the length of time before an application session is terminated (the session timeout), in the master properties for all Web sites, or on a site specific basis. For some applications you may want to increase the session timeout to promote more stable user connectivity. For applications with a large amount of users, you may want to decrease the session timeout value to release inactive sessions more rapidly.

Set the Session Timeout by doing one of the following:
To set the Session Timeout master properties, right-click the server in ISM, and select Properties. Select the WWW Service and click Edit in the server properties dialog box. Select Home Directory, then Configuration, and the App Options property sheet. Enter the session timeout value (in minutes) in the Session timeout text box.

To set the Session Timeout for a specific application, right-click the Web site hosting the application in ISM, and select Properties. In the Home Directory property sheet, click Configuration, then App Options, and enter the timeout value in the Session timeout text box.

Write Comment
Last Updated ( Tuesday, 06 November 2007 )
 
Google





Lost Password?
No account yet? Register
Archive
Newsflash
"Keep away from people who try to belittle your ambitions. Small people always do that, but the really great make you feel that you, too, can become great."
- Mark Twain
 
Related Items
Sections
 
Top! Top!