Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Mon Jun 01, 2009 10:13 pm Post subject: License Key prompt still appears after entering license key |
|
|
Once you have entered your license key for Virtual Data Objects the nag screens when opening forms containing the components in the designer or running the application will disappear, but you may find when you run the compiled application on another machine that the license key prompt will still appear.
The first thing to check is that you have a "licenses.licx" file included as an embedded resource as part of the project. Visual Studio hides this file so you will need to use the "Project->Show All Files" menu to see it. Check that the file includes a line similar to:
Infralution.VirtualData.VirtualConnection, Infralution.VirtualData, Version=1.4.0.0, Culture=neutral, PublicKeyToken=3e7e8e3744a5c13f
This should all have been generated automatically by Visual Studio if you added a Virtual Connection componet to a form using the toolbox - but if you didn't use the designer to add the component and are creating the connection programmatically then it may be missing. If the license file or line is missing then you need to add it. You can just add the line:
Infralution.VirtualData.VirtualConnection, Infralution.VirtualData
to the licenses.licx file (the version and token are not required). Then use the "Rebuild" option to rebuild the solution. This forces Visual Studio to recompile everthing including the license resources. _________________ Infralution Support |
|