Renaming company on SQL

Hello.
I have NAV5.00 on SQL.

I want to rename my company, but when I attempt to do so, I get this error:

The field below must be included in the table’s primary key.
Field: Name
Table: Object

Heeelp :slight_smile:

Thanks in advance.

/Morten

From within a NAV client, go to File - Company - rename. Enter the new company name and hit OK. I have never had any problem with this. Make sure you have the database to yourself.

How are you trying to rename company?

I do it from the file mnenu. Company → rename… new company name and OK.
Just like ealier mentioned.

This produces the error.

Can this be a problem specificly with NAV 5.0 / SQL?

It’s not due to 5.0/SQL, I rename companies all the time and never had any issues with it. Does the error message say which object it is trying to modify? It might have something to do with a table that is not properly set up with the DataPerCompany property or something.