Monday, October 21, 2013

Call Stack And Custom Errors Mode Changes to get the Exact Error in SharePoint

Call Stack And Custom Errors Mode Changes to get the Exact Error in SharePoint

Please look the below Changes and apply to get the Details of Error In SharePoint Site while accessing:

The below modifications need to done on WEB.Config file of the Specific Site.
Path : C:\inetpub\wwwroot\wss\VirtualDirectories\Site Specified.

Note: Take Backup Of WEB.CONFIG before doing changes.

Step Need to Change1:

SafeMode MaxControls="200" CallStack="false"
DirectFileDependencies="10" TotalFileDependencies="50"
        AllowPageLevelTrace="false">
           to
 <SafeMode MaxControls="200" CallStack="true"
DirectFileDependencies="10" TotalFileDependencies="50" 
   AllowPageLevelTrace="false">
  
Step Need to Change2:

            <customErrors mode="On" /> 
                         to
             <customErrors mode="Off" />

Do IIS reset if necessary and access the Site, You see the Error Details!!




Please Comment if you need Any Help. Your Feed back is always Welcome. I Am Happy to Help !!!!!

SharePoint site is prompting credentials Constantly or Disable the Loop back check

SharePoint site is prompting credentials Constantly or Disable the Loop back check

I was working on a server and we were trying to access the local SharePoint site http://127.0.0.1 or http://nameoflocalserver/pages/default.aspx and I was constantly prompted for the username and password. In SharePoint 2010, it can really annoy you by not accepting your username password credentials in the popup window.

·         It’s a ‘feature’ on the server that you need to disable as a workaround :
·         Note: Microsoft Best practices is out of scope in this article.

There are two methods to do this:

1.    Specify the host names in the registry -: BackConnectionHostNames (more secure and recommended for PRODUCTION servers). 

                  Refer http://support.microsoft.com/kb/896861

2.    Disable the loopback check - DisableLoopbackCheck (less secure and recommended for DEVELOPMENT environments). Read on to use this method 2 and add via an easy power shell cmd.

You would need to create a DWORD registry key in the registry Called DisableLoopbackCheck and set it to 1.

Follow the below steps to Disable Loopback check:

1.    Click Start, click Run, type regedit, and then click OK
2.    In Registry Editor, locate the following registry key:
3.    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
4.    Right-click Lsa, point to New, and then click DWORD Value. (In Win 2008, its DWORD 32bit)
5.    Type DisableLoopbackCheck, and then press ENTER.
6.    Right-click DisableLoopbackCheck, and then click Modify.
7.    In the Value data box, type 1 and then click OK.
8.    Quit Registry Editor.

Note: You may need to restart your server.

Please Comment if you need Any Help. Your Feed back is always Welcome. I Am Happy to Help !!!!!


Related Posts Plugin for WordPress, Blogger...

ShareThis

X