I recently encountered a problem during development, and it took me two days to finally solve it. Summarize it for your reference.
I downloaded an asp.net project from my mailbox to the local machine, then created a virtual directory, opened it with VS, ran the debugger, and an error occurred.
Then, open IE and enter the virtual directory, and an error appears that there is no permission to access the folder.
I checked the information online and found that the aspnet account does not have execution permissions on the project folder. There is no security item in the friend menu of my project folder (my system partition is NTFS, which is very strange), so this method still does not solve the problem.
Finally, I created a DotNet folder on the C drive and moved the project into it, and the problem was finally solved.