locked
404 File not found exception when we hit the Sharepoint URL RRS feed

  • Question

  • Hi ,

    We are facing the issue where in when we hit our sharepoint URL we are redirected to "_layouts/error.aspx" and "404 file not found exception" is displayed.

    In ULS LOGS error logged is

     

    System.NullReferenceException: Object reference not set to an instance of an object.    at Microsoft.SharePoint.IdentityModel.SPFederationAuthenticationModule.OnEndRequest(Object sender, EventArgs args)     at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)  

    Also, when we click on "Authentication Providers" for that web application in Central Admin there are no zones available.

    Please let me know the probable reasons for this issue

    THanks,

    Amit

    Monday, February 13, 2012 12:28 PM

Answers

  • Hey Amit,

    Not alot of information to go on in this post - if you could let us know some of the troubleshooting steps you have tried already, that'll probably help us figure out whats going on. Heres a couple of things i'd check though.

    When you are hitting the URL - have you tried adding "/_layouts/settings.aspx" to see if its an issue with the welcome page?

    Check IIS, make sure the web application is running and more relavent may be to check the Web Application Pool service account. Is it a managed account? - have you set it to change password automatically? - As Central Administration is working - i'd try setting the app pool service account to the same as Central Admin to see if that makes any difference.

    Whats going on in the event log?

    I would also consider extending the web application - Creating at least one new zone for it.

    http://technet.microsoft.com/en-us/library/cc287954(v=office.12).aspx

    Extend to a new unused port and test you can access it. You could work around this issue by extending the web app and setting your alternate access mappings to point at it as default / intranet

    Also, What authentication provider do you have configured? - have you recently set up claimes based authentication?

    Let me know how you get on from there.

    -Ryan


    Drummer.. Oh and SharePoint Developer & Consultant http://spdrummerboy.blogspot.com


    Tuesday, February 14, 2012 10:24 AM

All replies

  • Hey Amit,

    Not alot of information to go on in this post - if you could let us know some of the troubleshooting steps you have tried already, that'll probably help us figure out whats going on. Heres a couple of things i'd check though.

    When you are hitting the URL - have you tried adding "/_layouts/settings.aspx" to see if its an issue with the welcome page?

    Check IIS, make sure the web application is running and more relavent may be to check the Web Application Pool service account. Is it a managed account? - have you set it to change password automatically? - As Central Administration is working - i'd try setting the app pool service account to the same as Central Admin to see if that makes any difference.

    Whats going on in the event log?

    I would also consider extending the web application - Creating at least one new zone for it.

    http://technet.microsoft.com/en-us/library/cc287954(v=office.12).aspx

    Extend to a new unused port and test you can access it. You could work around this issue by extending the web app and setting your alternate access mappings to point at it as default / intranet

    Also, What authentication provider do you have configured? - have you recently set up claimes based authentication?

    Let me know how you get on from there.

    -Ryan


    Drummer.. Oh and SharePoint Developer & Consultant http://spdrummerboy.blogspot.com


    Tuesday, February 14, 2012 10:24 AM
  • Amit,

    Is this a new web application, or was it working before? Would you please provide more steps of how did you get this problem please. "Object reference not set to an instance of an object" ia a SQL permissions related problem, perhaps, Security Logins information in SQL has changed somehow, or account you use.

    Do you recall changing anything before this error happened?

    Regards,


    LW

    Tuesday, February 14, 2012 10:52 AM
  • Hi Ryan,

    when i am trying to create  acustom login page i am getting an 404 file not found error. can u help me out in this issue.

    regards,

    susheel

    Tuesday, May 29, 2012 4:01 AM