Troubleshooting an error message An error occurred in the Microsoft .NET Framework while trying to load assembly id xxx and needed to identify CLRs related to a particular database. This query lists the CLR objects inside a SQL Server database. Use the information in this query to start diagnosing the error messages. use myDB go SELECT o.object_id AS [object_ID] , a.assembly_id AS [assemblyID] ,a.name AS [assemblyName] ,schema_name(o.schema_id) + '.' + o.[name] AS [CLRObjectName] ,o.type_desc AS [CLRType] ,o.create_date AS [DateCreated] ,o.modify_date AS [SateModified] ,a.permission_set_desc AS [CLRPermission] FROM sys.objects o INNER JOIN sys.module_assembly_usages ma ON o.object_id = ma.object_id INNER JOIN sys.assemblies a... Read more →