Getting the message "Welcome to nginx!" when I deploy

horasunitec's Avatar

horasunitec

07 Mar, 2018 06:51 AM

So I have my solution with several Projects
I read your post about "Deploying solutions with multiple web projects on AppHarbor" (https://blog.appharbor.com/2012/06/25/deploying-solutions-with-multiple-web-projects-on-appharbor)
and followed the solution file convention

But i am getting the message "Welcome to nginx!" when the deploy is complete

I read on this discussion "Build is active but dont deploy" (https://support.appharbor.com/discussions/problems/77545-build-is-active-but-dont-deploy)
that the Project type might be configured as Class Library, In my case it was, so I tried
to change it to "Windows Application" but I received a compilation error when deploying

So what can I do in order to fix this issue and be able to deploy my application?

My last deploy is
https://appharbor.com/applications/backend-4/builds/2061514

Thanks in advance for your help

  1. 1 Posted by horasunitec on 07 Mar, 2018 06:53 AM

    horasunitec's Avatar

    I downloaded the latest build, and went to the _publishedWebsites folder, attached you will find what I am getting

  2. Support Staff 2 Posted by rune on 08 Mar, 2018 04:49 AM

    rune's Avatar

    Hi,

    I took a look at the most recently deployed build, and it looks like an issue with the web.config configuration file. In particular, it's missing the system.web\compilation. Try adding that and deploy the application again (might be as simple as adding the relevant line in the system.web element like this example:

    <system.web>
         <compilation debug="true" targetFramework="4.5.2">
         // Your existing configuration
    

    Best,
    Rune

  3. 3 Posted by horasunitec on 09 Mar, 2018 02:50 AM

    horasunitec's Avatar

    Thanks for the assistance
    I made the changes you suggested on my web.config file and I'm still getting the "Welcom to nginx" message

    I made the changes on this file:
    ...VinculacionBackend\VinculacionBackend\Web.config
    because its the one on the root of the Web Application, and nothing happened

    So I also made the changes on the other web.config files I have on the project
    ..\VinculacionBackend\VinculacionBackend\Views\Web.config
    ...VinculacionBackend\vinculacionbackend\areas\helppage\views\web.config
    Still getting the welcome to nginx message

  4. 4 Posted by horasunitec on 09 Mar, 2018 03:28 AM

    horasunitec's Avatar

    It is working now thanks (Y)

  5. Support Staff 5 Posted by rune on 12 Mar, 2018 02:34 AM

    rune's Avatar

    Hi,

    Ok great, good to hear it's working and thanks for the heads up!

    Best,
    Rune

  6. rune closed this discussion on 12 Mar, 2018 02:34 AM.

Discussions are closed to public comments.
If you need help with AppHarbor please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac