Partilhar via


How to Restore AuthFilter Functioning

If you upgrade to Commerce Server 2009 from an earlier version of Commerce Server, and you use the AuthFilter ISAPI filter to help manage user authentication in your Web application, use of your Web application, including the associated Web services may fail because of the AuthFilter DLL (siteauth.dll) not being found by Internet Information Services (IIS). Specifically, you may see the following event message in the event log:

  • Could not load all ISAPI filters for site/service. Therefore startup aborted.

Note

This issue can also occur if you uninstall Commerce Server and then reinstall Commerce Server to a different file system location.

To correct this issue, perform the following tasks.

To copy the AuthFiles folder

  1. Click Start, click Run, type explorer, and then click OK.

  2. In Windows Explorer, move to the Commerce Server SDK samples directory, for example, <drive:>\<Commerce Server 2007 Installation Path>\SDK\Samples.

  3. Copy the AuthFiles folder to the <drive:>\Inetpub\wwwroot\<Your Web Site> folder.

To provide the correct path of the AuthFilter DLL

  1. Click Start, point to Programs, point to Administrative Tools, and then click Internet Information Services (IIS) Manager.

  2. In Internet Information Services (IIS) Manager, expand <computername>, expand Web Sites, right-click Default Web Site, and then click Properties.

  3. On the ISAPI Filters tab, select the AuthFilter filter and then click Edit.

  4. In the Add/Edit Filter Properties dialog box, click Browse and locate the correct Commerce Server 2009 path of the associated executable file "siteauth.dll". This file is located in the <drive:>\Program Files\Microsoft Commerce Server 2009 directory.

    Note

    On 64-bit systems, always use the 64-bit version of the AuthFilter DLL, located (by default) in the folder <drive:>\Program Files\Microsoft Commerce Server 2009. Do not use the 32-bit version of the AuthFilter DLL, located (by default) in the folder <drive:>\Program Files (x86)\Microsoft Commerce Server 2009.

See Also

Other Resources

Authentication Concepts and Tasks

Securing the Deployment