I'm working with 2012 now, and trying the new coordinate system tools, but it doesn't look like everything's installed correclty. I get an unhandled exception, and it tells me the specified file was not found: Datums.CSD. I'm assuming the datum files didn't install correctly - when connecting to FDO data sources (Shape files) with a projection file, I'm getting an error that it's an unknown projection file (common projections).
Dows anyone know were the new projection files are stored in 2012, or know of a cause for this?
Solved! Go to Solution.
It's interesting - the datum files do exist in the common folder where the previous versions are. Now I have 2 different installs where the datums can't be found, and 1 that installed and works correctly.
then finally getting work for you coordinate systems? How?
I can not do anything that works for the assignment of coordinate systems, there is a fatal error!
Any help is welcome
I had to completely uninstall all previous versions of Map, and that included deleting all Autodesk folders found in
Program Files/Common Files
And if using 64-bit Windows:
Program Files (x86)
Program Files (x86)/Common Files
ProgramData (usually hidden, so you'll have to set Windows Explorer to view hidden files/folders)
I, in the end I made a clean uninstall and also disable the antivirus during installation ... Prevented the loading of some libraries it seems. Now it works! Thank you for your help!
I tried the uninstall of all Autodesk products, but had no luck. After trying a few times, I noticed I still had MapGuide OS installed. I included that in the uninstall, and the next reinstall worked.
During the unsinall, I made sure to eliminate any Autodek entries in the registry. CCleaner helped with that.
The machine I had the problems with didn't have Gallileo installed. I'm glad that worked for you. If I run into it again, I may just try that first.
My problem stated that when trying to assign a coordinate system it could not find the Datums.csd file. Through discussions the Autodesk customer support it was determined that the problem arose because I had previously installed Open Source Mapguide Server and Maestro. These programs set an environment variable "MENTOR_DICTIONARY_PATH" to F:\Program Files\OSGeo\MapGuide\CS-Map\Dictionaries. Unfortunately the install of AutoCAD MAP 3D 2012 recoqnized this and tried to use this directory for the coordinate system files when it should be using the following directory C:\Documents and Settings\All Users\Application Data\Autodesk\Geospatial Coordinate Systems. My solution was to rename the environment variable "MENTOR_DICTIONARY_PATH" to "OLD_MENTOR_DICTIONARY_PATH". I then created a new environment variable named "MENTOR_DICTIONARY_PATH" with the following value C:\Documents and Settings\All Users\Application Data\Autodesk\Geospatial Coordinate Systems. This solved my problems.
The full text of the final discussion with the Autodesk Technical support is below, as it provides more detail than the above description.
Thank you very much for your message, the error details, the screenshots, and the NFO file.
The reason why I wanted the NFO file is because it shows the environment variables that are active on your computer as well as the values of those environment variables.
Your computer has an active environment variable called MENTOR_DICTIONARY_PATH, as you can see in the screenshot I made (after loading your NFO file into the System Information utility) and placed at this address:
I believe that MENTOR_DICTIONARY_PATH was created automatically when you installed MapGuide Open Source. The value of MENTOR_DICTIONARY_PATH defines the path to the folder in which the coordinate system definition files for MapGuide Open Source are stored. (Currently, MENTOR_DICTIONARY_PATH has a value of F:\Program Files\OSGeo\MapGuide\CS-Map\Dictionaries on your computer.)
If you were to install AutoCAD Map 3D 2012 onto a computer on which MapGuide Open Source is not installed, MENTOR_DICTIONARY_PATH would not get created.
But it turns out that even though AutoCAD Map 3D 2012 does not create the MENTOR_DICTIONARY_PATH environment variable, AutoCAD Map 3D 2012 will recognize MENTOR_DICTIONARY_PATH if it already exists.
This recognition of MENTOR_DICTIONARY_PATH is undocumented, and I am sorry about that. The reason for this behavior is that the coordinate system technology in both AutoCAD Map 3D and MapGuide was originally devised by Mentor Software, which Autodesk acquired. (The blog post at http://geospatial.blogs.com/geospatial/2008/08/aut
It appears that what is happening on your computer is that AutoCAD Map 3D 2012 is reading the MENTOR_DICTIONARY_PATH variable and is looking inside F:\Program Files\OSGeo\MapGuide\CS-Map\Dictionaries for the coordinate system definition files that it needs, instead of looking where those files actually are — C:\Documents and Settings\All Users\Application Data\Autodesk\Geospatial Coordinate Systems (and/or Geospatial Coordinate Systems Temp2012).
To resolve the issue in AutoCAD Map 3D 2012, please take these steps:
- Close AutoCAD Map 3D 2012.
- If MapGuide Maestro is running, please close it too; and if the MapGuide Open Source service is running, please stop it.
- Open the System item in the Control Panel.
- In the System Properties dialog, click the Advanced tab.
- In the Advanced tab, click the Environment Variables button.
- In the Environment Variables dialog, select MENTOR_DICTIONARY_PATH (in the System Variables section).
- Click Edit.
- In the Edit System Variable dialog, change the name from MENTOR_DICTIONARY_PATH to OLD_MENTOR_DICTIONARY_PATH (and leave the value intact).
- Click OK to close the Edit System Variable dialog.
- Click OK to close the Environment Variables dialog.
- Click OK to close the System Properties dialog.
- Open AutoCAD Map 3D 2012.
- Test whether you can assign global coordinate systems to drawings. Please reply to this message with that information.
Because my colleagues and I here in Product Support only have Autodesk MapGuide Enterprise installed and do not have MapGuide Open Source installed, I have not been able to test whether the steps above will affect MapGuide Open Source. (Autodesk MapGuide Enterprise does not create the MENTOR_DICTIONARY_PATH variable.) So after you have completed the steps above, please take these steps:
- Close AutoCAD Map 3D 2012.
- Start the MapGuide Open Source service, and open MapGuide Maestro.
- Test whether you encounter any issues with coordinate systems. Please reply to this message with that information.
If you do encounter issues with MapGuide Open Source, then you should be able to resolve them by stopping the service, changing the name of OLD_MENTOR_DICTIONARY_PATH back to MENTOR_DICTIONARY_PATH, and restarting the service. Of course, then you will have the same problem in AutoCAD Map 3D 2012 again, unfortunately, until you change the name of the variable back to OLD_ MENTOR_DICTIONARY_PATH. You might wish to test whether leaving the name as MENTOR_DICTIONARY_PATH and setting the value to C:\Documents and Settings\All Users\Application Data\Autodesk\Geospatial Coordinate Systems will allow both products to work without any issues.