Tema: Sesion
Ver Mensaje Individual
  #1 (permalink)  
Antiguo 13/08/2007, 00:38
borjagat
 
Fecha de Ingreso: junio-2007
Mensajes: 380
Antigüedad: 16 años, 11 meses
Puntos: 0
Sesion

Hola
Tengo una sesión que expira cuando estoy inactivo un tiempo. QUe puedo hacer?


Detalles de la excepción: System.Data.SqlClient.SqlException: Error en el nivel de transporte al enviar la solicitud al servidor. (provider: Proveedor de TCP, error: 0 - Se ha forzado la interrupción de una conexión existente por el host remoto.)

Error de código fuente:


Línea 74: catch (Exception e)
Línea 75: {
Línea 76: throw e;
Línea 77: }
Línea 78: }


Archivo de origen: C:\Documents and Settings\sgidaniel\Mis documentos\visual studio 2005\Projects\TINSA-GESTORINCIDENCIAS\TINSA-GESTORINCIDENCIASLogica\com\tinsa\db\manager\Usuar ioManager.cs Línea: 76

Seguimiento de la pila:


[SqlException (0x80131904): Error en el nivel de transporte al enviar la solicitud al servidor. (provider: Proveedor de TCP, error: 0 - Se ha forzado la interrupción de una conexión existente por el host remoto.)]
System.Data.SqlClient.SqlConnection.OnError(SqlExc eption exception, Boolean breakConnection) +857242
System.Data.SqlClient.SqlInternalConnection.OnErro r(SqlException exception, Boolean breakConnection) +734854
System.Data.SqlClient.TdsParser.ThrowExceptionAndW arning(TdsParserStateObject stateObj) +188
System.Data.SqlClient.TdsParserStateObject.ThrowEx ceptionAndWarning() +13
System.Data.SqlClient.TdsParserStateObject.WriteSn i() +637921
System.Data.SqlClient.TdsParserStateObject.WritePa cket(Byte flushMode) +265
System.Data.SqlClient.TdsParserStateObject.Execute Flush() +51
System.Data.SqlClient.TdsParser.TdsExecuteRPC(_Sql RPC[] rpcArray, Int32 timeout, Boolean inSchema, SqlNotificationRequest notificationRequest, TdsParserStateObject stateObj) +3977
System.Data.SqlClient.SqlCommand.RunExecuteReaderT ds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +886
System.Data.SqlClient.SqlCommand.RunExecuteReader( CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +132
System.Data.SqlClient.SqlCommand.RunExecuteReader( CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +32
System.Data.SqlClient.SqlCommand.ExecuteReader(Com mandBehavior behavior, String method) +122
System.Data.SqlClient.SqlCommand.ExecuteDbDataRead er(CommandBehavior behavior) +12
System.Data.Common.DbCommand.System.Data.IDbComman d.ExecuteReader() +9
NHibernate.Impl.BatcherImpl.ExecuteReader(IDbComma nd cmd) +32
NHibernate.Loader.Loader.GetResultSet(IDbCommand st, RowSelection selection, ISessionImplementor session) +182
NHibernate.Loader.Loader.DoQuery(ISessionImplement or session, QueryParameters queryParameters, Boolean returnProxies) +175
NHibernate.Loader.Loader.DoQueryAndInitializeNonLa zyCollections(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) +56
NHibernate.Loader.Loader.DoList(ISessionImplemento r session, QueryParameters queryParameters) +30

[ADOException: could not execute query
[ select usuario0_.id as id29_, usuario0_.mailCorreo as mailCorreo29_ from USUARIOS_TECNICOS usuario0_ where (usuario0_.id=? ) ]
Positional parameters: 0 sgidaniel
[SQL: select usuario0_.id as id29_, usuario0_.mailCorreo as mailCorreo29_ from USUARIOS_TECNICOS usuario0_ where (usuario0_.id=? )]]
com.tinsa.db.manager.UsuarioManager.obtenerRoles(S tring usuario) in C:\Documents and Settings\sgidaniel\Mis documentos\visual studio 2005\Projects\TINSA-GESTORINCIDENCIAS\TINSA-GESTORINCIDENCIASLogica\com\tinsa\db\manager\Usuar ioManager.cs:76
ASP.global_asax.Application_AuthenticateRequest(Ob ject sender, EventArgs e) +366
System.Web.SyncEventExecutionStep.System.Web.HttpA pplication.IExecutionStep.Execute() +92
System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean& completedSynchronously) +64