Migrate Survey Database from SQL CE to SQLite Error

Migrate Survey Database from SQL CE to SQLite Error

JohnPachol
Enthusiast Enthusiast
1,545 Views
5 Replies
Message 1 of 6

Migrate Survey Database from SQL CE to SQLite Error

JohnPachol
Enthusiast
Enthusiast

After installing the Survey Database Migration Utility tool, restart computer, open Civil 3D 2020, then right-click on a survey database created in 2018, select Migrate..., use the default folders for the SQL CE folder and the SQLite folder, select Start, an error is returned: "An unknown error occurred. Please try again later."  Any suggestions on how to fix this problem?

0 Likes
Accepted solutions (1)
1,546 Views
5 Replies
Replies (5)
Message 2 of 6

rl_jackson
Mentor
Mentor

I'd try installing the SQL lite again from Microsoft


Rick Jackson
Survey CAD Technician VI

Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

0 Likes
Message 3 of 6

JohnPachol
Enthusiast
Enthusiast
Accepted solution

Our IT guys weren't too sure about how to re-install SQLite since it is integrated with Autodesk when originally installed.  Instead, we copied an old survey SQL CE database from our server to the desktop of my local computer and then applied the migration tool to the old database.  Everything worked fine. . . saved it back to the server and began using it in Civil 3D 2020.

IT checked on the permissions for my computer and the server.  Everything is set to "allowed," so we think it should have worked across our server, but it would not.  Temporarily moving the database to my local machine to make the migration provided for a workable solution.

0 Likes
Message 4 of 6

rl_jackson
Mentor
Mentor

It's fairly easy to download from MS, and the fresh install I've found is better.... Sometimes OS updates will cause the same issue. Just search MS for the SQLite version and install/reinstall. (I'm no IT guy, and I can do it.)


Rick Jackson
Survey CAD Technician VI

Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

0 Likes
Message 5 of 6

JohnPachol
Enthusiast
Enthusiast

We finally figured out the real issue that was causing the problem.  When the migration tool updates a database, it writes two *.info files (Survey.sdbx.info and Survey.sqlite.info), among others.  Our security protocols did not give me permission to write those two files to our server.  Once our IT guys gave me specific permission to write and copy *.info files to the server, I am now able to migrate files from SQL CE to SQLite without doing any extra steps and everything works as it should.

Thanks for your help.

0 Likes
Message 6 of 6

rl_jackson
Mentor
Mentor

Any AD product that I'm aware of requires full read/write admin capabilities. While I understand the lock down it's going to come up again and again.


Rick Jackson
Survey CAD Technician VI

Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

0 Likes