Welcome Guest! To enable all features please Login or Register.
Go to last post Go to first unread
Offline jmd  
#1 Posted : 04 January 2019 18:20:11(UTC)

Rank: YAF Forumling


Joined: 04/01/2019(UTC)
Posts: 2

Has anyone had success on deploying YAFnet on azure?

I followed the instructions here https://github.com/YAFNE...llation-on-Windows-Azure but it seems to keep giving me issues. I have turned off the customErrors and the error message i get is still not helpful

Parser Error Message: Configured settings are invalid: Hashed passwords cannot be retrieved. Either set the password format to different type, or set enablePasswordRetrieval to false.

Source Error:

An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Offline tha_watcha  
#2 Posted : 08 January 2019 18:44:35(UTC)

Rank: YAF.NET Project Lead


Medals: Medal of Honor: Portal Puzzle Master: Portal Puzzle Master for DNNMedal of Honor Key: Given to pillars of the community who are key players in the YAF community and project.DNN Master: DNN Module ManBug Killer Medal of Honor: Medal for being a kick-ass bug killer!Medal of Honor for the Support King: Support King! Amazing asset to the YAF.NET Community.

Joined: 06/03/2010(UTC)
Posts: 3,929

Thanks: 73 times
Was thanked: 1191 time(s) in 1021 post(s)
Are you using the recommended-azure.web.config? If not can you post your web.config?
Offline jmd  
#3 Posted : 12 January 2019 23:00:03(UTC)

Rank: YAF Forumling


Joined: 04/01/2019(UTC)
Posts: 2

@tha_watcha here is the web.config that i used. Thanks in advance.

<?xml version="1.0" encoding="utf-8"?>
<section name="rewriter"
type="Intelligencia.UrlRewriter.Configuration.RewriterConfigurationSectionHandler, Intelligencia.UrlRewriter"
requirePermission="false" />
<connectionStrings configSource="db.config" />
<appSettings configSource="app.config" />
<rewriter configSource="URLRewriter.config" />
<smtp configSource="mail.config" />

<httpRuntime targetFramework="4.6.2" useFullyQualifiedRedirectUrl="true" maxRequestLength="28192" executionTimeout="6000" requestLengthDiskThreshold="18192" />
<customErrors defaultRedirect="Error.aspx" mode="RemoteOnly" />

This section sets the globalization settings of the application.
Utf-8 is not supported on Netscape 4.x
If you need netscape compatiblity leave iso-8859-1.
UTF-8 is recommended for complex languages
<globalization culture="en-US" uiCulture="en" requestEncoding="UTF-8" responseEncoding="UTF-8"
fileEncoding="UTF-8" />
<!--<globalization culture="en-US" uiCulture="en" fileEncoding="iso-8859-1" requestEncoding="iso-8859-1" responseEncoding="iso-8859-1"/>-->

<authentication mode="Forms">
<forms name=".YAFNET_Authentication" protection="All" timeout="43200" cookieless="UseCookies" />

* Set debug to "true" to test out the system in development
* Set optimizeCompilation to "true" for *MUCH* faster application pool
restarts on larger .NET systems. But, please read and understand the caveats
before enabling this settings:
<compilation debug="false" targetFramework="4.6.2" />

<add verb="GET" path="Resource.ashx" type="YAF.YafResourceHandler, YAF" />
<add name="YafTaskModule" type="YAF.Core.YafTaskModule, YAF.Core" />
<add name="UrlRewriter" type="Intelligencia.UrlRewriter.RewriterHttpModule,Intelligencia.UrlRewriter" />

<pages clientIDMode="AutoID">
<add tagPrefix="asp" namespace="System.Web.UI.HtmlControls" assembly="System.Web"/>
<!-- Default: use non-dynamic (compiled classes) in YAF -->
<add tagPrefix="YAF" namespace="YAF.Controls" assembly="YAF.Controls" />
<add tagPrefix="YAF" namespace="YAF.Controls.Statistics" assembly="YAF.Controls" />
<add tagPrefix="YAF" namespace="YAF.Classes" />
<add tagPrefix="YAF" namespace="YAF" />
<add namespace="YAF.Core" />
<add namespace="YAF.Controls" />
<add namespace="YAF.Utils" />
<add namespace="YAF.Types.Interfaces" />
<add namespace="YAF.Types" />

<membership defaultProvider="AspNetSqlMembershipProvider">
<clear />
<add name="AspNetSqlMembershipProvider"
applicationName="YetAnotherForum" connectionStringName="yafnet"
enablePasswordReset="false" enablePasswordRetrieval="true" maxInvalidPasswordAttempts="5" minRequiredNonalphanumericCharacters="0" minRequiredPasswordLength="5" passwordAttemptWindow="15" passwordFormat="Hashed" requiresQuestionAndAnswer="false" requiresUniqueEmail="true" type="System.Web.Security.SqlMembershipProvider" />

<roleManager enabled="true" defaultProvider="AspNetSqlRoleProvider">
<clear />
<add name="AspNetSqlRoleProvider" applicationName="YetAnotherForum" connectionStringName="yafnet"
type="System.Web.Security.SqlRoleProvider" />

<profile enabled="true" defaultProvider="AspNetSqlProfileProvider" inherits="YAF.Utils.YafUserProfile">
<clear />
<add name="AspNetSqlProfileProvider" applicationName="YetAnotherForum" connectionStringName="yafnet"
type="System.Web.Profile.SqlProfileProvider" passwordFormat="Hashed" />

<!-- Enable it if your application is hosted in a web farm or cluster (e.g. GoDaddy hosting) or you are using standard ASP.NET providers and encryption.
IMPORTANT: DO NOT USE THIS KEY! You need to generate your own machine key via http://yetanotherforum.net/key
<!-- <machineKey validationKey="5B169A4270DB7D6A285CF068B81047D1A73A5FDDE9B204254AB86147B061C3C13DB6E84311E98EDFDD7FF50309DB9632A1C573A716CF120535EC3401BF7706D7"
validation="HMACSHA256" decryption="AES"/>
<machineKey validationKey="05F0E85C2C6FBBD83D235B62A255E6FF7827B2865F68CA641579AE11A8ED9BBDDFEA078345993670E89FF6CEB6FC1F42BE472B9A90D65ACE30DE63D3E591DB62" decryptionKey="FFEC2951C64AD5AAD4CE2441A4018D1C1E4F0C1E24CE8A20" validation="HMACSHA256" decryption="AES" />
<add name="HttpGet" />
<add name="HttpPost" />
<remove name="YafTaskModule" />
<remove name="UrlRewriter" />
<add name="YafTaskModule" type="YAF.Core.YafTaskModule, YAF.Core" preCondition="managedHandler" />
<add name="UrlRewriter" type="Intelligencia.UrlRewriter.RewriterHttpModule,Intelligencia.UrlRewriter"
preCondition="managedHandler" />
<add name="YafHandler" preCondition="integratedMode" verb="GET" path="Resource.ashx"
type="YAF.YafResourceHandler, YAF" />
<add extension=".png" policy="CacheUntilChange" varyByHeaders="Browser" location="Client" />
<add extension=".gif" policy="CacheUntilChange" varyByHeaders="Browser" location="Client" />
<add extension=".jpg" policy="CacheUntilChange" varyByHeaders="Browser" location="Client" />
<add extension=".js" policy="CacheUntilChange" varyByHeaders="Browser" location="Client" />
<add extension=".css" policy="CacheUntilChange" varyByHeaders="Browser" location="Client" />
<add extension=".ico" policy="CacheUntilChange" varyByHeaders="Browser" location="Client" />
<add extension=".axd" kernelCachePolicy="CacheUntilChange" varyByHeaders="Browser" location="Client" />
Rss Feed  Atom Feed
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.