Can't login/debug D365 F&O development environment

Hello everyone,

I am currently having an issue where I cannot connect to my developer environment when IISExpress is started. I don’t get any errors but my browser is stuck loading. I can still connect to the normal IIS however before Visual Studio 2022 is started.

I have tried the following already:

  • Delete applicationhost.config and rebuild
  • Full build and database sync
  • Restart IISExpress

I have had this issue before and last time I could not find a solution so I decided to create a new machine. I then built the same code and had no issues :frowning:

Any help would be greatly appreciated.

Thanks

If anyone is running into a similar issue, I highly recommend creating backups of your virtual machine with Azure and then restoring the disks if the issue occurs. It only took me about 30 minutes in total to get my development machine running again with a restore operation. If you have any new code when the error occurs, you can make sure to create a shelveset with Azure DevOps and then restore the shelveset after restoring the backup.

Regards