signaltelcom
asked on
Microsoft VBScript runtime error '800a004c' When running ASP page
We are moving a page hosted offsite to a locally stored page for our companies website. The asp file as well as the jpegs it pulls from to show a slideshow was pulled fromt he other site, and moved, and set up locally in IIS6. I can open the asp page, but it shows the error:
Microsoft VBScript runtime error '800a004c'
Path not found
/images/channel12/imagebox .asp, line 70
The files are there, the folder is there. I have done quite a bit of reading over the last few days, all pointing to a permissions issue. I have followed all of the steps to check and set the permissions, yet I am still getting the error. The code has not been changed, and is working on the other site. Im fairly new to working with ASP files, and this issue has me stumped. What am I doing wrong? Also, as a note, I have tried using the Iuser account, as well as testing with a domain admin acct to see if that would allow it to run.
Microsoft VBScript runtime error '800a004c'
Path not found
/images/channel12/imagebox
The files are there, the folder is there. I have done quite a bit of reading over the last few days, all pointing to a permissions issue. I have followed all of the steps to check and set the permissions, yet I am still getting the error. The code has not been changed, and is working on the other site. Im fairly new to working with ASP files, and this issue has me stumped. What am I doing wrong? Also, as a note, I have tried using the Iuser account, as well as testing with a domain admin acct to see if that would allow it to run.
Set fso = CreateObject("Scripting.FileSystemObject")
Set folder = fso.GetFolder(Server.Mappath("channel12"))
Set files = folder.Files
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
scratch that. The problem is fixed now, and all is running as it should. Thank you VERY much. I knew it was something simple.
ASKER
Server.Mappath("channel12"
I have checked, from looking at that, its throwing an extra channel12 folder into it. I created a subfolder called "channel12" moved the files into that folder, tried to run it, and got:
Microsoft VBScript runtime error '800a004c'
Path not found
/Images/channel12/channel1