-
Type:
Suggestion
-
Resolution: Fixed
-
Component/s: documentation
-
None
Scenario
Under certain conditions, after upgrading Jira Align on-premise, email notifications may fail to send, showing "Pending" status and coupled with the following error reported in AgileCraft_BackOffice_*.log:
An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information.","Source":null,"StackTrace":null
Solution
- As a Windows Admin, log into the Jira Align application server
- Launch Services, and stop the BackOffice service -> AgileCraft_Backoffice_[CUSTOMER_NAME]
- Make a backup copy of the file C:[ROOT_DIRECTORY]\BackofficeService\AgileCraft.Backbone.exe.Config
- Copy AgileCraft.Backbone.exe.config from C:[ROOT_DIRECTORY]\Releases[VERSION]\Sources\BackofficeService to C:[ROOT_DIRECTORY]\BackofficeService – this will replace your current file.
- With a text editor (e.g. Notepad++), edit AgileCraft.Backbone.exe.config
- Locate the <connectionStrings> tag and add your SQL DB information (SERVERNAME,USERNAME,PASSWORD):
<connectionStrings><add name="Metabase" connectionString="Data Source=SERVERNAME;Initial Catalog=AgileCraftServer;Integrated Security=False;User Id=USERNAME;Password=PASSWORD;MultipleActiveResultSets=True;Encrypt=yes;TrustServerCertificate=True;" /> </connectionStrings>
- Locate the <runtime> tag and add the <loadFromRemoteSources enabled="true"/> tag immediately after it:
<runtime><loadFromRemoteSources enabled="true"/> ... - Save the file.
- Switch back to Services, then start the BackOffice service.
Ask
Can we make step 7 a standard step in our Upgrade section or at least document the scenario / solution in our Troubleshooting section.
- derived from
-
ALIGNSP-22014 Loading...