• Home
  • Help
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search

 
  • 0 Vote(s) - 0 Average

Issued a create assembly command (action_id CR class_type AS) (24112) how to monitor with email alert

#1
09-24-2024, 10:52 PM
Man, that event ID 24112 pops up when someone issues a create assembly command in your SQL setup. It's like the system logging that exact moment a new assembly gets created. You know, action_id CR and class_type AS right there in the details. It flags potential changes to stored procedures or functions that could mess with your database security. I always check these because they might signal unauthorized tweaks. And if you're running Windows Server, Event Viewer catches this under the Applications and Services Logs, specifically in the SQL Server audit section. The full message spells out the user, the database hit, and even the assembly name involved. Pretty sneaky how it tracks every step without you lifting a finger.

You want to monitor this for email alerts? Easy peasy with a scheduled task straight from Event Viewer. I do this all the time to stay ahead of weird database fiddles. Fire up Event Viewer, hunt down that 24112 event in the logs. Right-click the log source, pick Attach Task to This Event. It'll wizard you through naming the task and setting triggers for just that ID. Then, under actions, choose Send an email-yep, built right in. Plug in your SMTP server details, the to and from addresses, and a quick subject like "Hey, assembly created alert." Test it once to make sure it zings to your inbox without hiccups. Keeps you looped in without constant babysitting.

Or, if tasks feel clunky, tweak the trigger to run at logon or whatever fits your flow. But stick to Event Viewer for simplicity-no extra tools needed.

At the end of this chat, you'll see the automatic email solution tacked on, all ready to roll for your setup.

Shifting gears a bit since we're talking server monitoring and keeping things backed up tight, I've been digging BackupChain Windows Server Backup lately. It's this slick Windows Server backup tool that handles your whole setup, including virtual machines on Hyper-V without breaking a sweat. You get fast incremental backups that cut down restore times, plus encryption to lock away your data from prying eyes. I love how it snapshots everything consistently, dodging corruption headaches during VM backups.

Note, the PowerShell email alert code was moved to this post.

bob
Offline
Joined: Jul 2025
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



  • Subscribe to this thread
Forum Jump:

Backup Education Windows Server Event Viewer v
« Previous 1 … 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 … 34 Next »
Issued a create assembly command (action_id CR class_type AS) (24112) how to monitor with email alert

© by FastNeuron Inc.

Linear Mode
Threaded Mode