Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4548186
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T16:11:23+00:00 2026-05-21T16:11:23+00:00

I have a web.config file, I need to add the SqlMembershipProvider to it for

  • 0

I have a web.config file, I need to add the SqlMembershipProvider to it for FBA, and I wanted to do it using the WebAdministration module for IIS through PowerShell.

I used the Add-WebConfiguration cmdlet and can add the provider correctly but it only takes the name and type properties and drops the rest. I had connectionStringName, enablePasswordReset, passwordFormat, and others in a hash table that I was passing to the cmdlet but it only took those two out of the hash table and ignored the rest. The same thing happened for my RoleManager provider.

I then tried Add-WebConfigurationProperty to add applicationName to it and got this message:

“Property applicationName is not found
on add.”

When I opened the web.config file in Visual Studio 2010 I found that the schema file defining configuration files shows only two properties on membership/add: name and type.

Where are all the others?

It seems that the WebAdministration module is validating the properties added using Add-WebConfigurationProperty against the schema file to see if it’s a valid property.

The problem is that they are valid properties but aren’t defined in the schema, so how do I override this behavior and “make” the module add my property that I know is valid??

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T16:11:24+00:00Added an answer on May 21, 2026 at 4:11 pm

    I was not able to figure out why the Web Administration module doesn’t accept any other parameters. I resorted to using XDocument to manually manipulate the XML file. Oh well, maybe they’ll fix it some day…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a key in the web.config file like: <add key=MailFrom value=my@email.com/> I need
I have a Web application (with a Web.config file), which will move through the
I have this variable defined in my web.config file : <appSettings> <add key =version
I have an HttpHandler configured in my web.config file like so: <add verb=GET,HEAD,POST path=TinyMCE.ashx
I have registered a custom MembershipProvider class in my Web.Config file. I'm using Inversion
We have an ASP.NET application using WIF. Our web.config file has a section like
In my Web.config file have the following setup: <add key=ClientMail value=ridermansb@bindsolution.com/> In my file
I need to add many entries to my web.config file for many websites. I
I have a web application that is deployed with web.config file. Are there any
I have configured my Web.Config file as follow in a ASP.NET MVC 2 project:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.