Resolution of the dependency failed

Mar 7, 2012 at 4:36 AM

Hi,

 

I am getting the following exception. If anyone has encountered the error before please let me know the solutions.

System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]:
Resolution of the dependency failed, type =
"OpenSolutions.LoanMaintenance.Services.Account.IAccountService",
name = "(none)".



Exception occurred while: Calling constructor
Microsoft.Practices.Unity.InterceptionExtension.PolicyInjectionBehavior(Microsoft.Practices.Unity.InterceptionExtension.CurrentInterceptionRequest
interceptionRequest,
Microsoft.Practices.Unity.InterceptionExtension.InjectionPolicy[] policies,
Microsoft.Practices.Unity.IUnityContainer container).



Exception is: ResolutionFailedException - Resolution of the
dependency failed, type =
"Microsoft.Practices.Unity.InterceptionExtension.ICallHandler", name
= "a1d99da8-ed31-429c-88c3-4df56bb601a7".

Exception occurred while: while resolving.

Exception is: InvalidOperationException - Currently
composing another batch in this ComposablePartExportProvider. Only one batch can be composed
at a time.

-----------------------------------------------

At the
time of the exception, the container was:

Resolving OpenSolutions.Sys.ServiceModel.Servi...
(Fault Detail is equal to An ExceptionDetail, likely created by
IncludeExceptionDetailInFaults=true, whose value is:



Microsoft.Practices.Unity.ResolutionFailedException:
Resolution of the dependency failed, type =
"OpenSolutions.LoanMaintenance.Services.Account.IAccountService",
name = "(none)".

Exception occurred while: Calling constructor
Microsoft.Practices.Unity.InterceptionExtension.PolicyInjectionBehavior(Microsoft.Practices.Unity.InterceptionExtension.CurrentInterceptionRequest
interceptionRequest, Microsoft.Practices.Unity.InterceptionExtension.InjectionPolicy[]
policies, Microsoft.Practices.Unity.IUnityContainer container).

Exception is: ResolutionFailedException - Resolution of the
dependency failed, type =
"Microsoft.Practices.Unity.InterceptionExtension.ICallHandler", name
= "a1d99da8-ed31-429c-88c3-4df56bb601a7".

Exception occurred while: while resolving.

Exception is: InvalidOperationException - Currently
composing another batch in this ComposablePartExportProvider. Only one batch
can be composed at a time.



-----...).

Thanks

Pushkar

Coordinator
Mar 7, 2012 at 3:01 PM
This looks like you ate using unity not mef. Please correct me if I am wrong.

- alok

From: pushkarg
Sent: 3/6/2012 9:37 PM
To: Alok Shriram
Subject: Resolution of the dependency failed [MEF:347598]

From: pushkarg

Hi,

I am getting the following exception. If anyone has encountered the error before please let me know the solutions.

System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]:
Resolution of the dependency failed, type =
"OpenSolutions.LoanMaintenance.Services.Account.IAccountService",
name = "(none)".



Exception occurred while: Calling constructor
Microsoft.Practices.Unity.InterceptionExtension.PolicyInjectionBehavior(Microsoft.Practices.Unity.InterceptionExtension.CurrentInterceptionRequest
interceptionRequest,
Microsoft.Practices.Unity.InterceptionExtension.InjectionPolicy[] policies,
Microsoft.Practices.Unity.IUnityContainer container).



Exception is: ResolutionFailedException - Resolution of the
dependency failed, type =
"Microsoft.Practices.Unity.InterceptionExtension.ICallHandler", name
= "a1d99da8-ed31-429c-88c3-4df56bb601a7".

Exception occurred while: while resolving.

Exception is: InvalidOperationException - Currently
composing another batch in this ComposablePartExportProvider. Only one batch can be composed
at a time.

-----------------------------------------------

At the
time of the exception, the container was:

Resolving OpenSolutions.Sys.ServiceModel.Servi...
(Fault Detail is equal to An ExceptionDetail, likely created by
IncludeExceptionDetailInFaults=true, whose value is:



Microsoft.Practices.Unity.ResolutionFailedException:
Resolution of the dependency failed, type =
"OpenSolutions.LoanMaintenance.Services.Account.IAccountService",
name = "(none)".

Exception occurred while: Calling constructor
Microsoft.Practices.Unity.InterceptionExtension.PolicyInjectionBehavior(Microsoft.Practices.Unity.InterceptionExtension.CurrentInterceptionRequest
interceptionRequest, Microsoft.Practices.Unity.InterceptionExtension.InjectionPolicy[]
policies, Microsoft.Practices.Unity.IUnityContainer container).

Exception is: ResolutionFailedException - Resolution of the
dependency failed, type =
"Microsoft.Practices.Unity.InterceptionExtension.ICallHandler", name
= "a1d99da8-ed31-429c-88c3-4df56bb601a7".

Exception occurred while: while resolving.

Exception is: InvalidOperationException - Currently
composing another batch in this ComposablePartExportProvider. Only one batch
can be composed at a time.



-----...).

Thanks

Pushkar

Mar 7, 2012 at 3:34 PM

Somewhere down there he has an export provider:

Exception is: InvalidOperationException - Currently
composing another batch in this ComposablePartExportProvider. Only one batch
can be composed at a time.