This content describes Snap 11. For Snap 10, the equivalent page will be in Snap 10 help

Previous Topic

Next Topic

Book Contents

Book Index

Troubleshooting your Snap WebHost installation

If you have a problem with your installation, please check the following before you contact Snap support.

Check that you have set up a critical error email address (see Logging settings).

Has the installation apparently stalled?

Check that you have not lost focus on the installation dialog by pressing [Alt]+[Tab] to see if it concealed behind another window.

Is the MSVCP71.DLL file installed?

If not, you have probably not installed python.

Is Python installed?

Run python at a command line, example output:

Python 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>

Is the correct version of Python installed?

Make sure the x86 (32 bit) version of Python is installed regardless of whether the server is 32 or 64 bit.

Python 2.4 is so longer supported, so ensure that you are using Python 2.5.4.

Are the Python Win32 extensions installed?

If they are not installed, you will see a message similar to the following in the setup window when you run setup.exe

Traceback (most recent call last):
 File "<string>", line 7, in <module>
ImportError: No module named win32com.axscript.client.pyscript
*** run_installscript: internal error 0xFFFFFFFF ****

Check the directories C:\python25\lib\site-packages\win32com and C:\python25\lib\site-packages\win32comext exist.

Is Python linked to IIS?

Check that http://localhost/snapwebhost/pythontest.asp shows the version of installed Python.

If a 404 error is received then either the virtual directory isn't set up correctly or 'Active Server Pages' need to be enabled within the 'Web Service Extensions' of IIS.

If the version of Python doesn't show then Python may not be registered properly with IIS (In the c:\python25\lib\site-packages\win32comext\axscript\client directory run 'pyscript.py --unregister' followed by 'pyscript.py' to re-register Python).

Can you access the root of the site (for a default installation this will be http://localhost/snapwebhost/login.html)?

If not there's a problem with the set up of IIS, it is most likely that the virtual directory hasn't been set up, it needs to point at the location C:\python25\lib\site-packages\snap2\spine (presuming default directories have been used).

Did you install the IIS 6 Metabase Compatibility module?

If you did not install the IIS 6 Metabase Compatibility module there will be some errors in the final window. These can be ignored as they just mean that the installer has been unable to automatically create the 'snapwebhost' virtual folder.

You will need to create it:

Create a virtual folder called 'snapwebhost' and point it at the directory C:\python25\lib\site-packages\snap2\spine (this may be different if you have not installed Python in the default location).

Adding the snaponline virtual directory Windows 2008

Can you access the login page (for a default installation this will be http://localhost/snapwebhost/login.asp)?

If the result is "The system is not currently available. Please try again later" then the 'Snap WebHost Admin Service' isn't running.

Are the other WebHost services running?

Check within Windows Administrative Tools, Services, they should be set to automatic start up.

Can you access WebHost via its URL (http://localhost/snapwebhost initially.)

You can reset the URL by running set_urls.pyc (default location-C:\python25\lib\site-packages\snap2\utils) to set the base URL before attempting to log in.

E.g. set_urls.pyc http://www.yoursite/snapwebhost https://www.yoursite/snapwebhost

Did you install .NET 4?

If you did not, SnapPool and AttachIt will not install correctly. Re-run the installer ensuring that it can install .NET 4.

Did you set ISAPI and CGI restrictions for .NET 4?

If you did not, you will receive the following error.

"The page you are requesting cannot be served because of the ISAPI and CGI Restriction list settings on the Web server."

Go to IIS manager and click on the server name. Then click on the "ISAPI and CGI Restrictions" icon under the IIS header. Change ASP.NET 4.0 from "Not Allowed" to "Allowed".

Have you received a message about message queues

“Could not create report message queues.Exception: Message Queuing has not been installed on this computer.”

It is possible to get this message if you have not run the Snap WebHost installer but ran the SnapPool installer without first installing the message queues. Add the Message Queuing server as described in Add Features in the Server Manager then run the setup.exe file in the SnapPool folder.

Is the respondents status and the data in the csv file not updating after a move/migration?

Check the SNAP.Resp log file and see if there is a message:
CRITICAL Failed to add email response to <survey name>.mdf

If so, you need to re-install the SnapPool component.

Run SnapPoolConfig.exe (Installed by default in C:\Program Files (x86)\Snap Surveys\SnapPool)

Are submissions from surveys not appearing as responses?

Check if the responses are being placed on the dead messages queue in error. Inspect the swhdeadresponses queue within the Messaging Queuing section of Computing Management.

If so, you need to register the comunications library.

c:\windows\microsoft.net\framework\v4.0.30319\regasm.exe snapcommunication.dll

See Also

Trouble-shooting extra features (Sync Server, Snap Mobile Anywhere, AttachIt)

Snap WebHost installation steps

Adding extra features to Snap WebHost

Upgrading an existing Snap WebHost installation