Welcome Guest Search | Active Topics | Log In | Register

6 Pages 123>»
YAF 1.9.2 (ASP.NET 2.0 Technology Preview) Options · View
bhenden
#1 Posted : Sunday, March 19, 2006 1:14:49 PM

Rank: YAF Head Dude




Joined: 3/18/2003
Posts: 426
Location: Kristiansund, Norway
I've been doing some more work on the migration to ASP.NET 2.0.

* Uses ASP.NET DB for security.
* Roles and users are mirrored to the forum tables.
* Upgrades existing forums to ASP.NET DB (creates users and roles).

This is only a test version, so please don't use it in any production environment. I recommend doing a clean install instead of upgrading at this point, although upgrades also should function ok. Rename default.config to web.config and edit connection strings and mail settings in the file.

Known issues:

* After registration users can log in without approval or e-mail verification. Is it possible to use ASP.NET DB and require e-mail verification of users?

To open this solution in VS2005 you need to download the Visual Studio Web Application Project.
File Attachment(s):
yafsrc-1.9.2.zip (1,247kb) downloaded 1,321 time(s).

Mek
#2 Posted : Sunday, March 19, 2006 5:20:27 PM

Rank: YAF Developer



Joined: 7/12/2005
Posts: 1,150
Location: on Dock Street
ok I must be doing something wrong, new install no upgrade, get to the third wizard screen where it asks for details like admin name, admin email etc.. fill that in and clicked next.

I then recieve error : Failed to create user: Error Status: Invalid Password.

If I can gleen anymore I'll post.


"It's a case of RTFM.. the only problem being we don't have a manual!"

When I post FP:Mek in a topic, I'm leaving my footprint there so I can track it once I get into coding/supporting. (Yes I stole this off Ederon Smile )
Mek
#3 Posted : Sunday, March 19, 2006 6:13:05 PM

Rank: YAF Developer



Joined: 7/12/2005
Posts: 1,150
Location: on Dock Street
Ignore, I was being a prat and had not install aspnetdb.

aspnet_regsql.exe from the .net command prompt for anyone else who doesn't know.


"It's a case of RTFM.. the only problem being we don't have a manual!"

When I post FP:Mek in a topic, I'm leaving my footprint there so I can track it once I get into coding/supporting. (Yes I stole this off Ederon Smile )
Mek
#4 Posted : Sunday, March 19, 2006 7:03:51 PM

Rank: YAF Developer



Joined: 7/12/2005
Posts: 1,150
Location: on Dock Street
How I wish you could edit your own posts on this forum... right just as a warning to everybody if you do an upgrade on your dev server, and your smtp works on your dev. THis upgrade masses all users with a new password .. so all my users recieved new passwords that wouldn't work on a live forum.

I think I should just give up for today.

p.s. If anyone has any suitable guides/tutorials on aspnetdb and this role membership thingy I'd be grateful (so please PM).


"It's a case of RTFM.. the only problem being we don't have a manual!"

When I post FP:Mek in a topic, I'm leaving my footprint there so I can track it once I get into coding/supporting. (Yes I stole this off Ederon Smile )
bhenden
#5 Posted : Sunday, March 19, 2006 7:20:52 PM

Rank: YAF Head Dude




Joined: 3/18/2003
Posts: 426
Location: Kristiansund, Norway
If you read the information on the "Migrate Roles and Users" screen during upgrade you will see the text "all of the users in your forum database will be converted to users in the ASP.NET DB with new passwords mailed to their e-mail address". Razz

Mek
#6 Posted : Sunday, March 19, 2006 7:22:31 PM

Rank: YAF Developer



Joined: 7/12/2005
Posts: 1,150
Location: on Dock Street
Indeed, reading. Damn those seductive next buttons that just make you want to click Smile


"It's a case of RTFM.. the only problem being we don't have a manual!"

When I post FP:Mek in a topic, I'm leaving my footprint there so I can track it once I get into coding/supporting. (Yes I stole this off Ederon Smile )
Institoris
#7 Posted : Sunday, March 19, 2006 7:53:26 PM

Rank: YAF Camper



Joined: 2/21/2006
Posts: 13
Location: USSR, Moscow
When install page asks to create configuration pass, after inputting and pressing "next" button install page just reloads, and asks again to create conf pass...
What to do?
Deus To Vult!
bhenden
#8 Posted : Sunday, March 19, 2006 9:15:22 PM

Rank: YAF Head Dude




Joined: 3/18/2003
Posts: 426
Location: Kristiansund, Norway
Institoris wrote:
When install page asks to create configuration pass, after inputting and pressing "next" button install page just reloads, and asks again to create conf pass...
What to do?


Do you have javascript enabled in your browser? If anything goes wrong you should get an alert.

Institoris
#9 Posted : Sunday, March 19, 2006 9:18:46 PM

Rank: YAF Camper



Joined: 2/21/2006
Posts: 13
Location: USSR, Moscow
JS enabled, but no errors are shown.
Tried on opera and IE. Same result both.
Crying or Very sad
Deus To Vult!
test2005
#10 Posted : Thursday, March 23, 2006 3:12:48 PM

Rank: YAF MVP



Joined: 2/12/2005
Posts: 686
Location: Italy
Institoris wrote:
When install page asks to create configuration pass, after inputting and pressing "next" button install page just reloads, and asks again to create conf pass...
What to do?


Im getting exactly the same error happeninf when I try to install! Even tried manually creating the database and appsettngs strings.....no luck
.....the man in black fled across the desert..........and the gunslinger followed.....

herensuge
#11 Posted : Friday, March 24, 2006 6:30:17 PM

Rank: YAF Commander



Joined: 7/30/2005
Posts: 85
Location: Spain
I had the same problem in 1.9.1. I commented in pages/forumpage.cs in ForumPage_Load() function the lines
Code:
try
{
    string key = string.Format("BannedIP.{0}",PageBoardID);
    DataTable banip = (DataTable)HttpContext.Current.Cache[key];
    if(banip == null)
    {
        banip = DB.bannedip_list(PageBoardID,null);
        HttpContext.Current.Cache[key] = banip;
    }
    foreach(DataRow row in banip.Rows)
        if(Utils.IsBanned((string)row["Mask"], HttpContext.Current.Request.ServerVariables["REMOTE_ADDR"]))
                        HttpContext.Current.Response.End();
}
catch(Exception)
{
    // If the above fails chances are that this is a new install
    Response.Redirect(Data.ForumRoot + "install/");
}

and I can get the portal pages, not the install pages.

In 1.9.2 I think it is the same thing, but I did not test it.
herensuge
#12 Posted : Saturday, March 25, 2006 12:43:27 PM

Rank: YAF Commander



Joined: 7/30/2005
Posts: 85
Location: Spain
I have problems with the 1.9.2 version in a shared host because the membersip ASP.NET 2.0 provider has hard-coded the user dbo to call the stored procedures and my hoster does not allow me to use the dbo but my own user.

I changed all the asp_ SP to use my own user but the membership provider allways use dbo.

Does mean this that the new YAF 2.0 will not work in shared host?
herensuge
#13 Posted : Saturday, March 25, 2006 12:52:13 PM

Rank: YAF Commander



Joined: 7/30/2005
Posts: 85
Location: Spain
Can you, please, put a URL to download the YAF release 1.9.1 again.
bhenden
#14 Posted : Saturday, March 25, 2006 2:25:08 PM

Rank: YAF Head Dude




Joined: 3/18/2003
Posts: 426
Location: Kristiansund, Norway
herensuge wrote:
Can you, please, put a URL to download the YAF release 1.9.1 again.


The 1.9.1 release is "obsolete", and 1.9.2 was not based on 1.9.1. If you really really want it, send me a pm with your email address and I'll mail it to you.

herensuge
#15 Posted : Wednesday, March 29, 2006 5:52:05 PM

Rank: YAF Commander



Joined: 7/30/2005
Posts: 85
Location: Spain
bhenden wrote:

The 1.9.1 release is "obsolete", and 1.9.2 was not based on 1.9.1. If you really really want it, send me a pm with your email address and I'll mail it to you.


Thank you, Bhenden, very much!

I got the 1.9.1. release.
Users browsing this topic
Guest (3)
6 Pages 123>»
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.

YAFPro Theme Created by Jaben Cargman (Tiny Gecko)
Powered by YAF 1.9.3 RC1 | YAF © 2003-2008, Yet Another Forum.NET
This page was generated in 0.152 seconds.

SourceForge.net Logo Powered by ASP.NET v2.0 411ASP.NET