Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 1st, 2007, 04:52 AM
Registered User
Join Date: Dec 2006
Location: Gent, Oost-Vlaanderen, Belgium.
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default membership provider

i got troubles with the memberhip provider
first i want to place my database in a folder other then App_data
it is located at


at this place nobody is ever be able to download the database it is a map under the root

so i create a default provider like this

    <add name="sqlserver" connectionString="Data Source=.\SQLExpress;Integrated Security=true;AttachDBFileName=d:\accounts\teamver suzbe\data\ASPNETDB.mdf;User Instance=true" />

     <membership defaultProvider="AspNetSqlMembershipProvider">

now when i do this
Dim status As MembershipCreateStatus
Dim _user as MembershipUser = Membership.CreateUser("waltz", "dq0369999", "davyquyo@pandora.be", String.Empty, String.Empty, False, status)

nothing happens and there is no data stored and i don't have an error

when i add this

i got the error
object reference is not set as an instance of an object

can someone tell me what i do wrong
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom Membership Provider Scott663 BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 4 August 1st, 2008 05:16 PM
Custom Membership Provider kulkarnimonica ASP.NET 2.0 Professional 0 June 21st, 2007 03:56 PM
Membership Provider error jamara ASP.NET 2.0 Basics 1 March 12th, 2007 02:01 PM
Help with membership Provider... slim182 ASP.NET 2.0 Basics 1 February 19th, 2007 10:15 AM
Membership Provider bmains ASP.NET 2.0 Basics 4 April 13th, 2006 04:10 PM

All times are GMT -4. The time now is 05:13 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.