ChangeXML Utility Forms Login RRS feed

  • Question

  • Hi,

    I downloaded the ChangeXML Utility and I want to login via the tool an the Project Server. I only have forms authentication enabled on the Server but I can't choose forms in the tool, only windows. How can I solve this? I'am using SharePoint 2010 and Project Server 2010.

    Thanks in advance.

    Saturday, April 28, 2012 10:32 AM

All replies

  • I am not sure about what is ChangeXML utility, but if you follow this article you will be able configure and use forms based authentication

    Hrishi Deshpande – DeltaBahn Senior Consultant
    Blog | < | LinkedIn

    Monday, April 30, 2012 12:39 AM
  • You may be better off on the Developer forum.  At a guess, I'd think you
    could recreate your environment with AD login - then use ChangeXML to generate
    your code over there.

    Andrew Lavinsky [MVP] Blog: Twitter: @alavinsky
    Monday, April 30, 2012 2:44 AM
  • Hi there--

    You might have run the code from Visual studio or exe. The code doesn't have the radio button enabled so it's always disabled. What you can do, is:
    1. Open the source code in VS2010
    2. Open frmLogin.cs[design] file.
    3. select the raduseForms radio button.
    4. F4 & see the propertiesm update the Enabled True in behaviour section in properties.
    5. Run the code by F5 & you should be able to see the "use project Server Forms logon "

    Hope that helps.

    Thanks, Amit Khare |EPM Consultant| Blog:

    Monday, April 30, 2012 8:48 AM
  • Hi,

    Thank you for you response. I'm able to select the Button but I'm getting an internal error response.

    Do you know how to solve that?

    Thanks in advance

    Tuesday, May 8, 2012 12:54 PM
  • The ChangeXML utility is supplied as a sample so you may need to review the code and change the login method to support forms authentication.  Also the sample is not intended for production use as per the comment on the SDK page "The ChangeXML utility is designed to be used only on a test installation of Project Server. Do not use the ChangeXML utility on a production server. The ChangeXML utility can easily delete or change data in the Draft and Published databases.".

    If you are using the updated 2010 version, then in the blog posting about that version it is noted "Note: The logon routines for Forms authentication are not updated in this sample." - so you would need to do this yourself, using some of the other samples that do support forms authentication.

    Best regards,


    Blog | Facebook | Twitter | Posting is provided "AS IS" with no warranties, and confers no rights.
    Project Server TechCenter | Project Developer Center | Project Server Help | Project Product Page

    Wednesday, May 9, 2012 5:38 PM