I am now getting this error after upgrading our asp.net core project to 25.5.0
Init error. Please make sure your Startup.cs has the Doconut middleware declared. Handler is: /DocImage.axd
Even though in program.cs I have this code snippet
app.MapWhen(
context => context.Request.Path.ToString().EndsWith("DocImage.axd"),
appBranch =>
{
appBranch.UseDoconut(new DoconutOptions { UnSafeMode = false, ShowDoconutInfo = false });
}
);
This used to work fine before.
Then it redirects to:
This localhost page can’t be found
No webpage was found for the web address: https://localhost:5001/DocImage.axd?Init=1&Zoom=75&token=&rnd=121753351691027&format=png
downgraded to 25.1.0.0 and get this addition error message
Return: Doconut 25.1.0.0 is running on localhost:5001. Error: Cannot read properties of undefined (reading ‘childNodes’)
Hi @Vametric01,
Thank you for the detailed information.
Please note that the error you’re experiencing is not related to the license or the new version 25.5.0, but most likely due to a configuration issue in your project.
To assist you more effectively, could you please send us a minimal sample project where the issue can be reproduced? This will help us identify the root cause and provide you with a precise solution.