Running Azure deployment locally
I have a new site I've setup on Azure. After going through the steps to prep the site, add the cloud service, etc. as well as integrating feather and setting up a separate project for my custom widgets I've deployed it fine on Azure.
As part of the process the sitefinity documentation says to remove the project from the project manager so I've done that. The solution with the 3 projects (sitefiniity, cloud, and my custom widgets) are all under source control and everything is good.
When running the site locally from Visual Studio (with a copy of the database brought down from Azure and running locally) it's fine. All the content comes up and runs. However trying to log into the backend I get this error:
HTTP ERROR 404.0 - Not Found
Module: IIS Web Core
Error Code: 0x80070002
Logon Method: OAUTH-SWT
This is running under IISExpress out of Visual Studio.
Any thoughts what the issue is?
Do you get the same error when running the project on IIS and from VS dev server? Try configuring IIS as described in the documentation http://docs.sitefinity.com/configure-the-iis-to-host-sitefinity-projects and run the project directly on IIS. In addition to this you can check the web.config to ensure that the environment is not set to Azure.
Turns out I had no idea the importance of both the GUID generated for the site or the site name and how it's embedded in the database. The database I had on Azure was mismatched with my local project settings. Once I rebuilt everything from the same baseline I can flip between local vs. Azure SQL with a single web.config change now.