Error with HotCopy 4.0 SP1

PoltergeistPoltergeist Member Posts: 200
I always use Hotcopy to create an online backup for navision. However, with every new installation of Navision 4.0 SP1 (did not test with 4.0), I get the following error

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 with the same program property (specifying a different database name).

And that's that. I use the commandline "hotcopy source=hotcopy.txt" . Hotcopy.txt has the following text:

[Backup Files]
C:\test\Navision\400SP1\Database.fdb=C:\test\Navision\400SP1

[Options]
; file creation date: 2006-01-02 11:38:00
description=Navision 400sp1 port 2407
Cc=Yes
Servername=localhost
Nettype=TCP


This is using the standard Cronus database, without any users. However, Adding any users (both native and/or AD users) does not change anything. Neither does using other ports or stating the real servername.

The exact same textfile works great with Navision 3.70b and older versions. Haven't tested on Navision 4.00 though.

The server is installed as a standard service, using the localsystem account. Changing that to an administrator account does not change anything. Also running the server in a commandpromp does not change the behaviour of hotcopy


Does anyone know what might be the problem here?

Comments

  • andy76andy76 Member Posts: 616
    Also I have same the same problem after migrating from 4.0 sp3 to 5.0.

    This is my dos script

    C:\Program Files\Microsoft Dynamics NAV\Database Server>"C:\Program Files\Microsoft Dynamics NAV\Database Server\HotCopy.exe" source=e:\navision\database.fdb de
    stination=e:\navisionbackup\ servername=SWFS01 osauthentication=yes nettype=tcp
    Backup W1 5.00


    Backup Tool for Microsoft Dynamics NAV version 5.00
    Copyright (c) 1987-2007 Microsoft Corporation.


    Backup started at 2007/09/27 17:39:28.


    You cannot open another database or create a new database because the database w
    as opened on the server, using the program property database=<database name>.
    To choose another database, you must start the server again with the same progra
    m property (specifying a different database name).

    Backup ended with an error at 2007/09/27 17:39:28.

    Have you solved the things ?

    Thank you
  • MalajloMalajlo Member Posts: 294
    Could be the problem with antivirus?
    try running hotcopy with different destination folder.
Sign In or Register to comment.