D
Dan
H,
i want to use for one specific application the default membership provider
as defined by default in machine.config, except one element: i want to use
requiresUniqueEmail="false" instead of the default configuration in
machine.config (which is set on "true").
So i did this in the web.config of the application:
<membership defaultProvider="MyMembershipProvider">
<providers>
requiresUniqueEmail="true"
/>
</providers>
</membership>
but this generates the error: "The configuration section cannot contain a
CDATA or text element."
if i put
<add name=" ..."
i also have to put: "Type"
and also the connectionstring
and then i have to add the section
<connectionStrings>
Do i have to copy the entire membership section of the machine.config into
web.config + section <connectionStrings>
and change the element "requiresUniqueEmail", or it can shorter?
Thanks
Dan
i want to use for one specific application the default membership provider
as defined by default in machine.config, except one element: i want to use
requiresUniqueEmail="false" instead of the default configuration in
machine.config (which is set on "true").
So i did this in the web.config of the application:
<membership defaultProvider="MyMembershipProvider">
<providers>
requiresUniqueEmail="true"
/>
</providers>
</membership>
but this generates the error: "The configuration section cannot contain a
CDATA or text element."
if i put
<add name=" ..."
i also have to put: "Type"
and also the connectionstring
and then i have to add the section
<connectionStrings>
Do i have to copy the entire membership section of the machine.config into
web.config + section <connectionStrings>
and change the element "requiresUniqueEmail", or it can shorter?
Thanks
Dan