I have a .NET web application in which I end up with the following error:
Parser Error Message: The connection name 'ApplicationServices' was not found in the applications configuration or the connection string is empty.Source Error: Line 57: <providers>Line 58: <clear/>Line 59: <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/"/>Line 60: </providers>Line 61: </membership>
Now the thing is that i have also a database in the application but i am not using the database for this type of login.
I "manually" add the following lines and the problem appeared:
Thanks for the information. I changed the connection string name to a connection string that is defined before. Note that as underlined, I don't use the logic of connection string for logging in, yet I changed it as follows:
and I end up with the following error, and registering aspnet_regsql.exe didn't help
Could not find stored procedure 'dbo.aspnet_CheckSchemaVersion'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException: Could not find stored procedure 'dbo.aspnet_CheckSchemaVersion'.
Please help.
Best regards.
Naitik Gamit
Try to, restarting management studio would resolve the issue in most of the cases.
Thanks for the information. I changed the connection string name to a connection string that is defined before. Note that as underlined, I don't use the logic of connection string for logging in, yet I changed it as follows:
Open in new window
and I end up with the following error, and registering aspnet_regsql.exe didn't help
Could not find stored procedure 'dbo.aspnet_CheckSchemaVer
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlE
Please help.
Best regards.