简体   繁体   中英

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.

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. 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.

How can I configure IIS so that I can have the .NET 2.0 version selected without requiring the password prompt?

I have anonymous access enabled and have the "Authenticated Access" set to integrated windows authentication"

Any help or suggestions is appreciated...

Thanks.

首先,请确保您正在运行两个应用程序池,一个用于任何.Net 1.1 Web应用程序,另一个用于任何.Net 2.0 Web应用程序。

Be sure to run

c:\windows\microsoft.net\framework\v2.0.50727\aspnet_regiis.exe -i

This will ensure that ASP.Net 2.0 is setup correctly with the IIS server.

Secondly, be sure that the Temp ASP.Net folder has read/write permissions for the user that is accessing the site (IUSR_COMPUTERNAME or IIS_USER).

C:\windows\microsoft.net\framework\v2.0.50727\Temporary ASP.NET Files\

Hope that helps.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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