This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi Ivan, I have a trial license and I moved a project I am working on to a removable drive so i can take it with me on vacation (i know, don't ask...) When I start the project from the removable drive and compile, the compile fails with this message: Error 23 Exception occurred creating type 'Mindscape.WpfPropertyGrid.PropertyGrid, Mindscape.WpfPropertyGrid, Version=1.0.0.0, Culture=neutral, PublicKeyToken=0f2f2e3bf9b0527c' System.ComponentModel.LicenseException: An instance of type 'Mindscape.WpfPropertyGrid.PropertyGrid' was being created, and a valid license could not be granted for the type 'Mindscape.WpfPropertyGrid.PropertyGrid'. Please, contact the manufacturer of the component for more information. E:\ScreenDesigner\bin\licenses.licx 1 ScreenDesigner The license.licx file is located in the same spot...what's up? |
|
|
You will need to have a valid .lic file in the same folder as the WpfPropertyGrid.dll assembly (at the location where you reference it). If you've installed the grid on the machine where you're getting the problem, check that the reference is pointing to the install location (VS sometimes creates relative paths, which will get broken if the project moves to a different drive); if you've just copied the DLL onto the removable drive (and are referencing it from the copy location), make sure you have copied the .lic file as well.
Also the path looks a little odd to me, though perhaps this is because VS is reporting the intermediate or output location. The licenses.licx file should be in the project Properties directory, with the build action set to Embedded Resource. Finally, it is possible that .NET has granted only partial trust to the removable drive, though usually VS puts up a warning if you are working on a project at a partially trusted location. v1.0 of the grid requires full trust to create the licence, though the latest nightlies should work in partial trust provided they have reflection and registry permissions. Hope this gets you up and running again -- have a good vacation! |
|
|
hummmmm? So if I need full trust for the licensing, does that mean this great grid can't be run in a click-once application unless the app is granted full trust? I knew there'd be a "catch"... FWIW - licensing schemes like this will be barriers to widespread corporate adoption. We had a similar problem with another vendor's controls - their licensing scheme actually showed up as a huge critical bottleneck on our enterprise application. They wouldn't fix it, and our customers wouldn't accept it...new vendor! sorry to hear about this...
|
|
|
Don't panic yet! *grin* Although v1.0 required full trust, the current nightly builds will run in partial trust (traditional ClickOnce or XBAP) provided they are granted reflection and registry permissions. We are planning to fine-tune the permission set further as part of v1.1, and hope to get it so that it will run with the default Intranet partial trust settings. |
|
|
Hi, Our Enterprise SKU is for unlimited developers and contains source code. This allows our Enterprise customers to avoid any licensing hassle. Cheers, Andrew. |
|