none
An error occurred in the Microsoft .Net Framework RRS feed

  • Question

  • I'm getting this error in my silverlight application, but I think it has something to do whit my sql server:

     

    "An error occurred in the Microsoft .Net Framework while trying to load asambly id 65561. The server may be running out of resoucrses, or the assembly may not be trusted with Permission_Set = EXTERNAL_ACCESS or UNSafe. Run the query again or check documentation to see how to solve the assembly trust issue. For more information about this error: System.IO.FileLoadException: Could not load file or assembly 'Sql,

     

    Hope for some help, please

     

    Mette

     

    Tuesday, August 12, 2008 10:03 AM

Answers

  • If you are doing File Loading in a SQLCLR Assembly, you have to catalog it in SQL Server as EXTERNAL_ACCESS as the error message says.  You can alter the CAS Level by changing the properties for the assembly in SSMS. or issuing the appropriate ALTER ASSEMBLY command.

     

    Tuesday, August 12, 2008 12:51 PM
    Moderator