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

推荐订阅源

Help Net Security
Help Net Security
S
SegmentFault 最新的问题
T
The Blog of Author Tim Ferriss
J
Java Code Geeks
博客园 - 三生石上(FineUI控件)
月光博客
月光博客
C
Check Point Blog
M
MIT News - Artificial intelligence
GbyAI
GbyAI
H
Hackread – Cybersecurity News, Data Breaches, AI and More
U
Unit 42
D
Docker
G
Google Developers Blog
云风的 BLOG
云风的 BLOG
H
Help Net Security
D
DataBreaches.Net
Microsoft Azure Blog
Microsoft Azure Blog
B
Blog RSS Feed
Engineering at Meta
Engineering at Meta
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
B
Blog
Cloudbric
Cloudbric
Blog — PlanetScale
Blog — PlanetScale
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
T
Troy Hunt's Blog
N
News | PayPal Newsroom
V2EX - 技术
V2EX - 技术
H
Heimdal Security Blog
S
Security @ Cisco Blogs
V
Visual Studio Blog
The Last Watchdog
The Last Watchdog
博客园 - Franky
大猫的无限游戏
大猫的无限游戏
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Webroot Blog
Webroot Blog
Security Archives - TechRepublic
Security Archives - TechRepublic
C
Cyber Attacks, Cyber Crime and Cyber Security
Last Week in AI
Last Week in AI
爱范儿
爱范儿
博客园 - 聂微东
S
Securelist
小众软件
小众软件
酷 壳 – CoolShell
酷 壳 – CoolShell
Cisco Talos Blog
Cisco Talos Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
C
CXSECURITY Database RSS Feed - CXSecurity.com
V
Vulnerabilities – Threatpost
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
O
OpenAI News
Apple Machine Learning Research
Apple Machine Learning Research

博客园 - 绿水青山

关于nginx承载php时,页为为空白的问题 问题总结 Windows/Linux 生成iOS证书及p12文件 aws supported language mysql导入导出 .net core注入时作用域的说明 Attempt to fetch logical page (1:8019) in database 5 failed. It belongs to allocation unit 720575947 sas…… SQL使用开窗函数与CTE查询每月销售额的前几名 SQL2012删除作业失败的处理 使用JavaScript打印网页指定DIV区域 WlN7下硬盘安装WINXP Could not load file or assembly 'Microsoft.ReportViewer.Common, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its depe SSRS中错误:为用户“NT AUTHORITY\NETWORK SERVICE”授予的权限不足,无法执行此操作。 (rsAccessDenied)解决方案 - 绿水青山 U盘安装xp 数字签名 SQL无法连接问题 div在父容器中水平垂直居中 SQL2008自定义聚合函数 error:unknow filesystem
iis出现-2145318902错误
绿水青山 · 2012-08-17 · via 博客园 - 绿水青山

解决IIS6.0文件上传大小修改后无法重启,错误代码-2145318902

相信做过网站的,不是用flash组件上传的,都会碰到过上传文件不能超过200K的问题,现在我们知道可以通过修改c:\windows\system32\inesrv\下metabase.xml文件中的aspmaxrequestentityallowed值实现上传200K以上的文件,但是大家有没有碰到过修改完了之后重启IIS的时候报错的情况呢?提示错误代码-2145318902。

呵呵,如果您碰到这个情况,那就请您回想一下,您修改metabase.xml这个文件的时候是不是使用写字板修改的呢?如果是的话,问题就出在这里啦,因为写字板保存文件的方式与记事本不一样,您在修改完metabase.xml后保存的时候写字板把一些无法识别的字符以“?”的形式保存下来了,所以导致了IIS无法重启。

好了,现在我们知道是怎么回事了,那要怎么解决呢?其实很简单,您仔细看看c:\windows\system32\inesrv\这个文件夹里的history文件夹,里面就有不同时刻metabase.xml的备份,只需要删除原来的metabase.xml,再把备份的拷出来,重命名为metabase.xml,就可以重启IIS啦。

不要忘记了修改windows下的任意文件都要使用记事本哦,那样最稳定最保险O(∩_∩)O~