invalid object name 'SDAC_NS_52_QUEUE'
Posted: Sat  04 May 2013 10:18
				
				Hello,
I have a Form with 2 TMSTables, the Connection and 2 Changenotifications are on a DataModule.
On the Form.Create I add following lines for the 2 Tables:
//1st Table:
TbStmKun.SQL.Add('select ' + SQLFields + ' from dbo.MoStmKun');
TbStmKun.LockMode := lmOptimistic;
TbStmKun.Options.ReflectChangeNotify := True;
TbStmKun.ChangeNotification := DBM.TbStmKunCN;
//2nd Table:
TbStmKunNr.SQL.Add('select nr, lastKdNr from dbo.MoStmKunNr');
TbStmKunNr.LockMode := lmOptimistic;
TbStmKunNr.Options.ReflectChangeNotify := True;
TbStmKunNr.ChangeNotification := DBM.TbStmKunNrCN;
When opening the Form, everything is OK. All Notifications come through network too.
I log in as "sa"
But when I close Form (closing the Tables in Form.Close) I get 2 errormessages as described in another post a view years ago:
1.: invalid object name 'SDAC_NS_52_QUEUE'
2.: Cannot drop the service 'SDAC_NS_52', because it does not exist or you do not have permission.
So, according to the last post, I created an account with all database specific rights possible, but error remains.
If I attach only 1 table to the notification, everything is OK on Close too. The Error only occurs if having 2 tables (and 2 notifications).
I use SQLServer 2008 Express and your latest version.
Can you help me?
best regards
Hans
			I have a Form with 2 TMSTables, the Connection and 2 Changenotifications are on a DataModule.
On the Form.Create I add following lines for the 2 Tables:
//1st Table:
TbStmKun.SQL.Add('select ' + SQLFields + ' from dbo.MoStmKun');
TbStmKun.LockMode := lmOptimistic;
TbStmKun.Options.ReflectChangeNotify := True;
TbStmKun.ChangeNotification := DBM.TbStmKunCN;
//2nd Table:
TbStmKunNr.SQL.Add('select nr, lastKdNr from dbo.MoStmKunNr');
TbStmKunNr.LockMode := lmOptimistic;
TbStmKunNr.Options.ReflectChangeNotify := True;
TbStmKunNr.ChangeNotification := DBM.TbStmKunNrCN;
When opening the Form, everything is OK. All Notifications come through network too.
I log in as "sa"
But when I close Form (closing the Tables in Form.Close) I get 2 errormessages as described in another post a view years ago:
1.: invalid object name 'SDAC_NS_52_QUEUE'
2.: Cannot drop the service 'SDAC_NS_52', because it does not exist or you do not have permission.
So, according to the last post, I created an account with all database specific rights possible, but error remains.
If I attach only 1 table to the notification, everything is OK on Close too. The Error only occurs if having 2 tables (and 2 notifications).
I use SQLServer 2008 Express and your latest version.
Can you help me?
best regards
Hans