Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.
原因:
没有建立虚拟目录
iis里把你的虚拟目录-属性-主目录-应用程序-创建
创建为应用程序即可
几个比较好的Asp.net程序:http://www.28600.com/article1/1-42331.htm