PRB: Error 80020009 Occurs on the First Visit to a Commerce Server 2000 Web Site (328282)
The information in this article applies to:
- Microsoft Commerce Server 2000 SP1
- Microsoft Commerce Server 2000 SP2
This article was previously published under Q328282 SYMPTOMS When you submit the first request to a Commerce Server 2000
Web site application, you receive the following error message:
HTTP 500.100 - Internal Server Error -
ASP Error
Error Type: (0x80080009) Exception Occurred
/sitename/page.asp, line
xx If the site is running in DEVELOMENT
mode, you may also receive the following error message: Microsoft VBScript Runtime (0x800A01A8) Object Required:
'Application(...)' CAUSE The
'/ sitename/ page.asp, line
xx' may point to the initialization of the
Commerce.AppConfig object:
Set mscsAppConfig = Server.CreateObject("Commerce.AppConfig")
Call mscsAppConfig.Initialize("A_SITE_NAME")
In this case, the 0x80020009 error occurs because the A_SITE_NAME
string parameter is not correct. RESOLUTION To resolve this problem, verify that your site name value
is the same as in the /Sitename/Csapp.ini file
WORKAROUND Do not hard code the site name value. Instead, base your
ASP code to retrieve the site name value from the Csapp.ini file. The Csapp.ini
file contains the site name value, the virtual directory value, and the address
key value. These are written during the unpup of a site. If you do this, and
the site is unpupped later under a different name, the code will still be
correct. MORE INFORMATION The Commerce Server 2000 retail site example includes the
recommended code to load the site name value and the virtual directory value
from the Csapp.ini file.
Modification Type: | Minor | Last Reviewed: | 5/23/2003 |
---|
Keywords: | kberrmsg kbprb KB328282 |
---|
|