Foros del Web » Programando para Internet » ASPX (.net) »

Error "Could not find stored procedure"

Estas en el tema de Error "Could not find stored procedure" en el foro de ASPX (.net) en Foros del Web. Buen día Paso por aqui a solicitarles ayuda con un error que se esta generando luego de realizar migración de hosting, espero me puedan dar ...
  #1 (permalink)  
Antiguo 13/03/2012, 10:01
 
Fecha de Ingreso: marzo-2012
Mensajes: 2
Antigüedad: 12 años, 1 mes
Puntos: 0
Información Error "Could not find stored procedure"

Buen día

Paso por aqui a solicitarles ayuda con un error que se esta generando luego de realizar migración de hosting, espero me puedan dar una mano con este error.

Código:
Server Error in '/' Application.
--------------------------------------------------------------------------------

Could not find stored procedure 'indulatex.spUsuariosShoppLoginOk'. 
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 'indulatex.spUsuariosShoppLoginOk'.

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: 


[SqlException (0x80131904): Could not find stored procedure 'indulatex.spUsuariosShoppLoginOk'.]
   System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +2030802
   System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +5009584
   System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning() +234
   System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +2275
   System.Data.SqlClient.SqlDataReader.ConsumeMetaData() +33
   System.Data.SqlClient.SqlDataReader.get_MetaData() +86
   System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +311
   System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +987
   System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +162
   System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +32
   System.Data.SqlClient.SqlCommand.ExecuteScalar() +139
   dsShoppingTableAdapters.tUsuariosShoppTableAdapter.spLoginOk(String Usuario, String Password) +293
   _Default.btnIngresar_Click(Object sender, EventArgs e) +334
   System.Web.UI.WebControls.Button.OnClick(EventArgs e) +118
   System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +112
   System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5563

 


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1
Este error se presenta en el momento de ingresar con uno de los usuarios del aplicativo, porque al ingresar con elsuperadministrador no arroja ningun error y de hecho puedo realizar consultas correctamente a la base de datos...

Desde ya muchas gracias.
  #2 (permalink)  
Antiguo 13/03/2012, 15:37
Avatar de mackbeth  
Fecha de Ingreso: noviembre-2005
Mensajes: 370
Antigüedad: 18 años, 5 meses
Puntos: 10
Respuesta: Error "Could not find stored procedure"

Y en la migración de tu hosting, ¿También se migró completa tu Base de datos?
__________________
«~MaGax3iNeMD~»
  #3 (permalink)  
Antiguo 13/03/2012, 17:13
 
Fecha de Ingreso: marzo-2012
Mensajes: 2
Antigüedad: 12 años, 1 mes
Puntos: 0
Respuesta: Error "Could not find stored procedure"

Así es Mackbeth, generé un script desde SQL y lo monté en el nuevo hosting, en este momento me dispongo a bajar de nuevo la base de datos y realizar el traspaso de la BD de servidor a servidor para ver si esto corrige el error.
  #4 (permalink)  
Antiguo 14/03/2012, 09:38
Avatar de mackbeth  
Fecha de Ingreso: noviembre-2005
Mensajes: 370
Antigüedad: 18 años, 5 meses
Puntos: 10
Respuesta: Error "Could not find stored procedure"

Precisamente te iba a sugerir eso, suerte!!
__________________
«~MaGax3iNeMD~»
  #5 (permalink)  
Antiguo 14/03/2012, 13:29
 
Fecha de Ingreso: enero-2012
Mensajes: 4
Antigüedad: 12 años, 4 meses
Puntos: 0
Respuesta: Error "Could not find stored procedure"

Es claro te dice que no a podido encontrar el procedimiento almacenado de nombre "indulatex.spUsuariosShoppLoginOk" te recomiendo que revises tu base de datos, quizas migro de forma incorrecta
  #6 (permalink)  
Antiguo 14/03/2012, 21:31
Avatar de ramirezmario7  
Fecha de Ingreso: febrero-2008
Ubicación: Medellín
Mensajes: 336
Antigüedad: 16 años, 2 meses
Puntos: 56
Respuesta: Error "Could not find stored procedure"

Porque en vez de generar el script haces una backup completo de tu base de datos y despues lo restauras donde lo necesitas
__________________
Mario Ramírez
Desarrollador .NET MCTS
https://www.mcpvirtualbusinesscard.c...nteractivecard

Etiquetas: asp, control, find, net, sql, stored
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 19:59.