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.
Hi Ivan,Thank you So much.
I Installed VS2008 to give one attempt. Project build is successful but in design mode same all errors are coming as i showed in previous post's screen shot of VS2019.GAC is not available under "C:\Windows\assembly". It's only under "C:\Windows\Microsoft.NET\assembly\"
but Infragistics.License.dll is not in any of above folders. and i don't have the setup/installer to reinstall. I checked at all possible places in my organization but could not found. So i am unable to reinstall this. Please suggest how can i reinstall and what should i do?Thanks..Shailendra Singh
Hello Shailendra,
Is it possible to create a new project once you have cleared the contents of license.licx and confirm that the issue appears?
Additionally, what I can suggest you is to check if you have the Infragistics.License.dll inside the GAC folder it should be under “C:\Windows\assembly” if you are using Windows machine, if the file is not present reinstalling would add it. If the file is there and the problem is still present, please provide us with the log file after the reinstallation. Below I am sending a blog, which describes how to create a log file:
https://ko.infragistics.com/community/blogs/b/alan_halama/posts/creating-an-installation-log-file-for-infragistics-installers-for-2010-volume-3-and-older
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
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.