I opened my SDF file using CompactViewer and exported schema + data into 1 sql file.
I opened SQL Server Management and connected to the server
I right clicked the database and choosed New Query
I inserted the entire SQL query exported from CompactViewer
I get these errors and a lot of them:
Msg 102, Level 15, State 1, Line 1218
Incorrect syntax near ')'.
Msg 102, Level 15, State 1, Line 1218
Incorrect syntax near 'ACTION'.
Msg 102, Level 15, State 1, Line 1233
Incorrect syntax near ')'.
Msg 102, Level 15, State 1, Line 1233
Incorrect syntax near 'ACTION'.
I am NOT a SQL shark so I'm pretty stranded here. Is this a common issue?
I would like to switch from SDF to SQL.
Migrating SDF to SQL
Hi guys,
I opened my SDF file using CompactViewer and exported schema + data into 1 sql file.
I am NOT a SQL shark so I'm pretty stranded here. Is this a common issue? I would like to switch from SDF to SQL.
The entire SQL file is 61MB.
Hi MBE
I use visual studio extension called "SQLite/SQL Server Compact Toolbox".
It helps to migrate databases from different sources without using SQL queries.
Thanks,
Alex
Hi Alex,
Thanks for your reply!
I downloaded the plugin and gave it a try. I think it might be working but something is preventing me due to permissions.
My SQL is hosted at UnoEuro. I connected to the Database and right clicking my SDF file selecting "Migrate to SQL Server".
I select the database at UnoEuro but I get the following error:
I assume the issue is related to UnoEuro and not so much local permission problems?
It looks like, some permissions are not allowed for your sql user.
I have done this using the package uSync and uSync content.
Do a full export and then do a fresh umbraco install on SQL, followed by a full import with uSync
Hey Matthew :)
Thanks for a great idea of how to move the content between apps. uSync is amazing, isn't it?
Alex
Thanks for the tip Matthew!
It actually did work but unfortunately, it doesn't export user data so my admin doesn't exist and my usergroups are empty.
Hi MBE
uSync doesn't move members, it's officially.
uSync will read/write:
Document types
Media Types
Data Types
Macros
Member Types
Templates
Dictionary Items (v7)
Languages (v7)
Stylesheets (no longer stored in the db in umbraco 7.3+)
you can move members with sql script
is working on a reply...