Repository navigation
v1.0.1
Bug fix release.
Fixed
Msg 10301 ... references assembly 'system.web.extensions' ... which is not present in the current databasewhen runningCREATE ASSEMBLY/ calling the proc.- Root cause: v1.0.0 used
JavaScriptSerializer(System.Web.Extensions), which SQL Server's CLR host does not auto-trust the way it doesmscorlib/System/System.Data-- it needed its own separate registration, contradicting the project's whole "only your own assembly needs registering" design. - Fix: replaced it with
JsonMini.cs, a small dependency-free JSON parser.MailboxReaderClr.dllnow references onlymscorlib,System, andSystem.Data-- confirmed viaAssembly.GetReferencedAssemblies().
- Root cause: v1.0.0 used
If you deployed v1.0.0 and hit this error: drop the old assembly and trusted-assembly entry, then redeploy using this release's DLL/Deploy.sql/Deploy-Remote.sql.
DROP PROCEDURE dbo.usp_ReadMailbox;
DROP ASSEMBLY MailboxReaderClr;
-- find the old hash: SELECT * FROM sys.trusted_assemblies;
EXEC sys.sp_drop_trusted_assembly @hash = <old hash>;No functional/parameter changes since v1.0.0 -- same dbo.usp_ReadMailbox signature, both app-only and delegated password (ROPC) auth modes.