Where have you defined CDIDString?? An empty CDIDString has caused this..