New Posts New Posts RSS Feed: "License violation" Error
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

"License violation" Error

 Post Reply Post Reply
Author
rleinen View Drop Down
Newbie
Newbie


Joined: 27-Oct-2008
Posts: 2
Post Options Post Options   Quote rleinen Quote  Post ReplyReply Direct Link To This Post Topic: "License violation" Error
    Posted: 27-Oct-2008 at 2:11pm
I am using devforce in an asp.net website. Everything worked fine in localhost by adding the apphelper and the business object projects to the solution. I then referenced the appropriate ideablade dlls. Like I said, everything works fine.

Then when I deploy to the web server I get the following error when the code tries to load the persistence server:

"Unable to initialize PersistenceManager *** License violation *** - Valid product key not found"

Can anyone tell me what I am missing or what I am doing wrong?

Thanks,
Randy Leinen
Back to Top
davidklitzke View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 14-Jun-2007
Posts: 715
Post Options Post Options   Quote davidklitzke Quote  Post ReplyReply Direct Link To This Post Posted: 27-Oct-2008 at 2:27pm

You have a bad license key.

 
The most common fix for this problem is to go to the Object Mapper in Visual Studio, and rebuild your Model project.  Before you do so, make sure that you check “Generate All Files”.  Make sure that the updated project is on both Client and Server,


Edited by davidklitzke - 27-Oct-2008 at 2:30pm
Back to Top
rleinen View Drop Down
Newbie
Newbie


Joined: 27-Oct-2008
Posts: 2
Post Options Post Options   Quote rleinen Quote  Post ReplyReply Direct Link To This Post Posted: 27-Oct-2008 at 2:30pm
I copied a few files over from the apphelper project into the root of the website:
- ideablade.config
- apphelper.snk
- signkey.snk

I don't know why, but this worked.
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-Oct-2008 at 7:27pm
In DevForce 3.6.4 and DevForce EF 4.2.1 you'll get that exception when the license isn't found at runtime.   The license might not be found because of a missing config file, a "bad" config file, or when probe assemblies are either not specified in the config or cannot be loaded for some reason.  
 
We've fixed this in the next releases to provide a more descriptive error message.
 
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down