Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Need to install C# dll which refers an Interop dll Expand / Collapse
Author
Message
Posted Tuesday, June 19, 2012 8:29 PM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Monday, January 27, 2014 12:39 AM
Points: 99, Visits: 99
Hi,

I have a C# dll which refers to an Interop dll inside it.
When I'm trying to install my assembly in sql clr, I am getting an error "interop dll was not found in sql catalog". sql error -6503.

I tried installing the Interop dll first successfully, then tried installing my C# dll. But no luck. Any pointers?

Thanks,
Srinivas
Post #1318422
Posted Thursday, June 21, 2012 3:52 AM


Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Yesterday @ 3:47 AM
Points: 372, Visits: 654
Have you tried setting your database to trustworthy and registering the interop dll with permission_set = unsafe?

Ben

^ Thats me!


----------------------------------------
01010111011010000110000101110100 01100001 0110001101101111011011010111000001101100011001010111010001100101 01110100011010010110110101100101 011101110110000101110011011101000110010101110010
----------------------------------------
Post #1319181
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse