Tuesday, 30 September 2014

Access to the path '\\users.winlan.net\users$\' is denied

We get the error message in three situations:

(1) - save a Map report as PDF (report preview window)
(2) - open a linked document from within form
(3) - exporting form data as ascii/excel file 



error message when trying to open a linked document

All users have a private folder on the network. The folder is connected as a drive, the root folder is "\\users.winlan.net\users$\". Map now tries to save a file in the root folder - but a user does not have any permissions there.

The following "solutions" are available:


(1) - save a Map report as PDF (report preview window)
- the pdf file is - despite the error message - saved locally in "C:\Program Files\Autodesk\AutoCAD Map 3D 2013\Temp". A user can open the file from there.

(2) - open a linked document from within form
- save the drawing first on the network drive, two levels below the path given the error message (in my case that would be: \\users.winlan.net\users$\users\frro3 - basically my root folder on the drive).

(3) - exporting form data as ascii/excel file
- The problem does not occur on all machines. On some machines Map just crashes. The crash report contains the error message mentioned above. On some machines the crash can be avoided by accepting the default path in the "Save" dialog. On some machines export just works. By the way - the crash only happens when you save the data as shown in the form - no matter whether you try to create an excel or an ascii file.



crash on some machines when trying to export form data


Map 2013, SP2

Monday, 29 September 2014

Cannot convert GIS objects to CAD objects


When exporting to DWG we got the following error message:

"GIS-Objekte konnten nicht in AutoCAD-Objekte konvertiert werden."


(Gis object cannot be converted to CAD object).

and - no surprise - certain objects were missing in the CAD drawing.

After fiddling around for ages I found out that the problem is caused by an erroneous expression in one layer. Funny though, as there is no error message when generating the graphics in Map nor are any features missing. But if you check the expression in Map it will return a hint:

error message displayed - only if you ask for it....


The expression was:

ID_ABSTLINIENART  IN ( 2, 5, 6, 7, 11, 12 ) AND  >  1

but should have been

ID_ABSTLINIENART  IN ( 2, 5, 6, 7, 11, 12 ) AND ID_ABSTANDSLINIENTYP >  1

So, the error message is misleading - kind of.


Map 2013, SP2