惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

罗磊的独立博客
Cisco Talos Blog
Cisco Talos Blog
C
Check Point Blog
博客园_首页
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Martin Fowler
Martin Fowler
Recorded Future
Recorded Future
S
Security @ Cisco Blogs
L
LINUX DO - 最新话题
博客园 - 司徒正美
P
Privacy International News Feed
G
Google Developers Blog
I
Intezer
Hacker News - Newest:
Hacker News - Newest: "LLM"
博客园 - 聂微东
The GitHub Blog
The GitHub Blog
C
Cybersecurity and Infrastructure Security Agency CISA
www.infosecurity-magazine.com
www.infosecurity-magazine.com
Scott Helme
Scott Helme
K
Kaspersky official blog
I
InfoQ
Y
Y Combinator Blog
T
The Blog of Author Tim Ferriss
Webroot Blog
Webroot Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
大猫的无限游戏
大猫的无限游戏
D
Docker
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
W
WeLiveSecurity
Microsoft Azure Blog
Microsoft Azure Blog
Spread Privacy
Spread Privacy
量子位
H
Hacker News: Front Page
Simon Willison's Weblog
Simon Willison's Weblog
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
SecWiki News
SecWiki News
S
Security Affairs
Latest news
Latest news
人人都是产品经理
人人都是产品经理
C
CERT Recently Published Vulnerability Notes
S
Security Archives - TechRepublic
V
Visual Studio Blog
T
Troy Hunt's Blog
S
Secure Thoughts
F
Fortinet All Blogs
V
V2EX
The Register - Security
The Register - Security
J
Java Code Geeks
MongoDB | Blog
MongoDB | Blog
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO

博客园 - 望穿秋水

EF表查询列表只查询其中几列的写法 Vue 设置为history模式之后,刷新页面报404错误的解决办法 前端页面部署之后刷新页面之后出现HTTP 错误 404.0 - Not Found错误问题解决 大数据开发规范 IIS中SSL证书过期更新的问题 SSAS问题汇总 [MSSQL]开启/关闭Ad Hoc Distributed Queries组件 sqlserver安装之后,SSMS远程连接连接不上的问题解决:请验证实例名称是否正确并且 SQL Server 已配置为允许远程连接 数据治理包括哪些方面 VUE hash路由和history路由的区别 WinForm的EXE破解(基于IL修改)【转】 C# 反编译破解软件方法【转】 vue项目启动报错 spawn cmd ENOENT errno TortoiseGit提交每次都需要输入账号密码的解决办法 spark mllib算法思想总结[转] - 望穿秋水 MLlib算法简介 VS2019 Git连接源代码报错问题:cannot spawn askpass: No such file or directory could not read Username for ‘https://github.com‘: terminal prompts disabled - 望穿秋水 永久关闭Windows10自动更新 [转]人生就是不断试错的经历,只有见过最糟的经历,才能学会享受美好
.NET安装运行环境及IIS网站部署相关问题汇总
望穿秋水 · 2023-10-31 · via 博客园 - 望穿秋水

问题1:vs中执行代码出现如下问题:目标进程已退出,但未引发 CoreCLR 启动事件。请确保将目标进程配置为使用 .NET Core。如果目标进程未运行 .NET Core,则发生这种情况并不意外。

异常原因:未安装.net SDK,下载sdk并安装即可正常运行。下载dotnet-sdk-5.0.408-win-x64.exe地址:下载 .NET 5.0 (Linux、macOS 和 Windows) (microsoft.com)

问题2:部署.net5 网站到IIS中,访问网站出现如下错误:HTTP 错误 500.19  错误代码:0x8007000d

异常原因:未安装.net运行环境dotnet-hosting,导致iis无法解析web.config中的相应节点。

(总体的错误原因是缺少了模块,原因有两种:

1、没有安装dotnet-sdk和dotnet-hosting。
2、先安装了这两个,最后才安装了IIS
这两种情况都会造成IIS的模块中缺少net core 托管模块)

 打开iis中的如下模块也会web.config配置节点错误:

解决方法:下载dotnet-hosting对应版本并安装网站访问即恢复正常。dotnet-hosting-5.0.17-win.exe 下载地址: 下载 ASP.NET Core 5.0 Runtime (v5.0.17) - Windows Hosting Bundle Installer (microsoft.com)  

安装之后,iis模块中打开会出现AspNetCoreModuleV2,如下图: