CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.security Tags:
Item Type: NewsGroup Date Entered: 9/13/2006 9:41:38 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 2 Views: 44 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
3 Items, 1 Pages 1 |< << Go >> >|
Tyke
Asp.Net User
Parser Error: requiresQuestionandAnswer9/13/2006 9:41:38 PM

0/0

Another example of something that parses fine in VS 2005 but fails on the production server!

 My hosting service throws an error when reading in my Config.web file - it will not recognise the attribute "requiresQuestionandAnswer" in the membership providers section (I'm trying to turn it off).

 The last time  had a similar error, "minRequiredNonAlphanumeric Characters" (as in the examples in the help files) was only recognised when I changed it to "minRequiredNonalphanumericCharacters". This might be similar.

 Error is:

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Attribute not recognized 'requiresQuestionandAnswer'

Source Error:

Line 42:         <remove name="AspNetSqlMembershipProvider"/>
Line 43:         <add name="myMembershipProvider"
Line 44:              type="System.Web.Security.SqlMembershipProvider"
Line 45:              connectionStringName="LocalSqlServer"
Line 46:              minRequiredPasswordLength="6"

Source File: D:\<path>web.config    Line: 44


Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42

 Any ideas out there?

 Ta.

lostlander
Asp.Net User
Re: Parser Error: requiresQuestionandAnswer9/14/2006 2:38:21 AM

0/0

Change it to "requiresQuestionAndAnswer" with the char 'A' uppercase.

Since web.config is an xml file, it's case sensitive.

See here for a complete reference:
http://msdn2.microsoft.com/en-us/library/whae3t94.aspx

Regards!
Lostlander.

Tyke
Asp.Net User
Re: Parser Error: requiresQuestionandAnswer9/14/2006 6:07:21 AM

0/0

Thanks.

That works.

3 Items, 1 Pages 1 |< << Go >> >|


Free Download:


Web:
Parser Error: requiresQuestionandAnswer - ASP.NET Forums Parser Error: requiresQuestionandAnswer. Last post 09-14-2006 2:07 AM by Tyke. 2 replies. Sort Posts:. Oldest to newest, Newest to oldest ...
Parser Error Message:Default Role Provider can't be found. - ASP ... Parser Error Message: Default Role Provider could not be found. Source Error: ... requiresQuestionAndanswer="true" passwordFormat="Hashed" ...
Parser Error - Installation problems - BugNET Parser Error Description: An error occurred during the parsing of a resource ... requiresQuestionAndAnswer="false" applicationName="BugNET" ...
Resetting Password with ASP.NET 2.0 Membership and Multiple ... Feb 15, 2007 ... I then set the RequiresQuestionAndAnswer to false as you mentioned and I ... Parser Error Message: Could not load type ‘SqlProviderOneShot. ...
Web.config not recognized in root directory Parser Error Message: The connection name 'LocalSqlServer' was not ... requiresQuestionAndAnswer="true" applicationName="/" ...
p2p.wrox.com Forums - Issue with custom membership provider Parser Error Message: The entry 'CustomizedProvider' has already been added. .... public override bool RequiresQuestionAndAnswer ...
The connection name 'name' was not found in the applications ... Jan 18, 2008 ... requiresQuestionAndAnswer="false". requiresUniqueEmail="false"/>. ... Parser Error Message: The connection name 'Data ...
Web.config authentication between applications (subdomains) and ... Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: is not a valid Win32 application. ...
Web.config not recognized in root directory Parser Error Message: The connection name 'LocalSqlServer' was not ... requiresQuestionAndAnswer="false" applicationName="/" ...
MySQL Bugs: #34451: mySQL Connector/NET breaks Membership Provider ... Parser Error Message: Error during provider initialization. ... enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="true" ...




Search This Site:










opinion requested on new site mebership idea / concept

needed .net reporting tool

manage member (asp.net 2.0)

send email problem with system.net.mail.smtppermission

how to convert existing pages to work with master page?

allow shared webpart edit for webpart creator

what's the deal with shtml files....

root master page and re-use root master page in child project

uploading a working dnn site (on localhost) to a provider

authenticate against acitive directory...help

assigning a role programmatically

how to display root menu items in 2 rows using asp.net menu control?

fckeditor

can a module be made 'compulsory'?

add a 'edit' column programatically

2d array bound to datalist

global declaration of variables

logging configuration and formatters

customer details - credit card info - secure connnection

dnn 2.0 - users online - missing online now

forum gallery integration

i want application 'a' to run within another sites html page

controlling the print window css

migration assistant from asp to asp.net 3.5 using vs.net 2008

copying a treeview probem

dnn form creator 1.5

how to create a control in behind-code?

selected | alternate row deon't work: fix

is the logging application block usable?

how to dynamic disable and enable a html element

 
All Times Are GMT