MapGuide / AIMS mapagent web site contains a section called "Server Admin". If you try to execute one of the commands you will probably get an error message:
MapGuide Server Admin Service Tests
Problem:\nCannot establish connection to the Infrastructure Map Server.\n\nPossible Causes:\n-Your session has been idle for too long;\n-Infrastructure Map Server is no longer responding;\n-Internet connection problems.\n\nSolution:\nRestart your application / session, restart the Infrastructure Map Server service, or contact with the server administrator.Problem:\nCannot establish connection to the Infrastructure Map Server.\n\nPossible Causes:\n-Your session has been idle for too long;\n-Infrastructure Map Server is no longer responding;\n-Internet connection problems.\n\nSolution:\nRestart your application / session, restart the Infrastructure Map Server service, or contact with the server administrator.
If so then change "localhost" to "127.0.0.1" in file "serveradminhelper". The file can be found in the mapviewer sub folder. Depending on your installation your viewer is either .net, Java or PHP based. For a .net based view the path is:
\www\mapviewernet\
The line in question is (für ASPX):
serverAdmin.Open("localhost", cred);
and needs to be changed to
serverAdmin.Open("127.0.0.1", cred);
AIMS 2013.
Wednesday, 16 December 2015
Wednesday, 9 December 2015
Migration project finished
For quite some time we were busy migrating TB2 to AutoCAD Map 2013. The poject is now finished, all TB2 clients have been removed, MapGuide 6.5 has been switched off for good. With that the last remaining XP workstations and W2003 servers have been retired as well.
So, what comes next? Upgrade to 2016...
So, what comes next? Upgrade to 2016...
FlexLM - FlexNet Licensing error:-1,359.
I installed FlexLM on W2008R2 and set up our licenses.
When my colleague performed a server status check he received the following error message:
--------
Status
--------
Flexible License Manager status on Wed 12/9/2015 14:13
[Detecting lmgrd processes...]
Error getting status: Cannot find license file.
The license files (or license server system network addresses) attempted are
listed below. Use LM_LICENSE_FILE to use a different license file,
or contact your software provider for a license file.
Filename: C:\flexlm\license.dat
License path: C:\flexlm\license.dat;
FlexNet Licensing error:-1,359. System Error: 2 "No such file or directory"
For further information, refer to the FlexNet Licensing documentation,
available at "www.flexerasoftware.com".
When I did the same I just got the server status report as expected.
It turned out that my colleague's registry profile contained a key under
HKEY_CURRENT_USER\Software\FLEXlm License Manager
which pointed to "C:\flexlm\license.dat".
I did not have that key in HKEY_CURRENT_USER.
Deleting the key in HKEY_CURRENT_USER solved the issue.
FlexLM - Version v11.12.1.4
When my colleague performed a server status check he received the following error message:
--------
Status
--------
Flexible License Manager status on Wed 12/9/2015 14:13
[Detecting lmgrd processes...]
Error getting status: Cannot find license file.
The license files (or license server system network addresses) attempted are
listed below. Use LM_LICENSE_FILE to use a different license file,
or contact your software provider for a license file.
Filename: C:\flexlm\license.dat
License path: C:\flexlm\license.dat;
FlexNet Licensing error:-1,359. System Error: 2 "No such file or directory"
For further information, refer to the FlexNet Licensing documentation,
available at "www.flexerasoftware.com".
When I did the same I just got the server status report as expected.
It turned out that my colleague's registry profile contained a key under
HKEY_CURRENT_USER\Software\FLEXlm License Manager
which pointed to "C:\flexlm\license.dat".
I did not have that key in HKEY_CURRENT_USER.
Deleting the key in HKEY_CURRENT_USER solved the issue.
FlexLM - Version v11.12.1.4
Tuesday, 24 November 2015
Map crashes when changing dimension style properties
If you open the Dimension-Style Manager (command: _dimsty) and change a property Map/AutoCAD might crash:
On the AutoCAD discussion forum it was mentioned that the problem is related to VBA enabler - which we have installed as well. To work around the issue you can use "Overwrite" instead of "Modify" in DimStyle Manager.
Map 2013, SP2
![]() |
| DIMSTY crashes AutoCAD... |
On the AutoCAD discussion forum it was mentioned that the problem is related to VBA enabler - which we have installed as well. To work around the issue you can use "Overwrite" instead of "Modify" in DimStyle Manager.
Map 2013, SP2
Tuesday, 17 November 2015
MapGuide/AIMS - WMS: wrong URL in GetCapabilities
I set up some WMS layers on AIMS 2013. In Site Admin I configured server name and script name as required. But in my GetCapabilities document I still got the previous server name and script name (http://localhost:8008/mapagent/mapagent.fcgi). Any wms request therefore didn't work.
Solution: restart IIS service (World Wide Web Publishing Service).
Solution: restart IIS service (World Wide Web Publishing Service).
Friday, 30 October 2015
There was a problem adding data to Map
In summer we got raster files for a project and one colleague loaded the files into Map via FDO and worked with the files. Then the project was stopped and has been restarted only recently. But the files could not be added to Map anymore - we only received the message:
"There was a problem adding data to Map"
Nothing seemed to have changed - we still have Map 2013, the raster files are the same. So why didn't it work anymore?
Autodesk support pointed me to the following KB article:
"AutoCAD Map 3D: Error: "There was a problem adding data to Map" when adding WMS or Rasterfiles"
FDO needs full rights to this location C:\Users\<username>\appdata\local\temp\
Alternatively create folder with full permission at C:\TEMP and set “Temporary External Reference File Location” to that path.
"There was a problem adding data to Map"
Nothing seemed to have changed - we still have Map 2013, the raster files are the same. So why didn't it work anymore?
Autodesk support pointed me to the following KB article:
"AutoCAD Map 3D: Error: "There was a problem adding data to Map" when adding WMS or Rasterfiles"
Issue:
Connect to WMS or Raster files via FDO, the connection work but cannot add the layer to Autodesk® AutoCAD® Map 3DCauses:
The issue could be related to permission, or lack of them.Solution:
Open AutoCAD Options menu >Files tab and locate “Temporary External Reference File Location”. This revealed the path where program copies the remporary FDO files.FDO needs full rights to this location C:\Users\<username>\appdata\local\temp\
Alternatively create folder with full permission at C:\TEMP and set “Temporary External Reference File Location” to that path.
Funny though as my setting for "“Temporary External Reference File Location”" was already "C:\temp". But then I realised that we applied a new AutoCAD profile to all workstations couple of weeks ago and that the new profile probably has to do with the issue.
I created a new (empty) profile and added the images succesfully to Map. The setting for the Temporary External Reference File Location is now "C:\Users\<<>>\AppData\Local\Temp\" again. When I change it to C:\Temp I cannot add the files anymore.
Conclusion - it works for me but exactly the other way round as described in the KB arcticle. Anyway, as long as it works....
Map 2013, SP2
Edit:
ok, the difference is "full rights". As normal user I do not have full rights on c:\temp and I cannot change that myself. Whereas with C:\Users\<username>\appdata\local\temp\ I have full access. At least in our corporate environment.
Edit:
ok, the difference is "full rights". As normal user I do not have full rights on c:\temp and I cannot change that myself. Whereas with C:\Users\<username>\appdata\local\temp\ I have full access. At least in our corporate environment.
Thursday, 22 October 2015
Intersection with guest user
When performing an intersection in Map with a guest user you will receive an error message stating that a specific feature class could not be emptied due to insufficient privileges.
The table in question has been set up with Select, Insert, Update, Delete permissions in the guest user.
Autodesk support explained, that the table content is not deleted but the table is truncated. Therefore the Delete permission on the table is not sufficient.
The following workarounds have been proposed:
- perform intersection in Map-Admin accross whole area
- perform intersection in data document
One other possibility is to grant "drop any table" to the guest user. But giving the guest user such as privilege might not be a good solution either.
Map 2013 SP2
Subscribe to:
Posts (Atom)
