Microsoft KB Archive/284191

= InvalidCaseException Error Occurs with Mscscache.dll or Exprarch.dll =

Article ID: 284191

Article Last Modified on 10/18/2002

-

APPLIES TO


 * Microsoft Commerce Server 2000 Standard Edition

-



This article was previously published under Q284191



SYMPTOMS
When you attempt to retrieve a Field object for a field's collection by using ASP.net, you may receive the following error message:

Exception Details: System.InvalidCastException: The source object cannot be converted to the destination type since it does not support all the required interfaces.

This error may occur when you attempt to call any objects that are instantiated from the Mscscache.dll or Exprarch.dll file.



CAUSE
Earlier versions of Msado15.idl and Adoint.h were used in building the Mscscache.dll and Exprarch.dll files that are included in Commerce Server 2000.



RESOLUTION
To resolve this problem, obtain the latest service pack for Commerce Server 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

297216 INFO: How to Obtain the Latest Commerce Server 2000 Service Pack



STATUS
Microsoft has confirmed that this is a problem in Microsoft Commerce Server 2000. This problem was first corrected in Commerce Server 2000 Service Pack 1.



MORE INFORMATION
The earlier versions of Msado15.idl and Adoint.h provide different GUIDs for some of the interfaces, such as the Fields interface. Newer versions of Msado15.idl and Adoint.h provide updated GUIDs. ASP.net projects that attempt to instantiate and call objects from the Mscscache.dll and Exprarch.dll files expect these newer GUIDs for these interfaces.

These interfaces are intended primarily for use by late-bound clients that cannot use the GetData or SetData interfaces. Therefore, the impact of this problem is negligible in Windows 2000 and IIS 5.0.

Keywords: kbbug kbfix kbcommserv2000presp1fix kbcommserv2000sp1fix KB284191

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.