Uploading maps in survey solution local server

Hello, I"m trying to upload maps in my local server survey solution, but I got the following error. What can I do

Status: Error occurred during upload

File ‘Kaskazini/’ contains data the system can’t process. Error: The filename, directory name, or volume label syntax is incorrect. : 'C:\Survey Solutions\Data_Site\finscope\TempMapsData\0abdd8f039ed4da7bf4ace961bb557b0\Kaskazini'

File ‘Kaskazini/Kaskazini B.tif’ contains data the system can’t process. Error: Could not find a part of the path ‘C:\Survey Solutions\Data_Site\finscope\TempMapsData\18321fc447664aa3b3e0bfb8ba8fc65f\Kaskazini\Kaskazini B.tif’.

File ‘Kaskazini/kaskazini.tif’ contains data the system can’t process. Error: Could not find a part of the path ‘C:\Survey Solutions\Data_Site\finscope\TempMapsData\b03dbc8f035247449975571b2803c53c\Kaskazini\kaskazini.tif’.

Try to use filenames without spaces.
Check that files are not broken.
Check that any other software (Antivirus for instance) locks\deletes files.

I think the problem is, that you are using a folder inside the zip file. At least that is what i see from your error: File ‘Kaskazini/Kaskazini B.tif’ . Try to repack the files WITHOUT a folder in between. to do this, go inside the folder, select the files, and pack them as .zip. I hope this solves your problem.

As @vitalii correctly mentioned, the file name, with whitespace in it could also create problems, so try to avoid them, by using underscore.

i have just tested on my system, and when creating a folder, inside the zip file, then i get the following error.

The file basemaps/Lat9260Lon650_ALL.tif name includes invalid characters.

Without the folder it works fine. Also note the underscore instead of the space in the file name.

Thanks for prompt reply,
I did your instruction and got another error,
Status: Error occurred during upload

File ‘kaskazini.tif’ contains data the system can’t process. Error: gdalinfo utility not found. Please install gdal library and add to PATH variable

At the mean time I have installed [OSGeo4W project] in my local machine under c drive. but still I got the same error :

File ‘kaskazini.tif’ contains data the system can’t process. Error: gdalinfo utility not found. Please install gdal library and add to PATH variable

We have already install GDL in our local server, but still errors persisit

I think that gets you already one step closer.

Did you also make sure, that the path variable is correctly specified, as outlined here: Server Installation ?

Yes, we use the default path during installation. the path is C:\OSGeo4W64\bin
may be if there are more settings to do please advice us where exactly and what to do.
thank you very much

I see. But did you also explicitly specify the path in the appsettings.Production.ini file as it is written in our instructions?

appsettings.Production.ini
[Geospatial]
GdalHome=C:\OSGeo4W64\bin

in another recent case, that has solved the problem, so just double check, that it is there. Otherwise you would need to wait for @vitalii to reply, as he may know of any other options. There was also a recent case with the OSGeo4W network installer, but this is where vitalii will be able to tell you more.

Have you restarted the app after config changes?

1 Like

yes we did, and now is working fine. we tested today
Many tanks