Hi All,
I am migrating my window form projects from VS2003 to VS 2019. I am getting below error.Exception occurred creating type 'Infragistics.Win.UltraWinGrid.UltraGrid, Infragistics.Win.UltraWinGrid.v2, Version=2.0.5001.19, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' System.ComponentModel.LicenseException: Unable to locate license assembly. Can you please guide me how can i resolve.
Hello Shailendra,
In order to prevent this error from occurring, you need to clear the contents of the licenses.licx, this file should be under “Properties” in your Solution explorer, please make sure that you don’t delete this file just leave it empty. After that could you rebuild your application and run it to see if the error has is still occurring?
Also, you need to make sure that you are referencing the right assemblies and you have them inside either your bin folder or inside the GAC.
Please let me know if you have any questions.
Regards, Ivan Kitanov
Hi Ivan,
Thank you so much.
licenses.licx is available under root location of project. I cleared the contents of file. All the right dll are in bin folder. After that rebuild was successful but when running the application it says "Visual studio has stopped the working" and VS gets closed automatically.I also tried by excluding licx file from solution. After excluding the file clean/build/rebuild are successful but unable to run the application same error message "Visual studio has stopped the working" and VS gets closed automatically.On design view below screen messages are coming.
Please review.
Thanks