I was following the instruction given in the link http://msdn.microsoft.com/library/default.asp?url=/library/en-us/csvr2002/htm/cs_sp_sdk_ayqp.asp In doing so I have got the following error while compiling OrderLevelDiscountComponents error C2065: 'CATID_MSCSPIPELINE_POOLABLE' : undeclared identifier