|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
Virtual Directory
Hello-
I have a virtual Directory created on another machine on the same network and domain. I used the IUSR account for the machine the website will be making the requests with to the machine the files are located on. However, I have no luck. If I type in the web directory through a browser it works fine? Below is my scipt using the FileSystem Object. Thanks in advance for any ideas. if objFileSystem.FileExists("media/listing-thumb/" & fldListingID & ".jpg") then ThumbSrc = "media/listing-thumb/" & fldListingID & ".jpg" elseif(not IsNull(fldMLSTableID) and fldMLSTableID <> "") then fValidListingNumber = true for a = 1 to Len(fldListingNumber) if InStr("0123456789-", Mid(fldListingNumber, a, 1)) = 0 then fValidListingNumber = false next if(fValidListingNumber and objFileSystem.FileExists("media/mls-thumb/" & fldMLSTableID & "/" & fldListingNumber & ".jpg"))then ThumbSrc = "media/mls-thumb/" & fldMLSTableID & "/" & fldListingNumber & ".jpg" end if |
|
#2
|
|||
|
|||
|
Did you get this resolved?
It sounds like permissions, create an identical IUSR account on the 2nd computer that is a clone of the web server.
__________________
====== Doug G ====== "Hide, hide witch! The good folk come to burn thee. Their keen enjoyment hid behind their gothic mask of duty." -Mark Clifton |
|
#3
|
|||
|
|||
|
Resolved
Yes, the issue was the security credentials under the virtual directory properties had an account I had not specified in the other computer. I changed it to reflect a correct username and it worked. Thanks for your help!
|
![]() |
| Viewing: Dev Shed Forums > System Administration > IIS > Virtual Directory |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|