https://www.betaarchive.com/wiki/index.php?title=Microsoft_KB_Archive/328282&feed=atom&action=history
Microsoft KB Archive/328282 - Revision history
2024-03-29T08:00:07Z
Revision history for this page on the wiki
MediaWiki 1.39.3
https://www.betaarchive.com/wiki/index.php?title=Microsoft_KB_Archive/328282&diff=181629&oldid=prev
3155ffGd: importing KB archive
2020-07-18T16:53:59Z
<p>importing KB archive</p>
<p><b>New page</b></p><div><div id="nsbanner"><br />
<br />
<div id="bannerrow1"><br />
<br />
{|<br />
| Knowledge Base<br />
|<br />
|}<br />
<br />
<br />
</div><br />
<div id="TitleRow"><br />
<br />
= <span id="KB328282"></span>PRB: Error 80020009 Occurs on the First Visit to a Commerce Server 2000 Web Site =<br />
<br />
<br />
</div><br />
<br />
</div><br />
<div id="nstext" valign="BOTTOM"><br />
<br />
Article ID: 328282<br />
<br />
Article Last Modified on 5/23/2003<br />
<br />
<br />
-----<br />
<br />
APPLIES TO<br /><br />
<br /><br />
<br />
* Microsoft Commerce Server 2000 Service Pack 1<br />
* Microsoft Commerce Server 2000 Service Pack 2<br />
<br />
<br />
-----<br />
<br />
<div class="notice_section"><br />
<br />
This article was previously published under Q328282<br />
<br />
</div><br />
<div class="symptoms_section"><br />
<br />
== SYMPTOMS ==<br />
<br />
When you submit the first request to a Commerce Server 2000 Web site application, you receive the following error message:<br />
<div class="errormessage"><br />
<br />
HTTP 500.100 - Internal Server Error - ASP Error<br /><br />
<br /><br />
Error Type:<br /><br />
(0x80080009)<br /><br />
Exception Occurred<br /><br />
/<code>sitename</code>/<code>page</code>.asp, line <code>xx</code><br />
<br />
</div><br />
If the site is running in DEVELOMENT mode, you may also receive the following error message:<br />
<div class="errormessage"><br />
<br />
Microsoft VBScript Runtime (0x800A01A8)<br /><br />
Object Required: 'Application(...)'<br />
<br />
</div><br />
<br />
</div><br />
<div class="cause_section"><br />
<br />
== CAUSE ==<br />
<br />
The '/<code>sitename</code>/<code>page</code>.asp, line <code>xx</code>' may point to the initialization of the Commerce.AppConfig object:<br />
<div class="indent"><br />
<br />
Set mscsAppConfig = Server.CreateObject(&quot;Commerce.AppConfig&quot;)<br /><br />
Call mscsAppConfig.Initialize(&quot;A_SITE_NAME&quot;)<br /><br />
<br />
<br />
<br />
</div><br />
In this case, the 0x80020009 error occurs because the A_SITE_NAME string parameter is not correct.<br />
<br />
</div><br />
<div class="resolution_section"><br />
<br />
== RESOLUTION ==<br />
<br />
To resolve this problem, verify that your site name value is the same as in the /<code>Sitename</code>/Csapp.ini file<br />
<br />
</div><br />
<div class="workaround_section"><br />
<br />
== WORKAROUND ==<br />
<br />
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.<br />
<br />
</div><br />
<div class="moreinformation_section"><br />
<br />
== MORE INFORMATION ==<br />
<br />
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.<br />
<br />
</div><br />
<br /><br />
<br />
Additional query words: kbCommServ2000 0x80020009 initialize csapp.ini 0x800A01A8<br />
<br />
Keywords: kberrmsg kbprb KB328282<br />
<br />
<div class="footer"><br />
<br />
<br /><br />
<br />
<br />
-----<br />
<br />
[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]<br />
<br />
<span>© Microsoft Corporation. All rights reserved.</span><br />
<br />
<br />
</div><br />
<br />
</div></div>
3155ffGd