SmarterStats 3.x Help
This documentation is for a product that is no longer supported by SmarterTools.

Running Web Interface Under an Existing IIS Site

By default, SmarterStats will install a basic web server that allows you to start using SmarterStats immediately after installation. However, it is recommended that you move SmarterStats to a more robust and secure web server, such as Microsoft's Internet Information Server (IIS). To configure SmarterStats to run under and existing web site in IIS 5.0 or higher, follow the step-by-step instructions below.

This section explains how to setup SmarterStats as a virtual directory under an existing IIS site. This is not the recommended method. While it will function properly, it is recommended that you set SmarterStats up as its own IIS site instead. To learn how to set SmarterStats up on its own IIS site, click here.

Note: This topic assumes that you are familiar with IIS and how it works. SmarterTools recommends that you use the web server included with SmarterMail if you do not feel comfortable using IIS.

Note: It is important that SmarterStats runs as only a single instance on your server. SmarterStats will not function with separate virtual directories on the same server. This is the primary reason a dedicated IIS site is recommended.

Disable the SmarterStats Web Server

While not absolutely necessary, this step will improve security on your server. As a result, while not mandatory, this step is highly encouraged.

These steps will stop and disable the Web Server included with SmarterStats. They will also have the side-effect of disabling the shortcut to SmarterStats on your desktop until you update it with the new URL for SmarterStats.


Click on Start -> Program Files -> SmarterTools -> SmarterStats -> Configure SmarterStats Web Server


Click on the Stop button


Change the Startup Mode to Disabled and click on the Apply button


Click on the Close button

Add SmarterStats to an IIS Site


Click on Start -> Control Panel -> Administrative Tools -> Internet Information Services (IIS)


Open up the Web Sites tree and locate the site under which you want to place SmarterStats


Right-click on the web site and choose New -> Virtual Directory


When asked for an Alias, enter "SmarterStats", "Stats", or another name. This will be used in the URL to get to web interface, as in


For Path, use "C:\Program Files\SmarterTools\SmarterStats\MRS" (or use the location in which you installed SmarterStats).


When asked what permissions to grant, choose only Read and Run Scripts.


Finish the wizard

Verify IIS Settings


If you are using Windows 2003, verify that the ASP.NET v1.1.4322 Web Service Extension is set to Allowed in IIS.  If you do not see ASP.NET under Web Service Extensions, ensure that ASP.NET is enabled in the Application Server.  (Control Panel -> Add / Remove Programs -> Windows Components -> Application Server -> Details)


In IIS, right-click on the Config directory for the SmarterStats site and choose properties. Uncheck the Read flag and click on OK. If asked, choose to apply the change to child objects as well.


Ensure that the default document for the site is Default.aspx (under the Documents tab)

Update DNS


If any domains are already setup with SmarterStats, make sure to update their DNS records to point to the new site, if needed.

Test the Site


Open up a web browser, and type in the URL of the virtual directory (ex.