Hi folks,
I'm having issues upgrading, as per the title, from version 0.9.161 to latest 1.3.242. I am getting the below IIS error when loading the BugNET folder root
Steps taken:
1. Downloaded install package
1. Merged Web.config files (connection string, machine key, install date)
1. Replaced BugNET directory on IIS with one from install package
1. Checked app pool running in .NET 4 mode
1. Bounced IIS
Error message:
> Server Error in '/BugNET' Application.
>--------------------------------------------------------------------------------
>
>Invalid column name 'ReceiveEmailNotifications'.
>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: Invalid column name 'ReceiveEmailNotifications'.
>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): Invalid column name 'ReceiveEmailNotifications'.]
> System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +404
> System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning() +412
> System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +1363
> System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +6387805
> System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +6389506
> System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +538
> System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) +689
> System.Data.SqlClient.SqlCommand.ExecuteNonQuery() +327
> Altairis.Web.Security.SimpleSqlProfileProvider.SetPropertyValues(SettingsContext context, SettingsPropertyValueCollection collection) +2109
> System.Configuration.SettingsBase.SaveCore() +478
> System.Configuration.SettingsBase.Save() +88
> System.Web.Profile.ProfileBase.SaveWithAssert() +42
> System.Web.Profile.ProfileBase.Save() +122
> System.Web.Security.MembershipUser.Update() +125
> BugNET.HttpModules.AuthenticationModule.context_AuthenticateRequest(Object sender, EventArgs e) +1509
> System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +80
> System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +270
Comments: ``` <add name="ReceiveEmailNotifications" type="Boolean" defaultValue="true" customProviderData="ReceiveEmailNotifications;bit" /> ``` This property should be in the Profile\Properties node in the web.config
I'm having issues upgrading, as per the title, from version 0.9.161 to latest 1.3.242. I am getting the below IIS error when loading the BugNET folder root
Steps taken:
1. Downloaded install package
1. Merged Web.config files (connection string, machine key, install date)
1. Replaced BugNET directory on IIS with one from install package
1. Checked app pool running in .NET 4 mode
1. Bounced IIS
Error message:
> Server Error in '/BugNET' Application.
>--------------------------------------------------------------------------------
>
>Invalid column name 'ReceiveEmailNotifications'.
>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: Invalid column name 'ReceiveEmailNotifications'.
>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): Invalid column name 'ReceiveEmailNotifications'.]
> System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +404
> System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning() +412
> System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +1363
> System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +6387805
> System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +6389506
> System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +538
> System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) +689
> System.Data.SqlClient.SqlCommand.ExecuteNonQuery() +327
> Altairis.Web.Security.SimpleSqlProfileProvider.SetPropertyValues(SettingsContext context, SettingsPropertyValueCollection collection) +2109
> System.Configuration.SettingsBase.SaveCore() +478
> System.Configuration.SettingsBase.Save() +88
> System.Web.Profile.ProfileBase.SaveWithAssert() +42
> System.Web.Profile.ProfileBase.Save() +122
> System.Web.Security.MembershipUser.Update() +125
> BugNET.HttpModules.AuthenticationModule.context_AuthenticateRequest(Object sender, EventArgs e) +1509
> System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +80
> System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +270
Comments: ``` <add name="ReceiveEmailNotifications" type="Boolean" defaultValue="true" customProviderData="ReceiveEmailNotifications;bit" /> ``` This property should be in the Profile\Properties node in the web.config