Telerik UI for ASP.Net Core R2 2020 demo running only when run in debug mode

0 Answers 47 Views
Grid
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
SUNIL asked on 26 Nov 2024, 03:38 PM | edited on 27 Nov 2024, 06:00 AM

I installed the Telerik UI for ASP.Net Core R2 2020 version using the msi file.  It installed successfully including the demo application under Kendo.Mvc.Examples folder. When I open the demo application Kendo.Mvc.Examples.csproj project in Visual Studio 2019 and build it so that there are no errors, then running the project in non-debug mode (i.e.  Debug > Start without Debugging) always gives the following error. But, if I run the application in debug mode i.e. Debug > Start Debugging then it runs perfectly, and I can view the demo application in browser without any errors. I have given full security permissions to all users on my laptop for the folder Kendo.Mvc.Examples, and also, I have configured successfully the service dependencies of Secrets.json and a database file on localdb SQL Server.

Could you let me know why the installed demo runs only in debug mode?  I looked at the logs in the Event Viewer and noticed an error message that doesn't tell much.

Error in browser as below when running the demo app in non-debug mode

SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
commented on 26 Nov 2024, 04:27 PM | edited

When I open the same demo project Kendo.Mvc.Examples.csproj in latest JetBrains Rider 2024.2.7 then it runs successfully in non-debug mode without any issues. If after this, I open the same project in Visual Studio 2022 then it also runs successfully in non-debug mode. So, I'm not sure why it doesn't run in Visual Studio 2019.

No answers yet. Maybe you can help?

Tags
Grid
Asked by
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Share this question
or