Loz
Loz

Reputation: 131

Asp.Net App published to Azure only shows "Your App Service app has been created"

I've created an Asp.Net app in Visual Studio and published it to Azure. Everything seeing to go fine, but instead of seeing my app when I browse to the URL, I see this page:

enter image description here

Upvotes: 7

Views: 4723

Answers (6)

Jainender Chauhan
Jainender Chauhan

Reputation: 847

In Case Of Java :

1) Copy either the WAR or the WAR EXPLODED FOLDER CREATED BY TOMCAT ON YOUR LOCAL 2) Place the folder under wwwroot > webapps just the way you treat your file in tomcat on your local 3) Append your Website APP NAME to azure website eg : https://azurewebsites.net/ 4) You should be able to view your working application

If the step above doesnt work 1) Create a back up of ROOT of FTP azure 2) Copy the application WEB_INF , META-INF and the landing page under ROOT access the site !!! If everything is working fine give your self a pat on the back .

Upvotes: 0

mvaneijk
mvaneijk

Reputation: 106

For me removing the publishing slot was an option. I did that and re-created it again, just starting over from scratch did the trick of re-uploading all the files.

Then: don't forget to flush the browser cache, or you are looking at the default page while it has actually been published correctly

Upvotes: 2

A.Bos
A.Bos

Reputation: 1

Make sure the files are not in a separate folder, but directly located in the project itself. enter image description here

Upvotes: 0

IamButtman
IamButtman

Reputation: 347

So after going into the Application Settings in Azure Portal

set Default documents (As the default page you want to load) eg:

index.aspx

Then set Virtual applications and directories (As the default path of your homepage)

Virtual Path

/index.aspx

P.S. Dont mess with the physical path if you dont have to.

Upvotes: 0

FKorr
FKorr

Reputation: 11

Little late but I just had the same problem. Visual Studio first create a profile for that deployment, after this process it says that publishing is done, but it is not, just the profile creation and App Service instance are done.

To solve this you need to run the publishing again to upload all the files. It helps to run the Preview first and see that all files will be as "Add" instead of "Update", which means that the files are not there yet.

Also there's an option "Publish immediately" instead of "Create Profile" which skips the previous step.

Hope this helps others with the same problem.

Upvotes: 1

Brando Zhang
Brando Zhang

Reputation: 28007

As far as I know, this page is azure IIS start up page.

I guess you may not set the Default documents(Start page) in the Application settings.

More details about how to set it, you could refer to below image:

The hostingstart.html is the azure web app Default documents page, you see in your browser.

enter image description here

Also as vijayrkn says, you could use azure kudu console to check you have already publish all the web application to azure successfully.

About how to check it, you could refer to below image:

Locate Advanced Tools and click GO.

enter image description here

Click Debug console and click site, locate site\wwwroot folder.

enter image description here

Upvotes: 1

Related Questions