Reputation: 1
An Error "Servername "TestingAzure73737DB" cannot be empty or null." appears by creating new ASP.NET MVC web site with SQL Server (named "TestingAzure73737DB") in Azure. I have just started to using Azure. First 3 websites were created without any errors. But 2 sites, that I have created later gives me errors. I don't understand sence of this error. This is name of new SQL Server, that I want to create for new web site in Azure. What is problem with this server name?
My configuration:
What I'm doing:
Result: Website in Azure created, but with no DB. And I see error in Visual Studio Azure app service activity window: "Servername "TestingAzure73737DB" cannot be empty or null."
Thank you! Best regards, Dmitry
Upvotes: 0
Views: 639
Reputation: 11
The server name must be all lowercase! Furthermore, only letters, numbers and the hyphen are allowed.
Try deleting your azure project and create a new one with the corrected server name.
Upvotes: 1