First, go to IIS, open the ASP Settings page, send the error message to the browser, to help find the problem.
Use Baidu Open source Ueditor editor cannot upload picture and report Server 500 error
First look is the uploader.class fs. CreateFolder (PATH) This statement cannot create a directory, doubt the permissions issue, after providing all permissions, still not.
Finally refer to the official Baidu document the code inside the function
Private Function Checkorcreatepath (ByVal path)
Set fs = Server.CreateObject ("Scripting.FileSystemObject")
Dim parts
parts = Split (path, "\")
Path = "For each part,
parts
Path = path + part +" \ "
If fs.f Olderexists (path) = False Then
fs. CreateFolder (path) end
If
Next
Function
Amended to
Private Function Checkorcreatepath (ByVal path)
Set fs = Server.CreateObject ("Scripting.FileSystemObject")
Dim Parts
Dim Root:root = Server.MapPath ("/") & "\"
parts = Split (Replace (path, Root, ""), "\")
Path = root for each part
, parts
Path = path + part + "\"
If fs. FolderExists (path) = False Then
fs. CreateFolder (path) end
If
Next
Function
can be uploaded normally.