Controlling Anonymous Logins During Debugging

Feature Only in Enterprise Edition   This feature is supported only in Visual C++ Enterprise Edition. For more information, see .

You have to decide whether the Internet Information Server (IIS) will allow anonymous logins onto the computer that is running Visual C++ Enterprise Edition and IIS. You can set this with the Allow Anonymous checkbox on the Services Properties dialog box. The WWW service must be running before you can change its properties, but the properties are persistent across stopping and starting the WWW service. The WWW service, IIS, and INETINFO.EXE are equivalent. For more information, see the topic “Controlling Anonymous Access” in the Internet Information Server documentation.

To access the Service Properties dialog box

  1. Run the Internet Service Manager from the IIS program group.

  2. Select the WWW service.

  3. Click the right mouse button to bring up the shortcut menu, and then click Properties/Service Properties.

If you want the IIS to allow both anonymous logins and debugging ISAPI DLLs or filters, then you must add the IUSR_xxx account to the Administrators group using the User Manager program in the Administrative Tools group (xxx is the name of the NT machine on which IIS was installed). The IUSR_xxx account is automatically created when you install IIS. If anonymous logins are allowed, IIS uses the IUSR_xxx account when connecting to SQL Server.

If you disallow anonymous logins, there are no extra options required to do SQL debugging because the IUSR_xxx account is used only for anonymous logins. If you disallow anonymous logins, then SQL Server uses the user account of the person that is running both Visual C++ Enterprise Edition and IIS.