Membership intellisense not working in VS2005

Last post 07-08-2008 8:07 AM by ayespee. 4 replies.

Sort Posts:

  • Membership intellisense not working in VS2005

    07-02-2008, 5:01 AM
    • Loading...
    • ayespee
    • Joined on 06-26-2008, 5:27 AM
    • Posts 22

    When I try to get the intellisense for membership provider,I can only get upto the following in VS2005

    <membership defaultProvider="SqlMembershipProvider" >
        <providers>
          <add name="SqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" />
      </provider>
    </membeship>

    i.e. I am only able to get the name and type attributes only.Nothing like requiresQuestionAndAnswer, requiresUniqueEmai,passwordFormat, maxInvalidPasswordAttempts,minRequiredPasswordLength,minRequiredNonalphanumericCharacters,etc

    Everything was working fine 1 day back.

     

     

     

     

                
     

  • Re: Membership intellisense not working in VS2005

    07-02-2008, 5:31 AM
    • Loading...
    • Ahmish
    • Joined on 04-02-2007, 8:10 PM
    • Pakistan
    • Posts 105

     You will need to contact Microsoft Support:

    http://support.microsoft.com/contactus/?ws=support

    and request the hotfix

    "Hope its your Solution so Mark it as Answer"

    Ahmad Sheikh
    Software Development Engineer
    Accountancy Outsourcing Services
    http://itfact.blogspot.com
  • Re: Membership intellisense not working in VS2005

    07-02-2008, 11:03 AM
    • Loading...
    • ayespee
    • Joined on 06-26-2008, 5:27 AM
    • Posts 22

    There is no place where I can contact the support.I can only search for an answer to this problem if this problem existed.I have done what was proposed in a similar lookalike problem mentioned here http://support.microsoft.com/kb/911718/en-us.Moreover I have done already what was said by Scott Gu's blog's.

     

    Any help?

    I just create a new website.I go directly to web.config.I try to add membership.Well,I don't get any intellisense. Does it makes sense?

     

     


  • Re: Membership intellisense not working in VS2005

    07-07-2008, 4:57 AM
    Answer

    Hi,

    The IntelliSense of web.config in Visual Studio 2005 depends on the DotNetConfig.xsd from "C:\Program Files\Microsoft Visual Studio 8\Xml\Schemas\". You can modify this XSD file to add or remove the IntelliSense on web.config.

    In your case, you can add the attribute (such as "requiresQuestionAndAnswer") to Membership's add section. For example:

     <xs:attribute name ="requiresQuestionAndAnswer" type="xs:boolean" use="optional"  ></xs:attribute>

    You also can write these attributes in web.config file directly without using intelliSense.

    For more information about add Elements, see http://msdn.microsoft.com/en-us/library/whae3t94.aspx

     

    I hope this helps. 

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
  • Re: Membership intellisense not working in VS2005

    07-08-2008, 8:07 AM
    • Loading...
    • ayespee
    • Joined on 06-26-2008, 5:27 AM
    • Posts 22
    Although it was fixed somewhat I don't have any idea what was present in the original xsd.More importantly, how did this get screwed up<sup>*</sup>....
    Nice.Thanks anyway.
      _
      )  )__
    (   ____)
    (   _____)
    (   _____)    
    (_____)

    <sup>*</sup><i>Microsoft should start coding without bugs rather than releasing new products every month and later releasing service patches</i>
Page 1 of 1 (5 items)
Microsoft Communities
Page view counter