Error When Creating CLF Function

Posted by Julio Miranda on Stack Overflow See other posts from Stack Overflow or by Julio Miranda
Published on 2009-06-26T13:23:49Z Indexed on 2010/04/08 4:03 UTC
Read the original article Hit count: 443

Filed under:

I've created an C# class that contains 2 static method and I successfully created an Assembly in SQL 2005. When I try to create a table-valued function from that Assembly I get the following error:

Msg 6509, Level 16, State 36, Procedure , Line 2 An error occurred while gathering metadata from assembly '' with HRESULT 0x80004005.

We have other CLR functions that are that are with in the same dll and seem to work fine. I tried to emulate what the other functions are doing, but I can't seem to get this function to work.

All the documentation online doesn't seem to help

© Stack Overflow or respective owner

Related posts about sqlclr