Errores comunes reportados:
Exception Details: System.Data.SqlClient.SqlException: Could not find stored procedure 'dbo.aspnet_CheckSchemaVersion'.
Este tipo de errores se presenta cuando usted no ha registrado las clases y/o procedimientos de SQL Server en su base de datos. Para hacerlo debe seguir los pasos a continuacion:
Asegurese de tener instalado el framework especifico en su equipo local.
Ejecute la siguiente aplicacion:
C:\%windir%\Microsoft.NET\Framework\aspnet_regsql.exe
Cuando abra el programa:
1. Seleccione "Configurar SQL para una aplicacion" ("Configure SQL for application service")
2. Ingrese los siguiente datos:
a. Servidor - Use la direccion de servidor para su cuenta de hosting cuando creo su base de datos, generalmente windowsxx.imaginadw.com o sudominio.com
b. Seleccione - Autentificacion Sql Server
c. Nombre de Usuario - El usuario de base de datos creado en su panel de control de hosting windows.
d. Password - La contraseña asignada en su panel de control de hosting windows.
e. Database - El nombre de la base de datos creada en su panel de control de hosting windows.
3. Continue al siguiente paso y finalize la aplicación.
Tutorial Original en Inglés:
ASP.NET includes a SQL Server provider for the following ASP.NET features:
-
Membership (the SqlMembershipProvider class).
-
Role management (the SqlRoleProvider class).
-
Profile (the SqlProfileProvider class).
-
Web Parts personalization (the SqlPersonalizationProvider class).
-
Web events (the SqlWebEventProvider class).
To register your database as ASP.NET provider you need to run the Aspnet_regsql.exe tool, which can be found in
C:\%windir%\Microsoft.NET\Framework\\aspnet_regsql.exe
When the wizard starts:
1. Select "Configure SQL for application service"
2. Enter the following:
a. Server - use the server address listed in "Database server" field when you were creating your database in Plesk
b. Select SQL Server authentication
c. User name - enter the database user that you have setup in Plesk.
d. Password - enter the database password that you have setup in Plesk.
e. Database - enter the database name that you have setup in Plesk.
3. Proceed to next screen and finish the setup.
