Von,
1) I am confused. By comparing the server logs (non-working: provided on May-29-2012 at 2:57am; and working: provided on May-31-2012 at 9:08pm) I noticed that the app path is not the same:
The non-working log points to
D:\TFS\70_VisionCore\iRely Suite\Global
Components\iRely.BusinessObjectServer
while the working log points to
C:\inetpub\wwwroot\iRely.BusinessObjectServer
Can you clarify?
2) Also, we noticed that in the non-working log probing is oddly happening twice:
===========================================================================
2012-05-29 10:09:42 IdeaBlade.Core.Composition.PartsCatalog:LoadCatalog MEF assembly probing started: 5/29/2012 10:09:42 AM. If this takes a long time, use IdeaBlade.Core.Composition.CompositionHost to specify/restrict which assemblies to probe.
2012-05-29 10:09:42 IdeaBlade.EntityModel.Server.EntityServiceHost:AddBehaviors Using DC serializer for EntityService
2012-05-29 10:09:42 IdeaBlade.Core.Composition.PartsCatalog:LoadCatalog Error loading assembly 'D:\TFS\70_VisionCore\iRely Suite\Global Components\iRely.BusinessObjectServer\bin\ActiveDatabaseSoftware.ActiveQueryBuilder.dll' for PartsCatalog: Could not load type 'Deflate.Attributes.TargetFrameworkAttribute' from assembly 'ActiveDatabaseSoftware.ActiveQueryBuilder, Version=1.16.1.342, Culture=neutral, PublicKeyToken=3cbcbcc9bf57ecde'.
2012-05-29 10:09:42 IdeaBlade.Core.Composition.PartsCatalog:LoadCatalog Error loading assembly 'D:\TFS\70_VisionCore\iRely Suite\Global Components\iRely.BusinessObjectServer\bin\ActiveDatabaseSoftware.ExpressionEditor.dll' for PartsCatalog: Could not load type 'Deflate.Attributes.TargetFrameworkAttribute' from assembly 'ActiveDatabaseSoftware.ExpressionEditor, Version=1.16.1.342, Culture=neutral, PublicKeyToken=3cbcbcc9bf57ecde'.
2012-05-29 10:09:42 IdeaBlade.Core.Composition.PartsCatalog:LoadCatalog Error loading assembly 'D:\TFS\70_VisionCore\iRely Suite\Global Components\iRely.BusinessObjectServer\bin\ActiveDatabaseSoftware.MSSQLMetadataProvider.dll' for PartsCatalog: Could not load type 'Deflate.Attributes.TargetFrameworkAttribute' from assembly 'ActiveDatabaseSoftware.MSSQLMetadataProvider, Version=1.16.1.342, Culture=neutral, PublicKeyToken=3cbcbcc9bf57ecde'.
2012-05-29 10:09:43 IdeaBlade.Core.Composition.PartsCatalog:LoadCatalog Assembly 'iRely.ConnectionManager, Version=11.0.0.0, Culture=neutral, PublicKeyToken=null' added to PartsCatalog
2012-05-29 10:09:43 IdeaBlade.Core.Composition.PartsCatalog:LoadCatalog Assembly 'iRely.i21Manager.BRL, Version=11.0.0.0, Culture=neutral, PublicKeyToken=null' added to PartsCatalog
2012-05-29 10:09:43 IdeaBlade.Core.Composition.PartsCatalog:LoadCatalog Assembly 'iRely.Petrolac.TankManagement.BRL, Version=11.0.0.0, Culture=neutral, PublicKeyToken=null' added to PartsCatalog
2012-05-29 10:09:43 IdeaBlade.Core.Composition.PartsCatalog:LoadCatalog MEF assembly probing completed: 5/29/2012 10:09:43 AM
===========================================================================
and
===========================================================================
2012-05-29 10:09:43 IdeaBlade.Core.Composition.PartsCatalog:LoadCatalog MEF assembly probing started: 5/29/2012 10:09:43 AM. If this takes a long time, use IdeaBlade.Core.Composition.CompositionHost to specify/restrict which assemblies to probe.
2012-05-29 10:09:44 IdeaBlade.Core.Composition.PartsCatalog:LoadCatalog Error loading assembly 'D:\TFS\70_VisionCore\iRely Suite\Global Components\iRely.BusinessObjectServer\bin\ActiveDatabaseSoftware.ActiveQueryBuilder.dll' for PartsCatalog: Could not load type 'Deflate.Attributes.TargetFrameworkAttribute' from assembly 'ActiveDatabaseSoftware.ActiveQueryBuilder, Version=1.16.1.342, Culture=neutral, PublicKeyToken=3cbcbcc9bf57ecde'.
2012-05-29 10:09:44 IdeaBlade.Core.Composition.PartsCatalog:LoadCatalog Error loading assembly 'D:\TFS\70_VisionCore\iRely Suite\Global Components\iRely.BusinessObjectServer\bin\ActiveDatabaseSoftware.ExpressionEditor.dll' for PartsCatalog: Could not load type 'Deflate.Attributes.TargetFrameworkAttribute' from assembly 'ActiveDatabaseSoftware.ExpressionEditor, Version=1.16.1.342, Culture=neutral, PublicKeyToken=3cbcbcc9bf57ecde'.
2012-05-29 10:09:44 IdeaBlade.Core.Composition.PartsCatalog:LoadCatalog Error loading assembly 'D:\TFS\70_VisionCore\iRely Suite\Global Components\iRely.BusinessObjectServer\bin\ActiveDatabaseSoftware.MSSQLMetadataProvider.dll' for PartsCatalog: Could not load type 'Deflate.Attributes.TargetFrameworkAttribute' from assembly 'ActiveDatabaseSoftware.MSSQLMetadataProvider, Version=1.16.1.342, Culture=neutral, PublicKeyToken=3cbcbcc9bf57ecde'.
2012-05-29 10:09:44 IdeaBlade.Core.Composition.PartsCatalog:LoadCatalog Assembly 'iRely.ConnectionManager, Version=11.0.0.0, Culture=neutral, PublicKeyToken=null' added to PartsCatalog
2012-05-29 10:09:44 IdeaBlade.Core.Composition.PartsCatalog:LoadCatalog Assembly 'iRely.i21Manager.BRL, Version=11.0.0.0, Culture=neutral, PublicKeyToken=null' added to PartsCatalog
2012-05-29 10:09:44 IdeaBlade.Core.Composition.PartsCatalog:LoadCatalog Assembly 'iRely.Petrolac.TankManagement.BRL, Version=11.0.0.0, Culture=neutral, PublicKeyToken=null' added to PartsCatalog
2012-05-29 10:09:44 IdeaBlade.Core.Composition.PartsCatalog:LoadCatalog MEF assembly probing completed: 5/29/2012 10:09:44 AM
===========================================================================
while it only happens once in the working log:
===========================================================================
2012-05-31 21:51:28 IdeaBlade.Core.Composition.PartsCatalog:LoadCatalog MEF assembly probing started: 5/31/2012 9:51:28 PM. If this takes a long time, use IdeaBlade.Core.Composition.CompositionHost to specify/restrict which assemblies to probe.
2012-05-31 21:51:28 IdeaBlade.Core.Composition.PartsCatalog:LoadCatalog Assembly 'iRely.ConnectionManager, Version=11.0.0.0, Culture=neutral, PublicKeyToken=null' added to PartsCatalog
2012-05-31 21:51:28 IdeaBlade.Core.Composition.PartsCatalog:LoadCatalog Assembly 'iRely.i21Manager.BRL, Version=11.0.0.0, Culture=neutral, PublicKeyToken=null' added to PartsCatalog
2012-05-31 21:51:28 IdeaBlade.Core.Composition.PartsCatalog:LoadCatalog MEF assembly probing completed: 5/31/2012 9:51:28 PM
===========================================================================
3) Can we take a look at your ServiceHostEvents? Also, note that it is only present in the working log.
4) We also noticed that in the non-working log EntityService doesn't start properly as there is no endpoint:
2012-05-29 10:09:44 IdeaBlade.EntityModel.Server.EntityServiceHostFactory:CreateServiceHost Error: No endpoint addresses found for EntityService
So I'm wondering how it worked in the first place. What operations were you able to perform before it stopped working?
5) Does any of your other services try to use DevForce? This is just a guess, but maybe this might shed some light on why the different initialization paths as in both debug logs.
Silvio.