2014-05-12 3 views
1

온 - 프레미스 CRM 2013을 설치하면 데이터베이스의 DB 소유자를 설치 계정으로 설정합니다. 설치가 완료된 후 DB 소유자를 변경하는 것이 지원되며 필요한 경우 필요한 사용 권한은 무엇입니까?CRM 2013 DB 소유자 변경

답변

2

Prod에서 새로 고침을 받으면 Dev 및 QA 환경에서 여러 번했습니다. 기본적으로 DB의 소유자가 존재하지 않는 도메인에, 그래서 우리는이 같은 오류를 얻을 :

Exception: System.Data.SqlClient.SqlException (0x80131904): 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 with PERMISSION_SET = EXTERNAL_ACCESS or UNSAFE. 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 'microsoft.crm.sqlclr.helper, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. An error relating to security occurred.

내가 실제 권리를 말할 수

그러나 이것은 우리가 실행 한 쿼리입니다 :

ALTER DATABASE Contoso_MSCRM SET TRUSTWORTHY ON 

USE Contoso_MSCRM 
GO 

EXEC sp_changedbowner 'dev\crmdv2administrator' 
+0

답변 해 주셔서 감사합니다. crmdv2administrator는 AD 계정입니까 아니면 로컬 사용자입니까? – GoBeavs

+0

@GoBeavs 그것은 CRM의 관리자 인 AD 계정이지만 db_owner로 설정하는 것은 우리가 정말로해야만하는 것입니다. – Daryl