Server Error in '/' Application.

Cannot insert the value NULL into column 'brandID', table 'Accor.dbo.tbl_STATS_Reservations'; column does not allow nulls. INSERT fails. The statement has been terminated.

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: Cannot insert the value NULL into column 'brandID', table 'Accor.dbo.tbl_STATS_Reservations'; column does not allow nulls. INSERT fails. The statement has been terminated.

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: Cannot insert the value NULL into column 'brandID', table 'Accor.dbo.tbl_STATS_Reservations'; column does not allow nulls. INSERT fails.
The statement has been terminated.]
   System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream) +742
   System.Data.SqlClient.SqlCommand.ExecuteNonQuery() +195
   Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters) +78
   Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(SqlConnection connection, String spName, Object[] parameterValues) +77
   Accor_DAL.DBData.ExecStoredProcedure(String ProcedureName, SqlParameter[] Parameters) in D:\projects\Accor\Accor_DAL\DBData.cs:97
   Accor_CommonWeb.Reservation.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\Accor_CommonWeb\Reservation.aspx.cs:29
   System.EventHandler.Invoke(Object sender, EventArgs e) +0
   System.Web.UI.Control.OnLoad(EventArgs e) +67
   System.Web.UI.Control.LoadRecursive() +35
   System.Web.UI.Page.ProcessRequestMain() +750


Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032