Last Reviewed: September 2, 2004

Article: DTS0178

 

Applies to: dtSearch Web 6, 7

Symptom

An error page is returned when you try to search or access a document in dtSearch Web

Troubleshooting Steps

1. Find the error code on the error page

HTTP Error 401 - "Access Denied" or "Unauthorized"

Check the NTFS folder permissions for the /Scripts/dtSearch folder, the index folders, and the documents. If the indexes or documents are located on another server, please see this article for information on accessing documents between servers: dtSearch Web Document Access problems

HTTP Error 404 - "Not Found"

A 404 error means that the dtSearch Web files were not found.  Possible reasons for a 404 error when you try to search include:
(1) The search form created for one web site is being used with another.   If you have more than one web site on a server, you may have installed dtSearch Web on site "A" but not on site "B", so when a user tries to use the search form with site "B", the dtSearch Web application is not found.  To fix this problem,

(a) Run dtSearch Web Setup,

(b) Select site "B",

(c) Click the Install button to install dtSearch Web

(d) Generate a new search form for site "B"

(2) You have installed dtSearch Web under Windows 2003 Server and it is not registered as a Web Services Extension.  See this article for instructions to resolve this problem:  How to install dtSearch Web on Windows 2003 Server

HTTP Error 405 - Method Not Allowed

A 405 error means that the folder where dtSearch Web is installed does not have "Execute" permission enabled. To fix the problem:

(1) Start dtSearch Web Setup
(2) Select the web site where dtSearch Web is to be installed.

(3) Click the Install button. This will install the dtSearch Web files and will also set the "Execute" permission for the folder where dtSearch Web is installed.
(4) Open Internet Services Manager and check the folder where dtSearch Web was installed to verify that "Execute" permission is enabled.

dtSearch Web error -- the file could not be accessed because it is not in a virtual directory

See dtSearch Web Document access problems.

Http Error 500 - Internal Server Error

To interpret a 500 error, check the Event Viewer to obtain more information about the error that occurred (see below).

If there is nothing in the Event Viewer, check the location of dtisapi6.dll on your web server and on the search form.  If dtisapi6.dll is not in the location given in the search form, the server may return a 500 error without logging anything.  For example, if the search form references /scripts/dtSearch/dtisapi6.dll and dtSearch Web is really in /dtSearch/dtisapi6.dll, the server will not find dtisapi6.dll when a search is started and will return the 500 error.  If the server has more than one web site, check that the virtual directory where dtisapi6.dll is located is defined for the server that is being used for the search.

2. Check the Event Viewer

To access the Event Viewer in Windows 2000 or Windows XP, click Start > Settings > Control Panel > Administrative Tools > Event Viewer. Look in the System log for an error at the same time the message appeared. The log entry will contain an Event ID that you can use to determine the source of the problem.

Event ID 36 The server failed to load application '/LM/W3SVC/5/Root'. The error was 'General access denied error'.

See these articles on the Microsoft web site for troubleshooting steps:

Minimum NTFS Permissions Required for IIS 5.0 to Work
http://support.microsoft.com/directory/article.asp?ID=KB;EN-US;Q271071&

PRB: Logon Failure: Unknown User Name or Bad Password When You Run Out-of-Process Webs (Q255770)      
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q255770

Event ID 36 Server failed to load application '  '.  The error was '80004005'.

This error occurs when an application does not have a name specified or does not have execute permission enabled.  To fix the problem,

(1) Open Internet Services Manager

(2) Open the web site

(3) Open the /scripts/dtSearch application

(4) Under Application Configuration, click "Create"

(5) Enter "dtSearch" as the name

(6) Make sure "Execute" permission is set.

(7) Close the Properties dialog box

For more information, see:

Err Msg: Server Failed to Load Application, 80004005
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q200514

Event ID 36 The server process could not be started because the configured identity is incorrect. Check the username and password.

Event ID 10004  DCOM got error "<varies>" and was unable to logon <account name> in order to run the server: <numeric id>

This error occurs when the IWAM_machine identity is "out of sync" in the metabase.   A script, Synciwam.vbs, must be run to correct the problem.  For more information, see:
PRB: Logon Failure: Unknown User Name or Bad Password When You Run Out-of-Process Webs
http://support.microsoft.com/default.aspx?scid=kb;en-us;255770

If Synciwam.vbs does not work or generates an error, see:
http://www.iisfaq.com/Default.aspx?tabid=3095

Event ID 36  No such interface supported

Solution 1

(1) Click Start > Settings > Control Panel > Administrative Tools > Internet Information Services

(2) Locate the /Scripts/dtSearch folder under the default web site

(3) Right-click the dtSearch folder and select Properties

(4) Change the "Application Protection" setting to "Low"

(5) Restart IIS

If this fixes the problem, it apparently indicates a synchronization problem with an IIS-related password. This article explains how to fix the underlying cause:

http://www.iisfaq.com/default.aspx?View=A463&P=170

Solution 2

If Crystal Reports 8 was installed, see:

http://support.businessobjects.com/library/kbase/articles/c2007581.asp

Additional Resources

Microsoft support site (search for "Event ID NN" where NN is the event ID from the Event Viewer).
http://search.microsoft.com/advanced_search.asp?siteid=us/dev

General information on fixing problems in Internet Information Server

http://www.iisfaq.com

Event ID diagnostic tips, searchable by Event ID code, with links to Microsoft support articles

http://www.eventid.net

Reference information on IIS Event IDs

http://www.iisfaq.com/Default.aspx?tabid=2568