YAFLogo

Cobalt-2
  • Cobalt-2
  • 52.4% (Neutral)
  • YAF Forumling Topic Starter
4 years ago
Hello,

I have recently decided to use Yaf.Net as the Forum Engine I want to use for a website I am building (it's for a project!). I am currently following the Github Wiki's guide on how to set Yaf.Net for an Azure Web App (https://github.com/YAFNET/YAFNET/wiki/Installation-on-Windows-Azure) and I have ran into a blocker surrounding on getting the Install Wizard open on the website.

I have followed the first two steps extensively and got the "YAF-v2.3.1.9-Install" release file from the Download of the Website updated with the my Machine Key inserted, SMTP SSL enabled, and the ADO.Net Azure SQL DB Connection String inputted all into the right files. I also have the Web App & Azure SQL DB in the same Region (UK South).

I used the FTPS Endpoint Link and auto-generated username/password that came with the Azure Web App to access the "site/wwwroot" folder through FileZilla and then used FTP to upload the Installation Files to the Server without any issues.

However, I am currently stuck on the third step, which is using my Azure Web App link to run the Install Wizard. When I navigate to the required link that would otherwise allow me to use the Install Wizard (https://apneatalk.azurewebsites.net/install/), it instead gives me the message "The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.".

Here are the some core settings of the Azure Web App:

[list]

  • Runtime Stack: ASP.Net V4.8 [/list]
  • [list]
  • Publish: Code[/list]
  • [list]
  • SKU & Size: Free F1 (Shared Info, 1GB Memory, 60 Mins/Day Compute, Free Tier, Development/Testing Use)[/list]
  • Here is the ADO.Net Connection String in the db.config file:

    Is there anything that I have missed or I am doing wrong? Please let me know, I am keen to solve this issue and let me know if there is anything else I should watch out for with the Install Wizard! Many thanks in advance!

    Sponsor
    tha_watcha
    • tha_watcha
    • 100% (Exalted)
    • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
    4 years ago
    What happens when you disable custom error in the web.config

      <customErrors mode="Off"/>

    Then it should show the full error message

    Cobalt-2
    • Cobalt-2
    • 52.4% (Neutral)
    • YAF Forumling Topic Starter
    4 years ago
    So I have changed the "customError" mode to off in web.config as suggested. Unfortunately, the "The resource you are looking for has been removed, had its name changed, or is temporarily unavailable." message still appears when the page is accessed. So I cannot see the full error on the page.

    Do you have other suggestions?

    tha_watcha
    • tha_watcha
    • 100% (Exalted)
    • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
    4 years ago

    So I have changed the "customError" mode to off in web.config as suggested. Unfortunately, the "The resource you are looking for has been removed, had its name changed, or is temporarily unavailable." message still appears when the page is accessed. So I cannot see the full error on the page.

    Do you have other suggestions?

    Originally Posted by: Cobalt-2 

    No not really, If you are sure that you uploaded all files to the correct location. Because when going to the url you posted there doesnt seem to exist any files.

    Cobalt-2
    • Cobalt-2
    • 52.4% (Neutral)
    • YAF Forumling Topic Starter
    4 years ago
    So I have come back and tested the FTP Upload of the files, it seemed that there was no issue with the upload. So this is not a deployment issue. It seems to be a Runtime issue as the script to trigger the Install Wizard is either restricted by external factors in Azure, or has no access despite being in the right folder (site/wwwroot/YAF-v2.3.1.9-Install).

    When I uploaded just the contents of the Yaf Installation file to another web app, the default landing page of an Azure Web App came up with the same error I had mentioned as before, even with the Custom Errors mode set to "Off" in the web.config. So I figure there must be a way to trace through the process and find the root cause of the blocker.

    So then I have several questions:

    Im not sure if it could be the Microsoft Runtime Environment, but is there a way that I can validate the uploaded Yaf Installation Files are good?

    Also, is there a way I can monitor and trace the web app's processes with either YAF.Net or Azure? And is there a way I can get access to downloading any kind of log file that would allow me to the view the errors like you suggested earlier?

    I want to see what is failing in the when I load up the web app and trace through it, looking for the errors that are causing it through log files. I really don't want to work with a Black Box app, not knowing where it is going wrong. Many thanks in advance!

    tha_watcha
    • tha_watcha
    • 100% (Exalted)
    • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
    4 years ago

    or has no access despite being in the right folder (site/wwwroot/YAF-v2.3.1.9-Install).

    https://apneatalk.azurewebsites.net/YAF-v2.3.1.9-Install/  then you can see that the site is actually uploaded.

    I think it needs to be located in the wwwroot.

    Also, is there a way I can monitor and trace the web app's processes with either YAF.Net or Azure? And is there a way I can get access to downloading any kind of log file that would allow me to the view the errors like you suggested earlier?

    i dont have azure anymore but as far as i rember the iis log files are located in a folder under site/log files or something similar

    Cobalt-2
    • Cobalt-2
    • 52.4% (Neutral)
    • YAF Forumling Topic Starter
    4 years ago

    or has no access despite being in the right folder (site/wwwroot/YAF-v2.3.1.9-Install).

    Originally Posted by: tha_watcha 

    https://apneatalk.azurewebsites.net/YAF-v2.3.1.9-Install/  then you can see that the site is actually uploaded.

    I think it needs to be located in the wwwroot.

    Also, is there a way I can monitor and trace the web app's processes with either YAF.Net or Azure? And is there a way I can get access to downloading any kind of log file that would allow me to the view the errors like you suggested earlier?

    i dont have azure anymore but as far as i rember the iis log files are located in a folder under site/log files or something similar

    Sorry for the late reply, but this really helps with what I was trying to solve. I can't believe I didn't realize that it was the exact file name instead of "/Install/"! Also many thanks for pointing out where I can find the log files through Azure! I'll be sure to come back here when I do run any blockers again. Kudos!