We're trying to move some functionality from a middle tier off into a SQL Server 2005 database (CLR Managed code).Some of the routines we are trying to move off make use of the Xinclude functionality of mvp.xml.However when we try to call the custom SQL functions, we keep getting errors whereby SQL Server will not accept URI's from Xinclude. Basically kicks it out as unsafe (even if the function is registered with SQL Server as being Unsafe).Any ideas/help?