/
KB : How to resolve "An error occurred accessing the database" for Azure Web App
KB : How to resolve "An error occurred accessing the database" for Azure Web App
For some reasons in Azure Portal settings, if a user installed the Synchronizer as an Azure Web App, it can occur the following error,
An error occurred accessing the database. This usually means that the connection to the database failed. Check that the connection string is correct and that the appropriate DbContext constructor is being used to specify it or find it in the application's config file. See http://go.microsoft.com/fwlink/?LinkId=386386 for information on DbContext and connections. See the inner exception for details of the failure
To resolve this, please check in Azure Portal settings for TFS4JIRA Web App if it's running on 32 bit or 64 bit. Synchronizer needs to run on 32 bit mode, and this error usually is shown when the Web App is running on 64 bit mode.
If it's already at 32 bit. Please try the following,
- Access the Azure portal.
- Access the General Settings page for the TFS4JIRA Synchronizer application.
- Change Platform settings to 64-bit.
- Go to App Services and restart the TFS4JIRA Synchronizer app.
- Change Platform settings back to 32-bit.
- Go to App Services and restart the TFS4JIRA Synchronizer app.
By doing this, it should resolve the problem. We are still not sure why this problem occurs. We suspect it might be a bug in Azure Portal.
, multiple selections available,
Related content
How to resolve "An error occurred accessing the database" for Azure Web App
How to resolve "An error occurred accessing the database" for Azure Web App
More like this
TFS4JIRA Self-Hosted - How to display web application-related error details
TFS4JIRA Self-Hosted - How to display web application-related error details
More like this
TFS4JIRA Cloud Native | Items don't sync from AzureDevOps to Jira Cloud
TFS4JIRA Cloud Native | Items don't sync from AzureDevOps to Jira Cloud
More like this
Invalid URL format during the setup process of TFS4JIRA Cloud Native
Invalid URL format during the setup process of TFS4JIRA Cloud Native
More like this
Bad request exception after enabling TFS4JIRA Synchronization
Bad request exception after enabling TFS4JIRA Synchronization
More like this