How to properly unregister a Commerce Server pipeline component

My team is implementing a custom Commerce Server 2007 (which just RTM’d last week btw) and I had to remove a custom pipeline from the stack. I removed all references from the registry, but forgot to remove from the pipeline pcf file.

Here’s the error I was getting when trying to load aspx pages.

Component Execution failed for component[0x1] hr: 0x80040154
CLSID: {EEA3A080-B399-11DA-A94D-0800200C9A66}
Could not create Component . This may be a component registration issue.

All you need to do to fix this is open up the pcf file in the pipeline editor, delete the reference to the pipeline, recycle IIS and you are good to go.

You could also clean up your registry with regasm, but it is not required.