Server Error in '/' Application.

Logon failed for login 'DB_50399_sb_user' due to trigger execution.
Changed database context to 'DB_50399_sb'.
Changed language setting to us_english.

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: Logon failed for login 'DB_50399_sb_user' due to trigger execution.
Changed database context to 'DB_50399_sb'.
Changed language setting to us_english.

Source Error:


Line 276:        End If
Line 277:        If con.state Then con.close()
Line 278:        con.open()
Line 279:        cmdg = New sqlcommand(sql, con)
Line 280:        myreaderg = cmdg.executereader

Source File: E:\web\saujanya\VB\Default.aspx    Line: 278

Stack Trace:


[SqlException (0x80131904): Logon failed for login 'DB_50399_sb_user' due to trigger execution.
Changed database context to 'DB_50399_sb'.
Changed language setting to us_english.]
   System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +428
   System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +65
   System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +117
   System.Data.SqlClient.SqlConnection.Open() +122
   ASP.default_aspx.bookcode2priceusd(Object bookcode) in E:\web\saujanya\VB\Default.aspx:278
   ASP.default_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in E:\web\saujanya\default.aspx:2216


Version Information: Microsoft .NET Framework Version:2.0.50727.9061; ASP.NET Version:2.0.50727.9062