Microsoft Azure problems and solutions

This document has information about Azure deployment and hosting problems that you may experience, with suggested solutions.

If your problem-and-solution is not covered in this document, contact me with details, and I can add it.

 

Runtime Error

runtime-errorScenario: Deploy an app to Azure. It attempts to load in a browser, but shows a “Runtime Error”.

Click to open full-size in its own tab/window.

Explanation: There is a serious error in the app. We will not be able to access any of the app’s resources.

Try this: Follow the instructions shown on the page.

 

Could not find a part of the path… XmlDocument.xml

could-not-find-a-part-of-the-pathScenario: Deploy a web service to Azure, which includes the Web API Help Page feature. The app will not load in a browser, and shows a “Could not find…” error.

Click to open full-size in its own tab/window.

Explanation: Read the error message page. I do not know the cause with certainty. I see this error occasionally, but have not yet determined a pattern.

include-in-project-1Try this: Force the “publish” process to send the file. How?

In Solution Explorer, show all files.

Click to open full-size in its own tab/window.

In the App_Data folder, right-click the XmlDocument.xml item.

Include in Project.

Next, right-click the item, and show its properties.

include-in-project-2Set the “Copy to Output Directory” property to:

“Copy always”

Publish again. That should fix the problem.

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

%d bloggers like this: