Microsoft KB Archive/246622: Difference between revisions
(importing KB archive) |
(No difference)
|
Latest revision as of 17:13, 18 July 2020
Article ID: 246622
Article Last Modified on 6/24/2004
APPLIES TO
- Microsoft Site Server 3.0 Commerce Edition
This article was previously published under Q246622
SYMPTOMS
When you shop a Microsoft Site Server 3.0 Commerce site, an error message similar to the following occurs in the browser :
In the event log, an event ID similar to the following is logged:
If you inspect a debug log generated with CDB, Exception Monitor, userdump, windbg, or a similar debugger, the following error message appears:
CAUSE
The Commerce.DBStorage object is being used improperly. For example, the following two code segments will generate the above errors:
'UtilGetOrderFormStorage() creates a Commerce.DBStorage object and 'calls InitStorage Set mscsOrderFormStorage = UtilGetOrderFormStorage() If Not IsNull(mscsOrderFormStorage) Then 'do some work End If
Set mscsOrderFormStorage = UtilGetOrderFormStorage() If Not IsEmpty(mscsOrderFormStorage) Then 'do some work End If
RESOLUTION
Do not pass the DBStorage object as a parameter to IsNull() or IsEmpty(). Instead, use the DBStorage object as a parameter to IsObject(). For example:
Set mscsOrderFormStorage = UtilGetOrderFormStorage() If IsObject(mscsOrderFormStorage) Then 'do some work End If
Additional query words: DoPipeError DBStorage InitStorage
Keywords: kbprb kbpending KB246622