Jump to content


Photo

Database migration to SQL-Server 2008 R2


  • Please log in to reply
8 replies to this topic

#1 rblock

rblock

    Member

  • Members
  • PipPip
  • 23 posts
  • LocationNuremberg, Germany

Posted 28 February 2013 - 11:30 AM

Hi,

 

I wanted to migrate from the build in SQL-Server CE version to SQL-Server 2008 R2. I set up a new special user for it and started the migration but I got an error and in the log file there is "Tcp transport error". Even if I use "sa" as user, the test shows me an o.k. but the migration fails. The error dialog shows the following.

 

The database {0} can't be created. Check the server log (plastic.server.log). Error: {1}   bei
Codice.CM.Data.BaseDataManager.ExecuteCreateDatabaseScript(String databaseName, String contentResourceName)
   bei Codice.CM.Data.BaseDataManager.CreateRepositoriesData()
   bei admintool.RepositoriesDatabaseCopier.CreateDestinationDb()
   bei admintool.DatabaseCopier.Start()
   bei admintool.DatabaseMigrator.MigrateDatabases()
   bei admintool.DatabaseMigrator.Start()

Does anybody knows what the problem here is?

 

Asking greetings

 

Reiner

 



#2 calbzam

calbzam

    Advanced Member

  • Administrators
  • 148 posts

Posted 28 February 2013 - 03:02 PM

Hello,

 

Can you check if you can connect with same credentials using SQL Management Studio tool?.  Is your SQL Server in your same machine? 

A user reported a migration problem that was fixed indicating the path (http://www.plasticsc...2/?hl=migration).

Can you indicate the path an also a prefix or suffix and check if it works?

 

Regards,

Carlos



#3 rblock

rblock

    Member

  • Members
  • PipPip
  • 23 posts
  • LocationNuremberg, Germany

Posted 01 March 2013 - 09:19 AM

Hi Carlos,

 

the hints in the other thread didn't help. It was the latter one U wrote. I'd to give the path to the database directory, explicitly. At this system I use I'd this move to a folder on drive D: because I didn't want it on the system drive as it is suggested during installation of SQL-Server. At the moment the migration is running and I hope it will work afterwards. ;)

 

Hopefull greetings

 

Reiner

 



#4 rblock

rblock

    Member

  • Members
  • PipPip
  • 23 posts
  • LocationNuremberg, Germany

Posted 01 March 2013 - 09:47 AM

Hi,

 

o.k. or better not o.k. I got a Migration failed error dialog.

 

It seems that it has problems with my rep_12 because at the moment I try to delete this db inside of SQL Server Management Studio and it has problems to delete it, too.

 

Is there any possibility to check and repair a rep?

 

 

Asking greetings

 

Reiner



#5 manu

manu

    Advanced

  • Administrators
  • 2,106 posts

Posted 01 March 2013 - 10:17 AM

Hi Reiner,

 

are you talking about your production repositories? is the rep_12 accessible or did you remove it?



#6 rblock

rblock

    Member

  • Members
  • PipPip
  • 23 posts
  • LocationNuremberg, Germany

Posted 01 March 2013 - 10:35 AM

Hi Manuel,

 

lrep shows the following.

 

C:\Users\Administrator>cm lrep localhost:8087
 11 DokumentsPrivateS localhost:8087
 2 Softelier localhost:8087
 12 DocumentsPrivateO localhost:8087
 13 DocumentsBusinessO localhost:8087
 14 Siemens localhost:8087
 18 Tintschl localhost:8087
 19 Dokumentvorlagen localhost:8087
 21 DocumentsBusinessS localhost:8087
 22 Learning localhost:8087
 23 itms localhost:8087
 24 PMSERVICES localhost:8087

So it seems that rep_12 is DocumentsPrivateO and it is used.

 

Investigating greetings

 

Reiner



#7 rblock

rblock

    Member

  • Members
  • PipPip
  • 23 posts
  • LocationNuremberg, Germany

Posted 01 March 2013 - 11:00 AM

Hi,

 

o.k. I found it. It was because the server has just 150 GB at drive D: and I missed to clean up unnecessary old files like backups. So the migration run out of space. I now cleaned it up during the migrations and it finished successfully. :rolleyes: 

 

 

Successful greetings

 

Reiner



#8 manu

manu

    Advanced

  • Administrators
  • 2,106 posts

Posted 01 March 2013 - 11:11 AM

Hey! that's perfect!

 

The performance with SQL Server should be even better!



#9 calbzam

calbzam

    Advanced Member

  • Administrators
  • 148 posts

Posted 01 March 2013 - 11:13 AM

Ok, great news!

 

Regards,

Carlos






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users