Hi guys,
I need your help to fix this issue,guys.
I get an error message when I upload fob file to Nav that contain replicated tables,
the error message is:
Microsoft Dynamics NAV
The following SQL Server error(s) occurred while accessing the Item Ledger Entry table:
3724,"42000",[Microsoft][ODBC SQL Server Driver][SQL Server]Cannot drop the view 'dbo.Test$Item Ledger Entry$VSIFT$2' because it is being used for replication.
SQL:
IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID(N'dbo."Test$Item Ledger Entry$VSIFT$2"') AND OBJECTPROPERTY(id, N'IsView') = 1) DROP VIEW dbo."Test$Item Ledger Entry$VSIFT$2"
OK
I found Microsoft solution but it's not be applied to me sorry.
'
Error occurs for objects that are replicated
For objects that are replicated, remove the object from the publication before attempting to alter or drop it. If the publication has subscriptions, you must delete all subscriptions before removing the object from the publication. '
Thank you guys,
0
Comments
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
I want this table to be replicated.
i cannot do that each time a upload fob file to nav.
](*,)
SQL cannot allow a table to be changed once you've enabled any another type of replication.
You can use mirroring, but that is essentially T-log replication done within the same transaction realtime.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
i'm using Transactional publication of the database,
is it the same thing or not?
Thanks a lot
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
May I ask why you are using replication?
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n