there are a ton of SO postings on this subject. by far, the solution seems to be to configure the directory in IIS as an application. Another common solution is to remove
You probably built the project under 'Release' and then reverted to 'Debug'. You should switch to 'Release' and perform Clean Solution: section registered as allowDefinition='MachineToApplication' beyond application level