Archive for the ‘IIS 6’ Category

See actual ASP Error database connection not defined

ASP Error:

Database Results Wizard Error
The operation failed. If this continues, please contact your server administrator.

To see the actual error, edit the "_fpclass\fdbdrgn1.inc" file and set the "fp_DEBUG = True".

ASP Error:

Database Results Wizard Error
The database connection named 'HRcontacts' is undefined.

Solution: I fixed this by adding the website to the app pool in IIS 6

PHP error No input file specified.

I received this error when changing the home virtual directory in IIS 6. The default location was at C:\inetpub\wwwroot and I changed it to E:\. This cause the No input file specified error. To fix it, I open the php.ini file and change the value of the doc_root variable. In my case, I set doc_root = E:\

Restart the server and all the php website work again.

ASP website not running in Windows Server 2003 IIS6

I just moved some ASP websites to a new installed Windows Server 2003 with IIS 6 installed. When I visit the website, it gave me a 404 error which mean files not found. This is the most common problem with a new site under IIS 6.0. By default, IIS 6.0 is only allowed to serve static content. No ASP, no ASP.NET… so calls to ASP pages will actually trigger a 404 error.

This fix this:
1.    Open IIS Manager, expand the master server node (that is, the Servername node), and then select the Web service extensions node.
2.    In the right pane of IIS Manager, right-click the extension that you want to enable. In this example, this is Active Server Pages.
3.    Click to select the Allow check box.

Internet Guest Account in Windows security

The internet guest account for IIS is IUSR_MACHINENAME where the machine name depends on the name of the computer. Giving the read/write permission of this account for different files or folders is important.

Active Server Pages, ASP 0131 Disallowed Parent Path

Internet Information Services 6.0

1. Open the Internet Services Manager in the Microsoft Management Console (MMC).
2. Right-click on your Default Web Site and select Properties.
3. Click the Home Directory tab.
4. Click the Configuration button.
5. Click the App Options tab.
6. Click to select the Enable Parent Paths checkbox.
7. Click the OK button until you return to the MMC.

Internet Information Services 7.0

1. Start Internet Services Manager.
2. Click Default Web Site, and then click Properties.
3. Double-click ASP in the Features pane.
4. Expand Behavior.
5. Click Enable Parent Paths.
6. Click True for Enable Parent Paths.
7. Click Apply.

CAUSE

loadTOCNode(1, ’cause’);

This is caused by disabling ASP’s “parent paths” for a Web site or application while using relative parent paths in an include statement.

RESOLUTION

loadTOCNode(1, ‘resolution’);

The best solution to the problem is to use absolute virtual paths from the root of the Web site instead of relative paths.

For example, if you use an include file named “mycode.inc” at the root of your server, the virtual path would be “/mycode.inc.” If you use the same include file in a virtual directory named “/includes” on your server, the virtual path would be “/includes/mycode.inc.”

Allow anonmymous access in IIS 6

How to configure Authentication in IIS

1. Start IIS Manager or open the IIS snap-in.
2. Expand Server_name, where Server_name is the name of the server, and then expand Web Sites.
3. In the console tree, right-click the Web site, virtual directory, or file for which you want to configure authentication, and then click Properties.
4. Click the Directory Security or File Security tab (as appropriate), and then under Anonymous and access control, click Edit.
5. Click to select the check box next to the authentication method or methods that you want to use, and then click OK.

Resource: http://support.microsoft.com/kb/324274