Quantcast
Channel: ADO.NET, Entity Framework, LINQ to SQL, NHibernate
Viewing all articles
Browse latest Browse all 1698

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

$
0
0

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.


Viewing all articles
Browse latest Browse all 1698

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>