YAFLogo

robi82
  • robi82
  • 53.6% (Neutral)
  • YAF Forumling Topic Starter
8 years ago
in my web.config i have folowing configuration since the newest YAF version.


<system.webServer>
    <validation validateIntegratedModeConfiguration="false" />
    <modules runAllManagedModulesForAllRequests="true">
      <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" />
    </modules>
    <handlers>

If i correctly remember, bevor 2.2.3 it was runAllManagedModulesForAllRequests="false".

I had to change it, because urlrewrite didnt work without runAllManagedModulesForAllRequests="true".

But now i have a Problem on a custom site (i Used "YAF.NET v2.2.3 Sample Web Application") i have an updatepanel wich gets an error:

Firebug says: Error: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed.

If i use "false" it works perfekt.

i tried this config:

<modules runAllManagedModulesForAllRequests="false">
      <remove name="YafTaskModule" />
      <remove name="UrlRewriter" />
      <remove name="Session"/>          
      <add name="YafTaskModule" type="YAF.Core.YafTaskModule, YAF.Core" preCondition="" />
      <add name="UrlRewriter" type="Intelligencia.UrlRewriter.RewriterHttpModule,Intelligencia.UrlRewriter" preCondition="" />
      <add name="Session" type="System.Web.SessionState.SessionStateModule" preCondition="" />
    </modules>
    <handlers>

Its working if URL is like /forum/Forum.aspx, i am loged in. But un /forum or /forum/admin/admin i am logged off.

i tried a lot of Configuration, but forum was not working or my updatepanel.

What can i do?

Sponsor
robi82
  • robi82
  • 53.6% (Neutral)
  • YAF Forumling Topic Starter
8 years ago
Some strange additional Information.

After restarting the Application (update of Application or from Forumadministration) its working for a while.