简体   繁体   English

需要帮助将IIS配置为提供2.0 Web服务

[英]Need help configuring IIS to serve 2.0 web services

I am attempting to deploy an ASP.NET 2.0 Web service application on an IIS server that currently serves a large .NET 1.0 web application. 我试图在当前为大型.NET 1.0 Web应用程序提供服务的IIS服务器上部署ASP.NET 2.0 Web服务应用程序。

I have set up an appropriate virtual directory and have set the ASP.NET version for the virtual directory to 2.0, when I attempt to browse the site in a web-browser, I am prompted for a password. 我已经设置了适当的虚拟目录,并将虚拟目录的ASP.NET版本设置为2.0,当我尝试在Web浏览器中浏览站点时,系统提示我输入密码。 If I set the ASP.NET version down to 1.0, I am not prompted for a password, but obviously receive a full application error. 如果我将ASP.NET版本设置为1.0,则不会提示我输入密码,但是显然会收到完整的应用程序错误。

How can I configure IIS so that I can have the .NET 2.0 version selected without requiring the password prompt? 如何配置IIS,以便无需密码提示即可选择.NET 2.0版本?

I have anonymous access enabled and have the "Authenticated Access" set to integrated windows authentication" 我启用了匿名访问,并将“身份验证访问”设置为集成Windows身份验证”

Any help or suggestions is appreciated... 任何帮助或建议,表示赞赏...

Thanks. 谢谢。

I would start with a few things. 我将从几件事开始。

  1. Ensure that you have a separate application pool that you are running this under 确保您有一个单独的应用程序池,您可以在下面运行该应用程序池
  2. Ensure that the proper user account has permission to the directory that your web services are located. 确保正确的用户帐户有权访问Web服务所在的目录。 (Typically this is the network service account) (通常是网络服务帐户)
  3. If this is still an issue after this, test another .NET 2.0 app, if you get issues try reparing or re-installing ASP.NET via the aspnet_regiis.exe app. 如果在此之后仍然存在问题,请测试另一个.NET 2.0应用程序,如果遇到问题,请尝试通过aspnet_regiis.exe应用程序修复或重新安装ASP.NET。

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

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