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

推荐订阅源

爱范儿
爱范儿
Know Your Adversary
Know Your Adversary
Google DeepMind News
Google DeepMind News
A
Arctic Wolf
P
Privacy & Cybersecurity Law Blog
云风的 BLOG
云风的 BLOG
Stack Overflow Blog
Stack Overflow Blog
V
Visual Studio Blog
Project Zero
Project Zero
L
LangChain Blog
N
News and Events Feed by Topic
博客园 - Franky
Last Week in AI
Last Week in AI
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
T
The Blog of Author Tim Ferriss
宝玉的分享
宝玉的分享
Scott Helme
Scott Helme
T
The Exploit Database - CXSecurity.com
P
Proofpoint News Feed
Blog — PlanetScale
Blog — PlanetScale
www.infosecurity-magazine.com
www.infosecurity-magazine.com
W
WeLiveSecurity
月光博客
月光博客
博客园_首页
美团技术团队
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
腾讯CDC
Latest news
Latest news
WordPress大学
WordPress大学
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Spread Privacy
Spread Privacy
Attack and Defense Labs
Attack and Defense Labs
量子位
L
LINUX DO - 热门话题
C
CERT Recently Published Vulnerability Notes
Webroot Blog
Webroot Blog
L
Lohrmann on Cybersecurity
aimingoo的专栏
aimingoo的专栏
T
Troy Hunt's Blog
Security Latest
Security Latest
小众软件
小众软件
Cloudbric
Cloudbric
Hacker News: Ask HN
Hacker News: Ask HN
S
Secure Thoughts
雷峰网
雷峰网
T
Threat Research - Cisco Blogs
H
Hacker News: Front Page
IT之家
IT之家
Simon Willison's Weblog
Simon Willison's Weblog

博客园 - Laoxu2004

HTC T328W 刷机后,WLAN、蓝牙无法使用的解决方法[亲测有效] [转]2012版的Mac Air安装Windows7 注意事项及安装方法 [转]XPSp3+IIS5.1+SQLServer2005Express的ASP平台搭建要点 Win7无线共享上网 2012.3.26-3.31 ASP.NET windows服务器您试图从目录中执行CGI、ISAPI 或其他可执行程序,但该目录不允许执行程序。 使用ISA Server、DHCP、DNS、Windows Server 2003 Active Directory的综合解决方案,达到让指定的用户、在指定的时间、以指定的流量、访问指定的网络 关注企业数据安全 十招防数据泄露 XP提示hal.dll丢失的错误的解决方法 WinXP 找回桌面丢失的IE图标(非IE快捷方式) 苏州办公自动化模拟题目(3套题目) 江苏职称考试(MIS)中级 用户中心 - 博客园 [理论整理]CAD中级理论题目 如果后台不知道数据库密码的请打开数据库用469e80d32c0559f8 替换,那么密码就是admin888 计算机组装与维护考核题目:在线DIY配机 实训课教案二:计算机软件安装初步 [通告] 职称计算机准考证领取通知 [通告]3月3日~3月4日的培训
'800a0005' 图片上传出现写入文件失败的错误 -- 修改pload_5xsoft.inc
Laoxu2004 · 2012-03-11 · via 博客园 - Laoxu2004

一、基本问题

一般是文件写入的路径不对,或者是目录的权限没有设置好(必须对everyone或者来宾用户IIS_IUSRS设置为完全访问)

二、特殊问题

1、错误提示:

ADODB.Stream 错误 '800a0bbc'

写入文件失败。

/code/zhaosheng1/ADMIN/upload_5xsoft.inc,行 175

2、问题解决:

Microsoft VBScript runtime error '800a0005' 图片上传 upload_5xsoft.inc

这是在用"化境ASP无组件上传类"时出现的错误。

asp本地测试完全正常。上传到GODaddy 美国空间win,出现上传错误:

  microsoft   vbscript   runtime   error   '800a0005'   
  Invalid   procedure   call   or   argument:   'Chr'     
  /upload_5xsoft.inc,   line   74     
    
  即这行:   stemp=stemp&Chr(AscW(ChrB(AscB(upfile_5xSoft_Stream.Read(1)))&ChrB(c)))   

按照广大网友的意见把这句话稍作修改,即:chr修改为chrw(上面的蓝色加粗字)

stemp=stemp&Chrw(AscW(ChrB(AscB(upfile_5xSoft_Stream.Read(1)))&ChrB(c)))   

========================================================================================

但并不能解决问题。。。。。。依然报错!!报错内容:

ADODB.Stream error '800a0bbc'

Write to file failed.

/system/upload_5xsoft.inc, line 174

174的内容如下: dr.SaveToFile FullPath,2 

崩溃。。。。。。。。。。。。。。。。

不要急,解决办法:

找到uploadsave.asp

有一段代码为:
'自动生成文件名
    filename=date()
    filename=filename&time()
    filename=replace(filename,"-","")
    filename=replace(filename,":","")
    filename=replace(filename," ","")
    filename=replace(filename,"上午","")
    filename=replace(filename,"下午","")

把第三行的"-"换成"/",把上午换成AM,下午换成PM

搞定······

原因分析:获取时间错误造成的。。。。。。。

烦人的英文服务器,在本地机里测试上传图片,用的是化境无组件上传,但上传到空间中确不能用出现

ADODB.Stream error '800a0bbc' 

写入文件失败

upload_5xsoft.inc

终于查出原因,因为空间中使用的是英文系统,在uploadsave.asp中有个获取当时时间的字段,就是NOW(),因在中文中获取的时间为2008-11-29,而在英文系统中是用/代替了-,大家都知道我们在给文件命名时是不允许使用/的,所以必须把/替换为"",在uploadsave.asp中