我目前正在考虑devloping一个ASP.NET网站。我在我的开发机器上配置了IIS7以及我的服务器。ASP.net部署
我已经将开发文件复制到我的开发机器上的本地IIS服务器上,并且这种工作正常,没有任何问题。
然而,当我在VS2010通过FTP上传的ASP.NET应用程序,以我的网站mydomain.com/myasp
它显示它说的错误:
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
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.
Source Error: Line 34: ASP.NET to identify an incoming user. Line 35: --> Line 36: Line 37: section enables configuration
我已经转换目录IIS内的应用程序,但它仍然会出现这个错误。
你可以提供任何帮助将是巨大的感谢
发布截图或确切的措辞? – 2011-04-09 02:43:56
看看这个问题:http://stackoverflow.com/questions/470136/configuring-an-asp-net-application-in-iis。你说你创建了一个应用程序,你是否仅将执行权限设置为脚本? – rsbarro 2011-04-09 03:01:25