May 28, 2015 08:38 PM|ngaisteve1|LINK
I created a web application from visual studio express and in it, there is this Account folder which has these few files:
and so on.
I have also created the database from the command line using: aspnet_regsql.exe -W
I have this connection string in my web.config
<add name="DbConn" connectionString="Server=.\SQLExpress;AttachDbFilename=C:\Program Files (x86)\Microsoft SQL Server\MSSQL12.SQLEXPRESS\MSSQL\DATA\UMS.mdf;Database=UMS;Trusted_Connection=Yes;"/>
and in my IdentityModels.vb, I have set it to:
Public Sub New()
But, when I run register.aspx and hit Register button, I got this error:
The connection string 'DbConn' in the application's configuration file does not contain the required providerName attribute."