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
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
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
To install our products, you need to download the Infragistics Platform Installer. It can be accessed from our web page, inside it go to your account, then open “My Keys and Downloads” page. Inside it there is a section with all the Dev tools you own. Click on the product you wish to install and then scroll down until you find a tabbed section, under “Product & Bundles” select the Platform Installer and download it.
To install/reinstall, just run the Platform Installer and select the technology you need.
Hi Ivan,Since i was still searching for installer and found two free version installer "UltraWebNavigator20MSFreeVersion" and "UltraWinTree20MSFreeVersion". After installation, Infragistics.License.dll is now in C:\Windows\Assembly. But there is no benefit of it. Design view still showing the error and infragistics controls are throwing error. The dll files those are used in application are different than found adter installation.
However PublicKeyToken is same for free version installer dlls and dlls those are used in application.
What do you think above mentioned both free version installer can be useful or not? Please confirm.You told to go to your account, then open “My Keys and Downloads” page. But there is no product under my account because this account is my personal and dlls are of my organization. So i will have to register there product with my id. But i don't have product key.
So can i use free version product key to register and then download platform installer and install?Please confirm.Thanks.. Shailendra Singh
You can find the installer in our webpage. In its header there is a section in green that states “New Infragistics Ultimate 20.2 – Try free for 30 days!” and there is a “Download Now” button, once clicked it will download the Infragistics Platform Installer.
Once you run the installer there will be two options, “Install a purchased product” or “Begin a free trial”, since you mentioned that you don’t have a license select the second option, which will allow you to evaluate the newest version of our tools for 30 days.
Please don’t hesitate to ask if you need additional help.
Thank you for your reply. This sounds like an issue migrating from .NET 2 to .NET 4 and not specifically a VS issue. First you have to make sure your apps are updated to .NET 4.0 or later before upgrading to a more recent version of Infragistics. We don't test old versions of VS with newer versions of Infragistics but there isn't anything stopping it from working. You may visit more details here from our supported environments:https://ko.infragistics.com/support/supported-environments
HI Ivan, As you told , i downloaded the and installed the free trial. Then after new dlls came in to GAC. From there I used required dll and after some tweaking my one project build was successful and design view is getting open without error. So i think , with these dll may resolve my issues. We have around 18 applications (modules) out of this 10 where infragistics tools are used. So to test the any module (after migration to VS2019) is difficult. i can not test because other modules are still in VS2003. So to test applications by running i will have to migrate all application to VS2019 because dll those are build in VS 2019 is not compatible with VS2003. However as i tested dll build in VS2008 are compatible with VS2003. and i can add reference of VS2008 dll into VS2003 application buit can not add dll of VS2019 app. So i wanted to test couple of module by migrating in VS2008.
But when i try to to use newly downloaded/installed dll of infragistic in VS2008 it's not working. You can see in below screen with yellow warning in reference section.
So can you please confirm it is possible to use latest infragistics dll in VS2008 or not? if yes so what mistake i am doing? Please suggest.Thanks.. Shailendra Singh