New Posts New Posts RSS Feed: Error After Upgrade
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Error After Upgrade

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


Joined: 10-Sep-2009
Location: Dallas Texas
Posts: 223
Post Options Post Options   Quote gregweb Quote  Post ReplyReply Direct Link To This Post Topic: Error After Upgrade
    Posted: 23-Feb-2011 at 7:52pm
I just upgraded a project to the most recent version.  After recompiling and running in VS, I get the following error message:
 
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; WinNT-EVI 06.03.2010; .NET4.0C; .NET4.0E; Zune 4.7)
Timestamp: Thu, 24 Feb 2011 03:43:33 UTC

Message: Unhandled Error in Silverlight Application
Code: 4004   
Category: ManagedRuntimeError      
Message: IdeaBlade.EntityModel.EntityServerConnectionException: Communications with the service 'EntityService' using Uri of 'http://localhost:4029/EntityService.svc/sl cannot be started.  See the internal exception for more information. ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at IdeaBlade.EntityModel.WcfProxy`1.OnEndpointCreated(ServiceEndpoint endpoint)
   at IdeaBlade.EntityModel.WcfProxy`1.CreateProxyCore()
   --- End of inner exception stack trace ---
   at IdeaBlade.EntityModel.EntityManager.AsyncConnection_Completed(Object sender, AsyncEventArgs e)
   at IdeaBlade.EntityModel.BaseOperation.BaseOnCompleted()
   at IdeaBlade.EntityModel.BaseOperation.IdeaBlade.EntityModel.IHasAsyncEventArgs.OnCompleted()
   at IdeaBlade.EntityModel.AsyncProcessor`1.<>c__DisplayClass2.<.ctor>b__0(TArgs args)
   at IdeaBlade.EntityModel.AsyncProcessor`1.Signal()
   at IdeaBlade.EntityModel.AsyncProcessor`1.<CheckPreActionHasError>b__6(Object d)    
Line: 56
Char: 13
Code: 0
URI: http://localhost:4029/Default.aspx
 
This is the log:
 
2011-02-21 21:54:53 IdeaBlade.Core TraceFileXmlLogger::GetLogHeader ------------ Log Created ------------
2011-02-21 21:54:52 IdeaBlade.Core IdeaBladeConfig::Initialize Initializing configuration ...
2011-02-21 21:54:52 IdeaBlade.Core.Composition PartsCatalog::LoadCatalog MEF assembly probing started: 2/21/2011 9:54:52 PM. If this takes a long time, use IdeaBlade.Core.Composition.CompositionHost to specify/restrict which assemblies to probe.
2011-02-21 21:54:53 IdeaBlade.Core.Composition PartsCatalog::LoadCatalog Assembly 'Jet.Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' added to PartsCatalog
2011-02-21 21:54:53 IdeaBlade.Core.Composition PartsCatalog::LoadCatalog MEF assembly probing completed: 2/21/2011 9:54:53 PM
2011-02-21 21:54:53 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-21 21:54:53 IdeaBlade.Core IdeaBladeConfig::InitializationStatusCallback IdeaBlade License: 'DateRestriction, DataCenterServer, EnterpriseUniv', KeyDate: 12/31/2011, AllowedSessions: 10000. Found on Assembly: 'Jet.Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
2011-02-21 21:54:53 IdeaBlade.Core.Configuration ServerSettingsElement::ConstrainSettingsBasedOnLicenseCore The configured SupportedClientApplicationType is Both
2011-02-21 21:54:53 IdeaBlade.Core.Composition CompositionHost::GetImportDefMultiple CompositionContext: '-IbDefault-' - Probed for non-default 'ITraceLoggerProvider' and found no matching exports.
2011-02-21 21:54:53 IdeaBlade.Core.Composition CompositionHost::GetImportDefSingle CompositionContext: '-IbDefault-' - Probed for default 'ITraceLoggerProvider' and found 'IdeaBlade.Core.DefaultLoggerProvider'.
2011-02-21 21:54:53 IdeaBlade.Core TraceFns::CompleteTracingInitialization IdeaBladeConfig resolution: File: C:\Users\Greg.AVASOFT\Clients\Jet.2\Jet\Jet.Web\web.config - found
2011-02-21 21:54:53 IdeaBlade.Core TraceFns::CompleteTracingInitialization IdeaBladeConfig resolution: Logging file: C:\Users\Greg.AVASOFT\Clients\Jet.2\Jet\Jet.Web\log\DebugLog.xml
2011-02-21 21:54:53 IdeaBlade.Core TraceFns::CompleteTracingInitialization Bound to .NET runtime version 4.0.30319.1
2011-02-21 21:54:53 IdeaBlade.Core TraceFns::CompleteTracingInitialization DevForce version 6.0.7.0
2011-02-21 21:54:53 IdeaBlade.EntityModel RemoteServiceFns::AddSerializationBehavior Using DC serializer for EntityService
2011-02-21 21:54:53 IdeaBlade.Core.Composition CompositionHost::GetImportDefSingle CompositionContext: '-IbDefault-' - Probed for any 'ServiceHostEvents' and found 'IdeaBlade.EntityModel.Server.ServiceHostEvents'.
2011-02-21 21:54:53 IdeaBlade.EntityModel.Server EntityServiceHostFactory::CreateServiceHost EntityService listening on http://localhost:4029/EntityService.svc
2011-02-21 21:54:53 IdeaBlade.EntityModel.Server EntityServiceHostFactory::CreateServiceHost EntityService listening on http://localhost:4029/EntityService.svc/sl
2011-02-21 21:54:53 IdeaBlade.Core.Composition CompositionHost::GetImportDefSingle CompositionContext: '-IbDefault-' - Probed for any 'EntityServiceApplication' and found 'IdeaBlade.EntityModel.EntityServiceApplication'.
2011-02-21 21:54:53 IdeaBlade.EntityModel EntityServiceApplication::OnServiceStartup EntityService created
2011-02-21 21:54:53 IdeaBlade.EntityModel.Server EntityServer::.ctor EntityServer created for DataSourceExtension: [None], CompositionContext: -IbDefault-
2011-02-21 21:54:53 IdeaBlade.Core.Composition CompositionHost::GetImportDefMultiple CompositionContext: '-IbDefault-' - Probed for any 'IEntityQueryExecutor' and found 'IdeaBlade.EntityModel.Edm.EdmQueryExecutor'.
2011-02-21 21:54:53 IdeaBlade.Core.Composition CompositionHost::GetImportDefMultiple CompositionContext: '-IbDefault-' - Probed for any 'IEntityQueryExecutor' and found 'IdeaBlade.EntityModel.Edm.PassthruEsqlQueryExecutor'.
2011-02-21 21:54:53 IdeaBlade.Core.Composition CompositionHost::GetImportDefMultiple CompositionContext: '-IbDefault-' - Probed for any 'IEntityQueryExecutor' and found 'IdeaBlade.EntityModel.Edm.StoredProcQueryExecutor'.
2011-02-21 21:54:53 IdeaBlade.Core.Composition CompositionHost::GetImportDefMultiple CompositionContext: '-IbDefault-' - Probed for any 'IEntityQueryExecutor' and found 'IdeaBlade.EntityModel.Edm.UdtQueryExecutor'.
2011-02-21 21:54:53 IdeaBlade.EntityModel.Server SessionManager::GetLoginManager Anonymous access: disabled
2011-02-21 21:54:53 IdeaBlade.Core.Composition CompositionHost::GetImportDefSingle CompositionContext: '-IbDefault-' - Probed for non-default 'IEntityLoginManager' and found no matching exports.
2011-02-21 21:54:53 IdeaBlade.EntityModel.Server SessionManager::GetLoginManager Looking for AspAuthenticatingLoginManager
2011-02-21 21:54:53 IdeaBlade.EntityModel.Web AspAuthenticatingLoginManager::.ctor ASP.NET security service integration enabled
2011-02-21 21:54:53 IdeaBlade.EntityModel.Web AspAuthenticatingLoginManager::.ctor ASP.NET authentication mode: Forms
2011-02-21 21:54:53 IdeaBlade.Core.Composition CompositionHost::GetImportDefSingle CompositionContext: '-IbDefault-' - Probed for default 'IEntityLoginManager' and found 'IdeaBlade.EntityModel.Web.AspAuthenticatingLoginManager'.
2011-02-21 21:54:54 IdeaBlade.EntityModel KnownTypeHelper::<GetMarkedKnownTypes>b__13 Probed for known types and found Jet.Models.Login.RegistrationData
2011-02-21 21:54:54 IdeaBlade.EntityModel KnownTypeHelper::<GetMarkedKnownTypes>b__13 Probed for known types and found Jet.Models.Login.CreateUserResult
2011-02-21 21:54:54 IdeaBlade.Core.Composition CompositionHost::GetImportDefMultiple CompositionContext: '-IbDefault-' - Probed for non-default 'IKnownTypeProvider' and found no matching exports.
2011-02-21 21:54:54 IdeaBlade.EntityModel RemoteServiceFns::AddSerializationBehavior Using DC serializer for EntityServer
2011-02-21 21:54:54 IdeaBlade.EntityModel.Server EntityServerHostFactory::CreateServiceHost EntityServer listening on http://localhost:4029/EntityServer.svc
2011-02-21 21:54:54 IdeaBlade.EntityModel.Server EntityServerHostFactory::CreateServiceHost EntityServer listening on http://localhost:4029/EntityServer.svc/sl
2011-02-21 21:54:56 IdeaBlade.EntityModel UserBase::GetCustomUserType Probed for custom 'UserBase' and found 'Jet.Models.User'
2011-02-21 21:54:57 Greg IdeaBlade.Core.Composition CompositionHost::GetImportDefSingle CompositionContext: '-IbDefault-' - Probed for any 'EntityServerQueryInterceptor' and found 'Jet.Models.QueryInterceptor'.
2011-02-21 21:54:57 Greg IdeaBlade.EntityModel.Server EntityServerQueryInterceptor::ExecuteQuery Fetch ... value(IdeaBlade.EntityModel.EntityQueryProxy`1[Jet.Models.BookmarkEntity])
2011-02-21 21:54:57 Greg IdeaBlade.Core.Composition CompositionHost::GetImportDefSingle CompositionContext: '-IbDefault-' - Probed for default 'IDataSourceKeyResolver' and found 'IdeaBlade.EntityModel.DefaultDataSourceKeyResolver'.
2011-02-21 21:54:57 Greg IdeaBlade.Core.Composition CompositionHost::GetImportDefSingle CompositionContext: '-IbDefault-' - Probed for non-default 'IDataSourceKeyResolver' and found no matching exports.
2011-02-21 21:54:57 Greg IdeaBlade.Core.Composition CompositionHost::GetImportDefMultiple CompositionContext: '-IbDefault-' - Probed for any 'IIdGenerator' and found 'IdeaBlade.EntityModel.StoreGeneratedIdGenerator'.
2011-02-21 21:54:57 Greg IdeaBlade.Core.Composition CompositionHost::GetImportDefMultiple CompositionContext: '-IbDefault-' - Probed for non-default 'IConcurrencyStrategy' and found no matching exports.
2011-02-21 21:54:57 Greg IdeaBlade.Core.Composition CompositionHost::GetImportDefSingle CompositionContext: '-IbDefault-' - Probed for default 'IConcurrencyStrategy' and found 'IdeaBlade.EntityModel.DefaultConcurrencyValueSetter'.
2011-02-21 21:54:58 Greg IdeaBlade.EntityModel.Edm EdmKey::FindClientAssembly DataSourceKey: EmailEntityManager found in assembly: Jet.Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
2011-02-21 21:54:58 Greg IdeaBlade.EntityModel.Edm EdmKey::FindClientAssembly DataSourceKey: EmailEntityManager found in assembly: Jet.Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
2011-02-21 21:55:40 IdeaBlade.EntityModel.Server RemoteEntityService::ShutdownEntityServers Shutting down Entity Servers
 
Greg
Back to Top
smi-mark View Drop Down
DevForce MVP
DevForce MVP
Avatar

Joined: 24-Feb-2009
Location: Dallas, Texas
Posts: 307
Post Options Post Options   Quote smi-mark Quote  Post ReplyReply Direct Link To This Post Posted: 23-Feb-2011 at 8:47pm
Did you regenerate your model? Doesn't seem to be any error on the server, looks like it is querying fine. Do you have the client debug log?


Back to Top
gregweb View Drop Down
DevForce MVP
DevForce MVP


Joined: 10-Sep-2009
Location: Dallas Texas
Posts: 223
Post Options Post Options   Quote gregweb Quote  Post ReplyReply Direct Link To This Post Posted: 24-Feb-2011 at 5:25am
Hi Mark,
 
Yes, I did regenerate the model, and I just did again just to be sure, but I get the same error.
 
Is there a DevForce client debug log? Or do I need to implement one?
 
Greg
Back to Top
smi-mark View Drop Down
DevForce MVP
DevForce MVP
Avatar

Joined: 24-Feb-2009
Location: Dallas, Texas
Posts: 307
Post Options Post Options   Quote smi-mark Quote  Post ReplyReply Direct Link To This Post Posted: 24-Feb-2011 at 7:53am
I usually just implement one, like this:

    public class DevForceLoggerProvider : ITraceLoggerProvider
    {
        public ITraceLogger GetLogger()
        {
            return new DevForceLogger();
        }
    }
       
    public class DevForceLogger : ITraceLogger
    {
        public void Log(object message)
        {
            System.Diagnostics.Debug.WriteLine(message);
        }
       
        public bool IsSingleThreaded
        {
            get { return true; }
        }
    }
Back to Top
kimj View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 09-May-2007
Posts: 1278
Post Options Post Options   Quote kimj Quote  Post ReplyReply Direct Link To This Post Posted: 24-Feb-2011 at 8:31am
That log was dated 2/21 and still using version 6.0.7.0 - are you sure that's the current one?  If a new log wasn't generated then it's likely the EntityService really didn't start.   The easiest way of checking the service is to navigate to it with your browser - in this case the URL would be http://localhost:4029/EntityService.svc - to see if the service page comes up without error.  (When running in Cassini, make sure VS has started the web server for your web project first.)
Back to Top
gregweb View Drop Down
DevForce MVP
DevForce MVP


Joined: 10-Sep-2009
Location: Dallas Texas
Posts: 223
Post Options Post Options   Quote gregweb Quote  Post ReplyReply Direct Link To This Post Posted: 24-Feb-2011 at 10:03am
Kim,
 
Yes, you are right, that was an old log. I checked the service page, and it does come up correctly.   See below for the current log, and below that is the client log.
 
2011-02-24 11:57:16 IdeaBlade.Core TraceFileXmlLogger::GetLogHeader ------------ Log Created ------------
2011-02-24 11:57:14 IdeaBlade.Core IdeaBladeConfig::Initialize Initializing configuration ...
2011-02-24 11:57:15 IdeaBlade.Core.Composition PartsCatalog::LoadCatalog MEF assembly probing started: 2/24/2011 11:57:15 AM. If this takes a long time, use IdeaBlade.Core.Composition.CompositionHost to specify/restrict which assemblies to probe.
2011-02-24 11:57:16 IdeaBlade.Core.Composition PartsCatalog::LoadCatalog Assembly 'Jet.Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' added to PartsCatalog
2011-02-24 11:57:16 IdeaBlade.Core.Composition PartsCatalog::LoadCatalog MEF assembly probing completed: 2/24/2011 11:57:16 AM
2011-02-24 11:57:16 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 If this list is unnecessarily large, use CompositionHost.SearchPatterns to modify the search critieria for probed assemblies. If this list does not contain the assembly(ies) holding your a) domain model, b) custom interface implementations, and c) POCO/known types then your application may not work correctly. Ensure that these assemblies are available in the exe/bin folder, and if using CompositionHost.SearchPatterns that the patterns are set appropriately.
2011-02-24 11:57:16 IdeaBlade.Core IdeaBladeConfig::InitializationStatusCallback IdeaBlade License: 'DateRestriction, DataCenterServer, EnterpriseUniv', KeyDate: 12/31/2011, AllowedSessions: 10000. Found on Assembly: 'Jet.Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
2011-02-24 11:57:16 IdeaBlade.Core.Configuration ServerSettingsElement::ConstrainSettingsBasedOnLicenseCore The configured SupportedClientApplicationType is Both
2011-02-24 11:57:16 IdeaBlade.Core.Composition CompositionHost::CheckMultiExport CompositionContext: '-IbDefault-' - Probed for non-default 'ITraceLoggerProvider' and found no matching exports.
2011-02-24 11:57:16 IdeaBlade.Core.Composition CompositionHost::CheckSingleExport CompositionContext: '-IbDefault-' - Probed for default 'ITraceLoggerProvider' and found 'IdeaBlade.Core.DefaultLoggerProvider'.
2011-02-24 11:57:16 IdeaBlade.Core TraceFns::CompleteTracingInitialization IdeaBladeConfig resolution: File: C:\Users\Greg.AVASOFT\Clients\Jet.2\Jet\Jet.Web\web.config - found
2011-02-24 11:57:16 IdeaBlade.Core TraceFns::CompleteTracingInitialization IdeaBladeConfig resolution: Logging file: C:\Users\Greg.AVASOFT\Clients\Jet.2\Jet\Jet.Web\log\DebugLog.xml
2011-02-24 11:57:16 IdeaBlade.Core TraceFns::CompleteTracingInitialization Bound to .NET runtime version 4.0.30319.1
2011-02-24 11:57:16 IdeaBlade.Core TraceFns::CompleteTracingInitialization DevForce version 6.0.8.1
2011-02-24 11:57:16 IdeaBlade.EntityModel RemoteServiceFns::AddSerializationBehavior Using DC serializer for EntityService
2011-02-24 11:57:16 IdeaBlade.Core.Composition CompositionHost::CheckSingleExport CompositionContext: '-IbDefault-' - Probed for any 'ServiceHostEvents' and found 'IdeaBlade.EntityModel.Server.ServiceHostEvents'.
2011-02-24 11:57:16 IdeaBlade.EntityModel.Server EntityServiceHostFactory::CreateServiceHost EntityService listening on http://localhost:4029/EntityService.svc
2011-02-24 11:57:16 IdeaBlade.EntityModel.Server EntityServiceHostFactory::CreateServiceHost EntityService listening on http://localhost:4029/EntityService.svc/sl
 
I created a client log as suggested and this is what is noted:
 

0 : 2/24/2011 11:55:42 AM : : IdeaBlade.Core.IdeaBladeConfig:Initialize : Initializing configuration ...

1 : 2/24/2011 11:55:43 AM : : IdeaBlade.Core.Composition.PartsCatalog:LoadCatalog : Assembly 'Jet.dll, Culture=neutral, PublicKeyToken=null' added to PartsCatalog

2 : 2/24/2011 11:55:43 AM : : IdeaBlade.Core.Composition.CompositionHost:.ctor : Probe Assemblies: Jet, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null :: AsyncCtpLibrary_Silverlight, Version=1.0.3951.36516, Culture=neutral, PublicKeyToken=31bf3856ad364e35 :: C1.Silverlight.FlexGrid.4, Version=4.0.20103.107, Culture=neutral, PublicKeyToken=79882d576c6336da :: Caliburn.Micro, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null :: CustomControls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null :: Kit3D, Version=0.1.0.0, Culture=neutral, PublicKeyToken=null If this list is unnecessarily large, use CompositionHost.SearchPatterns to modify the search critieria for probed assemblies. If this list does not contain the assembly(ies) holding your a) domain model, b) custom interface implementations, and c) POCO/known types then your application may not work correctly. Ensure that these assemblies are available in the exe/bin folder, and if using CompositionHost.SearchPatterns that the patterns are set appropriately.

3 : 2/24/2011 11:55:43 AM : : IdeaBlade.Core.IdeaBladeConfig:InitializationStatusCallback : IdeaBlade License: 'DateRestriction, DataCenterServer, EnterpriseUniv', KeyDate: 12/31/2011, AllowedSessions: 10000. Found on Assembly: 'Jet, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'

4 : 2/24/2011 11:55:43 AM : : IdeaBlade.Core.Composition.CompositionHost:CheckMultiExport : CompositionContext: '-IbDefault-' - Probed for non-default 'ITraceLoggerProvider' and found 'Jet.DevForce.DevForceLoggerProvider'.

5 : 2/24/2011 11:55:43 AM : : IdeaBlade.Core.TraceFns:CompleteTracingInitialization : IdeaBladeConfig resolution: app.config embedded in Assembly: Jet, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null - not found

7 : 2/24/2011 11:55:43 AM : : IdeaBlade.Core.TraceFns:CompleteTracingInitialization : Bound to .NET runtime version 4.0.60129.0

8 : 2/24/2011 11:55:43 AM : : IdeaBlade.Core.TraceFns:CompleteTracingInitialization : DevForce Version=6.0.8.1

6 : 2/24/2011 11:55:43 AM : : IdeaBlade.Core.TraceFns:CompleteTracingInitialization : IdeaBladeConfig resolution: Warning: No .config file found - using default configuration.

10 : 2/24/2011 11:55:43 AM : : IdeaBlade.Core.Composition.CompositionHost:CheckSingleExport : CompositionContext: '-IbDefault-' - Probed for default 'IDataSourceKeyResolver' and found no matching exports.

11 : 2/24/2011 11:55:43 AM : : IdeaBlade.EntityModel.WcfProxy`1:CreateProxyCore : Trying programmatic configuration of EntityService

12 : 2/24/2011 11:55:43 AM : : IdeaBlade.Core.Composition.CompositionHost:CheckSingleExport : CompositionContext: '-IbDefault-' - Probed for any 'ServiceProxyEvents' and found no matching exports.

13 : 2/24/2011 11:55:43 AM : : IdeaBlade.EntityModel.WcfProxy`1:CreateProxyCore : Object reference not set to an instance of an object.

9 : 2/24/2011 11:55:43 AM : : IdeaBlade.EntityModel.EntityServerProxy:CreateInstance : Loaded IdeaBlade.EntityModel.RemoteEntityServerProxy

Back to Top
smi-mark View Drop Down
DevForce MVP
DevForce MVP
Avatar

Joined: 24-Feb-2009
Location: Dallas, Texas
Posts: 307
Post Options Post Options   Quote smi-mark Quote  Post ReplyReply Direct Link To This Post Posted: 24-Feb-2011 at 10:15am
It looks like you have a probing problem. Line #10 and #12 in the client log should come back with the defaults.

I would say check your references in your SL project and make sure something isn't missing. By comparison this is what it should look like:

11 : 2/24/2011 10:10:02 AM :  : IdeaBlade.Core.Composition.CompositionHost:CheckSingleExport : CompositionContext: '-IbDefault-' - Probed for default 'IDataSourceKeyResolver' and found 'IdeaBlade.EntityModel.DefaultDataSourceKeyResolver'.
15 : 2/24/2011 10:10:03 AM :  : IdeaBlade.EntityModel.WcfProxy`1:CreateProxyCore : Trying programmatic configuration of EntityService
16 : 2/24/2011 10:10:03 AM :  : IdeaBlade.Core.Composition.CompositionHost:CheckSingleExport : CompositionContext: '-IbDefault-' - Probed for any 'ServiceProxyEvents' and found 'IdeaBlade.EntityModel.ServiceProxyEvents'.
[2011-02-24T10:10:04.1516695-08:00] 17 : 2/24/2011 10:10:03 AM :  : IdeaBlade.EntityModel.WcfProxy`1:CreateProxyCore : Created proxy to EntityService using Uri http://localhost:8686/EntityService.svc/sl
Back to Top
gregweb View Drop Down
DevForce MVP
DevForce MVP


Joined: 10-Sep-2009
Location: Dallas Texas
Posts: 223
Post Options Post Options   Quote gregweb Quote  Post ReplyReply Direct Link To This Post Posted: 24-Feb-2011 at 10:34am
I created an DevForce test project with only one entity and it connects up fine.  I then compared the references for both the SL and Web project, but they are the same.  I also did a Clean/Rebuild all, but it still comes up with the same error.
 
 
Back to Top
kimj View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 09-May-2007
Posts: 1278
Post Options Post Options   Quote kimj Quote  Post ReplyReply Direct Link To This Post Posted: 24-Feb-2011 at 10:43am
If you have application library caching enabled for your SL project that would cause the problem, as version 6.0.8.x only supports ALC for on-demand XAPs and not the main one.
 
The IdeaBlade.EntityModel.SL is causing the immediate problem, although other IdeaBlade.* assemblies might also be at issue.  Try removing and re-adding these references to ensure they're correct.   And set them to Copy Local = true to ensure the assemblies are included in the XAP.
Back to Top
gregweb View Drop Down
DevForce MVP
DevForce MVP


Joined: 10-Sep-2009
Location: Dallas Texas
Posts: 223
Post Options Post Options   Quote gregweb Quote  Post ReplyReply Direct Link To This Post Posted: 24-Feb-2011 at 11:03am
Yes, indeed, it was the ALC.  When I turned that off, it connected just fine.
 
It's not that important, but I did like using ALC, as it reduced the size of the main zap from 3 megs down to 1 meg.
 
Is it something that will be supported in the future? 
 
In 6.0.7 it seemed to be working fine.
 
Greg
Back to Top
kimj View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 09-May-2007
Posts: 1278
Post Options Post Options   Quote kimj Quote  Post ReplyReply Direct Link To This Post Posted: 24-Feb-2011 at 9:13pm
We added support for ALC in the 6.0.8 release, but only for on-demand XAPs.  Support for ALC in the main XAP will be provided in the 6.0.9 release.
Back to Top
gregweb View Drop Down
DevForce MVP
DevForce MVP


Joined: 10-Sep-2009
Location: Dallas Texas
Posts: 223
Post Options Post Options   Quote gregweb Quote  Post ReplyReply Direct Link To This Post Posted: 25-Feb-2011 at 6:06am
Thanks Kim!
 
Greg
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down