I. Basic Questions
Generally, the file write path is incorrect, or the directory permission is not properly set (you must set everyone or the Guest user iis_iusrs to full access)
Ii. Special Problems
1. error message:
ADODB. Stream error '800a0bbc'
Failed to Write File.
/Code/zhaosheng1/admin/upload_5xsoft.inc, row 175
2. Problem Solving:
Microsoft VBScript runtime error '800a0005 'Image Upload upload_5xsoft.inc
This is in use"ASP Component-less upload"Error.
ASP local test is completely normal. UploadGodaddy US space win, An upload error occurs:
MicrosoftVBScriptRuntimeError'800a0005'
InvalidProcedureCallOrArgument:'Chr'
/Upload_5xsoft.inc,Line 74
This line:Stemp = stemp &CHR(ASCW (chrb (ASCB (upfile_5xsoft_stream.read (1) & chrb (c )))
According to the opinions of the majority of netizens, this sentence is slightly modified, that is, CHR is changed to chrw (the above blue bold words)
Stemp = stemp &Chrw(ASCW (chrb (ASCB (upfile_5xsoft_stream.read (1) & chrb (c )))
========================================================== ========================================================== ==========
But it cannot solve the problem ...... Still Error !! Error message:
ADODB. Stream error '800a0bbc'
Write to file failed.
/System/Upload_5xsoft.inc, Line 174
174 is as follows:Dr. savetofile fullpath, 2
Crash ................
Don't worry. solution:
Find uploadsave. asp
There is a piece of code:
'Automatically generate the file name
Filename = Date ()
Filename = filename & time ()
Filename = Replace (filename ,"-","")
Filename = Replace (filename ,":","")
Filename = Replace (filename ,"","")
Filename = Replace (filename ,"Morning","")
Filename = Replace (filename ,"Afternoon","")
Put"-"Change"/", Change morning to AM, and afternoon to PM.
Done ······
Cause analysis: the result of incorrect retrieval time .......
An annoying English server tests and uploads images on a local machine. It uses a chemical environment without components, but cannot be used to upload images to a space.
ADODB. Stream error '800a0bbc'
Failed to Write File
Upload_5xsoft.inc
Finally, find out the cause, because the space uses an English system, in uploadsave. ASP has a field for obtaining the time at that time, that is, now (), because the time obtained in the Chinese text is, and the English system uses/instead -, we all know that we do not allow/when naming a file, so we must replace/with "" In uploadsave. ASP