"Type Mismatch:'Application(...)'" Error in Shop.asp

Last reviewed: July 16, 1997
Article ID: Q155432
The information in this article applies to:
  • Microsoft Commerce Server, version 2.0

SYMPTOMS

If an Application variable is not set in Global.asa, you may receive the following error message in Shop.asp:

   Type mismatch: 'Application(...)'

CAUSE

This error message may occur when the CreateObject() call fails to create the specified Commerce Server (or some other) Component Object Model (COM) component. Most likely, this may be a problem related to database access or storage.

WORKAROUND

If Microsoft SQL Server is installed on a different computer, perform the following steps to make sure that Internet Information Server (IIS) can access it:

  1. Enable the Guest account on the SQL Server.

  2. Create a new user account called IUSR_<Commerce Server machine name> and add it to the Guests group on the SQL Server.

MORE INFORMATION

For more information, refer to the "Database Considerations" topic in the "Managing Security" chapter of the Commerce Server documentation. Also, try to create the components in question outside the Commerce Server store in VBScript and see if you are able to use the methods of those components.


Additional query words: security.doc kbfaq
Keywords : CommMisc kbusage kbfaq
Version : 2.0
Platform : WINDOWS
Issue type : kberrmsg
Resolution Type : kbworkaround


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: July 16, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.