AutoCAD Map 3D General Discussion

AutoCAD Map 3D General Discussion

Reply
Valued Contributor
rick-chappell
Posts: 85
Registered: ‎01-20-2010
Message 1 of 21 (4,512 Views)
Accepted Solution

Map 2012 Coordinate system files missing

4512 Views, 20 Replies
04-06-2011 01:22 PM

 

  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?

  Thanks,

  Rick

Valued Contributor
rick-chappell
Posts: 85
Registered: ‎01-20-2010
Message 2 of 21 (4,495 Views)

Re: Map 2012 Coordinate system files missing

04-07-2011 03:36 PM in reply to: rick-chappell

  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.

 

Active Member
Moran
Posts: 8
Registered: ‎09-10-2007
Message 3 of 21 (4,411 Views)

Re: Map 2012 Coordinate system files missing

04-19-2011 09:10 AM in reply to: rick-chappell

Good afternoon,
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

Active Contributor
andram
Posts: 27
Registered: ‎01-07-2010
Message 4 of 21 (4,402 Views)

Re: Map 2012 Coordinate system files missing

04-19-2011 12:27 PM in reply to: rick-chappell

I had to completely uninstall all previous versions of Map, and that included deleting all Autodesk folders found in

 

Program Files

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)

Active Contributor
andram
Posts: 27
Registered: ‎01-07-2010
Message 5 of 21 (4,396 Views)

Re: Map 2012 Coordinate system files missing

04-19-2011 01:23 PM in reply to: rick-chappell

Oh, you'll have to uninstall 2012 as well, remove all the AutoCAD Map folders, and reinstall 2012.

Active Member
Moran
Posts: 8
Registered: ‎09-10-2007
Message 6 of 21 (4,346 Views)

Re: Map 2012 Coordinate system files missing

04-25-2011 02:31 AM in reply to: rick-chappell

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!

Valued Contributor
rick-chappell
Posts: 85
Registered: ‎01-20-2010
Message 7 of 21 (4,312 Views)

Re: Map 2012 Coordinate system files missing

04-27-2011 03:24 PM in reply to: Moran

  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.

  Rick Chappell

  http://www.cadsoft-consult.com/blogs/geo/

 

Active Contributor
andre.schoeman
Posts: 30
Registered: ‎08-23-2009
Message 8 of 21 (4,238 Views)

Re: Map 2012 Coordinate system files missing

05-04-2011 11:22 PM in reply to: rick-chappell

If you have Project Galileo installed, uninstall that as well and do reinstall and will be fine.

 

Thanks,

 

Andre

Valued Contributor
rick-chappell
Posts: 85
Registered: ‎01-20-2010
Message 9 of 21 (4,225 Views)

Re: Map 2012 Coordinate system files missing

05-05-2011 08:58 AM in reply to: rick-chappell

  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.

  Rick CHappell

  http://www.cadsoft-consult.com/blogs/geo/

Active Contributor
dwolford
Posts: 40
Registered: ‎08-21-2008
Message 10 of 21 (4,216 Views)

Re: Map 2012 Coordinate system files missing

05-05-2011 11:56 AM in reply to: rick-chappell

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:

http://screencast.com/t/h3SlnCDbLI

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/autodesk-contri.html has some background information.)

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:

  1. Close AutoCAD Map 3D 2012.
  2. If MapGuide Maestro is running, please close it too; and if the MapGuide Open Source service is running, please stop it.
  3. Open the System item in the Control Panel.
  4. In the System Properties dialog, click the Advanced tab.
  5. In the Advanced tab, click the Environment Variables button.
  6. In the Environment Variables dialog, select MENTOR_DICTIONARY_PATH (in the System Variables section).
  7. Click Edit.
  8. In the Edit System Variable dialog, change the name from MENTOR_DICTIONARY_PATH to OLD_MENTOR_DICTIONARY_PATH (and leave the value intact).
  9. Click OK to close the Edit System Variable dialog.
  10. Click OK to close the Environment Variables dialog.
  11. Click OK to close the System Properties dialog.
  12. Open AutoCAD Map 3D 2012.
  13. 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:

  1. Close AutoCAD Map 3D 2012.
  2. Start the MapGuide Open Source service, and open MapGuide Maestro.
  3. 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.

Dan

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.