"Why are talking vtec" cause i have a b16 swapy.

I'll see what I can do with this ls harness to see if I can hook it all up good. My main goal is iam getting a code 9 and I can't figure it out how to get rid of it. I know that its gota be my wiring. Although all seems to be hooked up well. That or maybe a distributor but I already swaped a dis. with someone to see if that was it. no luck. still code 9. My only last thing on my mind would be the wiring either in the engine harness itself or the ecu?
Iam runing a ls ecu auto. I plan on geting a pr3 tommorw if the guy comes through. Iam like 80% sure that this could be my problem. Or the wiring between the ecu and the engine harness that goes through the fire wall. I dont know maybe someone knows this stuff really well and can fix it for me or tell me what it is that I need to get.