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 !!!!!


Friday, October 18, 2013

The Expected version of the product was not found on the system while installing CU Updates in SharePoint

 The Expected version of the product was not found on the system while installing CU Updates in SharePoint.

                                     

 Cause: The issue\Error is due to the Missing of previous versions of Updates or patches.

 Resolution: Follow the below steps to Remediate\Bypass the Error.


  • Go to CMD ->Go to Specific path where CU locates. Run the below command

                          Package name PACKAGE.BYPASS.DETECTION.CHECK=1

          Package name should be like for EX: ubersrv2010-kb2825949-fullfile-x64-glb.exe


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

 

How to Rename WebApplication Name In SharePoint 2010

How to Rename Web Application Name In SharePoint 2010

There are so many reasons one would like to rename a SharePoint 2010 web application, whether for consistency sake, even to correct misspellings, now with the power of Power Shell it’s just simple. Please be consider the
following script would not rename the IIS site and the Application pool,

 So, let’s get down to the renaming the web application by creating a new Power Shell (.ps1) file using Notepad and by pasting the following code into it:

$rwa=Get-SPWebApplication | where {$_.Name -match "Your Old Web Application Name"}
$rwa.Name
$rwa.Name="Your New Web Application Name"
$rwa.Update()
Get-SPWebApplication | where {$_.Name -match "Your New Web Application Name"}

Give it a name, like RenameWebApp.ps1 and save in your SharePoint 2010 server.
Open SharePoint 2010 Management Shell, make sure you are under the path, where your .PS1 file located.

 Example: C:\> ./RenameWebApp.ps1

 Hit Enter and your web application has a new name.

Go to SharePoint 2010 Central Administration >> Application Management and click on “Manage web application” to see that you web application has a new name



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

ShareThis

X