I am trying to publish my site to the web using Azure and Visual Studio. Previous to this I've been developing on my local machine using a local DB. I've been using Entity Framework and the code first model.
I followed this tutorial to try and set up my site. The site works and I can access it through the *.azurewebsites.net domain.
My problem is that whenever I do anything relating to database access such as signing up for an account, the site gives me a blank 404 page. I'm watching the database and the tables aren't being created as they do normally with Entity Framework. I don't care about losing the local database data - it's all just test stuff.
In my project I have a file called MySiteName - Web Deploy.pubxml which contains the correct connection string.
I can connect to the Azure SQL Server from SSMS on my local machine so there isn't any problem there.
How should I go about troubleshooting this? I'm completely new to Azure so I don't have any idea where to start.
In Web Config file, add
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
First find error, after try to clear
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.