Unable to cast COM object of type ‘System.__ComObject’ to interface type ‘Redemption.RDOAppointmentItem’
The code below works fine on five PC’s but it’s failing on one. I had the same user login to a VM and the code ran fine. It’s failing at the foreach loop where I cast “RDOAppointmentItem item in calendar.Items”.