![]() ![]() Verify that the instance name is correct and that SQL Server is configured to allow remote connections. The server was not found or was not accessible. (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. When using this link I'm redirected to "Application Event Logs" in Azure and I can see a few errors including: "Unhandled exception. When publishing I get an error message with a link to Azure. I'm using the same connection string in the Settings section in Publish as I'm using in SQL Server Object Explorer. I can connect to the database in Azure from Visual Studio, using the SQL Server Object Explorer. The table is created in my local database. When I publish my application from Visual Studio to Azure, the database is created in Azure, but the table that I have created, using Entity Framework in the application, is not created in the database on Azure. I have added a firewall rule to make external access possible for my ip. I have created a SQL Server database in Azure. ![]() ![]() The application works fine, when executed locally. I have created a very simple Blazor application with a database connection.
0 Comments
Leave a Reply. |