-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgraded to Latest Version - ERROR BVNetwork.NotFound.Core.Data.SqlRedirectRepository: An error occured while creating a redirect. #142
Comments
Hi, @Ram-K-Kumar thanks for reporting the error. I will check it this week. |
Hi, Any progress on this? Edit: Just upgraded to 11.2.2 but still same error. /Erik |
Same error for me as well. |
I have pushed the fix to the Episerver Nuget feed but still waiting for it to be approved. |
Just pushed it through, available in the feed now. |
I tested with version 11.2.3 but still get the same error when trying to migrate. |
@ErikJJonsson Can you give more details of your issue? This issue is about saving suggestions, not migration. |
Thank you @marisks . Issue is resolved. |
Migrated Redirects from DDS to SQL
Clicking on "Ignore" icon in the "Suggestions" section generates the following error
2019-02-12 08:09:18,018 [71] ERROR EPiServer.Global: Unhandled exception in ASP.NET
System.Data.SqlClient.SqlException (0x80131904): The parameterized query '(@id uniqueidentifier,@oldurl nvarchar(2000),@newurl nvarchar(20' expects the parameter '@newurl', which was not supplied.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action
1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource
1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource
1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at BVNetwork.NotFound.Core.Data.SqlRedirectRepository.<>c__DisplayClass19_0.<ExecuteNonQuery>b__0() at EPiServer.Data.Providers.Internal.SqlDatabaseExecutor.<>c__DisplayClass34_0.<Execute>b__0() at EPiServer.Data.Providers.Internal.SqlDatabaseExecutor.<>c__DisplayClass31_0
1.b__0()at EPiServer.Data.Providers.SqlTransientErrorsRetryPolicy.Execute[TResult](Func
1 method) at BVNetwork.NotFound.Core.Data.SqlRedirectRepository.Create(CustomRedirect entity) at BVNetwork.NotFound.Controllers.NotFoundRedirectController.IgnoreRedirect(String oldUrl, Int32 pageNumber, String searchWord, Int32 pageSize) at lambda_method(Closure , ControllerBase , Object[] ) at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary
2 parameters)at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass24_0.b__0()
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func
1 continuation) at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func
1 continuation)at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)
at System.Web.Mvc.Controller.ExecuteCore()
at System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext)
at EPiServer.Shell.Web.Mvc.ModuleMvcHandler.ProcessController(IController controller)
at EPiServer.Shell.Web.Mvc.ModuleMvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
ClientConnectionId:691772a4-4415-4110-8442-5b19691c4979
Error Number:8178,State:1,Class:16
System.Data.SqlClient.SqlException (0x80131904): The parameterized query '(@id uniqueidentifier,@oldurl nvarchar(2000),@newurl nvarchar(20' expects the parameter '@newurl', which was not supplied.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action
1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource
1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource
1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at BVNetwork.NotFound.Core.Data.SqlRedirectRepository.<>c__DisplayClass19_0.<ExecuteNonQuery>b__0() at EPiServer.Data.Providers.Internal.SqlDatabaseExecutor.<>c__DisplayClass34_0.<Execute>b__0() at EPiServer.Data.Providers.Internal.SqlDatabaseExecutor.<>c__DisplayClass31_0
1.b__0()at EPiServer.Data.Providers.SqlTransientErrorsRetryPolicy.Execute[TResult](Func
1 method) at BVNetwork.NotFound.Core.Data.SqlRedirectRepository.Create(CustomRedirect entity) at BVNetwork.NotFound.Controllers.NotFoundRedirectController.IgnoreRedirect(String oldUrl, Int32 pageNumber, String searchWord, Int32 pageSize) at lambda_method(Closure , ControllerBase , Object[] ) at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary
2 parameters)at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass24_0.b__0()
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func
1 continuation) at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func
1 continuation)at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)
at System.Web.Mvc.Controller.ExecuteCore()
at System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext)
at EPiServer.Shell.Web.Mvc.ModuleMvcHandler.ProcessController(IController controller)
at EPiServer.Shell.Web.Mvc.ModuleMvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
ClientConnectionId:691772a4-4415-4110-8442-5b19691c4979
Error Number:8178,State:1,Class:16
The text was updated successfully, but these errors were encountered: