Select to view content in your preferred language

Virtual Directory on Default Web Site

2074
1
08-07-2012 06:14 AM
PatriciaMoehring
Frequent Contributor
I have a virtual directory set up to link to a location on another server where attachments are stored.  Right now I have a simple query for pictures of parks set up pPoint (point feature) to pAttachment (table) 1:M relationship.  There is a field in pAttachment called "AttachmentNo" and holds the picture.jpg.

After running the query on webmap the relationship shows up but I get an HTTP Error 404.0 -- Not Found.  In the detailed error informaiton the physical path is pointing to C:\inetpub\wwwroot\ . . . .jpg instead of the virtual directory set up for the Attachments.

Has anyone encountered this problem and know where I might begin to start looking to correct.

Thanks,

Patricia
Tags (2)
0 Kudos
1 Reply
TracyArchibald
Regular Contributor
Hey Patricia!

I've had to work with similar issues, so here's a few things I had to check...

1) in the attachements table, what is the directory?  We've found in most of our applications, it isn't stored with the URL, but with a file path.  To resolve this, I use a replace function in my query or I have a copy of the attachements table and update it to the correct path.

2) once in a while, there's a "root folder" or something similar...  If you find that, replace it with your URL.

If it isn't either of those, could you provide some code or more information?
0 Kudos