Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Invalid object name 'DDLTriggerTest..EventTableData'. Expand / Collapse
Author
Message
Posted Monday, November 2, 2009 8:33 AM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Friday, August 27, 2010 3:51 PM
Points: 41, Visits: 51
hi,

when u tried to modify the procedure then it gives me error like this...

Procedure tr_ProcedureEvents, Line 6
Invalid object name 'DDLTriggerTest..EventTableData'.


please let me know what causes this error and how to resolve that.
Post #812393
Posted Monday, November 2, 2009 8:37 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Yesterday @ 2:14 PM
Points: 12,952, Visits: 32,476
Feebie (11/2/2009)
hi,

when u tried to modify the procedure then it gives me error like this...

Procedure tr_ProcedureEvents, Line 6
Invalid object name 'DDLTriggerTest..EventTableData'.


please let me know what causes this error and how to resolve that.


someone has put a DDL trigger on your database, and it's trying to update a table 'EventTableData' in the database 'DDLTriggerTest'
I'd guess that both the database and thus the table are missing, so the trigger errors out.

in SSMS go to your Server and browse to ServerObjects>>Triggers.

you'll need to disable or drop the trigger in question.

If it's not there, it might be at the database level...Specific Database>>Programmability>>Database Triggers


Lowell

--There is no spoon, and there's no default ORDER BY in sql server either.
Actually, Common Sense is so rare, it should be considered a Superpower. --my son
Post #812397
Posted Monday, November 2, 2009 9:06 AM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Friday, August 27, 2010 3:51 PM
Points: 41, Visits: 51
hi,

thank you for quick reply.

so that is not a system default trigger?
Post #812418
Posted Monday, November 2, 2009 9:28 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Yesterday @ 2:14 PM
Points: 12,952, Visits: 32,476
lol no, MS does not issue any default system triggers, that's for sure...also you can kind of tell by the name:'DDLTriggerTest'

definitely some trying out some code.


Lowell

--There is no spoon, and there's no default ORDER BY in sql server either.
Actually, Common Sense is so rare, it should be considered a Superpower. --my son
Post #812438
Posted Monday, November 2, 2009 9:33 AM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Friday, August 27, 2010 3:51 PM
Points: 41, Visits: 51
:) thank you for your help.

i am new to SQL...
Post #812446
Posted Monday, September 30, 2013 2:34 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, January 20, 2014 2:30 AM
Points: 3, Visits: 12
Can someone please help me with this in the objectname column I am getting this getting this "IFTSAutonested"

I have done a lot of searching and cannot find the meaning of it. I have a reason to believe it is causing my database to freeze.
Post #1499895
Posted Monday, September 30, 2013 4:35 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Yesterday @ 2:14 PM
Points: 12,952, Visits: 32,476
Select from sys.triggers and sys.server_triggers. based on the brief description you gave plus the fact the.name contains "nested " you might have a trigger that blocks itself as well as other transactions, post the trigger in a new thread and we can offer suggestions to fix the design glitch that is locking things up

Lowell

--There is no spoon, and there's no default ORDER BY in sql server either.
Actually, Common Sense is so rare, it should be considered a Superpower. --my son
Post #1499920
Posted Wednesday, October 2, 2013 4:39 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, January 20, 2014 2:30 AM
Points: 3, Visits: 12
can you give me the description on how to disable this? As its causing issues on the Master instance.
Post #1500721
Posted Wednesday, October 2, 2013 6:37 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Yesterday @ 2:14 PM
Points: 12,952, Visits: 32,476
more details from you before we can help, i think.

you really need to analyze the trigger itself, and fix the issue;

for example, if there is a trigger on a table that is calling itself in a nested fasion, that trigger needs to be rewritten; simply dropping the trigger might have unintended side affects, like wher the trigger is inserting data the application expects to exist...if the data doesn't get added.


If it's a database or server level trigger, then you again need to analyze the trigger, and either modify or disable the trigger

ie
DISABLE TRIGGER [TR_DB_NO_DROPPING_OBJECTS] ON DATABASE
--or if it was a server trigger
DISABLE TRIGGER logon_trigger_not_from_SSMS ON ALL SERVER



Lowell

--There is no spoon, and there's no default ORDER BY in sql server either.
Actually, Common Sense is so rare, it should be considered a Superpower. --my son
Post #1500754
Posted Wednesday, October 2, 2013 7:16 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, January 20, 2014 2:30 AM
Points: 3, Visits: 12
the example I have is that. when a simple copy command is been sent to the file server it gets blocked and the communication between SQL and file server gets fails causing a que on the rest of the nodes which then is forcing the software we are working on to freeze. From looking at the profiler on SQL this AutoNested was showing up in the time frame from which this the whole process froze. It was only happening in the Master database.

then it seems to unblock its self after about 10 minutes on the both occasions its happened.
Post #1500765
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse