Creating a Custom Reviewer Check

Discussion created by gaching on Dec 6, 2010
Latest reply on Dec 16, 2010 by dvarshnay-esristaff
I downloaded a sample custom reviewer check application from the ArcGIS Resource Center:
Data Reviewer - Creating a Custom Reviewer Check | ArcGIS Resource Center

In class 'IsNumericCustomCheck.vb' and function 'Excute', the following code generate an error:

Dim pPLTSError As IPLTSError2

pPLTSError = New PLTSError

System.InvalidCastException: Unable to cast COM object of type 'System.__ComObject' to interface type 'ESRI.Production.Engine.IPLTSError2'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{60AB3FBB-00D1-405D-9BEE-30BD93CEA872}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).

I'm using VS 2010 and ArcGIS 10