Article ID: 328282
Article Last Modified on 5/23/2003
APPLIES TO
- Microsoft Commerce Server 2000 Service Pack 1
- Microsoft Commerce Server 2000 Service Pack 2
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:
If the site is running in DEVELOMENT mode, you may also receive the following error message:
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.
Additional query words: kbCommServ2000 0x80020009 initialize csapp.ini 0x800A01A8
Keywords: kberrmsg kbprb KB328282