Application Pages asking credentials in SharePoint 2013

Hi All,
I am facing problem as Application Page is asking for the credential in SharePoint site where anonymous access enabled.
I have enabled the anonymous access while creating the web application and also given full access to the website for anonymous user but still it is asking for the Credential while accessing custom application page.
PD

If the issue is only with the custom application page, then try to change the base class of the application page from LayoutsPageBase to UnsecuredLayoutsPageBase and override the AllowAnonymousAccess property.
protected override bool AllowAnonymousAccess { get { return true; } } 
Refer to the following post for more information
http://khalifa-sharepoint.blogspot.com/2013/09/allow-anonymous-access-to-custom.html
--Cheers

Similar Messages

  • Edit page not working in SharePoint 2013

    Hi All,
    I was trying to insert an Embed Code on a SharePoint 2013 Main Page and after that all my web parts disappear and when I try to edit the page nothing happens, I click on Edit Button or try through the little gear and Edit page and nothing happens, but if
    I try a different site it works.. Any thoughts? or How can I remove the wrong code?
    Thank you,

    I have noticed this in new SP2013 EE deployments.
    I believe that this is a bug in the application that Microsoft needs to address.
    However, for now, there are some workarounds.
    1. I would attempt to remove the embedded code.  It is much easier than using Designer as suggested in other posts though.  You pasted the code into the web part, so you really have two options...
    1) edit the web part by going to "Page" and "Check Out", now the Edit will work again.  Odd, like I said, I see this as a bug.
    2) You can go to "Page", select "Edit Properties" and then scroll ALL the way down to the bottom, and select "Open Web Part Page in maintenance view".  Then select and delete the malicious web part. 
    Remember "Check Out" is the key.  If the page is working properly, clicking "Edit" will automatically "Check Out" the page.  I believe this is an error in the JavaScript on the page (i.e. Microsoft bug that needs fixing).

  • Can't change the master page after upgrading to SharePoint 2013.

    After upgrading our farm to SharePoint 2013 we are having trouble changing the master page for sites that don't have sub-sites. We are still using the v4 UI version, and that appears to be what is causing the problem. The error we get when going to /_layouts/ChangeSiteMasterPage.aspx
    is:
    System.NullReferenceException: Object reference not set to an instance of an object.    at Microsoft.SharePoint.Publishing.Internal.CodeBehind.AreaChromeSettingsPage.OnLoad(EventArgs e)     at System.Web.UI.Control.LoadRecursive()    
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    I took a peek at the source code for AreaChromeSettingsPage.OnLoad and found that it references a CheckBox control that does not exist in the v4 ChangeSiteMasterPage.aspx:
    protected override void OnLoad(EventArgs e)
    base.OnLoad(e);
    this.EnsureChildControls();
    if (!this.Page.IsPostBack)
    this.LoadValues();
    if (base.Web.Webs.Count == 0)
    this.resetSystemMasterPageSubSitesCheckBox.Visible = false;
    this.resetSubSitesCheckBox.Visible = false;
    this.resetAlternateCssSubSitesCheckBox.Visible = false;
    this.resetThemeSubSitesCheckBox.Visible = false;
    base.ConfigureCancelButton(this.BtnCancel);
    If I manually add a checkbox control with the ID "resetThemeSubSitesCheckBox" to a hidden panel in the v4 copy of ChangeSiteMasterPage.aspx the page works, but obviously this is not a best practice. How can we fix this without upgrading the UI version, which
    we are not yet ready to do?

    Thanks Mike - Could you please share what is your next step then? I also have custom master pages and layout but I am going to make new master page and layout in 2013 as we need to change the existing branding too. so, i upgrade the site collection. I understand
    the Look and Feel will not persist after the upgrade but I am concern that at least the page should show the content on the page after the upgrade. The page had Calendar webppart on it but after the upgrade it is coming blank.
    any suggestion?
    Regards,
    Khushi
    Khushi

  • Page Title Option in SharePoint 2013 Wiki Page.

    In SharePoint 2013, How can I add title to the page that is created under Site Pages library, out of the box I don’t see any option to add title under “Edit Properties section” , please find the attached screenshot.
    I am trying to navigate to the
    /_catalogs/masterpage
    by opening site in SharePoint designer but I don’t find the test1.aspx page.
    Thanks, Ram Ch

    Hi Ram,
    Based on your description, my understanding is that you want to add Title to a wiki page from Site Pages library in SharePoint 2013.
    By default, when we edit a wiki page’s properties, the Title is not displaying. If you want to change the Title of a wiki page, you can modify the current view and add the Title into the view, then use “Quick Edit” to change the Title.
    If you want to add the Title property into a wiki page, you can do via SharePoint Designer 2013.
    The steps are:
    Open your site with SharePoint Designer 2013.
    Click “Site Pages” from the left panel, then click the page that you used and click “Edit file”.
    Find the content place holder with ID “PlaceHolderPageTitle”, then add the following code into the below of the content place holder.
    <asp:Content ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea" runat="server">
            <SharePoint:ListItemProperty Property="Title" runat="server"/>
    </asp:Content>
    The result looks like:
    Note: when you edit the page in SharePoint Deisgner 2013, make sure it is in Advanced Mode.
    Best Regards,
    Wendy
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Wendy Li
    TechNet Community Support

  • Kerberos authentication prompting for credentials in Sharepoint 2013

    Hello all,
    I think I’m a bit confused on what I should expect out of Kerberos and sharepoint.
    Following the steps located in
    http://blog.blksthl.com/2012/09/26/the-first-kerberos-guide-for-sharepoint-2013-technicians/ , I’ve setup Kerberos in my Sharepoint 2013 environment. My hope was that configuring kerberos authentication would solve the issue of users being prompted for
    credentials when they access sharepoint. I know that one way to address this problem is to tweak the IE settings by adding the site to the local intranet or trusted zones, but am I wrong in thinking that Kerberos should also authenticate the user on to the
    site? Here’s my situation:
    Previously, I had our sharepoint URL in the trusted zone and had IE set to pass my credentials through, and that worked. After configuring Kerberos, I can see the tickets on my system using klist and the security log on our web front-end shows that I authenticated
    using Kerberos.
    However, if I then remove the sharepoint URL from the trusted zone in IE, I still get prompted for credentials. If I cancel the credential prompt, I get a 401 error and the security log on the server shows a NTLM login attempt.
    As soon as I put the URL back in the trusted zone, I can access the site and the server log shows a Kerberos authentication.
    I’m I wrong in thinking that if Kerberos was working properly then I shouldn't need to have the URL in the trusted zone?
    Thanks
    Bill

    Thanks for the quick reply, Alex. At least it’s good to know it appears to be working as designed.
    Thanks again,
    Bill

  • Page Cannot be displayed - SharePoint 2013

    All
    This problem has been driving me crazy. I built out a Medium SharePoint 2013 farm (2 WFE, 4 Application servers, 2 servers for other services, SQL 2012 cluster). I provisioned 5 web apps - All 443 - and and a root site collection in each web app. However,
    I cannot browse ANY of the sites in the Web Apps. I can browse Central Admin, but that is it.
    I have disabled loopback, added back connection hostnames, tried browsing from the WFE, from the CA server, and from my desktop without success.
    I really need some help with this, anyone have a suggestion as to what is causing this problem?
    Thanks for your help
    Larry

    Three questions:
    Did you create at least 4 out of 5 of the Web Apps with Host Headers?  Each Web App has to be unique in one of three ways: Custom Port number, Custom IP address, or hostheader.  Since you are using port 443 for all of them and since custom IP
    addresses are a lot of extra work I assume you need to use host headers.
    Did you create entries in your Domain Name Server for the URLs of the Web Applications?
    Did you add SSL certs to the sites and are you using https:// to access them?
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • How to redirect from list edit form to another page using jquery in sharepoint 2013

    hi friends i have been trying to find a way to redirect from list edit form to another page using javascript and jquery
    i found lot of codes online but non of them are working for me.
    what i need is i have to save the data in the form and after that it has to redirect to another page. it has to get the url from hyperlink field of the item.
    please help me in this regards

    Not sure if you have gone through below links:
    http://spservices.codeplex.com/wikipage?title=%24().SPServices.SPRedirectWithID
    http://blogs.askcts.com/2013/02/18/using-spservices-and-jquery-to-perform-a-redirect-from-a-sharepoint-list-newform-to-editform/
    Please ensure that you mark a question as Answered once you receive a satisfactory response.

  • New Questions not displaying on a page Survey App Part SharePoint 2013

    I wanted to insert a survey app part on a page in my site so i followed steps mentioned in the below link
    http://sharepoint.stackexchange.com/questions/86903/showing-only-survey-questions-in-page
    it successfully created but now when insert another question into the survey list which i created above it does not show that question onto the page it only displaying 3 questions which i added when i was creating a survey list
    can anyone help me in showing new question as well.

    Hi ,
    Please re-insert the list new item form web part on that page as your above article mentioned steps, then check results again.
    Thanks
    Daniel Yang
    TechNet Community Support

  • Interface in Sharepoint 2013, backend in PHP

    I want to create an application which has the interface as a Sharepoint 2013 page (for example a number of input and select elements
    within a Script Editor), but for the operations with the data in the fields I want to use php with a mysql database.
    How can I do that?
    Thank you!

    Hi,
    Per my understanding, you might want to create a PHP application with the interface in SharePoint 2013 style.
    I suggest you create the custom component which has the similar functionalities as what SharePoint 2013 Script Editor Web Part provides using JavaScript or other client
    side technology.
    As this question is more relate to PHP, it would be more appropriate to ask for help in the corresponding forum, you will get more help and confirmed answers there.
    Thanks 
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • SP.UI.ApplicationPages.CalendarNotify.$4a property not recognized in SharePoint 2013

    Hello,
    SharePoint Team site 2010 Team site cloud application was recently upgraded to SharePoint 2013,  by SharePoint COE team in myu compant. platform.
    We have calendar properties accessed to  render calendar page which stopped functioning after this upgrade.   After reviewing the site, we noticed that we are receiving object is null or undefined error for below code . This code was working
    correctly . and data did show for sometime after upgrade and then stopped rendering.
    Please suggest guide way to handle this error so that we will be able to access CalendarNotify @4a and @4b related properties events in SharePoint 2013. Entire code writen is client side code.   We need to get team site up and running by 
    Monday morning, so immediate help is appreciated.
    SP.UI.ApplicationPages.CalendarNotify.$4a.
    Unable to get value of the property '$4a': object is null or undefined

    are you using calendar overlay feature, you might want to rebuild it
    check this code
    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
    <script type="text/javascript">
    // load our function to the delayed load list
    _spBodyOnLoadFunctionNames.push('calendarEventLinkIntercept');
    // hook into the existing SharePoint calendar load function.
    function calendarEventLinkIntercept()
    if (SP.UI.ApplicationPages.CalendarNotify.$4a)
    var OldCalendarNotify = SP.UI.ApplicationPages.CalendarNotify.$4a;
    SP.UI.ApplicationPages.CalendarNotify.$4a = function ()
    OldCalendarNotify();
    bindEventClickHandler();
    if (SP.UI.ApplicationPages.CalendarNotify.$4b)
    var OldCalendarNotify = SP.UI.ApplicationPages.CalendarNotify.$4b;
    SP.UI.ApplicationPages.CalendarNotify.$4b = function ()
    OldCalendarNotify();
    bindEventClickHandler();
    // future service pack change may go here!
    // if (SP.UI.ApplicationPages.CalendarNotify.???)
    function bindEventClickHandler() {
    $('.ms-acal-mdiv a, .ms-acal-ddiv a, .ms-acal-sdiv a').click(function(){EditLink2(this,'WPQ2');return false;});
    $('a.ms-cal-nav').attr("href", "javascript:bindEventClickHandler(); void(0);");
    </script>
    http://davidlozzi.com/2013/02/06/calendar-overlays-keeping-events-in-the-same-window/ 
    Mark ANSWER if this reply resolves your query, If helpful then VOTE HELPFUL
    INSQLSERVER.COM
    Mohammad Nizamuddin

  • PowerPivot excel chart in SharePoint 2013

    Hi,
    I would like to know to see the powerpivot chart in SharePoint using Excel Web Access wepart, do we need to install Powerpivot feature in SharePoint.
    In my Environment, we have excel service application is configured therefore we have one excel file which has powerpivot chart in it and later uploaded in SharePoint. We are now not able to see powerpivot chart but all information loks okay, on top of that
    I am getting below issues. Please note that library is already in trusted location in excel service application.Please help.
    srabon

    Hi  srabon,
    What do you mean that  “you are not able to see PowerPivot chart but all information looks okay “?
    On SharePoint 2013 there are 2 modes of opening the XLSX file.
    1. WOPI Model( need office web apps installed)
    2. XLSViewer Model
    As you have configured Excel  Service Application, you should be able to view PowerPivot chart.  So the crime should be the Excel Service Application.
    For your issue, please make sure the Excel Service Application has associated with your SharePoint Server. Then make sure
    add SSAS to Excel Service Application Trusted Data Provider in SharePoint 2013 .
    Also I recommend you Install Analysis Services Server in SharePoint Mode for SharePoint 2013.
    For more information, please refer to the article:
    http://technet.microsoft.com/en-us/library/jj219067.aspx
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Setting up Sharepoint 2013 for apps

    I may have screwed up the appropriate permissions for the service accounts/application pools necessary to get store apps to work. At this point I think I need to start over, but the rest of our Sharepoint install is working. Can I safely remove the App Management
    Service Application and Proxy plus the Subscription Settings Service Application and Proxy?
    Our Sharepoint 2013 installation is pretty basic - just the Sharepoint application server and a 2012 database server.

    Hi,
    Any Service Application can be deleted and recreated again. Just make sure that your farm is not depended of the service application while you delete it. One way is to remove the association and see if your Web application work correctly! Make also sure
    if you need to keep the service application database or not! If you choose to delete the related data, SQL databases will be deleted too.
    Note that Subscription Settings Service Application can't be created using the UI. You need Powershell, see below:
    New-SPSubscriptionSettingsServiceApplication -ApplicationPool "SharePoint Web Services Default" -Name "Subscription Settings Service Application" -DatabaseName "SubscriptionSettingsDB"
    | New-SPSubscriptionSettingsServiceApplicationProxy 
    Regards
    Henrik A. Halmstrand
    sharepointrevealed.com
    getspconfig.codeplex.com
    Please click Mark As Answer; if a post solves your problem or Vote As Helpful; if a post has been useful to you.

  • SharePoint 2013 - Asking for password with NTLM

    Hi All,
    We have deployed a web application using NTLM with single sign on. It’s a secure site and in IIS bindings we have SSL certificate attached with this web application. However, many users are keep getting windows authentication prompt as shown:
     There are lot of blog posts that solve the issue by adjust IE settings >> Security >>
    Sites >> Advanced >> and added the site URL and
    Security
    >>   Local Intranet >> Custom Level >> At bottom choose “Automatic logon with current username and password”
    http://blog.fpweb.net/sharepoint-credentials-prompt-quick-tip/#.VPBz3vmUdUW http://www.sharepointdiary.com/2012/04/sharepoint-keeps-asking-for-password.html
    https://sysadminspot.com/windows/google-chrome-and-ntlm-auto-logon-using-windows-authentication/ (IE, Chrome, Firefox)
    http://social.education.purdue.edu/edit/2011/03/sharepoint-pw-prompts/
    I have tested the blogs posts and change the settings in our development environment
    and no windows authentication was shown with my username on the SharePoint 2013 environment. But, all related to change IE settings. In our organization, we have around
    2000 users. It be impractical to set for users for these IE settings and network team regularly pushes group polices.
    Q: Is some configuration has to be set on IIS or
    some settings on SharePoint that users don’t get windows authentication? I have tried most of options but could not resolve this issue.
    Any pointers would be greatly appreciated.    
    Cheers,    
    Aroh Shukla

    Sites go into the Intranet Zone, not the Trusted Zone. Only Intranet is configured, by default, to automatically pass credentials to SharePoint.
    Yes, there are scenarios where this may not work, e.g. if you've configured the Web Application with Kerberos but didn't configure the SPN. Or if you're using Kerberos Constrained Delegation with Domain Controllers older than Server 2012 and your users are
    in a different forest, etc.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Is Distributed Transaction Coordinator services of the application role are required by SQL Server 2012 for clustering and support of SharePoint 2013.

    All I want to know is if Distributed Transaction Coordinator services of the application role are required by SQL Server 2012 for clustering and support of SharePoint 2013.
    I have been planning and deploying my companies first Windows Server 2012/SQL Server 2012 Always On cluster and Always On Availability Groups Multi-Subnet cluster and instances for SharePoint 2013, and I will be brutally honest, the documentation on either
    the MSDN and TechNet leave alot to be desired. Continually finding links in the documentation will take me from a Windows 2012 reference to a page talking about Windows Server 2008 or R2, The differences of which there are so many when it comes to configurations,
    settings, roles, services when working with SQL Server 2012. I have been confused, frustrated, screaming mad, with all the misdirection in this documentation.  The documentation takes me windows 2008 R2 which is different than 2012!
    Tired and trying to pick myself up off the floor!
    Greg
    Gman

    In general, DTC is not required for SQL 2012.  But, since you are asking specifically about SharePoint, it would be better to ask in a SharePoint forum.  They would be more likely to know those situations where FTC might be needed by SharePoint. 
    .:|:.:|:. tim

  • Single Signon from SharePoint 2010 to SharePoint 2013 application

    Hello all,
    We have two SharePoint applications,
    1. SharePoint 2010 application which uses Classic mode of authentication
    2. SharePoint 2013 application which uses claim based authentication + Form Based Authentication.
    We have provided a link for SharePoint 2013 application in SharePoint 2010 application.
    Once user logs into SharePoint 2010 application and clicks on the link of SharePoint 2013 application, user sholuld not be prompted for the credentials again and should be able to login to landing page.
    How can we go about this, need an help. Any help is appreciated.
    Thanks & Regards,
    Sharath
    Sharath Bharadwaj

    Is this an intranet application, in which you can add the sites to the trusted internet zone or intranet zone to allow your machine to automatically pass credentials.
    That of course won't make the FBA work automatically, that isn't possible as far as i know.

Maybe you are looking for

  • Dunning - Print all items

    Hi, I have set in SPRO for dunning: dunning level      print all items 1                           2                           X 3                           X 4                           X When I run transaction F150, I have 1 item in level1 and 3 it

  • Can I have two phone lines on my iPhone 4G (one for biz and one for personal calls)?

    can I have two phone lines on my iPhone 4G (one for biz and one for personal calls)?

  • Restoring iphone to ipod

    I have an old iphone 3GS that was a work phone.  It no longer has a SIM Card, but I was using it as an ipod.  I needed to restore it, but now it is looking for the SIM card to finish the setup.  Is there anyway to get through the setup without the SI

  • Location of DTD or Schema for XSQL Statements

    Hi, where can I find a DTD or a XML schema for XSQL statements? I am using XML Spy as XML editor. With a XSQL DTD it would be more comfortable to create xsql files. Kind regards, Achim

  • Can ANYONE please give me the source for converting IPV4 packets to IPV6

    I had a file which contains IPV4 packets, I need to convert these packets into IPV6 . Can anyone please give the source..