Hello Greg,

I think that it is the account that the IIS service runs in that needs to be allowed access to the network share. So either you have to reconfigure the IIS server to run as your user (which brings up a whole new set of trouble :-() or open the share to the local IIS service account.

Your trouble is windows only and mainly an authorization issue unrelated to mapserver.

See if you can get in touch with a good system Windows administrator to testdrive various settings.


If none of this works out, I know of ways to open up postGIS accross the windows network which might be a last resort.

Good luck!

Milo van der Linden


Greg Cocks wrote:
Hello List,


I am trying to set up a MAP file to use a network share for the files that for 
various reasons I can’t get into PostgreSQL, etc… i.e., so that we only have 
one copy of the data being used internally and on the web, etc


I proceeded as follows

 - Using IIS on a Windoze box (yeah, yeah, grin) set up a virtual directory to 
a network share using a UNC path \\server\directory that I use all the time 
with ArcGIS, etc – called it wms_data

 - Added my credentials in the ‘Connect As’ in IIS

 - Used the explore in the IIS MMC and confirmed I could browse the data there

 - Confirmed that the directories had the relevant web access permissions

 - Charged the relevant line in my MAP file to → SHAPEPATH "/wms_data/"

 - Changed the layer’s data pointer to → DATA "subdirectory/sameshapefilename"


* When I now load the page it says it can’t find the layer’s data!  Ugh! *


Note that if I use a local (i.e., C:\...\...\) path for the data and in the MAP 
file it works just fine… Also, want to look at MrSIDs the same way, which again 
works just fine using a C:\ path…


Note that I know enough about IIS to be dangerous!   ☺


Thanks in advance for your help

----------
Regards,
GREG COCKS
GIS Analyst V
[EMAIL PROTECTED]
S. M. Stoller Corp
105 Technology Drive, Suite 190
Broomfield, CO 80021
www.stoller.com
303-546-4300
303-443-1408 fax
303-546-4422 direct
303-828-7576 cell

------------------------------------------------------------------------

_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to