473,651 Members | 2,485 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem using Create User Wizard control

Hi

I am using the Create User Wizard and am getting the 'Password length
minimum: 7. Non-alphanumeric characters required: 1.' error when trying to
create a new user. What am I doing wrong?

Also is there a way to not use security question and answer in the wizard?

Thanks

Regards
Dec 10 '05 #1
3 1515
You need to configure the Membership provider in your web.config file.

The properties you care about are:
requiresQuestio nAndAnswer
minRequiredPass wordLength
minRequiredNona lphanumericChar acters

Example:
<membership defaultProvider ="YourSqlProvid er">
<providers>
<add
name="YourSqlPr ovider"
type="System.We b.Security.SqlM embershipProvid er"
connectionStrin gName="SqlServi ces"
requiresQuestio nAndAnswer="fal se"
minRequiredPass wordLength="6"
minRequiredNona lphanumericChar acters="0"
/>
</providers>
</membership>
Joshua Flanagan
http://flimflan.com/blog
Dec 10 '05 #2
Thanks. What would be the sql provider string for a typical sql server
2005/visual studio 2005 install on c: drive

Regards

"Joshua Flanagan" <jo**@msnews.co m> wrote in message
news:eo******** ******@TK2MSFTN GP11.phx.gbl...
You need to configure the Membership provider in your web.config file.

The properties you care about are:
requiresQuestio nAndAnswer
minRequiredPass wordLength
minRequiredNona lphanumericChar acters

Example:
<membership defaultProvider ="YourSqlProvid er">
<providers>
<add
name="YourSqlPr ovider"
type="System.We b.Security.SqlM embershipProvid er"
connectionStrin gName="SqlServi ces"
requiresQuestio nAndAnswer="fal se"
minRequiredPass wordLength="6"
minRequiredNona lphanumericChar acters="0"
/>
</providers>
</membership>
Joshua Flanagan
http://flimflan.com/blog

Dec 10 '05 #3
I'm not sure what you mean by "sql provider string".

The string used in the defaultProvider attribute of the membership
element, and the "name" attribute of the add element, can be anything.
Just make it up - it doesn't have any meaning, it is just a way to
reference your configured provider.

If you are asking for an example of the entire configuration section,
try looking in your machine.config for the default configured provider.
On a default install, where c:\windows is your windows folder, the file
is at:
C:\WINDOWS\Micr osoft.NET\Frame work\v2.0.50727 \CONFIG\machine .config

If you open that file and search for "AspNetSqlMembe rshipProvider", you
will find the default configured membership provider.

It uses the "LocalSqlServer " connection string, which is also defined in
machine.config. Search for it, and you should find it within a
connectionStrin gs element. That will give you the connection information
for the SQL Server installed with VS2005.

Hope that helps.

Joshua Flanagan
http://flimflan.com/blog
Dec 11 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
9284
by: Chris Bolus | last post by:
I'm a teacher using MS Access on an RMConnect 2.4 network. On some workstations both I and my students sometimes get an error message when attempting to insert a command button on a form which reads "Invalid use of null". The remainder of the options in the Command Button Wizard are then unavailable and the button wil not work. The only solution is to log on to a different workstation. Any ideas?
13
3931
by: Lee Newson | last post by:
Hi, I have just written my first application using VB.NET. The app works fine when i am running it within .NET for debugging purposes, however when i try to run the app from the .exe file that .NET creates i get the following error message: "An unhandled exception of type 'System.IO.FileNotFoundException' occurred in VisioTimeline.exe
2
3550
by: John | last post by:
Hi I was working fine with create user wizard and the default membership provider. I have now customised the membership provider as per attached web.config. The create user wizard picks up the custom membership provider fine and removes the security question/answer fields as designated in the custom provider. The problem is that when I try to create a new user in the create user wizard by entering the info and pressing the 'create...
7
4340
by: Lorenzino | last post by:
Hi, I have a problem with bindings in a formview. I have a formview; in the insert template i've created a wizard control and inside it i have an HTML table with some textboxes bound to the sqldatasource of the formview. If i put this textboxes outside the table everything works well, but as soon as i put them inside the table (in order to organize the layout in the right way) they doesn't work. They works only as eval() and not bind()...
0
8349
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8275
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8795
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8695
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8460
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6157
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5609
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4143
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
1585
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.