[mapserver-users] RE: mapserver-users Digest, Vol 17, Issue 77
Suman Chatterjee
schatterjee at addisontx.gov
Mon Jun 29 09:18:12 PDT 2009
Thanks a lot! But I think my problem lies in the fact that the mapserver
is not able to access the map file. When I tried to open the map file in
the browser(IE) by typing its absolute path it is displaying that
Accessing the resource C:\.. has been disallowed.
Previously I was able to open the map file in the browser.
How to solve this problem?
Suman
-----Original Message-----
From: mapserver-users-bounces at lists.osgeo.org
[mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of
mapserver-users-request at lists.osgeo.org
Sent: Monday, June 29, 2009 11:00 AM
To: mapserver-users at lists.osgeo.org
Subject: mapserver-users Digest, Vol 17, Issue 77
Send mapserver-users mailing list submissions to
mapserver-users at lists.osgeo.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.osgeo.org/mailman/listinfo/mapserver-users
or, via email, send a message with subject or body 'help' to
mapserver-users-request at lists.osgeo.org
You can reach the person managing the list at
mapserver-users-owner at lists.osgeo.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of mapserver-users digest..."
Today's Topics:
1. Re: unable to access the map file (Alan Boudreault)
2. Re: unable to access the map file (Jeff McKenna)
----------------------------------------------------------------------
Message: 1
Date: Mon, 29 Jun 2009 11:21:30 -0400
From: Alan Boudreault <aboudreault at mapgears.com>
Subject: Re: [mapserver-users] unable to access the map file
To: mapserver-users at lists.osgeo.org
Cc: Suman Chatterjee <schatterjee at addisontx.gov>
Message-ID: <200906291121.30630.aboudreault at mapgears.com>
Content-Type: Text/Plain; charset="iso-8859-15"
Hi,
If you are sure that the path is good, did you check the file
permissions?
Does the mapfile can be read by your web application user ?
Alan
On June 29, 2009 11:13:04 am Suman Chatterjee wrote:
> Hi all,
>
> I have just started using mapserver. It was running well till last
week.
> The Itasca application was also running. But all of a sudden the
> application is not working. Although the maps are being created in the
> temp folder but it is not being displayed in the browser. I tried with
> typing
>
>
http://localhost/cgi-bin/mapserv.exe?map=C:\ms4w\Apache\htdocs\mapserver
> demo\workshop\itasca.map&mode=map
>
>
>
> But it is displaying the error message
>
>
>
> msLoadMap(): Unable to access file.
> (C:\ms4w\Apache\htdocs\mapserverdemo\workshop\itasca.map).
>
>
>
> I tried by changing the backslash to forward slash in the path but I
am
> still getting the same error message.
>
>
>
> I don't know what is going wrong.
>
> Any help in this regard will be highly appreciated. I require to solve
> it urgently.
>
>
>
> Thanks
>
> Suman
>
>
>
************************************************************************
***
>**************************************** This e-mail and any files or
> attachments transmitted with it contains Information that is
confidential
> and privileged. This document may contain Protected Health Information
> (PHI) or other information that is intended only for the use of the
> individual(s) and entity(ies) to whom it is addressed. If you are the
> intended recipient, further disclosures are prohibited without proper
> authorization. If you are not the intended recipient, any disclosure,
> copying, printing, or use of this information is strictly prohibited
and
> possibly a violation of federal or state law and regulations. If you
have
> received this information in error, please delete it and notify Hamid
> Khaleghipour at 972-450-2868 immediately. Thank you.
>
>
************************************************************************
***
>****************************************
--
Alan Boudreault
Mapgears
http://www.mapgears.com
------------------------------
Message: 2
Date: Mon, 29 Jun 2009 12:59:26 -0300
From: Jeff McKenna <jmckenna at gatewaygeomatics.com>
Subject: Re: [mapserver-users] unable to access the map file
To: mapserver-users at lists.osgeo.org
Message-ID: <4A48E4DE.7030104 at gatewaygeomatics.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Suman Chatterjee wrote:
> Hi all,
>
> I have just started using mapserver. It was running well till last
week.
> The Itasca application was also running. But all of a sudden the
> application is not working. Although the maps are being created in the
> temp folder but it is not being displayed in the browser. I tried with
> typing
>
>
http://localhost/cgi-bin/mapserv.exe?map=C:\ms4w\Apache\htdocs\mapserver
demo\workshop\itasca.map&mode=map
>
<http://localhost/cgi-bin/mapserv.exe?map=C:\ms4w\Apache\htdocs\mapserve
rdemo\workshop\itasca.map&mode=map>
>
>
>
> But it is displaying the error message
>
>
>
> msLoadMap(): Unable to access file.
> (C:\ms4w\Apache\htdocs\mapserverdemo\workshop\itasca.map).
>
>
>
> I tried by changing the backslash to forward slash in the path but I
am
> still getting the same error message.
>
>
>
> I don't know what is going wrong.
>
> Any help in this regard will be highly appreciated. I require to solve
> it urgently.
>
Since you are using MS4W you can download the "MapServer Itasca Demo
Application" add-on application from the MS4W downloads page [1],
extract it at your drive root, restart Apache, and look on localhost for
a new link to the application - no configuration needed. Note: use MS4W
3.0 beta3 with this Itasca application.
[1] http://www.maptools.org/ms4w/index.phtml?page=downloads.html
-jeff
--
Jeff McKenna
FOSS4G Consulting and Training Services
http://www.gatewaygeomatics.com/
------------------------------
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
End of mapserver-users Digest, Vol 17, Issue 77
***********************************************
*******************************************************************************************************************
This e-mail and any files or attachments transmitted with it contains Information that is confidential and privileged. This document may contain Protected Health Information (PHI) or other information that is intended only for the use of the individual(s) and entity(ies) to whom it is addressed. If you are the intended recipient, further disclosures are prohibited without proper authorization. If you are not the intended recipient, any disclosure, copying, printing, or use of this information is strictly prohibited and possibly a violation of federal or state law and regulations. If you have received this information in error, please delete it and notify Hamid Khaleghipour at 972-450-2868 immediately. Thank you.
*******************************************************************************************************************
More information about the MapServer-users
mailing list