Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
| 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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old April 8th, 2007, 05:10 PM
Friend of Wrox
 
Join Date: Apr 2006
Location: , , .
Posts: 160
Thanks: 0
Thanked 0 Times in 0 Posts
Default problem with creating membership user

Hi,

i'm building an web application for anonymous users. They can take a look in the website, nothing more. In order to perform other actions, the anonymous user must be logged. So i create an aspx page (mylogin.aspx) with the CreateUserWizard control. The user can fill his username, password etc ....
I also created a MDF file "aspnetdb.mdf" with aspnet_regsql.exe and i copied it from where it was created (in sql server directory) into dir App_Data of my application.

I did this in web.config:

<connectionStrings> <add name="aspnetdb" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirector y|\aspnetdb.mdf;Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient"/> </connectionStrings>

<membership userIsOnlineTimeWindow="20" ></membership>

 <authentication mode="Forms"><forms loginUrl="mylogin.aspx" protection="All"></forms></authentication>

I granted R/W to account ASPNET for dir App_Data.


My problem is: when an user fills everything and clicks on button "create an
account", nothing happens (no error, but no user account created).


Thanks for help

Hertendreef

  #2 (permalink)  
Old April 9th, 2007, 02:37 PM
Friend of Wrox
 
Join Date: Apr 2006
Location: , , .
Posts: 160
Thanks: 0
Thanked 0 Times in 0 Posts
Default

found!

the IIS setting were wrong
Thanks



Similar Threads
Thread Thread Starter Forum Replies Last Post
Membership / User question rsearing ASP.NET 3.5 Professionals 29 February 21st, 2009 12:45 PM
Ch.14 Creating Windows Form User Controls problem SAIFI BOOK: Beginning Microsoft Visual Basic 2008 ISBN: 978-0-470-19134-7 1 September 29th, 2008 05:51 AM
Membership User kulkarnimonica ASP.NET 2.0 Professional 2 July 12th, 2007 04:55 PM
WebShop : problem of creating new user JoinTTT BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 2 April 6th, 2007 06:22 PM
Problem creating user-level security JackNimble Access 2 October 11th, 2004 11:20 AM





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