New Posts New Posts RSS Feed: Devforce SL: No license found after probing all assemblies in the config file error
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

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

 Post Reply Post Reply
Author
NotMyself View Drop Down
Newbie
Newbie
Avatar

Joined: 13-Mar-2009
Location: Olympia, WA
Posts: 8
Post Options Post Options   Quote NotMyself Quote  Post ReplyReply Direct Link To This Post Topic: Devforce SL: No license found after probing all assemblies in the config file error
    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 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.
Back to Top
kimj View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 09-May-2007
Posts: 1391
Post Options Post Options   Quote kimj Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
NotMyself View Drop Down
Newbie
Newbie
Avatar

Joined: 13-Mar-2009
Location: Olympia, WA
Posts: 8
Post Options Post Options   Quote NotMyself Quote  Post ReplyReply Direct Link To This Post 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 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.
Back to Top
anwar View Drop Down
Newbie
Newbie


Joined: 23-Jul-2009
Posts: 2
Post Options Post Options   Quote anwar Quote  Post ReplyReply Direct Link To This Post 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 
 
 
Back to Top
tj62 View Drop Down
Groupie
Groupie
Avatar

Joined: 21-May-2009
Location: Iceland
Posts: 81
Post Options Post Options   Quote tj62 Quote  Post ReplyReply Direct Link To This Post Posted: 26-Aug-2009 at 2:44am
I also have the same problem. Was there any solution to this?
Back to Top
kimj View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 09-May-2007
Posts: 1391
Post Options Post Options   Quote kimj Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
tj62 View Drop Down
Groupie
Groupie
Avatar

Joined: 21-May-2009
Location: Iceland
Posts: 81
Post Options Post Options   Quote tj62 Quote  Post ReplyReply Direct Link To This Post 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 sales@ideablade.com.
Product: Error
Back to Top
kimj View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 09-May-2007
Posts: 1391
Post Options Post Options   Quote kimj Quote  Post ReplyReply Direct Link To This Post 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?
Back to Top
tj62 View Drop Down
Groupie
Groupie
Avatar

Joined: 21-May-2009
Location: Iceland
Posts: 81
Post Options Post Options   Quote tj62 Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down