Hello,
I am having some issues accessing information via my newly created Virtual Directory. I have created a Virtual Directory in IIS to allow access to videos and reports through ArcGIS Online via popup "More info".
I created and attached screen shots that illustrate the steps that I took to get to this point and am hoping someone may lend some wisdom on where I may have stumbled along the way.
VirtualDirectory1.jpg - screen shot depicting the information I supplied to initially create the virtual directory.
VirtualDirectory2.jpg - screen shot depicting the creation of the SanLinks virtual directory.
VirtualDirectory3.jpg - to test, I changed only one segments path. The red highlight indicates the record that was edited.
VirtualDirectory4.jpg - screen shot highlights "More info" added to this segment allowing the user to click for the info.
VirtualDirectory5.jpg - screen shot illustrating the result of the "More info" click event.
Thank you in advance for any assistance or advice that you can offer.
Jeff
Hi Jeff! You shouldn't have to reference 'Sites' and 'Default Web Site' in the URL. Try https://gis-webserver/SanLinks/.....(rest of URL here).
Hi Joshua!
Thank you so much for responding to my post. I really appreciate any assistance or insight on this topic.
Regarding my "SanLinks" virtual directory. In the Add Virtual Directory dialog box...do I need to drill all the way down to the actual directory that contains my videos and pdf's for the physical path?
I have other questions that will be dependent on this one...error messages and what not...but I will wait to pose those after I hear back from you.
Thank you again!
Jeff
Jeff,
Nope, the physical path should be the top-level folder. For example, if my machine name is josh-machine and I had the image dog.jpg stored in the physical path C:\virtDir\images, I can add C:\virtDir as a Virtual Directory and the image will be available through the URL http://josh-machine/virtDir/images/dog.jpg.
Josh
Josh,
I've added another screenshot to my posting entitled "Access Denied.jpg" that illustrates the error I received.
The red rectangle indicates my virtual directory path set at the top-level folder. I then modified the record within my attribute table to include https://, the machine, virDir, and then the rest of the path to arrive at my .mpg video.
The screenshot you are seeing is actually something that comes out of right clicking the virtual directory and choosing Manage Virtual Directory/Browse. The same error message, essentially, is produced after clicking "More info" within the popup window in ArcGIS Online.
I hope this makes sense. Can you provide any valuable insight going forward? I am stumped because I have all permissions access for this directory.
Thanks.
Jeff
Jeff,
Hmm. We're getting toward the edge of my expertise, but a quick Google search returned this StackOverflow link, which points to a permissions issue on behalf of the local IIS account.
Hope this helps!
Thanks,
Josh
Josh,
It does help. I notice one individual indicated going into the Default Web Site, accessing Authentication, and changing to the Application Pool Identity within Edit for Anonymous Authentication.
If I were to create a new website, instead of using Default Web Site, would there be any change in the URL since it would no longer be the Default Web Site but some other name?
Thanks.
Jeff
Yes, you would have to access the non-default website from a port other than 80, since 80 is the port used by the default website. I've never attempted adding another site to my IIS but I would proceed with caution. There are many configurations that you need to make in order for it to work as expected.
Thank you, Josh. I will be getting with my IT Director to discuss the link you forwarded. Very encouraging. Once I meet with him I will no doubt have additional follow-up questions. Thank you so much for staying in contact and assisting me in this venture. It's a lot to take in. Talk to you soon.
Jeff
Josh,
We were able to achieve some degree of success on the IIS side. Within the popup window of my application I am receiving the "More info" for my video and when selected the media begins to load which is great news. There is still some things we need to work out for security but that is "on us". However, I am having problems bringing up a PDF. The same pipe segment has a PDF report link as well as the video which comes up fine as I previously indicated. As I said, I am seeing the "More info" for the video but the PDF still displays the https://URL that has not be changed to the "More info" select link. I checked in the corresponding publishing project file and the hyperlinks are working fine. Am I missing something? Any thoughts?
Thanks.
Jeff