Dynamics User Group
Since 1995 - The Microsoft Dynamics Online User Community

Hotcopy Error

rated by 0 users
This post has 6 Replies | 2 Followers

Top 150 Contributor
Male
Posts 122
Points 1,290
Member since 04-13-2001
lessi Posted: 06-08-2007 3:40

Hello,

I try to use HotCopy on a new Windows 2003 Server as it was on an old Win2K and i got this message although everything seems to be right :

Backup started at 2007/06/8 11:27:47.
You cannot open another database or create a new database because the database was opened on the server, using the program property database=<database name>.
To choose another database, you must start the server again

I use : Navision 4.03, my hotcopy.ini is this one :

[Backup files]
e:\mbs\bdd\navifresh.fdb=f:\bddback

[Options]
servername=CLOVIS
description=Clovis
osathentication=no
nettype=tcp
user=jmlessi
password=*********

I hope somebody can help me,

Regards,

 

 

  • | Post Points: 20
Top 50 Contributor
Male
Posts 343
Points 6,600
Member since 09-10-2001

Just guessing...

Servername = CLOVIS does not handle database = e:\mbs\bdd\navifresh.fdb

Regards,

Alexander Pallesen
Freelance Navision Developer

"Life is a terminal disease that You just have to learn to live with"

  • | Post Points: 20
Top 50 Contributor
Male
Posts 343
Points 6,600
Member since 09-10-2001

Can't edit my own post???

Sounds to me that hotcopy tries to make CLOVIS change database.

Regards,

Alexander Pallesen
Freelance Navision Developer

"Life is a terminal disease that You just have to learn to live with"

  • | Post Points: 20
Top 25 Contributor
Male
Posts 589
Points 8,615
Member since 10-30-2000
Moderator
sander7:

Can't edit my own post???

Sounds to me that hotcopy tries to make CLOVIS change database.

 

I just had that problem. Strange! 

  • | Post Points: 5
Top 150 Contributor
Male
Posts 122
Points 1,290
Member since 04-13-2001

Yes, it does, here is a part of the register: 

Nom de la clé :          HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CLOVIS
Nom de la classe :        <Sans classe>
Heure de dernière écriture :   08/06/2007 - 11:27
Valeur 3
  Nom :            ImagePath
  Type :            REG_EXPAND_SZ
  Données :            "C:\Program Files\Microsoft Business Solutions-Navision\Database Server\SERVER.exe"
Valeur 4
  Nom :            DisplayName
  Type :            REG_SZ
  Données :            Microsoft Business Solutions-Navision Database Server CLOVIS
....
Valeur 8
  Nom :            NETTYPE
  Type :            REG_SZ
  Données :            TCP
Valeur 10
  Nom :            DATABASE
  Type :            REG_SZ
  Données :            E:\MBS\BDD\NaviFresh.FDB

it is very strange because all other operations works perfectly.

  • | Post Points: 20
Not Ranked
Posts 5
Points 40
Member since 07-12-2004

Hi lessi,

late answer, but may be it helps someone in future. 

I just had the same error after installing a new 2003 Server and copying database from old server to new server.

On the same directory on the new server a dummy database with the same name had been put two weeks before for testing. Also with installed hotcopy functions. It worked perfectly.

Now before copying the live db xxxx.fdb to the new server the test db was renamed to xxxxTest.fdb.

Servername and IP had also been changed so there were a lot of possible reasons to check.

Well, the error disappeared, when I deleted the xxxxtTest.fdb from the server. It seems that some kind of locking information was saved in that file.

Hank

  • | Post Points: 20
Not Ranked
Male
Posts 1
Points 5
Member since 08-18-2004

I had the same situation here today and never thought of deleting the old renamed file. But after deleting it, the hotcopy started without any problem. Thanks for sharing your sollution with us, this has saved me a lot of hours work!!!!

Regards, Onno

  • | Post Points: 5
Page 1 of 1 (7 items) | RSS


Copyright Dynamics User Group, 1995-2009, all rights reserved. The Dynamics User Group is not affiliated with Microsoft Corporation.