随笔分类 -  笔记

遇到的问题,及需要注意的事情记录下来
摘要:已经搭建好的环境突然全部nginx502,localhost拒绝访问 报错信息: connect() failed (10061: No connection could be made because the target machine actively refused it) while co 阅读全文
posted @ 2024-05-21 17:06 hello_stone 阅读(3473) 评论(0) 推荐(0) 编辑
摘要:如题再做查询的时候报了这个错误。 原代码如下: public virtual async Task<PagedList<ApiScope>> GetApiScopesAsync(string search, int page = 1, int pageSize = 10) { var pagedLi 阅读全文
posted @ 2024-03-12 16:36 hello_stone 阅读(82) 评论(0) 推荐(0) 编辑
摘要:最近碰到上传文件后,后台的vs调试自动终止的问题,postman则不会,百思不得其解。最后找到一篇文章(VS上传图片就终止调试问题_输出被调试程序截断_mike0127的博客-CSDN博客)解决了我的问题。 点击VS【工具】-【选项】-【项目和解决方案】-【Web项目】将【在浏览器窗口关闭时停止调试 阅读全文
posted @ 2023-10-27 10:37 hello_stone 阅读(176) 评论(0) 推荐(0) 编辑
摘要:net5 发布到ISS报错 500.19 “处理程序“aspNetCore”在其模块列表中有一个错误模块“AspNetCoreModule2” 重新安装了 aspnetcore-runtime-5.0.17-win-x64.exe dotnet-sdk-5.0.214-win-x64.exe dot 阅读全文
posted @ 2023-01-31 16:22 hello_stone 阅读(147) 评论(0) 推荐(0) 编辑
摘要:js客户端跨域访问webapi报 XMLHttpRequest from origin has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resou 阅读全文
posted @ 2022-08-10 11:25 hello_stone 阅读(295) 评论(0) 推荐(0) 编辑
摘要:AutoMapper在加载配置文件时,在startup是这样写的 。 services.AddAutoMapper(typeof(VModels.VModelMapperProfile)); services.AddAutoMapper(typeof(UserMapperProfile)); 单个文 阅读全文
posted @ 2021-11-25 14:16 hello_stone 阅读(308) 评论(0) 推荐(0) 编辑
摘要:最近想给kibana加一个索引,点创建后卡死,一直在转圈. 网上搜索找到如下解决方案. 执行第一句返回 : { ".kibana": { "settings": { "index": { "number_of_shards": "1", "blocks": { "read_only_allow_de 阅读全文
posted @ 2021-09-16 10:37 hello_stone 阅读(425) 评论(0) 推荐(0) 编辑
摘要:# 查看 docker 版本 docker --version # 查找镜像 docker search image_name # 拉取docker镜像 docker pull image_name # 查看宿主机上的镜像,Docker镜像保存在/var/lib/docker目录下: docker 阅读全文
posted @ 2021-09-12 00:01 hello_stone 阅读(39) 评论(0) 推荐(0) 编辑
摘要:$.ajaxSetup({ success:function(res){ console.log("3-setup success") }, complete: function(XMLHttpRequest, textStatus) { console.log("4-setup complete" 阅读全文
posted @ 2021-09-12 00:00 hello_stone 阅读(567) 评论(0) 推荐(0) 编辑
摘要:IIS默认是不支持put,delete谓词的请求方式的,若要支持需要修改webconfig,如下: <?xml version="1.0" encoding="utf-8"?><configuration> <location path="." inheritInChildApplications= 阅读全文
posted @ 2021-09-11 23:57 hello_stone 阅读(324) 评论(0) 推荐(0) 编辑
摘要:今天启动window上的nginx总是报错 查看nginx错误日志 错误信息是bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket in a way forbidden by its access per 阅读全文
posted @ 2021-07-28 11:36 hello_stone 阅读(165) 评论(0) 推荐(0) 编辑
摘要:最近弄了个项目 dotnet run 正常,发布到IIS却报错 访问页面报: HTTP Error 500.30 - ANCM In-Process Start Failure 查看window日志: Application '/LM/W3SVC/8/ROOT' with physical root 阅读全文
posted @ 2021-01-22 22:55 hello_stone 阅读(3930) 评论(1) 推荐(1) 编辑

点击右上角即可分享
微信分享提示