Return to doc.sitecore.com

Valid for Sitecore 5.3.2, 5.3.1
7.  Troubleshooting
Prev

In this section we provide the resolutions to some common installation problems.

7.1.  Installer Issues

Under certain conditions the Sitecore installation program may fail, for instance if there is not enough disk space available for installation to continue. If the installer generates error messages, use ALT-PRTSCRN to capture those messages, paste them into a Word document and make them available to Sitecore support (install@sitecoreusa.net in North America, http://support.sitecore.net for other locations).

If the installation program fails after the Install button is pressed in the Ready to Install dialog, the log file is automatically created in the following folder: C:\installlog.txt.
Note: the log file is recreated for each installation, thus you should copy it right after the unsuccessful installation. Otherwise the file will be overwritten.

If the installation program fails before the Install button is pressed in the Ready to Install dialog, you should run the installation once again with the following parameters:
Setup.exe /V”/log log.txt”,
where log.txt is the log file name. It will be created in the same folder with the .exe file.

For instance if the Sitecore installation executable has been stored as C:\temp\setup_Sitecore530Build061102.exe , execute a command equivalent to the following:

C:\temp\setup_Sitecore530Build061102.exe /V"/log C:\temp\scinst.log"

Note that it is possible to drag the setup executable onto a command window. Compress the log ( C:\temp\scinst.log in this example) and make it available to Sitecore support.

Another common issue results from ASP.NET not configuring default.html as a default document in IIS; the result is generally either an HTTP 403 Forbidden or Directory Listing Denied message. To confirm this is the issue, add default.html to the URL (for instance http://localhost/default.html); the page should load correctly. To correct IIS:

  1. Right-click My Computer and select Manage.
  2. Navigate to Services and Applications » Internet Information Services » Web Sites, right-click on the site in question and select Properties:

/upload/sdn5/articles 2/troubleshooting/troubleshooting sitecore 5.3/installer_issues1.jpg

       3.  If default.html is not listed under Enable Default Document on the Documents tab:
            /upload/sdn5/articles 2/troubleshooting/troubleshooting sitecore 5.3/installer_issues2.png
            Select Add and enter default.html as Default Document Name:

            /upload/sdn5/articles 2/troubleshooting/troubleshooting sitecore 5.3/installer_issues3.png

       4.  The entries should now include default.html:

            /upload/sdn5/articles 2/troubleshooting/troubleshooting sitecore 5.3/installer_issues4.png

Error 27502. Could not connect to Microsoft SQL Server. Server does not exist or access denied.

An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified).

These messages are generated when a Sitecore installation program cannot communicate with the database server:

/upload/sdn5/articles 2/troubleshooting/troubleshooting sitecore 5.3/installer_issues5.png

A number of potential factors to consider include:

/upload/sdn5/articles 2/troubleshooting/troubleshooting sitecore 5.3/installer_issues12.jpg

Error 27502. Could not connect to Microsoft SQL Server. Login failed for user

The following message indicates that the SQL credentials (username and password) entered are invalid:
/upload/sdn5/articles 2/troubleshooting/troubleshooting sitecore 5.3/installer_issues12.png

Ensure that SQL Server has been configured for mixed-mode authentication and that user and password information has been entered correctly.
Note: the password for the SQL user should not contain a semicolon. If it does, please change the password to not have a semicolon in it.

Could not find row in sysindexes for database ID 51, object ID 1, index ID 1. Run DBCC CHECKTABLE on sysindexes. Could not open new database ''. CREATE DATABASE is aborted. Could not attach database '' to file.

This message may be generated if database services are not running, or when trying to use Microsoft SQL Server Express Edition remotely with auto-attach, which is not supported.

7.2.  Firefox Support

Due to an error in Firefox 2.0 and 1.5.0.8 event model some Sitecore functionality doesn't work.

The package available on this page fixes the following problems:

Download and install the package to solve the problems.

Backup your solution before installing the package. Choose Overwrite when prompted.

7.3.  Default.html is not always registered as a default document

When ASP.NET is installed, IIS is typically configured to serve Default.html if it exists within a directory if no file is specified in the requested URL. Unfortunately installing IIS with ASP.NET does not always register default.html as a default document.

Introduction

Sitecore is an ASP.NET application hosted under Microsoft Internet Information Server (IIS). ASP.NET uses Default.html as a default document. A default document is the name of a file for a web server to process by default when a HTTP request matches a folder path but does not specify any file name within that folder.

If Default.html is not registered in IIS error messages will occur. For a list of the error messages and their meaning, please see the Microsoft Web Page at the following link.

http://support.microsoft.com/default.html?scid=kb;EN-US;318380

Warning: This document provides instructions specific to IIS6. In some versions of IIS7, configuration changes through the IIS user interfaces may remove text node values from web.config. You should back up your web.config before making any such changes. To avoid corrupting Sitecore’s web.config, it is recommended that you register Default.html for all web sites.

Registering Default.html

  1. Log into Windows as an administrator.
  2. Click Start.
  3. Right-click My Computer and select Manage.

    /upload/sdn5/products/sitecore 5.3/installation/troubleshooting/mycomputer_manage.jpg 

  4. Expand Services and Applications.
  5. Expand Internet Information Services (IIS Manager).

    /upload/sdn5/products/sitecore 5.3/installation/troubleshooting/computer management.jpg

  6. Apply Default.html to relevant web sites.
    • To apply to all websites right-click Web Sites and select Properties.

      /upload/sdn5/products/sitecore 5.3/installation/troubleshooting/web sites_properties.jpg

    • To apply to specific websites, expand Web Sites, right-click a website and select Properties.

      /upload/sdn5/products/sitecore 5.3/installation/troubleshooting/seletive websites_properties.jpg

  7. Select the Documents tab.
  8. Select the Enable Default Document checkbox.

    /upload/sdn5/products/sitecore 5.3/installation/troubleshooting/enable.jpg

  9. If Default.html does not appear in the list then click Add and type Default.html.

Note: Default.html must be capitalized.

IIS will check the directory and serve the first match from the list which exists, so either relocate default.html to come before index.htm or remove or rename this index.htm file from the WebSite directory under the Sitecore installation root so default.html will be served instead.

To confirm Sitecore will work if default.html is registered as a default document before making any changes, access:


Prev