Applies to: SmarterStats 3.x and higher
When you try to view the statistics for a site, you may receive one of the following error messages in the browser window:
- The statistics service is down at this time. In the meantime, you may use any of the functions in the Config area. Please contact support for assistance.
- The service has recorded an error. No data can currently be shown. Please contact Support.
This message can be shown in several different circumstances. Follow the steps below to identify the problem and what resolution needs to be taken. Resolutions appear together with the causes.
Problem 1 - Charting not working
If any data elements appear on the welcome page (like Total Bandwidth, etc), but the charts are missing, the problem lies in the charting component. Follow the instructions below to resolve the problem. After each step, check to see if charts appear, and if so, you do not need to continue the steps.
Resolution
- Ensure that the latest version of Microsoft DirectX is installed on the server. Microsoft's default implementation of OpenGL included on Windows 2000 and 2003 servers contains a bug that is only resolved with DirectX.
- Check the NTFS permissions on the MRS\ChartImages and directory, and ensure that the ASPNET (IIS 5, Windows 2000) or NETWORK SERVICE (IIS 6, Windows 2003) user has permissions to write to the folder.
- If you got to this point with no success, your permissions may be locked down so tight that the charting component cannot function. To grant access to the charting component, do the following:
- Download the GacUtil utility from here and extract it into MRS\bin directory. Then go to a command prompt (by clicking on Start -> Run, and typing "cmd") and type the commands below:
- C:
- cd "\program files\smartertools\smarterstats\mrs\bin"
- gacutil -i Nevron.DataManipulation.dll
- gacutil -i Nevron.Graphics2D.dll
- gacutil -i Nevron.GraphicsCore.dll
- gacutil -i Nevron.GraphicsGL.dll
- gacutil -i Nevron.NChartCore.dll
- gacutil -i Nevron.NChartServer.dll
- gacutil -i Nevron.Standard.dll
- gacutil -i Nevron.UIControls.dll
- gacutil -i Nevron.Utility.dll
- exit
Problem 2 - Log path to IIS site incorrect or log format incorrect
The next most common problem is that the log file was entered incorrectly.
Resolution:
To resolve this problem involves a few steps.
- Open the IIS Manager from Control Panel -> Administrative Tools. This must be done on the server itself.
- Right-click on the specific web site itself and choose Properties
- Go to the Web Site tab
- Note down the Active Log Format
- Click on properties next to the active log format box
- Near the bottom of the General Properties tab, you'll find a box that says "Log file directory". Note down the contents of that box, as well as the Log file name below it.
- The log file path is composed of the log file directory plus the first part of the log file name. For example:
- Log file directory: C:\WINDOWS\System32\LogFiles
- Log file name: W3SVC165\exyymmdd.log
- Full log path for SmarterStats: C:\WINDOWS\System32\LogFiles\W3SVC165
- Log into SmarterStats as the administrator (Site ID=admin)
- Click on the manage link next to the site and choose Site Setup
- On the third page, ensure that the log path entered and the log file format are the same as what was shown in IIS
- If not, correct them and finish the wizard to save the settings
- If the log format changed, and the log file path did not change, and you still have all original logs, go to manage -> site info from the Manage Sites page and choose to re-import
- If the log format did not change, the import process should be automatic. You can see the status on the Site Info page.
Problem 3 - Other import error.
To identify an issue with importing when the previous two causes did not help, go to the Site Info page, and an error should be listed.
Possible work around
If all else fails, try giving the EVERYONE user full control to the SmarterStats\MRS directory.