rolifantje
2009-01-19T06:35:32Z
Hello, I am trying to integrate the forum with an existing website which already uses ASP.NET membership/roles/profiles.

Problem is that the SQL server tables for that webiste are already created, and have names like Aspnet_Membership.

When I create the forum, the created tables get names like yav_prov_Membership. So the two are not integrated.

Is there anyway to make the forum application use the existing table names?
Sponsor
test2005
2009-01-19T13:21:16Z

The developers have written a very good instructional WIKI which covers exactly what you need. Do a search from YAF Intergration, you'll fins the reference. Or just go to www.yatanotherforum.net and click the documentation button.

HTH

:)

.....the man in black fled across the desert..........and the gunslinger followed.....
rolifantje
2009-01-20T00:48:47Z
test2005 wrote:


The developers have written a very good instructional WIKI which covers exactly what you need. Do a search from YAF Intergration, you'll fins the reference. Or just go to www.yatanotherforum.net and click the documentation button.

HTH

:)




hey that is exactly what i'm looking for! Cheers!!!!

http://wiki.yetanotherfo...xisting%20Application%20 (Revisited).ashx
rolifantje
2009-01-20T02:04:42Z
Actually I still don't know how to do it.

When I install the forum, it creates all these stored procedures which are pointing to tables like 'yaf_prov_Membership'. It will only work if I can replace those references with my own table names ('aspnet_Membership').
mddubs
2009-01-20T04:49:59Z
Don't worry about the database tables YAF creates. If you want to utilize your existing .NET membership tables, just make sure your membership, role and profile providers in your web.config point to the database that has your aspnet_xxx tables.

Doing things this way even allows you to install YAF to a completely separate database, which I like to do.
UserPostedImage 
www.bunkerhollow.com  | www.careercomputing.com 
When I post fp:mddubs 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 Mek 🙂, who stole this off Ederon 🙂 )
rolifantje
2009-01-20T05:06:06Z
mddubs wrote:

Don't worry about the database tables YAF creates. If you want to utilize your existing .NET membership tables, just make sure your membership, role and profile providers in your web.config point to the database that has your aspnet_xxx tables.

Doing things this way even allows you to install YAF to a completely separate database, which I like to do.



OK I will try this
Need to install a test DB first, though :cheesy:

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