ASP upload picture hint ADODB. Stream error ' 800A0BBC '
There are many problems caused by this hint. Permissions are a common type. This is not much to say, there is a little bit strange is
windows2008 Display System time format unexpectedly is: 2013/3/8, not the previous 2013-3-8, because the renamed uploaded files are named according to the time, this requirement is 201338, but to the windows2008 platform finally became 2013/3/ 8, this will have a problem, that will be treated as a folder and path, will eventually lead to a real non-existent directory, and eventually write an error.
Solution:
After viewing in the upload save file There is a paragraph:
。。。。。。。。。。
Set File=upload.file ("File1")
If File.filesize>0 Then
' Automatically generate file name
Filename=date ()
Filename=filename&time ()
Filename=replace (filename, "/", "") (This is added later, added this sentence later.) Upload the picture to succeed)
Filename=replace (filename, "-", "")
Filename=replace (filename, ":", "")
Filename=replace (FileName, "", "")
Filename=filename+ "."
Filenameend=file.filename
Filenameend=split (Filenameend, ".")
。。。。。。。。。。。。。
Filename=replace (filename, "/", "") (This is added later, added this sentence later.) Upload the picture to succeed)
The meaning is to replace/substitute with empty
The problem has been solved.