YAFLogo

johnk
  • johnk
  • 74.8% (Friendly)
  • YAF All-the-Time Topic Starter
11 years ago
In settings, goto Administration > Users and roles > Digest

Under "View Current Digest", click on Generate Digest. System gives error message:


Server Error in '/' Application.

The resource cannot be found.

Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it is spelled correctly. 

Requested URL: /forum/digest.aspx

Under "Send Test Digest", enter email, select send method as direct and click on "Send Test". Error message is:


Exception Getting Digest: System.Net.WebException: The remote server returned an error: (404) Not Found. at System.Net.HttpWebRequest.GetResponse() at YAF.Core.Services.YafDigest.GetDigestHtml(Int32 userId, Int32 boardId, String webServiceToken, Boolean showErrors) in d:\Website\yafnet_1236b34131cb\yafsrc\YAF.Core\Services\YafDigest.cs:line 86 at YAF.Pages.Admin.digest.TestSend_Click(Object sender, EventArgs e)

Since all code is on same server, I am guessing we do not need to call remote server to generate the digest. This is for latest code from codeplex. I am trying from localhost server.

Sponsor
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
11 years ago
The digest html is fetched as remote response, to make the digest work the YAF.BaseUrlMask Value in the appsettings needs to be set to your domain as absolute url not relative.

Something like...

<add key="YAF.BaseUrlMask" value="http://mydomain.com/" />
johnk
  • johnk
  • 74.8% (Friendly)
  • YAF All-the-Time Topic Starter
11 years ago
Thank you the_watcha. I already had my production url as basurlmask. Since I was testing, I changed it to localhost and both of these are working correctly.

A suggestion: Since the daily digest files are located on same server, maybe we can change this from "remote web service call" to standard class call? I think it shouldnt take much time to do this.

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

A suggestion: Since the daily digest files are located on same server, maybe we can change this from "remote web service call" to standard class call? I think it shouldnt take much time to do this.

Originally Posted by: johnk 

No that would not work, it needs to be fetched remotely.