New Posts New Posts RSS Feed: Updating License Key
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Updating License Key

 Post Reply Post Reply
Author
gregweb View Drop Down
DevForce MVP
DevForce MVP
Avatar

Joined: 10-Sep-2009
Location: Clearwater, Fl
Posts: 253
Post Options Post Options   Quote gregweb Quote  Post ReplyReply Direct Link To This Post Topic: Updating License Key
    Posted: 20-Feb-2011 at 11:49am
I just input a DevForce universal license key, but I still get this message in the log:
 
IdeaBlade License: 'EnterpriseSL, Express', KeyDate: 4/15/2010, AllowedSessions: 10000. Found on Assembly: 'Jet.Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
 
I used the License Key Updater, and if I click on the get current key button, it gives me the correct Universal key.
 
Is there something I need to do so that the project gets updated?
 
Greg
Back to Top
gregweb View Drop Down
DevForce MVP
DevForce MVP
Avatar

Joined: 10-Sep-2009
Location: Clearwater, Fl
Posts: 253
Post Options Post Options   Quote gregweb Quote  Post ReplyReply Direct Link To This Post Posted: 20-Feb-2011 at 2:55pm
I found another post that said to open the edmx and resave, so I did that.  The Key is updated from looking at it in the designer file, but I still get the following in the log when running in visual studio.
 
Cannot find a valid license key in any domain model assembly. -- Check the following: 1) Make sure that your model assembly is available in the bin/exe folder. 2) Check that all referenced assemblies are available, including all necessary IdeaBlade assemblies. 3) Set CopyLocal=true for all IdeaBlade references to ensure these assemblies are copied to this folder. Check the debuglog for additional messages.
 
Falling back and using License from Registry.
 
 
Greg
Back to Top
gregweb View Drop Down
DevForce MVP
DevForce MVP
Avatar

Joined: 10-Sep-2009
Location: Clearwater, Fl
Posts: 253
Post Options Post Options   Quote gregweb Quote  Post ReplyReply Direct Link To This Post Posted: 20-Feb-2011 at 3:40pm
Also, I sometimes get the following error after updating updating the app and uploading a new Jet.Web.dll.  It comes and goes, but I think it may have to do with the licensing as when it doesn't work, I get the following in the following.  Then I will recompile a few times, wiggle the emdx files, and then it will start working for a few more updates. Anyhow, this is what the log file looks like. It random, and it's only ever a problem after being uploaded to the server, not in VS.
2011-02-20 15:32:49 IdeaBlade.Core TraceFileXmlLogger::GetLogHeader ------------ Log Created ------------
2011-02-20 15:32:42 IdeaBlade.Core IdeaBladeConfig::Initialize Initializing configuration ...
2011-02-20 15:32:45 IdeaBlade.Core.Composition PartsCatalog::LoadCatalog MEF assembly probing started: 2/20/2011 3:32:45 PM. If this takes a long time, use IdeaBlade.Core.Composition.CompositionHost to specify/restrict which assemblies to probe.
2011-02-20 15:32:48 IdeaBlade.Core.Composition PartsCatalog::LoadCatalog Assembly 'Jet.Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' added to PartsCatalog
2011-02-20 15:32:48 IdeaBlade.Core.Composition PartsCatalog::LoadCatalog MEF assembly probing completed: 2/20/2011 3:32:48 PM
2011-02-20 15:32:48 IdeaBlade.Core.Composition CompositionHost::.ctor Probe Assemblies: C1.Silverlight.Zip, Version=4.0.20103.88, Culture=neutral, PublicKeyToken=2aa4ec5576d6c3ce :: EAGetMail40, Version=3.0.1.2, Culture=neutral, PublicKeyToken=e10a0812eb29cf94 :: EASendMail40, Version=4.8.0.2, Culture=neutral, PublicKeyToken=88adb80ecd66540b :: Jet.Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null :: MySql.Data, Version=6.3.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d :: MySql.Data.Entity, Version=6.3.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d
2011-02-20 15:32:48 IdeaBlade.Core IdeaBladeConfig+<>c__DisplayClass2::<Initialize>b__1 Cannot find a valid license key in any domain model assembly. -- Check the following: 1) Make sure that your model assembly is available in the bin/exe folder. 2) Check that all referenced assemblies are available, including all necessary IdeaBlade assemblies. 3) Set CopyLocal=true for all IdeaBlade references to ensure these assemblies are copied to this folder. Check the debuglog for additional messages.
2011-02-20 15:32:48 IdeaBlade.Core.Configuration ServerSettingsElement::ConstrainSettingsBasedOnLicenseCore The configured SupportedClientApplicationType is UseLicense
2011-02-20 15:32:48 IdeaBlade.Core.Configuration ServerSettingsElement::ConstrainSettingsBasedOnLicenseCore Could not find a valid license to enable session-agnostic load balancing.
2011-02-20 15:32:49 IdeaBlade.Core.Composition CompositionHost::GetImportDefMultiple CompositionContext: '-IbDefault-' - Probed for non-default 'ITraceLoggerProvider' and found no matching exports.
2011-02-20 15:32:49 IdeaBlade.Core.Composition CompositionHost::GetImportDefSingle CompositionContext: '-IbDefault-' - Probed for default 'ITraceLoggerProvider' and found 'IdeaBlade.Core.DefaultLoggerProvider'.
2011-02-20 15:32:49 IdeaBlade.Core TraceFns::CompleteTracingInitialization IdeaBladeConfig resolution: File: E:\web\jetemailcom\htdocs\web.config - found
2011-02-20 15:32:49 IdeaBlade.Core TraceFns::CompleteTracingInitialization IdeaBladeConfig resolution: Logging file: E:\web\jetemailcom\htdocs\DebugLog.xml
2011-02-20 15:32:49 IdeaBlade.Core TraceFns::CompleteTracingInitialization Bound to .NET runtime version 4.0.30319.1
2011-02-20 15:32:49 IdeaBlade.Core TraceFns::CompleteTracingInitialization DevForce version 6.0.7.0
2011-02-20 15:32:49 IdeaBlade.EntityModel RemoteServiceFns::AddSerializationBehavior Using DC serializer for EntityService
2011-02-20 15:32:49 IdeaBlade.Core.Composition CompositionHost::GetImportDefSingle CompositionContext: '-IbDefault-' - Probed for any 'ServiceHostEvents' and found 'IdeaBlade.EntityModel.Server.ServiceHostEvents'.
2011-02-20 15:32:49 IdeaBlade.EntityModel.Server EntityServiceHostFactory::CreateServiceHost Error: No endpoint addresses found for EntityService
Back to Top
gregweb View Drop Down
DevForce MVP
DevForce MVP
Avatar

Joined: 10-Sep-2009
Location: Clearwater, Fl
Posts: 253
Post Options Post Options   Quote gregweb Quote  Post ReplyReply Direct Link To This Post Posted: 20-Feb-2011 at 3:46pm
This is what the log file looks like when it connects correctly.  The only thing I did to make it work was uploaded a copy of Jet.Web.dll from a few weeks ago.
 
2011-02-20 15:42:36 IdeaBlade.Core TraceFileXmlLogger::GetLogHeader ------------ Log Created ------------
2011-02-20 15:42:34 IdeaBlade.Core IdeaBladeConfig::Initialize Initializing configuration ...
2011-02-20 15:42:34 IdeaBlade.Core.Composition PartsCatalog::LoadCatalog MEF assembly probing started: 2/20/2011 3:42:34 PM. If this takes a long time, use IdeaBlade.Core.Composition.CompositionHost to specify/restrict which assemblies to probe.
2011-02-20 15:42:35 IdeaBlade.Core.Composition PartsCatalog::LoadCatalog Assembly 'Jet.Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' added to PartsCatalog
2011-02-20 15:42:35 IdeaBlade.Core.Composition PartsCatalog::LoadCatalog MEF assembly probing completed: 2/20/2011 3:42:35 PM
2011-02-20 15:42:35 IdeaBlade.Core.Composition CompositionHost::.ctor Probe Assemblies: C1.Silverlight.Zip, Version=4.0.20103.88, Culture=neutral, PublicKeyToken=2aa4ec5576d6c3ce :: EAGetMail40, Version=3.0.1.2, Culture=neutral, PublicKeyToken=e10a0812eb29cf94 :: EASendMail40, Version=4.8.0.2, Culture=neutral, PublicKeyToken=88adb80ecd66540b :: Jet.Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null :: MySql.Data, Version=6.3.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d :: MySql.Data.Entity, Version=6.3.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d
2011-02-20 15:42:35 IdeaBlade.Core IdeaBladeConfig+<>c__DisplayClass2::<Initialize>b__1 IdeaBlade License: 'EnterpriseSL, Express', KeyDate: 4/15/2010, AllowedSessions: 10000. Found on Assembly: 'Jet.Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
2011-02-20 15:42:35 IdeaBlade.Core.Configuration ServerSettingsElement::ConstrainSettingsBasedOnLicenseCore The configured SupportedClientApplicationType is Silverlight
2011-02-20 15:42:35 IdeaBlade.Core.Configuration ServerSettingsElement::ConstrainSettingsBasedOnLicenseCore Could not find a valid license to enable session-agnostic load balancing.
2011-02-20 15:42:35 IdeaBlade.Core.Composition CompositionHost::GetImportDefMultiple CompositionContext: '-IbDefault-' - Probed for non-default 'ITraceLoggerProvider' and found no matching exports.
2011-02-20 15:42:35 IdeaBlade.Core.Composition CompositionHost::GetImportDefSingle CompositionContext: '-IbDefault-' - Probed for default 'ITraceLoggerProvider' and found 'IdeaBlade.Core.DefaultLoggerProvider'.
2011-02-20 15:42:36 IdeaBlade.Core TraceFns::CompleteTracingInitialization IdeaBladeConfig resolution: File: E:\web\jetemailcom\htdocs\web.config - found
2011-02-20 15:42:36 IdeaBlade.Core TraceFns::CompleteTracingInitialization IdeaBladeConfig resolution: Logging file: E:\web\jetemailcom\htdocs\DebugLog.xml
2011-02-20 15:42:36 IdeaBlade.Core TraceFns::CompleteTracingInitialization Bound to .NET runtime version 4.0.30319.1
2011-02-20 15:42:36 IdeaBlade.Core TraceFns::CompleteTracingInitialization DevForce version 6.0.7.0
2011-02-20 15:42:36 IdeaBlade.EntityModel RemoteServiceFns::AddSerializationBehavior Using DC serializer for EntityService
2011-02-20 15:42:36 IdeaBlade.Core.Composition CompositionHost::GetImportDefSingle CompositionContext: '-IbDefault-' - Probed for any 'ServiceHostEvents' and found 'IdeaBlade.EntityModel.Server.ServiceHostEvents'.
2011-02-20 15:42:36 IdeaBlade.EntityModel.Server EntityServiceHostFactory::CreateServiceHost EntityService listening on http://jet-email.com/EntityService.svc/sl
2011-02-20 15:42:36 IdeaBlade.Core.Composition CompositionHost::GetImportDefSingle CompositionContext: '-IbDefault-' - Probed for any 'EntityServiceApplication' and found 'IdeaBlade.EntityModel.EntityServiceApplication'.
2011-02-20 15:42:36 IdeaBlade.EntityModel EntityServiceApplication::OnServiceStartup EntityService created
2011-02-20 15:42:36 IdeaBlade.EntityModel.Server EntityServer::.ctor EntityServer created for DataSourceExtension: [None], CompositionContext: -IbDefault-
2011-02-20 15:42:36 IdeaBlade.Core.Composition CompositionHost::GetImportDefMultiple CompositionContext: '-IbDefault-' - Probed for any 'IEntityQueryExecutor' and found 'IdeaBlade.EntityModel.Edm.EdmQueryExecutor'.
2011-02-20 15:42:36 IdeaBlade.Core.Composition CompositionHost::GetImportDefMultiple CompositionContext: '-IbDefault-' - Probed for any 'IEntityQueryExecutor' and found 'IdeaBlade.EntityModel.Edm.PassthruEsqlQueryExecutor'.
2011-02-20 15:42:36 IdeaBlade.Core.Composition CompositionHost::GetImportDefMultiple CompositionContext: '-IbDefault-' - Probed for any 'IEntityQueryExecutor' and found 'IdeaBlade.EntityModel.Edm.StoredProcQueryExecutor'.
2011-02-20 15:42:36 IdeaBlade.Core.Composition CompositionHost::GetImportDefMultiple CompositionContext: '-IbDefault-' - Probed for any 'IEntityQueryExecutor' and found 'IdeaBlade.EntityModel.Edm.UdtQueryExecutor'.
2011-02-20 15:42:36 IdeaBlade.EntityModel.Server SessionManager::GetLoginManager Anonymous access: disabled
2011-02-20 15:42:36 IdeaBlade.Core.Composition CompositionHost::GetImportDefSingle CompositionContext: '-IbDefault-' - Probed for non-default 'IEntityLoginManager' and found no matching exports.
2011-02-20 15:42:36 IdeaBlade.EntityModel.Server SessionManager::GetLoginManager Looking for AspAuthenticatingLoginManager
2011-02-20 15:42:36 IdeaBlade.EntityModel.Web AspAuthenticatingLoginManager::.ctor ASP.NET security service integration enabled
2011-02-20 15:42:36 IdeaBlade.EntityModel.Web AspAuthenticatingLoginManager::.ctor ASP.NET authentication mode: Forms
2011-02-20 15:42:36 IdeaBlade.Core.Composition CompositionHost::GetImportDefSingle CompositionContext: '-IbDefault-' - Probed for default 'IEntityLoginManager' and found 'IdeaBlade.EntityModel.Web.AspAuthenticatingLoginManager'.
2011-02-20 15:42:36 IdeaBlade.EntityModel KnownTypeHelper::<GetMarkedKnownTypes>b__13 Probed for known types and found Jet.Models.Login.RegistrationData
2011-02-20 15:42:36 IdeaBlade.EntityModel KnownTypeHelper::<GetMarkedKnownTypes>b__13 Probed for known types and found Jet.Models.Login.CreateUserResult
2011-02-20 15:42:36 IdeaBlade.Core.Composition CompositionHost::GetImportDefMultiple CompositionContext: '-IbDefault-' - Probed for non-default 'IKnownTypeProvider' and found no matching exports.
2011-02-20 15:42:36 IdeaBlade.EntityModel RemoteServiceFns::AddSerializationBehavior Using DC serializer for EntityServer
2011-02-20 15:42:36 IdeaBlade.EntityModel.Server EntityServerHostFactory::CreateServiceHost EntityServer listening on http://jet-email.com/EntityServer.svc/sl
Back to Top
DenisK View Drop Down
IdeaBlade
IdeaBlade


Joined: 25-Aug-2010
Posts: 715
Post Options Post Options   Quote DenisK Quote  Post ReplyReply Direct Link To This Post Posted: 21-Feb-2011 at 11:32am
Hi gregweb;

I've seen this happened when you have 2 models with 2 different EntityManager Name within the same assembly and one of the models has an invalid license key. When you uploaded your Jet.Web.dll, it was able to find a valid but old (EnterpriseSL, Express instead of the new Enterprise Universal) license key. 

This was a bug that has been fixed in our internal release. The quick fix for this is to have the same EM name for the models that are in the same assembly.

Does this sound like what you have here? If not, could you provide more info on the DF models and assemblies that you have?
Back to Top
gregweb View Drop Down
DevForce MVP
DevForce MVP
Avatar

Joined: 10-Sep-2009
Location: Clearwater, Fl
Posts: 253
Post Options Post Options   Quote gregweb Quote  Post ReplyReply Direct Link To This Post Posted: 21-Feb-2011 at 11:57am
Hi Dennis,
 
I think you got it exactly right - there are indeed two different entity managers with different names.  I can trim this down to just one until the next release.
 
I was just trying to keep seperate entity groups in seperate managers to keep things neat, but it's not an issue to combine them.
 
Thanks so much!
 
Greg
 
 
 
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down