Question
Wipro
Wipro
IN
Wipro
Posted: Apr 26, 2024
Last activity: May 8, 2024
Last activity: 8 May 2024 11:38 EDT
Solved
Facing "System.InvalidCastException: Unable to cast Object of type. " while trying to click on a button on Windows Form
We are getting InvalidCastException after clicking one of the button on Windows form post upgrading to Pega Version Proprietary information hidden
Below are the steps tired from our end to fix same but the issue still persist.
- Adding a completely new window form and controls.
- Adding all new automation file using this window form.
- Adding the references to Project (i.e, Pega.Shared.DependencyInjection. & System.ComponentModel)
Kindly guide us to fix this issue.