简体   繁体   English

在IIS7中发布asp.net网站时出错

[英]Error while publishing asp.net website in IIS7

I am trying to publish my asp.net website on LAN ans i have IIS7 installed on my system i copied all files in "C:\\inetpub\\wwwroot\\Elearn\\" and converted it into Application but when i try to access it in browser it gives this error. 我试图在局域网上发布我的asp.net网站,我的系统上安装了IIS7,我将所有文件复制到“ C:\\ inetpub \\ wwwroot \\ Elearn \\”中,然后将其转换为Application,但是当我尝试在浏览器中访问它时它给出了这个错误。 在此处输入图片说明

Please help me to rectify and run my site. 请帮助我纠正和运行我的网站。 Thanks 谢谢

i get Error when i tried to access my site via Directory Listing . 当我尝试通过目录列表访问我的网站时出现错误。 在此处输入图片说明

What is the landing page for your site called? 您网站的目标网页是什么? If it's not default.aspx, or similar, you will need to add it as a default document in IIS. 如果不是default.aspx或类似名称,则需要将其添加为IIS中的默认文档。

Also, double check the permissions on that directory and make sure your app pool user has the appropriate access to it, and that it inherits down. 另外,请再次检查该目录上的权限,并确保您的应用程序池用户具有对该目录的适当访问权限,并且该目录继承下来。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM