locked
The type Database cannot be constructed. You must configure the container to supply this value. RRS feed

  • Question

  • User-2062901272 posted

    Hi experts,

    Please kindly help on this problem.

    Below is the said details

    Exception Details: System.InvalidOperationException: The type Database cannot be constructed. You must configure the container to supply this value.

    below are my code

      Public Sub New(ByVal databaseName As String)
    
            Me.databaseName = databaseName
            Me.db = DatabaseFactory.CreateDatabase(databaseName)
        End Sub

    Thanks for your help.

    Wednesday, July 11, 2018 6:16 AM

All replies