Could not find stored procedure 'dbo.aspnet_CheckSchemaVersion'.
I have 2 applications:
- a presentation Umbraco web site;
- an administration Web Forms application.
Each one has it's own database.
I want to use a unique membership system on both so I copied the membership and role provider settings from the admin web.config to the Umbraco web.config.
I placed an ASP.NET Login control on the Umbraco website and tried to log in. When logging in I get the following error: (What could I be doing wrong and what is the best way to use a unique membership system for both applications?)
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'.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
It looks as though the provider is trying to use the Umbraco database, rather than the one with your membership.
You'll need to add a connection string in the Umbraco web.config to your membership database and set the connectionStringName property of your provider to use that.
Could not find stored procedure 'dbo.aspnet_CheckSchemaVersion'.
I have 2 applications:
- a presentation Umbraco web site;
- an administration Web Forms application.
Each one has it's own database.
I want to use a unique membership system on both so I copied the membership and role provider settings from the admin web.config to the Umbraco web.config.
I placed an ASP.NET Login control on the Umbraco website and tried to log in. When logging in I get the following error: (What could I be doing wrong and what is the best way to use a unique membership system for both applications?)
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'.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
Hi Alex,
It looks as though the provider is trying to use the Umbraco database, rather than the one with your membership.
You'll need to add a connection string in the Umbraco web.config to your membership database and set the connectionStringName property of your provider to use that.
So something like:
Hi Lesley,
Yup, that was it! I had created a new connection string in web.config, but I had written the Umbraco database in it.
Thank you very much for the hint!
is working on a reply...