leadfoot93
2012-04-25T16:18:34Z
HI, I am currently running YAF 1.9.1.8
Can i upgrade to the newest version? or do I have to upgrade to 1.9.3 first?
Thanks
Ken
Sponsor
leadfoot93
2012-04-25T17:41:56Z
ok so I did the upgrade to 1.9.6.1 i even used the the web.config that it told me to use. I get an error trying to login. Telling me it cant find the user or email.

the installer did upgrade my tables. I can see my forums though..
leadfoot93
2012-04-25T18:20:56Z
here is the web.config


<?xml version="1.0" encoding="utf-8"?>
<configuration>

<configSections>
<section name="rewriter" type="Intelligencia.UrlRewriter.Configuration.RewriterConfigurationSectionHandler, Intelligencia.UrlRewriter" requirePermission="false"/>
</configSections>

<connectionStrings configSource="db.config"/>
<appSettings configSource="app.config"/>
<rewriter configSource="URLRewriter.config" />

<system.net>
<mailSettings>
<smtp configSource="mail.config"/>
</mailSettings>
</system.net>

<system.web>
<httpRuntime requestValidationMode="2.0"/>
<xhtmlConformance mode="Strict"/>
<customErrors defaultRedirect="Error.aspx" mode="Off"/>
<!-- GLOBALIZATION
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"/>
</authentication>

<!-- Set debug to "true" to test out the system in development -->
<compilation debug="true" targetFramework="4.0">
<assemblies>
<add assembly="System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Data.DataSetExtensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Xml.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Data.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
<add assembly="System.ServiceModel.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
</assemblies>
</compilation>

<httpHandlers>
<add verb="GET" path="Resource.ashx" type="YAF.YafResourceHandler, YAF" />
</httpHandlers>

<httpModules>
<add name="YafTaskModule" type="YAF.Core.YafTaskModule, YAF.Core"/>
<add name="UrlRewriter" type="Intelligencia.UrlRewriter.RewriterHttpModule,Intelligencia.UrlRewriter" />
</httpModules>
<pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID" enableEventValidation="false" validateRequest="false">
<controls>
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

<!-- 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"/>

</controls>
<namespaces>
<add namespace="YAF.Core"/>
<add namespace="YAF.Controls"/>
<add namespace="YAF.Utils"/>
<add namespace="YAF.Types.Interfaces"/>
<add namespace="YAF.Types"/>
</namespaces>
</pages>

<roleManager enabled="true" defaultProvider="YafRoleProvider">
<providers>
<clear/>
<add connectionStringName="yafnet" applicationName="YetAnotherForum" name="YafRoleProvider" type="YAF.Providers.Roles.YafRoleProvider"/>
</providers>
</roleManager>

<membership defaultProvider="YafMembershipProvider" hashAlgorithmType="MD5">
<providers>
<clear/>
<add connectionStringName="yafnet" applicationName="YetAnotherForum" name="YafMembershipProvider" requiresUniqueEmail="false" type="YAF.Providers.Membership.YafMembershipProvider" hashHex="true" hashCase="upper" />
</providers>
</membership>
<profile enabled="true" defaultProvider="YafProfileProvider" inherits="YAF.Utils.YafUserProfile">
<providers>
<clear/>
<add connectionStringName="yafnet" applicationName="YetAnotherForum" name="YafProfileProvider" type="YAF.Providers.Profile.YafProfileProvider"/>
</providers>
</profile>

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

<add name="YafHandler" preCondition="integratedMode" verb="GET" path="Resource.ashx" type="YAF.YafResourceHandler, YAF" />
</handlers>
</system.webServer>
</configuration>
leadfoot93
2012-04-25T19:28:37Z
I have even tried just a 1.9.1 to 1.9.3 and the same issue.
I see all my users in yaf_users but no go 😞
tha_watcha
2012-04-25T23:30:42Z
When you upgraded, was the Migrating of Users Process successfully in the Install Wizzard?
UserPostedImage
leadfoot93
2012-04-26T13:25:20Z
It said it was. I didnt get any errors. I have tried about 4 times, restoring the original database.
bbobb
  •  bbobb
  • 100% (Exalted)
  • YAF Developer
2012-04-26T14:07:34Z
Did you changed config back to the recommended one after the upgrade?
leadfoot93
2012-04-26T15:52:02Z
yes the one that i posted is the one I used.

I am using the compiled bin. so for my testing I have a copy of my database/ and folders.

I copy the new files over the original folders update the db.config to point to the database backup.
i then run the /install/default.aspx

leadfoot93
2012-04-26T15:58:41Z
am I missing something in the upgrade?

I thought i had to copy the new files form the compiled zip over my original files ( i am using a copy of the original for testing)

leadfoot93
2012-04-26T16:29:02Z
just did it again and it worked this time... guess 8 times a charm? LOL

thanks
leadfoot93
2012-04-26T19:08:31Z
All good thanks!

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