Skip to content

.EnterpriseLibrary.Data.Database error when running mvc core application  #3008

@WaedJabareen

Description

@WaedJabareen

Hi,
I get the following error when I use EnterpriseLibrary.Data.Database library in the class library that called for MVC core application, the logic worked fine with the old web project.
AN EXCEPTION HAS OCCURRED WITH ERRORCODE: Resolution of the dependency failed, type = "Microsoft.Practices.EnterpriseLibrary.Data.Database", name = "Configuration".
Exception occurred while: while resolving.
Exception is: InvalidOperationException - The type Database cannot be constructed. You must configure the container to supply this value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions