Infrastructure Map Server Forum
Welcome to Autodesk’s Infrastructure Map Server Forums. Share your knowledge, ask questions, and explore popular Infrastructure Map Server topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Need username and password for MGE Viewers

9 REPLIES 9
Reply
Message 1 of 10
jacklloyd
386 Views, 9 Replies

Need username and password for MGE Viewers

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
9 REPLIES 9
Message 2 of 10
Anonymous
in reply to: jacklloyd

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
Message 3 of 10
jacklloyd
in reply to: jacklloyd

Thanks Andy. That did the trick. I would have never guessed that one. As if the URL isn't long enough already! You'd think there would be somewhere in Studio that you could assign user group(s) to the web layout so the URL gets constructed properly with those parameters. I've spent quite a few hours on this one.

Jack
Message 4 of 10
Anonymous
in reply to: jacklloyd

Yeah, it's confusing since the user/pw challenge/response dialog looks
almost identical to one you would get from the web server, so it's not
always obvious that you should be entering MapGuide Server specific
credentials rather than network credentials here.

Andy

wrote in message news:5343369@discussion.autodesk.com...
Thanks Andy. That did the trick. I would have never guessed that one. As if
the URL isn't long enough already! You'd think there would be somewhere in
Studio that you could assign user group(s) to the web layout so the URL gets
constructed properly with those parameters. I've spent quite a few hours on
this one.

Jack
Message 5 of 10
jacklloyd
in reply to: jacklloyd

That's what did it. I think if it would have been different looking, maybe similar to the one used with Studio, I would have figured it out sooner (maybe).

I'm finding MGE to be pretty good so far. We've been using MG since 1996, and it's been difficult to accept this dramatic change. We were also beta testers for the OS version and at the time were not very impressed with performance and functionality. Now that I'm using it (Enterprise version) more, I'm seeing some real potential. Do you know if there are performance differences between the OS and Enterprise versions?

Thanks again for your help
Message 6 of 10
Anonymous
in reply to: jacklloyd

The current shipping MapGuide Enterprise uses the current MGOS build, so
performance should be the same. I believe that is the intention; as
Autodesk develops patches for Enterprise, they will update the downloadable
MGOS build so the core technology remains in synch between the two. I know
they are close to releasing the first service packs for MGE. They've asked
me to test a couple iterations, and performance with certain data types,
like Oracle Spatial is much, much better.

Andy


wrote in message news:5343926@discussion.autodesk.com...
That's what did it. I think if it would have been different looking, maybe
similar to the one used with Studio, I would have figured it out sooner
(maybe).

I'm finding MGE to be pretty good so far. We've been using MG since 1996,
and it's been difficult to accept this dramatic change. We were also beta
testers for the OS version and at the time were not very impressed with
performance and functionality. Now that I'm using it (Enterprise version)
more, I'm seeing some real potential. Do you know if there are performance
differences between the OS and Enterprise versions?

Thanks again for your help
Message 7 of 10
Anonymous
in reply to: jacklloyd

jlloyd wrote:
> Now that I'm using it (Enterprise version) more, I'm seeing some real potential.

No kidding, eh?

I was able to rebuild most of my existing site with enhancements from
scratch after an FME data transfer in less than an hour and a half.

Andy, the most recent FME betas include the ability to set geometry type
for SDF+

Jason
Message 8 of 10
Anonymous
in reply to: jacklloyd

Yeah, I saw that in the improvement list for the latest beta and am anxious
to give it a try. It should eliminate the step of having to output to Shape
and then converting to SDF during the load procedure.


Andy

"Jason Birch" wrote in message
news:5344880@discussion.autodesk.com...
jlloyd wrote:
> Now that I'm using it (Enterprise version) more, I'm seeing some real
> potential.

No kidding, eh?

I was able to rebuild most of my existing site with enhancements from
scratch after an FME data transfer in less than an hour and a half.

Andy, the most recent FME betas include the ability to set geometry type
for SDF+

Jason
Message 9 of 10
Anonymous
in reply to: jacklloyd

On Thu, 28 Sep 2006 20:02:07 -0700, Andy Morsell
wrote:

> Yeah, I saw that in the improvement list for the latest beta and am
> anxious to give it a try. It should eliminate the step of having to
> output to Shape and then converting to SDF during the load procedure.
>
> "Jason Birch" wrote in message
> news:5344880@discussion.autodesk.com...
>
>> Andy, the most recent FME betas include the ability to set geometry
>> type for SDF+

Yes, it's true. We're now having FME write directly into the repository.
The first time we did this we had to open each layer in Studio and
reselect the geometry field, but after that every update is flawless.

--
James Card
Message 10 of 10
Anonymous
in reply to: jacklloyd

James Card wrote:
> Yes, it's true. We're now having FME write directly into the repository.
> The first time we did this we had to open each layer in Studio and
> reselect the geometry field, but after that every update is flawless.

I like it because it allows me to write multiple tables into the same
file for portability. Not sure yet if this has an effect on performance
though.

Jason

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report