Cobalt-2
  •  Cobalt-2
  • 52.4% (Neutral)
  • YAF Forumling Topic Starter
2020-11-04T23:05:03Z
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:
  • Runtime Stack: ASP.Net V4.8

  • Publish: Code

  • SKU & Size: Free F1 (Shared Info, 1GB Memory, 60 Mins/Day Compute, Free Tier, Development/Testing Use)


Here is the ADO.Net Connection String in the db.config file:

<!-- Connection String for Azure Database (SQL Database > Connection Strings > ADO.NET)-->
<!-- NOTE: Database is the same as Catalog (DB Name) on Azure, and make sure the Pasword is set right (I.E: Make sure it's protected and the actual server account Password is not showing!). -->
<add name="yafnet" connectionString="Server=tcp:forum-server27.database.windows.net,1433;Database=Forum27;User ID=ForumKeeper;Password={your_password};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;" providerName="System.Data.SqlClient" />



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
2020-11-05T05:00:40Z
What happens when you disable custom error in the web.config

  <customErrors mode="Off"/>


Then it should show the full error message
UserPostedImage
Cobalt-2
  •  Cobalt-2
  • 52.4% (Neutral)
  • YAF Forumling Topic Starter
2020-11-05T13:16:30Z
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
2020-11-05T14:03:04Z
Originally Posted by: Cobalt-2 

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?



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.
UserPostedImage
Cobalt-2
  •  Cobalt-2
  • 52.4% (Neutral)
  • YAF Forumling Topic Starter
2020-11-06T11:25:17Z
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
2020-11-06T13:59:42Z
Quote:

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



https://apneatalk.azurew...et/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.

Quote:

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
UserPostedImage
Cobalt-2
  •  Cobalt-2
  • 52.4% (Neutral)
  • YAF Forumling Topic Starter
2020-11-08T19:13:47Z
Originally Posted by: tha_watcha 

Quote:

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



https://apneatalk.azurew...et/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.

Quote:

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!

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved