problem renaming company
bethhagan
Member Posts: 2
I am using Nav2009. I have backed up and restored my production database over on to my developement sql server. Now I want to rename the company. When I try to do this, I get the error message:
..Sql error occurred when accessing the Prod. Order Component table:
15336,"42000",[Microsoft][ODBC SQL Server Driver][SQL Server]Object "NavDev"."dbo"."Strategic Products and Service"$Prod_order Component" cannot be renamed because the object participates in enforced dependencies.
NavDev is the database name
Strategic Products and Service is the company name I am try to change.
Any idea of how to get by this error?
..Sql error occurred when accessing the Prod. Order Component table:
15336,"42000",[Microsoft][ODBC SQL Server Driver][SQL Server]Object "NavDev"."dbo"."Strategic Products and Service"$Prod_order Component" cannot be renamed because the object participates in enforced dependencies.
NavDev is the database name
Strategic Products and Service is the company name I am try to change.
Any idea of how to get by this error?
0
Comments
-
Do you have some SQL View over this table with a reference to this company?0
-
[Topic moved from 'NAV 2009' forum to 'NAV/Navision' forum]
Or maybe you have this toggle: File=>Database=>Alter=>Tab integration=>"Maintain Relationships" and "Maintain defaults". Try to put them both on false on your Develop DB and try to rename.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
Hi..we get the same error when renaming.
Tried this and does not work also.Or maybe you have this toggle: File=>Database=>Alter=>Tab integration=>"Maintain Relationships" and "Maintain defaults". Try to put them both on false on your Develop DB and try to rename.
I also tried to set SINGLE USER mode.
We could not have custom VIEW in SQL database ?
Error message:0 -
Were you able to resolve this issue? I'm running into the same issue on a site.There are no bugs - only undocumented features.0
-
Nope. Un-resolved.
The main cause could be sql views that we maintained using sql server administration.0 -
Yes, that could definitely be your issue. A little detail left out above. Have you tried dropping the views then renaming? I have a number of databases like this (to support linked tables) and this is what I must do to rename.There are no bugs - only undocumented features.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 328 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions