News:

Buying something from Amazon? Please consider using my affiliate links - Amazon.com or Amazon.co.uk - You get your stuff, Plan-G gets a little boost :)   

Main Menu

Data base failed to build Underlying provider failed to open

Started by bobbykins, March 02, 2018, 08:43:31 PM

Previous topic - Next topic

bobbykins

Having had a successful flight the other night I went to fly this pm . Plan g loaded on the screen without any data (no airspace ,VORs etc.). I then thought that rebuilding the data base might solve it but after the "building airways bit I got a message----
database failed to build Underlying Provider failed to open-see log for more details. Tried once more thinking that it might be finger trouble on my part. Same result
Now ,this is my first venture into this territory but opening the vast jumble (to me) of words  I came upon this line in what I think is the log file to which they refer.
System.Data.SqlServerCe.SqlException: the path is not valid . Check the directory for the database.(Path=c:\Documents\Plan-g Files\Data\PlanG3_P3D.sdf).
So what, I am afraid to say.
I have looked at other posts relating to the Data base failing to build and note their comments on the SqlServer but they seem to get a different exception notice. Or is it the same problem expressed differently that will be incorporated in your next build?
Perhaps this will help in advising on the problem as this is beyond me . But I am willing to try to learn.
Bobbykins

dempsey

I find your path a little bit strange: C:\Documents\Plan-g Files\Data\PlanG3_P3D.sdf

In the standard installed Plan-G the path is normally C:\Users\<username>\Documents\Plan-G Files\ etc.

Go to File -> Options -> Location and see what Plan-G Files Folder says. Mine says: C:\Users\<username>\Documents\Plan-G Files

Finally, for Tim to be able to help attach the Plan-G_Log.txt log file from the Paln-G Files directory.
Dempsey

X-Plane 11.25, Plan-G 3.2.1.151

bobbykins

Hi dempsey -- thanks for the response .  I also thought that the file pathways strange but as I had done nothing to the system since last time ,when I let it do its own thing and all seemed well,  it all worked , then I thought that it was in the right place. Silly me.
So, uninstalled and reinstalled and noted that it was trying to put things in the x86. Perhaps that was the problem and I wasn't particular enough making sure that it didn't go there ,despite Tim's warning on P.2 of the read-me !!!
Setting up new folder , in the place you suggested, and being most particular at every point,   it all has gone well , I have my data back.

Many thanks for the heads up--Bobbykins

tim arnot

Thanks Bobbykins. I've had emails from other users this week, saying their database problems were cured after they moved Plan-G out of Program Files (x86). For sure there was a period when Plan-G worked quite happily from within x86, but it looks like that time is over.

I'll look at making the warning more prominent, and see if I can do something to stop the installer from offering it as an option

Tim. @TimArnot

bobbykins

Hi Tim--thanks for the prompt reply and update . On the ball as ever.
Regard
Bobbykins