
重建并更换应用程序池,手动操作,不会的话去百度
重启iis:iisreset
要是担心重启iis不彻底,cmd命令行显性执行:
@rem cmd操作
net stop http /y & net start http & iisreset /restart & net stop w3svc & net start w3svcasp站点调试,一般就是权限、父路径、32位应用程序池、dotnet 版本和是否classic,数据库连接要显性指定端口、源码目录权限、temp目录权限、
iis用户权限(不同版本的系统,iis用户的名称可能不同)
以上关键几点基本涵盖asp调试中大部分问题
2003的IIS一般需要加入users、network service、iis_wpg权限
2008R2一般加这些用户的权限Users;NETWORK SERVICE;IIS_IUSRS;Authenticated Users
≥2012R2一般加这些用户的权限Users;NETWORK SERVICE;IIS_IUSRS;IUSR;Authenticated Users
#ps1 powershell操作
robocopy "C:\inetpub\temp\appPools" "C:\appPools" /S /E /IS /NFL /np
Stop-Service -Force WAS
Remove-Item -Recurse -Force C:\inetpub\temp\appPools\*
Start-Service W3SVC
iisreset比如:
https://blog.csdn.net/weixin_30279315/article/details/96819149
https://blog.csdn.net/weixin_46074138/article/details/128345121
排除web.config问题后重启iis观察
比如iis默认网站路径、C盘根目录、D盘根目录、iis默认网站路径新建子目录等等
Do an iisreset (doesn't work for me)
Do an iisreset, then reboot (doesn't work for me)
Remove ASP.NET temporary files (doesn't work for me)
Remove ASP.NET temporary files and reboot (doesn't work for me)
Reinstall (repair) .NET framework (the only solution that works for me)
使用 Microsoft 的 .NET Framework 修复工具
原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。
如有侵权,请联系 cloudcommunity@tencent.com 删除。
原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。
如有侵权,请联系 cloudcommunity@tencent.com 删除。