Jack,
It's prompting you for the MapGuide Enterprise user as configured in
Administrator that has rights to view the web layout. You can actually add
two additional, undocumented URL parameters to the web layout address. For
instance, if the layout address is this:
http://localhost/mapguide/mapviewerajax/?WEBLAYOUT=Library%3a%2f%2fSamples%2fSheboygan%2fLayouts%2fSheboyganAsp.WebLayout&LOCALE=en
Then make it this:
http://localhost/mapguide/mapviewerajax/?WEBLAYOUT=Library%3a%2f%2fSamples%2fSheboygan%2fLayouts%2fSheboyganAsp.WebLayout&LOCALE=en&USERNAME=Anonymous&PASSWORD=
By default, MapGuide Enterprise has a user called Anonymous with no password
that has view-only privileges. Also, take a look at the example
applications, for PHP one of the files is ajaxviewersample.php, for how to
create a wrapper around an existing web layout while programatically passing
the username and password.
--
Andy Morsell, P.E.
Spatial Integrators, Inc.
http://www.SpatialGIS.com
wrote in message news:5343123@discussion.autodesk.com...
I'm stumped with a problem I'm having accessing the ajax and dwf viewers
(initiated in Studio) from the server that MGE is installed on. Everything
works fine - loading data, creating the map and the web layout but when I
choose to view the map with the ajax or dwf viewer, the browser window opens
and I need to supply a username and password to view the map. I've gone
through IIS admin thinking it's some type of permission or security setting
but from what I'm seeing, it's not. I'm using PHP for my development
environment.
Thanks