Performance Report getting frozen in AIMS 2013?

By Daniel Du

In AIMS 2013, an outstanding feature is the performance report, which enables user to analyze the performance of your Map Server. Using this tool, users can examine the rendering time of each layer to find out the performance bottle neck, then tune it up accordingly.

Here is a screen-shot of AIMS2013 performance report:

image

 

For unknown reason, the performance report tool did not work on my laptop, it just got frozen after clicking the “Run” button. I checked with Firebug, which is an add-on of Firefox browser,  I get following error message:

——————————————————————–

HTTP Error 500.0 – Internal Server Error

Module
FastCgiModule

ExecuteRequestHandler

Handler
PHP via FastCGI

Error code

0x00000000

Requested URL
http://localhost:80/mapserver2013/mapadmin/performanceReport_GetResult.php?scale=118665.7185&centerPoint=-9.77e%2B6*5.40e%2B6&mapDefinition=Library%3A%2F%2FSamples%2FSheboygan%2FMaps%2FSheboygan.MapDefinition&imageWidth=1659&imageHeight=664&sid=0.2957984344722354

image

The reason is due to permission problem of <Infrastructure Web Server Extension 2013>\www\mapadmin\profilingmapxml folder. MapServer need to write file into this folder when performance report is running, so we need to enable “modify” for <machineName>\IIS_IUSRS.

Here is how to do it:

1. Run inetgmr in Start—>Run to open IIS Manager,

2. Right click mapserver2013->mapadmin->profilingmapxml  and select “Edit permissions”, then switch to “Security” tab:

image

3. Click “edit” then click “Add” button to add user

image

4. Input <machineName>\IIS_IUSRS then click “Check names” to make sure the user name is correct. Please make sure to change location to your local machine if you are in a domain.

image

5. Enable “Modify” permission for <machineName>\IIS_IUSRS, then click “OK” or “Apply”

image

 

Now, go back to Map Server Administrator, and run performance report, it works fine for me now! Smile

Hope this helpful for you if you run into this issue as me.


Comments

2 responses to “Performance Report getting frozen in AIMS 2013?”

  1. James Maeding Avatar
    James Maeding

    this kind of tool would be invaluable for autocad.
    If I could get more info on what it was spending time doing, even if it slowed things down a bunch. I commonly get the open dialog hanging one moment, then not another. More runtime info would be great.

  2. Thanks you for the comment, but I have to say that this performance report tool is for Infrastructure Map Server(as know as MapGuide), which is web based application, pretty different from AutoCAD :)

Leave a Reply

Discover more from Autodesk Developer Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading