Print Page | Close Window

Devforce SL: No license found after probing all assemblies in the config file error

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce 2009
Forum Discription: For .NET 3.5
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=1140
Printed Date: 19-Apr-2025 at 2:45am


Topic: Devforce SL: No license found after probing all assemblies in the config file error
Posted By: NotMyself
Subject: Devforce SL: No license found after probing all assemblies in the config file error
Date Posted: 13-Mar-2009 at 4:10pm
I am getting a license related error when attempting to obtain a reference to the default manager of my DomainModelEntityManager.
 
I have found the troubleshooting tips on page 408 of the Developers Guide. My app.config in my silverlight application project http://gist.github.com/78813 - looks like this and it is set to embeded resource. I have verifed using Refelector that the generated dll contains a resource called CaseManager.UI.Silverlight.app.config.
 
I am pretty much at a stand still on evaluating this product. According to the documentation, I believe I have all the pieces in place. Can anyone offer advice?
 
Also, the developers guide walk though shows you how to create the Silverlight project using the provided template, but doesn't offer any details on how you should reference the silverlight model project or use it. Possibly, I have missed something.



Replies:
Posted By: kimj
Date Posted: 13-Mar-2009 at 5:00pm
The license is loaded from the "domain model" assembly, so either the "CaseManager.UI.Silverlight" or "CaseManager.Domain.Client" is expected to contain the license.  If neither of these assemblies contains your domain model, then add the appropriate assembly to the probe list.  You can also remove any assemblies from this list that don't need to be probed.  Probing is used for the license, and to find and load interface implementations.
 
There are also three sample Silverlight applications provided in the "Learning Units" folder; these have more detailed information than the Developer Guide.


Posted By: NotMyself
Date Posted: 13-Mar-2009 at 5:20pm
Thanks Kim,
 
I am looking at the samples for differntials. I was able to get past my immediate issue by following these steps:
 
1. Open the EF EDMX file in the designer
2. Right click an select "Update model from database"
3. click finish
4. Save the edmx file in visual studio
5. A dialog pops up titled "DevForce Model Change Detected" asking if I want to regenerate the model.
6. Click yes.
 
I can now obtain a refernce to Default Manager. But now I get the following error:
 
This product is not registered or the key may no longer be valid.
Please contact your IdeaBlade representative to obtain a new key or email mailto:sales@ideablade.com - sales@ideablade.com .
Product: Error
 
So it looks like I have more registration issues that ill need to tackle on monday. Back to NHibernate and being productive with me. Thanks for you assistance.


Posted By: anwar
Date Posted: 23-Jul-2009 at 8:00am
Hello Kim,
 
i am having the same problem with the IdeaBladeDevForce.5.2.1 Universal Express version. Did you find the solution to this. If so help will be appricated.
 
Thanks,
Anwar 
 
 


Posted By: tj62
Date Posted: 26-Aug-2009 at 2:44am
I also have the same problem. Was there any solution to this?


Posted By: kimj
Date Posted: 26-Aug-2009 at 8:45am
If your error states that "no license was found" then the solution is the one mentioned in the second post:  1) ensure that your "domain model" assembly is present (in the same folder as the exe), and 2) that the <probeAssemblyNames> contain this assembly name.
 
The domain model assembly is whatever assembly holds the designer file auto-generated by the Object Mapper.
 
If instead your error states the an "invalid license was found", well, that's usually harder to trouble shoot.  Let us know if that's the error you're getting.


Posted By: tj62
Date Posted: 27-Aug-2009 at 1:52am
The error message does not contain either of the above. It is:
This product is not registered or the key may no longer be valid.
Please contact your IdeaBlade representative to obtain a new key or email mailto:sales@ideablade.com - sales@ideablade.com .
Product: Error


Posted By: kimj
Date Posted: 27-Aug-2009 at 8:11am
tj62, were you able to fix this per your thread on the LoginAsync problem, or is this still an issue?


Posted By: tj62
Date Posted: 28-Aug-2009 at 4:47am
This is solved by adding a reference to the domain model project to the web project.
Thank you



Print Page | Close Window