• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Error load shp file

Messages
115
Country
italy
Hello Arno, excuse the trouble here ...
I tried scenProc but I have a problem at the outset,
I can not use the shp file.
The error message is this:
09:23 SceneryProcessor Error The provider 'Microsoft.ACE.OLEDB.12.0' is not registered on the local computer.
My system is Vista 64 SP2, Framework3.5 SP1 + Framework4
I have tried both AccessDatabaseEngine.exe that AccessDatabaseEngine_x64.exe but the message is always the same.
Any suggestions?
it seems that only I have this problem.

Thank you.
Anto80 (FG91X)
 
Hi,

What is the message you get?

On a 64 bit OS you should install AccessDatabaseEngine_x64.exe. If you get a message about a 32 bit Office being installed, you can install the driver by using this command:

Code:
AccessDatabaseEngine_X64.exe /passive
 
I installed AccessDatabaseEngine_x64.exe. without problems.
I have not installed office software

The message I get is as follows:

10:03 SceneryProcessor Error The provider 'Microsoft.ACE.OLEDB.12.0' is not registered on the local computer.
(in Italian)
if I cast scan attribute the error message is this :

Le informazioni su come richiamare il debug JIT (Just-In-Time) anziché questa finestra
sono riportate in fondo al messaggio.

************** Testo dell'eccezione **************
System.InvalidOperationException: Il provider 'Microsoft.ACE.OLEDB.12.0' non è registrato nel computer locale.
in System.Data.OleDb.OleDbServicesWrapper.GetDataSource(OleDbConnectionString constr, DataSourceWrapper& datasrcWrapper)
in System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection)
in System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)
in System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup)
in System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
in System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
in System.Data.OleDb.OleDbConnection.Open()
in Catfood.Shapefile.Shapefile.OpenDb()
in Catfood.Shapefile.Shapefile.Open(String path)
in ASToFra.scenProc.ImportSHP.ScanAttributes(String[] arguments)
in ASToFra.scenProc.SceneryProcessor.ScanAttributes()
in ASToFra.scenProc.MainWindow.bwScan_DoWork(Object sender, DoWorkEventArgs e)
in System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)


************** Assembly caricati **************
mscorlib
Versione assembly: 2.0.0.0
Versione Win32: 2.0.50727.4234 (VistaSP2GDR.050727-4200)
Base di codice: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
scenProcLaunch
Versione assembly: 1.0.0.0
Versione Win32: 1.0.0.0
Base di codice: file:///F:/liguria/Film/AGN/aurogen/scenProc.exe
----------------------------------------
System.Windows.Forms
Versione assembly: 2.0.0.0
Versione Win32: 2.0.50727.4228 (VistaSP2GDR.050727-4200)
Base di codice: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Versione assembly: 2.0.0.0
Versione Win32: 2.0.50727.4234 (VistaSP2GDR.050727-4200)
Base di codice: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Versione assembly: 2.0.0.0
Versione Win32: 2.0.50727.4230 (VistaSP2GDR.050727-4200)
Base di codice: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
scenProc
Versione assembly: 1.0.0.0
Versione Win32: 1.0.0.0
Base di codice: file:///F:/liguria/Film/AGN/aurogen/scenProc.DLL
----------------------------------------
Interfaces
Versione assembly: 1.0.0.0
Versione Win32: 1.4.0.0
Base di codice: file:///F:/liguria/Film/AGN/aurogen/Interfaces.DLL
----------------------------------------
DigitalRune.Windows.TextEditor
Versione assembly: 1.3.0.0
Versione Win32: 1.3.0.0
Base di codice: file:///F:/liguria/Film/AGN/aurogen/DigitalRune.Windows.TextEditor.DLL
----------------------------------------
EventLog
Versione assembly: 1.0.0.0
Versione Win32: 1.4.0.0
Base di codice: file:///F:/liguria/Film/AGN/aurogen/EventLog.DLL
----------------------------------------
ObjectModel3D
Versione assembly: 1.0.0.0
Versione Win32: 1.4.0.0
Base di codice: file:///F:/liguria/Film/AGN/aurogen/ObjectModel3D.DLL
----------------------------------------
System.Xml
Versione assembly: 2.0.0.0
Versione Win32: 2.0.50727.4016 (NetFxQFE.050727-4000)
Base di codice: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Core
Versione assembly: 3.5.0.0
Versione Win32: 3.5.30729.1 built by: SP
Base di codice: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
Utils
Versione assembly: 1.0.0.0
Versione Win32: 1.4.0.0
Base di codice: file:///F:/liguria/Film/AGN/aurogen/Utils.DLL
----------------------------------------
MapTools
Versione assembly: 1.0.4752.1880
Versione Win32: 1.0.4752.1880
Base di codice: file:///F:/liguria/Film/AGN/aurogen/MapTools.DLL
----------------------------------------
System.Configuration
Versione assembly: 2.0.0.0
Versione Win32: 2.0.50727.4016 (NetFxQFE.050727-4000)
Base di codice: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
ProjApi
Versione assembly: 1.0.0.0
Versione Win32: 1.0.0.0
Base di codice: file:///F:/liguria/Film/AGN/aurogen/ProjApi.DLL
----------------------------------------
Autogen
Versione assembly: 1.0.0.0
Versione Win32: 1.0.0.0
Base di codice: file:///F:/liguria/Film/AGN/aurogen/Autogen.DLL
----------------------------------------
TextureObject
Versione assembly: 1.0.0.0
Versione Win32: 1.4.0.0
Base di codice: file:///F:/liguria/Film/AGN/aurogen/TextureObject.DLL
----------------------------------------
TextureLoader
Versione assembly: 1.0.0.0
Versione Win32: 1.4.0.0
Base di codice: file:///F:/liguria/Film/AGN/aurogen/TextureLoader.DLL
----------------------------------------
Catfood.Shapefile
Versione assembly: 1.51.0.0
Versione Win32: 1.51.0.0
Base di codice: file:///F:/liguria/Film/AGN/aurogen/Catfood.Shapefile.DLL
----------------------------------------
System.Data
Versione assembly: 2.0.0.0
Versione Win32: 2.0.50727.4016 (NetFxQFE.050727-4000)
Base di codice: file:///C:/Windows/assembly/GAC_64/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
mscorlib.resources
Versione assembly: 2.0.0.0
Versione Win32: 2.0.50727.4234 (VistaSP2GDR.050727-4200)
Base di codice: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
System.Transactions
Versione assembly: 2.0.0.0
Versione Win32: 2.0.50727.4016 (NetFxQFE.050727-4000)
Base di codice: file:///C:/Windows/assembly/GAC_64/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.Data.resources
Versione assembly: 2.0.0.0
Versione Win32: 2.0.50727.4016 (NetFxQFE.050727-4000)
Base di codice: file:///C:/Windows/assembly/GAC_MSIL/System.Data.resources/2.0.0.0_it_b77a5c561934e089/System.Data.resources.dll
----------------------------------------
System.resources
Versione assembly: 2.0.0.0
Versione Win32: 2.0.50727.4016 (NetFxQFE.050727-4000)
Base di codice: file:///C:/Windows/assembly/GAC_MSIL/System.resources/2.0.0.0_it_b77a5c561934e089/System.resources.dll
----------------------------------------
System.Windows.Forms.resources
Versione assembly: 2.0.0.0
Versione Win32: 2.0.50727.4016 (NetFxQFE.050727-4000)
Base di codice: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_it_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------

************** Debug JIT **************
Per attivare il debug JIT, è necessario impostare il valore
jitDebugging nella sezione system.windows.forms del file di configurazione
dell'applicazione o del computer (machine.config).
L'applicazione inoltre deve essere compilata con il debug
attivato.

Ad esempio:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

Quando il debug JIT è attivato, tutte le eccezioni non gestite
vengono inviate al debugger JIT registrato nel computer,
anziché essere gestite da questa finestra di dialogo.

and scenproc crashes.

Anto80
 
That seems to indicate the driver has not been installed correctly. Are you sure you installed the 64 bit version since you are running a 64 bit OS?
 
It is AccessDatabaseEngine_x64.exe version downloaded from here:
http://www.microsoft.com/en-us/download/details.aspx?id=13255
I installed the Italian version, I do not think that change? ....

I have installed the 32 and the 64 at least 20 times but nothing changes,
how can I check if the driver is installed correctly?

In the past I used the first version of scenproc and this problem did not occur, but I have in the meantime I format the pc and reinstalled everything ....

The SO is a 64 bit:





Anto80
 
Last edited:
Hi,

I don't think English or Italian version should matter.

The first versions of scenProc used another library to load shapefiles and that library did not depend on this driver. But the new library works much better when loading big files, that's why I switched.

Let me check how you can verify the driver is installed correctly.
 
Hi,

Is this file installed on your system by the installer?

C:\Program Files\Common Files\Microsoft Shared\OFFICE14\ACEOLEDB.DLL
 
:(

It's all in the ...
C:\Program Files\Common Files\Microsoft Shared\OFFICE14\ACEOLEDB.DLL

maybe something in the registry of windows?

Anto80
 
Maybe, but the installer is supposed to take care of that...

Can you try to run odbcad32. Do you see the same drivers installed as I have here?
 

Attachments

  • drivers.png
    drivers.png
    32.5 KB · Views: 567
Here is the screen version of the drivers are different ...
 

Attachments

  • driver.jpg
    driver.jpg
    110.6 KB · Views: 491
But you have Vista and I have Windows 7, so I can imagine that the version numbers are slightly different in that case.

I have ran out of ideas at the moment.

Did you already try to uninstall those two drivers you installed, reboot and then only install the 64 bit version?
 
Yes I have tried several times but still try again to make a driver at a time and reboot see what happens .....
I'll try just the first 32
then only the 64
to finish both 32 and 64 together .....

Thank you for your patience.
Ciao.
Anto80 :)
 
Hello Arno,
Nothing wrong with shapefile ...
but...:confused:
today I did some tests with the OSM data and strangely it works fine,
now do not know if the use OSM as the driver does not work with shapefile
but it's important that it works now.:D
SPC file as I used one already done and taken here on the forum I only changed the source data OSM and directories.
To do all corsica put us less than 15 minutes without any problem.
Ok there is a lot not the OSM file is 253 MB ......

Thank you, the help and your time.
Anto80 FG91X.
 
Hi,

It is only the shapefile reader that uses that specific driver indeed. So you should have no problems with the OSM format (as you found out already).
 
:confused:

Hi Arno I need extra effort one more time, I have a problem with vegetation,
in practice it causes me all vegetation (forest) that is in the file OSM.
The program creates a few pieces and some do not ...
with the buildings there are no problems.

Looking with Quantum GIS seems to be a lot more vegetation than it does at the end.

If you look at the shot you'll see that missing "pieces".
The area is Andorra, but it also does with other scenarios.
Any idea?

Thank you.

Anto80


This is the file I used:
 

Attachments

  • andorra.txt
    andorra.txt
    2.4 KB · Views: 521
  • problemaVege.jpg
    problemaVege.jpg
    252.7 KB · Views: 434
Did you also check in fsx? Annotator does not always show all polygons.
 
Did you also check in fsx? Annotator does not always show all polygons.

Hi Arno, I'm sorry, actually is true Annotator does not display some polinee
vegetation, in FSX seems that there are ...
My mistake was to believe that the files are complete OSM or shape
as the map in openstreetmap.org but in reality it is not.
There are not all those forests .... here's my error.

For annotator why not display all polinee?
Is there any remedy?

I'm sorry for my English .... I hope you understand .


Antto80
 
Hi,

I don't know yet what the limitation of annotator is, but as long as it works in fsx I am happy :). I think it might be related to the shape or amount of vertices of the polygon.
 
Ok thank you for everything and for this nice program ....

One last thing ..... the guid for buildings or vegetation used are those found in fsxsdk.chm? Or is there another list?
Some guid posted here do not find that the list ....

Thank you.
Anto80.:)
 
:rolleyes:

Ok I am stupid .... I did not remember just look Annotator / Window / properties after selecting the type buildig or vegetation... .....
is a bit of time that does not use annotator.

Have a nice day. Although it is already night here ....

Anto80
 
Back
Top