Domanda

Hy Guys,

After we decided to buy an C1 License for the Silverlight FlexGrid Component we were wondering why the activation won't work.

The Dialog Shows up that the copy of C1.FlexGrid is activated, but however after we published our Silverlight Addin we still get the Message that C1 is not activated.

After a long time of Research we found out that no licenses.licx file was created.

So we created the file manually with the following entry:

C1.Silverlight.FlexGrid.C1FlexGrid, C1.Silverlight.FlexGrid.5

Afte Rebuilding the whole solution we get an Invalid-Cross threat Access Exception right from the licenses.licx file.

Error   1   Exception occurred creating type 'C1.Silverlight.FlexGrid.C1FlexGrid, C1.Silverlight.FlexGrid.5, Version=5.0.20131.311, Culture=neutral, PublicKeyToken=***************' System.UnauthorizedAccessException: Invalid cross-thread access.

Any Suggestions?

È stato utile?

Soluzione 4

After Re-looking at the Xaml I saw following Piece of code

c1:LicenseMode.Evaluation="True"

and quickly changed it to

c1:LicenseMode.Evaluation="False"

Now it seems to work.

Altri suggerimenti

check the version of componentone dll included in your assembly, if it is same as declared in the License.licx file. If not, you have to update your license file.

licence.licx files doesn't make sense for Silverlight projects. If you have valid license installed on your development machine, search all your xaml and remove all instances of the C1NagScreen.Nag="True" attributes and rebuild the application.
If it doesn't help or you have other problems, please ask in our support forums: http://our.componentone.com/groups/forum/silverlight/studio-for-silverlight/ (it's absolutely free) or contact support directly: http://www.componentone.com/Support/

Try searching the xaml for "Nag" and removing them. They get put there when the license is not valid, but they are not cleaned automatically afterwards. There are some threads about this on the C1 Forums, including my own!

Greg

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top