YAFLogo

rolifantje
  • rolifantje
  • 52.4% (Neutral)
  • YAF Forumling Topic Starter
13 years ago
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
13 years ago

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
  • rolifantje
  • 52.4% (Neutral)
  • YAF Forumling Topic Starter
13 years ago
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.yetanotherforum.net/Integration%20with%20existing%20Application%20 (Revisited).ashx

rolifantje
  • rolifantje
  • 52.4% (Neutral)
  • YAF Forumling Topic Starter
13 years ago
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
  • mddubs
  • 100% (Exalted)
  • YAF Developer
13 years ago
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
  • rolifantje
  • 52.4% (Neutral)
  • YAF Forumling Topic Starter
13 years ago
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: