简体   繁体   English

IIS上的asp.net网站

[英]asp.net website on IIS

When I deploy my project to inetpub/wwwroot/ directory, and trying to run my index.aspx file though browser, it shows this error: 当我将项目部署到inetpub/wwwroot/目录,并尝试通过浏览器运行index.aspx文件时,它显示此错误:

Line 44:        < authentication mode="Windows" / >
Source File: c:\inetpub\wwwroot\conversion\web.config    Line: 44 
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3615; ASP.NET     Version:2.0.50727.3618

I don't know what the problem is. 我不知道问题是什么。 How can this be fixed? 如何解决?

IIS version 5.1 IIS 5.1版

You need to look in your web.config file and and change the authentication mode to "None" 您需要查看您的web.config文件,并将身份验证模式更改为"None"

<authentication mode="None" />

You can read more about authentication modes and how they work here. 您可以在此处阅读有关身份验证模式及其工作方式的更多信息

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

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