Thứ Bảy, 20 tháng 4, 2019

[ASP.NET] Lỗi liên quan SQL CLR , khi move DB qua server mới web không chạy

An error occurred in the Microsoft .NET Framework while trying to load assembly id 65536. The server may be running out of resources, or the assembly may not be trusted. Run the query again, or check documentation to see how to solve the assembly trust issues. For more information about this error:
System.IO.FileLoadException: Could not load file or assembly 'groupconcat, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An error relating to security occurred. (Exception from HRESULT: 0x8013150A

loging in with sa, restoring DB again and setting TRUSTWORTHY ON

USE [apel_vn_db];
EXEC sp_configure 'clr enabled' ,1
GO

USE [apel_vn_db];
GO

EXEC sp_changedbowner 'sa'
USE [apel_vn_db];
GO

ALTER DATABASE [apel_vn_db] SET TRUSTWORTHY ON;

1 nhận xét:

Nặc danh nói...

Casino Bonus Codes & Promo Codes - JTGHub
Looking for the latest Casino Bonus Codes? ➤ We list 순천 출장안마 200+ Casino Bonus Codes & Promo Codes ✓ Get The Best 김해 출장마사지 Welcome Offers 경주 출장마사지 at JTGHub 평택 출장마사지 now. 나주 출장안마