Freigeben über

Azure SQL Export - HTTP Error 500

Benjamin Moser 0 Zuverlässigkeitspunkte
2025-12-01T08:51:31.85+00:00

When I try to start exporting the database in Azure, I immediately get a 500 error (“Internal Server Error”). This is an “older” database that we migrated from the local SQL server to the cloud. I get the following error message: Error code: InternalServerError

Message: An unexpected error occurred while processing the request.

I get the same behavior with the AZ-CLI. When I try it with SQL Management Studio, the export works, but I get an error when uploading the .bacpac.

Where could the error be, or where can I find more information?

Thanks in advance for your help,

Benjamin

Azure SQL-Datenbank
{count} Stimmen

1 Antwort

Sortieren nach: Am hilfreichsten
  1. Sebastian Fritsch 0 Zuverlässigkeitspunkte
    2025-12-09T01:30:04.1966667+00:00

    Hi Benjamin, do the export again with CLI and activate the sqlpackage.log by adding /diagnostics:true in the CLI to your export command at the end. This will creat a log file were you have more information about what is going wrong. Often the issue is not supported features or database objects especially when you migrate old db's. The log file will show the object which lets the export fail. Best regards

    0 Kommentare Keine Kommentare

Ihre Antwort

Antworten können von Fragestellenden als „Angenommen“ und von Moderierenden als „Empfohlen“ gekennzeichnet werden, wodurch Benutzende wissen, dass diese Antwort das Problem des Fragestellenden gelöst hat.