Welcome Guest Search | Active Topics | Log In | Register

ASPNETDB - User Management Integration Options · View
yafisgreat
#1 Posted : Wednesday, August 06, 2008 3:56:19 PM

Rank: YAF Forumling


Joined: 8/6/2008
Posts: 3
Location: Atl
Good morning,

After several hours of searching and more trial and error than i care to admit; I need some additional guidance.

We are trying to use an existing ASPNETDB.mdf [in this case for the club site starter kit. I've been through billyboy's 1.9.3 integration guide and haven't had any luck with adding our ASPNETDB.mdf to the membership provider.

We have tried copying the ASPNETDB file from our existing site and placing it into an App_Data folder. We have been able to run the site after making those changes but we aren't able to login.

Has anyone been able to integrate an ASPNETDB membership db? Would you please share your sucess story with the Padawan learners?

We would like to have a single membership database so we don't have to require our users to login to the club site and then have separate login credentials for the forum.

Here is our web.config. Have we missed something?

Code:
   <roleManager enabled="true" defaultProvider="YafRoleProvider">
      <providers>
        <clear/>
        <add connectionStringName="ASPNETDB" applicationName=""
        name="YafRoleProvider" type="System.Web.Security.SqlRoleProvider"/>
      </providers>
    </roleManager>
    <membership defaultProvider="YafMembershipProvider" hashAlgorithmType="SHA1">
      <providers>
        <clear/>
        <add connectionStringName="ASPNETDB" applicationName=""
        name="YafMembershipProvider" requiresUniqueEmail="true"
        type="System.Web.Security.SqlMembershipProvider"/>
      </providers>
    </membership>


And the db.config connection string.
Code:
  <add name="ASPNETDB" connectionString="Data Source=.\SQLExpress;Integrated Security=true;AttachDBFileName=|DataDirectory|ASPNETDB.mdf;User Instance=True" providerName="System.Data.SqlClient"/>


Any guidance you can provide will be fantastic. What are we missing? Does it matter that our existing web app is in VB? We are trying to avoid using this alternative.

THANK YOU!
Pisteuon
#2 Posted : Wednesday, August 06, 2008 4:12:22 PM

Rank: YAF Forumling


Joined: 8/6/2008
Posts: 1
Location: Croatia
I dont think it will actually work with the built in membership system, I tried every suggestion I found in these forums, alot of which seem to suggest the opposite of each other.Evil or Very Mad I have just implemented the other forum you mentioned, and it was quite easy.Razz
yafisgreat
#3 Posted : Wednesday, August 06, 2008 9:39:09 PM

Rank: YAF Forumling


Joined: 8/6/2008
Posts: 3
Location: Atl
Pisteuon. Thank you for your quick reply. I'm sorry that you did not have any luck. I'm not quite willing to give up yet though. Has anybody been able to setup this up properly?
Jaben
#4 Posted : Wednesday, August 06, 2008 11:23:20 PM

Rank: YAF Head Dude



Joined: 10/10/2004
Posts: 2,963
Location: Honolulu, HI
yafisgreat... How is it failing? What is not working?
"When you are grateful, fear disappears and abundance appears”."

wesclyburn
#5 Posted : Thursday, August 07, 2008 12:08:13 PM
Rank: Advanced Member


Joined: 9/25/2004
Posts: 40
yafisgreat
#6 Posted : Thursday, August 07, 2008 2:22:36 PM

Rank: YAF Forumling


Joined: 8/6/2008
Posts: 3
Location: Atl
Jaben,

Well the errors shown are haven't been all that helpful. Using the production web.config we get an error that says a serious error has occurred. Then while using the developer.config the program hangs... no page, no errors.

Are there additional steps other than changing the web.config file to look at the new aspnetdb membership db? Do we need edit the aspnetdb in anyway (add new fields)? Has anybody had any luck with this and would like to share their web.config?

Thank you in advance for any additional guidance!
Jaben
#7 Posted : Thursday, August 07, 2008 10:59:25 PM

Rank: YAF Head Dude



Joined: 10/10/2004
Posts: 2,963
Location: Honolulu, HI
We see your role and membership -- What does your profile configuration look like?
"When you are grateful, fear disappears and abundance appears”."

wesclyburn
#8 Posted : Friday, August 08, 2008 4:22:42 AM
Rank: Advanced Member


Joined: 9/25/2004
Posts: 40
I tested an integration with this kit using the same config posted in the other integration thread, and it works for me.
Users browsing this topic
Guest
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 RC2 | YAF © 2003-2008, Yet Another Forum.NET
This page was generated in 0.088 seconds.

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