"Type Mismatch:'Application(...)'" Error in Shop.asp
Article ID: 155432
Article Last Modified on 9/30/2003
APPLIES TO
- Microsoft Commerce Server 2.0
This article was previously published under Q155432
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:
- Enable the Guest account on the SQL Server.
- 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: kbfaq kbusage KB155432