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.