Code Not Working RRS feed

  • Question

  •  protected void Page_Load(object sender, EventArgs e)
            //ServicePointManager.SecurityProtocol = (SecurityProtocolType)3072;
            ClientCredentials Credentials = new ClientCredentials();
            Credentials.UserName.UserName = "";
            Credentials.UserName.Password = "zzz";
            Uri OrganizationUri = new Uri("");
            Uri HomeRealmUri = null;
            ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12;
            OrganizationServiceProxy serviceProxy = new OrganizationServiceProxy(OrganizationUri,
            IOrganizationService service = (IOrganizationService)serviceProxy;
    The working code in console application is not working in My project.
    Thursday, February 7, 2019 5:29 AM

All replies

  • Hi Abhilash,

    Seems like you have posted in a wrong thread. It is for Project Server, Project Online & MS Project. Please move it to the respective thread so that someone will help you.

    Thursday, February 7, 2019 12:20 PM