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
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,906 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,172 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.
155 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,584 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Amira Bedhiafi 27,446 Reputation points
    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.