Deactivate automatiocal synchronisazion

MarcelWMarcelW Member Posts: 46
Hello,

is it possible to deactivate the auto sync.

The Problem:
In Navision are much users in the user table.
It seems like all users cant be synchronized.
Why -> I dont know!
All users exists with the same names in the SQL Server
as DB User?!

So, i want to delete all users and create some new.
But when i try to delete a user the synchronization
starts and finds another user wich cant be synchronized
and the prozess breaks.

Result: I cant delete a user because the sync failed every time.
but i have to delete the users to create new ones wich can be synchronized.

Is this a trap?
Is there a way out of this problem?

Thanks

Comments

  • ara3nara3n Member Posts: 9,257
    I haven't seen this, but try to filter on users that don't exists and delete them all at once.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • kinekine Member Posts: 12,562
    You must be db_owner to do this job... mainly if you are using MS SQL 2005...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • MarcelWMarcelW Member Posts: 46
    Hello,

    Whatever i do - it doesnt works.
    Ich cant delete one or more or all user at once in navision,
    because the auto sync says: User xy doesnt exists in SQL Server.
    If i want to delete Mr.A the system says User Mr.B isnt at the sql server and the same backwards.

    At SQL Server Layer i can delete and create users with no problem,
    but i have this to do in Navision.

    IS THERE NO WAY OUT OF THIS CIRCLE. HELP!

    Bye
  • kinekine Member Posts: 12,562
    Are you really using MS SQL 2005 or MS SQL 2000?

    MS SQL 2005 is not recommended if you are using database logins...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • ovicashovicash Member Posts: 141
    MarcelW wrote:
    Hello,

    is it possible to deactivate the auto sync.

    The Problem:
    In Navision are much users in the user table.
    It seems like all users cant be synchronized.
    Why -> I dont know!
    All users exists with the same names in the SQL Server
    as DB User?!

    So, i want to delete all users and create some new.
    But when i try to delete a user the synchronization
    starts and finds another user wich cant be synchronized
    and the prozess breaks.

    Result: I cant delete a user because the sync failed every time.
    but i have to delete the users to create new ones wich can be synchronized.

    Is this a trap?
    Is there a way out of this problem?

    Thanks

    Hello

    I had the same problem. I use Sql Server 2000.
    The only thing I could do was to manualy erase records from table user and member of. Hope it helps.
    ovidiu

    Best Regards
  • MarcelWMarcelW Member Posts: 46
    I tried to delete the record directly in the table.
    No chance!

    Other ideas?

    PS: I do not use SQL Server 2005!
  • BudishuBudishu Member Posts: 1
    Hi

    I think i had simular problems when trying to alter the user table in Navison. Are you sure all userID's are in CAPITAL letters? If you create them directly from an SQL server, the names may appear in small caption in Navision.

    Jkh
    IF 2b OR NOT 2b THEN
    l_Question := TRUE;
Sign In or Register to comment.