Last post Jul 12, 2018 07:21 AM by Yuki Tao
Jul 11, 2018 06:16 AM|ryoka012|LINK
Please kindly help on this problem.
Below is the said 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)
Thanks for your help.
Jul 11, 2018 08:29 AM|rajesh93180|LINK
The below links may help you.
Jul 12, 2018 05:00 AM|ryoka012|LINK
thanks. it give the hint
Jul 12, 2018 07:21 AM|Yuki Tao|LINK
If you search google there is a whole host of examples of this question being asked.
Maybe you have the same problem and the solution equally applies to you.
Given the limited information we can see, and having no access to your solution, that is the best I can suggest.
Add the providerName="System.Data.SqlClient" property in the ConnectionString configuration section.
You could refer to this link: