UNC Paths

Ed McNierney ed at TOPOZONE.COM
Thu Feb 3 08:31:56 PST 2005


Dan -

You need to step very carefully if you want an IIS application to be
able to access network resources.  Remember that MapServer is running in
the security context of the user configured for that application under
IIS.  By default, this is the IUSR_<machinename> account.  By default,
this account is a LOCAL machine account and has no access to any network
resources, under any name.  This is a security feature to restrict Web
visitors from access to your network.

As a start, you should read and fully understand the document "How to
access network files from IIS applications" from Microsoft:

http://support.microsoft.com/default.aspx?scid=kb;en-us;207671

        - Ed

Ed McNierney
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA  01863
ed at topozone.com
(978) 251-4242 

 

-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of Dan Phillips
Sent: Thursday, February 03, 2005 11:04 AM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: [UMN_MAPSERVER-USERS] UNC Paths

Hello,

I've just installed Mapserver on Windows XP and would like to use UNC in
my OGR Connection (e.g. "//HP_SERVER/RDRIVE/STREETS/STREETS.TAB") to
reference the map data rather than use mapped drives (e.g.
"R:/STREETS/STREETS.TAB").
I'm getting the error:

msDrawMap(): Image handling error. Failed to draw layer named 'Water'.
msOGRFileOpen(): OGR error. Open failed for OGR connection
`//HP_SERVER/RDRIVE/STREETS/STREETS.TAB'. File not found or unsupported
format.

What am I doing wrong?

Dan Phillips



More information about the MapServer-users mailing list