Boskone
  • Posts: 183
  • Joined: 27/03/2004
TheNerd wrote:

I've gone and installed this beta on a clean install of dnn 5 (latest version) and went in to make a post. The odd thing is, the MOMENTI make the post, the wpw3 worker process on the server completely crashes and all of IIS needs to be reset in order for the system to recover. It happens on a post, an edit, a reply - anything that involves the message. I'm completely at a loss as to how to trouble shoot this - seems like its isolated to me, although I don't know why. this is a dedicated server with a clean install of YAF beta 3 and DNN 5. Jaben, can you point me in any direction as to what to look for? What happens during a post?



This is due to the bug in DotNetNukeUrlBuilder.cs
See this post 
Boskone - A DotNetNuke user.
RDSCC 
kainthedragoonx
  • Posts: 42
  • Joined: 23/04/2007
Jaben wrote:

I don't recommend having spacing in your applicationName. I suggest: applicationName="TableTopGamers". Settings look fine... you ran the migration code?



Is the Migration code something different than running the update via http://localhost/newsite/forums/install/default.aspx ?


I ran through the steps on http://localhost/newsite/forums/install/default.aspx and it said there where no issues. That process reported as working correctly.

Still left me with: "The user name or password entered is incorrect. Please try again."

Is there some migration functionality I am not seeing?

The only thing that I could see as a problem is me not entering the SMTP information. I am not entering the SMTP information for my dev environment. Could that cause issues?


Thanks for the heads up on the Application name...I corrected that.


Thanks for all your help!


daveburke
  • Posts: 148
  • Joined: 28/05/2008
You're getting this when logging in to YAF the first time after upgrading? Sounds like a Provider issue in the web.config, in the <Membership /> element specifically. Sorry I can't be more specific. I'd check there.

-Dave
kainthedragoonx
  • Posts: 42
  • Joined: 23/04/2007
daveburke wrote:

You're getting this when logging in to YAF the first time after upgrading? Sounds like a Provider issue in the web.config, in the <Membership /> element specifically. Sorry I can't be more specific. I'd check there.

-Dave



Yep, when I log in the first time...

still messing around with the membership stuff, but as it stands there is not much I could be messing around with...the membership config looks pretty straight up!


<membership defaultProvider="YafMembershipProvider" hashAlgorithmType="MD5">
  <providers>
        <clear/>
	<add connectionStringName="yafnet" 
                 applicationName="TableTopGamers" 
                 name="YafMembershipProvider" 
                 requiresUniqueEmail="false" 
                 type="YAF.Providers.Membership.YafMembershipProvider" 
                 hashHex="true" 
                 hashCase="upper"/>
  </providers>
</membership>


That is my membership info from the web.config. I run through the code and my Membership object returns no users when I run the Membership.GetAllUsers() method.

I'm sure I missed something stupid easy...but I cannot figure this one out...
daveburke
  • Posts: 148
  • Joined: 28/05/2008
Sorry, missed the history on this. You were using 1.9.3 and upgrading to 1.9.4? And DNN is involved? 🙂
kainthedragoonx
  • Posts: 42
  • Joined: 23/04/2007
daveburke wrote:

Sorry, missed the history on this. You were using 1.9.3 and upgrading to 1.9.4? And DNN is involved? :)





no, Prod is 1.9.1.2 and there is no DNN action...
daveburke
  • Posts: 148
  • Joined: 28/05/2008
There are guys better versed in YAF.NET to advise you, but I do a lot of upgrades and I would certainly recommend going from 1.9.1 to a working 1.9.3, then from a working 1.9.3 to a working 1.9.4 beta.

Glad there's no DNN action. 🙂
kainthedragoonx
  • Posts: 42
  • Joined: 23/04/2007


Does it really need to be updated from 1.9.1.2 to 1.9.3 then to 1.9.4?
daveburke
  • Posts: 148
  • Joined: 28/05/2008
kainthedragoonx wrote:



Does it really need to be updated from 1.9.1.2 to 1.9.3 then to 1.9.4?



I don't know what the official YAF line is on upgrades from 1.9.1.2, but personally I wouldn't consider going straight from 1.9.1.2 to 1.9.4 without first satisfied with a stable 1.9.3.

Even commercial products like Community Server that cost a gazillion dollars require incremental upgrades. (They did. Don't know about the very latest version as I haven't touched it.) The primary issue is ensuring a complete database upgrade. I am assuming you have a local development server and can quickly throw up a temp database and site. If performed exclusively in a shared hosting environment, then no, not a very fun venture. But if you're installing a beta, then I am also assuming that you plan on upgrading more than once anyway.

Then again, your issue could be something else.

Do you have a web.config in the root directory? Any other site applications in co-existence?

-Dave
DJGray
  • Posts: 96
  • Joined: 19/11/2007
Dave,

Thank you for your willingness to jump in on this. kainthedragoonx and I are having the EXACT same issue. The only difference between us is he is upgrading from 1.9.1.2 and I'm upgrading from 1.9.1.8. The installation/upgrade instructions provide for this, so I'm assuming it has been tried successfully.

The key seems to be Step 3 where we "copy web.config file"

Here, for those who are upgrading from 1.9.1.x we are directed to rename the v191-upgrade-web.config to web.config and upload that bad boy to the site. Done that many times, been there and got the tee-shirt. The remaining instructions in this section are for 1.9.3 upgrade users.

This seems pretty simple and straight forward, but...

I read a post from another user who during his upgrade saw messages regarding user accounts being migrated to the new table. I have seen no such message, and the new user table has 0 rows in it. All users are still in the original table.

Is there a stored proc we can run or some sql queries we can use to get the users migrated? If they are in the new table, will the login begin working?



daveburke
  • Posts: 148
  • Joined: 28/05/2008
I wish I knew more about YAF Membership cause I don't want to give you bad info. Perhaps someone else will fill the void.

For membership YAF uses its own providers or ASPNET membership. Very cool, actually. You'll see a number of tables yaf_prov_application, yaf_prov_user, etc which pattern the ASPNET Membership data structure so YAF user data can site on top of either it or ASPNET Membership. I've always used YAF with ASPNET membership, so my yaf_prov tables are empty.

The provider sql scripts are in the /install/mssql/prov folder and executed on install/upgrade.

There's a lot of dynamic object creation in YAF, including the application name prov_application if you look at the yaf_prov_getuser stored procedure which executes yaf_prov_createapplication. If I were analyzing this I'd focus here, at the yaf_prov_CreationApplication proc, and yaf_prov_GetAllUsers procs. I'd downshift Visual Studio into debug mode and hang out in YAF.Providers.YafMEmbershipDBConnManager's GetAllUsers() and GetUser() methods to wait for some bits to come a long to see what might be missing in the underlying data. Or set a breakpoint in login.ascx.cs login1_authenticate() and let PageContext.CurrentMembership.ValidateUser() take you through the process.

G'luck!
-Dave
Jaben
  • Posts: 2544
  • Joined: 09/10/2004
DJGray wrote:

Dave,

Thank you for your willingness to jump in on this. kainthedragoonx and I are having the EXACT same issue. The only difference between us is he is upgrading from 1.9.1.2 and I'm upgrading from 1.9.1.8. The installation/upgrade instructions provide for this, so I'm assuming it has been tried successfully.

The key seems to be Step 3 where we "copy web.config file"

Here, for those who are upgrading from 1.9.1.x we are directed to rename the v191-upgrade-web.config to web.config and upload that bad boy to the site. Done that many times, been there and got the tee-shirt. The remaining instructions in this section are for 1.9.3 upgrade users.

This seems pretty simple and straight forward, but...

I read a post from another user who during his upgrade saw messages regarding user accounts being migrated to the new table. I have seen no such message, and the new user table has 0 rows in it. All users are still in the original table.

Is there a stored proc we can run or some sql queries we can use to get the users migrated? If they are in the new table, will the login begin working?



YAF automatically determines if it's necessary to run User Migration on install. It depends on the current version you have installed.

I believe v1.9.4 beta 3's User Migration is an improvement on v1.9.3. I don't think it's a problem going from v1.9.1.2 to v1.9.4 beta 3.

I ran quite a few tests upgrading from v1.9.1 to v1.9.4 to get it right. Obviously, there are situations I did not test for...
DJGray
  • Posts: 96
  • Joined: 19/11/2007
Argh! Still no joy. I don't know what I'm missing. I'm going to blow it all out again, restore 1.9.1.8, and then try to upgrade that to 1.9.3. Assuming that works, I'll try moving that to 1.9.4b3 and hopefully earn the Superman cape.

If I can't get this, I'd like to get on my knees and see if I can beg Dave, Mek, Jaben or someone to FTP to my site and see if they can determine what's wrong with my install.

I'll try this incremental upgrade first.

Thanks again to all.

daveburke
  • Posts: 148
  • Joined: 28/05/2008
Thanks for the update, DJ. The incremental approach is really the way to go, IMO. And YAF makes upgrades a snap (98.7% of the time, anyway.:-d )

I'm confident you'll be donning that Superman cape soon and back kicking Lex Luther's butt again.

-Dave
triangle
  • Posts: 7
  • Joined: 04/09/2009
i've two suggestions:

1. What's the plan for the first RC and Final Release?
2. please make the LDAP/SSO Integration working fine 🙂
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.

    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