Link to home
Start Free TrialLog in
Avatar of signaltelcom
signaltelcomFlag for Afghanistan

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.
Set fso = CreateObject("Scripting.FileSystemObject")
Set folder = fso.GetFolder(Server.Mappath("channel12"))
Set files = folder.Files

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Member_2_3718378
Member_2_3718378

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of signaltelcom

ASKER

When I put that line of code in, this is what is shown:
Server.Mappath("channel12") = [C:\Inetpub\wwwroot\images\channel12\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/channel12/imagebox.asp, line 71
scratch that. The problem is fixed now, and all is running as it should. Thank you VERY much. I knew it was something simple.