Last post May 25, 2017 05:41 AM by Chris Zhao
May 24, 2017 02:43 AM|tan_stanley|LINK
Hi, I am currently retrieving data from my company's SharePoint site and display it on my ASP Project.
I am using ClaimClientContext.GetAuthenticatedContext to do the authentication, and it works fine on my local workstation.
When I published the site, and copy the file over to my Windows Server 2008 it does not work.
The error shown is: Requested site does not appear to have claims enabled or the Login URL has not been set.
Can anybody advise me? Must I do some setting on the server? Do let me know if more information is needed.
May 25, 2017 05:41 AM|Chris Zhao|LINK
Check configuration requirements see if the site configuration has been set.
In the Edit Authentication dialog box, in the Claims Authentication Types section, verify the settings for claims authentication.
For Windows claims authentication, verify that Enable Windows Authentication and Integrated Windows authentication are selected, and that either NTLM or Negotiate (Kerberos) is selected as needed. Select Basic authentication if it is needed.
For forms-based authentication, verify that Enable Forms Based Authentication (FBA) is selected. Verify the values in ASP.NET Membership provider name and ASP.NET Role manager name.
For SAML-based claims authentication, verify that Trusted identity provider and the correct trusted provider name are selected.
In the Sign In Page URL section, verify the option for the sign-in page. For a default sign-in page, Default Sign In Page should be selected. For a custom sign-in-page, verify the specified URL of the custom sign-in page. To verify it, copy the URL,
and then attempt to access it using a web browser.