xperience .net 8

Craig Wyatt asked on October 18, 2024 22:03

I was trying to run my xperience site in .net 8 and run the "dotnet run --no-build --kxp-update" command to update the DB and was getting an error, When I switched back to .net 6 the update ran fine. Any thoughts on why this occurred?

Unhandled exception: System.ComponentModel.Win32Exception (5): An error occurred trying to start process 'C:\Users\USER\source\repos\Infusion\bin\Debug\net8.0\infusion.exe' with working directory 'C:\Users\USER\source\repos\Infusion'. Access is denied.
   at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
   at Microsoft.DotNet.Cli.Utils.Command.Execute(Action`1 processStarted)
   at Microsoft.DotNet.Tools.Run.RunCommand.Execute()
   at System.CommandLine.Invocation.InvocationPipeline.Invoke(ParseResult parseResult)
   at Microsoft.DotNet.Cli.Program.ProcessArgs(String[] args, TimeSpan startupTime, ITelemetry telemetryClient)

Correct Answer

Juraj Ondrus answered on October 19, 2024 04:46

For Xperience by Kentico related issues please use the Xperience by Kentico community portal.

1 votesVote for this answer Unmark Correct answer

   Please, sign in to be able to submit a new answer.