Discussion:
[mapguide-users] MapGuide 2.5 WMS asking for password
Hans Milling
2015-03-25 08:44:33 UTC
Permalink
Hi all

I have a MapGuide 2.5 (Windows), and I try to get WMS setup. I have a
problem though. I added a password to the WmsUser. The GetCapabilities works
fine in a browser and MapInfo:
http://localhost/mapguide25/mapagent/mapagent.fcgi?REQUEST=GetCapabilities&Service=WMS&username=WmsUser&password=1234&version=1.0.0
When MapInfo (or from the browser) try to get a map image:
http://localhost/mapguide25/mapagent/mapagent.fcgi?WMTVER=1.0.0&REQUEST=map&LAYERS=Udstillede_wfs_og_wfs_lag/Wms/Vejmidter&STYLES=&SRS=EPSG:25832&BBOX=558929.371537313,6206115.04323388,585780.817315042,6243259.82252149&WIDTH=323&HEIGHT=446&FORMAT=PNG&TRANSPARENT=TRUE&BGCOLOR=0xFFFFFF&EXCEPTIONS=WMS_XML

Mapguide asks for a username+password. No matter what user/password
(Administrator, Anonymous, WmsUser etc.) I use, the password prompt keeps
appearing, until i cancel it and i get an error that I have no access.

In the site administrator I set the WMS to port 80. WFS works fine, no
problem.

The question is, what am I doing wrong?

Best regards
Hans Milling...



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/MapGuide-2-5-WMS-asking-for-password-tp5195311.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
Hans Milling
2017-10-12 06:38:02 UTC
Permalink
Now 2017 and testing on MapGuide 3.1. I have the exact same issue. I tried
two different installations, but same result. I can do the the
RequestCapabilities call to the WMS, but as soon as the application (QGIS or
MapInfo) asks for the image, MapGuide want's a username and password. No
MapGuide user og windows user works. Has anyone experienced this and found a
solution? IIS as default is set up to anonymous authentication. I also tried
to add Basic Authentication and Windows Authentication to the MapGuide IIS
application, but nothing helps.



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
Loading...