server Error in '/' Application

BCC Admin 0 Reputation points
2024-11-05T17:33:24.8433333+00:00

When logging into our Rock portal this message pop up and we can not access the platform

Azure SQL Database
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,021 questions
Azure Managed Applications
Azure Managed Applications
An Azure service that enables managed service providers, independent software vendors, and enterprise IT teams to deliver turnkey solutions through the Azure Marketplace or service catalog.
170 questions
Windows for business | Windows Server | User experience | PowerShell
Windows for business | Windows Client for IT Pros | User experience | Other
{count} votes

1 answer

Sort by: Most helpful
  1. Amira Bedhiafi 33,151 Reputation points Volunteer Moderator
    2024-11-05T18:42:13.4766667+00:00

    If possible, access the full error details. Often, ASP.NET error pages have specific information on the issue, such as a stack trace or error code. Enable custom errors in your web.config file to see detailed error messages locally:

    <configuration>
      <system.web>
        <customErrors mode="Off"/>
      </system.web>
    </configuration>
    

    Since your application is using Azure SQL Database, verify that the database connection string in your application is correct. Check if any recent changes were made to the database credentials or if the firewall rules on Azure SQL Database have changed.

    You can use PowerShell to test connectivity and troubleshoot any VM or SQL Database configurations. For example:

    
    Test-NetConnection -ComputerName "your_sql_server.database.windows.net" -Port 1433
    
    

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.