I can't debug my application using a local IIS server. However, when I change to IIS Express I can debug my application.
I'm running Visual Studio as an administrator.
First thing you have to do is:
register asp.net first to iis server like this;
run cmd as administrator.
in IIS >>> application pools >>> .net framework.. check your project framework here if the same of your project framework setting.