Chyba synchronizace: An error occurred in the Microsoft .NET Framework while trying to load assembly id 65555 / 65545.
Popis
Chyba synchronizace, přičemž v logu webové služby je toto:
Request processed with error response 'rcGeneralError'
System.InvalidOperationException: Problem executing trigger 'eWaySP_NotifyAboutTeamChanged'
---> System.Data.SqlClient.SqlException: An error occurred in the Microsoft .NET Framework while trying to load assembly id 65555.
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 'eway.webservice.sqlclr, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
An error relating to security occurred. (Exception from HRESULT: 0x8013150A)
nebo
Request processed with error response 'rcGeneralError'
System.InvalidOperationException: Problem executing trigger 'eWaySP_NotifyAboutTeamChanged'
--->System.Data.SqlClient.SqlException: An error occurred in the Microsoft .NET Framework while trying to load assembly id 65545.
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 'eway.webservice.sqlclr, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
An error relating to security occurred. (Exception from HRESULT: 0x8013150A)
Verze
Všechny verze eWay-CRM®
Obtížnost řešení
Vysoká
Postup řešení
Varianta pro lokální PC
Restartujte PC
Varianta pro server
- Spusťte si Microsoft SQL Server Management Studio - ke stažení zde.
- Spusťte následující SQL proceduru, kde cesta v parametru vede do složky eWay-CRM® na webové službě (proceduru je nutné spustit jako systémový administrátor):
EXEC [dbo].[eWaySP_CreateClrProcedures] @WebServicePath = N'C:\inetpub\wwwroot\eWay\'
- Synchronizace po tomto kroku již proběhne správně.