This is another one of those bugs I found after moving to a new server.
quote:Microsoft VBScript runtime error '800a004c' Path not found /admin_UploadEngine.asp, line 64
I did the same as before selected a file, typed in a directory(that exists) and used 'submit' Code: lines 46 -> 71 '----------------------------------------------------------------------- '- Function : saveDoc '--------------------------------------------------------------------------- private function saveDoc() Dim strRoot Dim strFile Dim fso strRoot = strCookieURL if UploadDir <> "" then strRoot = Server.MapPath(strCookieURL) & "\to\" & UploadDir else strRoot = Server.MapPath(strRoot) & "\to\" & strFolder end if
strFile = strRoot & "\to\" & objUpload.Files.Item(0).FileName Set fso = Server.CreateObject("Scripting.FileSystemObject") If not fso.FolderExists(strRoot) then
fso.createFolder(strRoot) end if if (fso.FileExists(strFile)) then fso.deleteFile(strFile) end if objUpload.Files.Item(0).Save strRoot saveDoc = (fso.FileExists(strFile)) End Function Does anyone see anything out of the ordinary in this section of code. Any thoughts? Thanks
I made the change as suggested but I am still recieving the same error. Not to jump to conclusions here but could this be a server setting so some kind. This is still working on http://easyromantic.121host.net with no changes. I hope this is not a continuing saga. I was so close to having my first ASP web site... discouraging. Thanks for letting me vent.
Time for me to learn something new. Same error. OK the path from the tools directory is: D:\webspace\kdonyaso\easyromantic\easyromantic.webbhost.net\www\tools\whereami.asp
quote:what does it think the value of strRoot is ?
That's what I would like to know. How do I know this? I checked the config.asp and I am using a direct path to the DB. I used my new IIS control panel and enabled write permissions on the www folder, included folders and files. Any of this help? Going to bed now. Thanks for your help!
quote:webbhost.net has ASPUpload installed if you want to try using that..
I am game. I did not see it listed in their faq. Have you seen it working on the new second level domain webbhost? I need some guidance on this one. I have played with it before but it was the free version that required a banner placement. Can this be used for the members uploads in the forum also? Thanks again.