Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

404 from POST to BVNetwork.404Handler/NotFoundRedirect/MigrateDdsToSql

Vote:
 

Ironically I'm looking at a solution where I get a 404 when I try clicking the Migrate-button to "Migrate redirects from DDS to SQL" in the Administer-section of the Custom Redirects Manager:

The post looks like this:

curl 'https://www.mysite.com/episerver/BVNetwork.404Handler/NotFoundRedirect/MigrateDdsToSql' --data-raw 'gadgetId=4b5675a4-2c67-46e0-9ae4-1e205ae62068'

Will dig further but feel free to tell me if you have seen this...

The Migrate-button works in other environments for the same solution.

#248709
Feb 16, 2021 13:12
valdis - Feb 17, 2021 10:23
inception. heisenbug. could be something related on compilation mode? is error in local run?
Johan Kronberg - Feb 17, 2021 10:50
Update! Got tricked by the site's custom error setup answering 404 for 500 errors in production. Found that it was this error being thrown: https://github.com/Geta/404handler/issues/146
Ran the DELETE-statement mentioned there and all things seem to work now.
DELETE FROM [dbo].[tblBigTable] WHERE StoreName = 'BVNetwork.FileNotFound.Redirects.CustomRedirect' AND String01 IS NULL
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.