Thursday, January 8, 2015

Could not open files from sharepoint Document Library of any office files

HI All,
           I am working on SharePoint 2013 premises and on office 365 and both were holding document libraries .Before moving ahead i would like to say that i had installed office 2010 ,And when i was trying to open the any file from document libraries I was facing below error .I goggled some times  and i got solution by reaching out below URL location and deleted the temp files and then  try to open the files and every thing worked fine

c:\Users\login_user_name\AppData\Local\Microsoft\Office\14.0\OfficeFileCache



Sunday, November 30, 2014

SharePoint 2010:The current page has been customized from its template. Revert to template

Few days back after restoring the home page we were encountering the error as "SharePoint 2010:The current page has been customized from its template. Revert to template"




Go to SharePoint Designer  select v4.master  ,
  and then click on Check out. Now then right click on the master page and open in  
  Advanced mode.
  Search for s4-statusbarcontainer. And modify according to below :

<!--div id="s4-statusbarcontainer">
    <div id="pageStatusBar" class="s4-status-s1">
    </div>
</div-->

Monday, July 14, 2014

Power-shell Script to Create the Site on Online SharePoint 2013

Hi All,
      I got a requirement to create the site on online sharepoint 2013 through Power shell script .But before moving further you need to download the CSOM  SharePoint Server 2013 Client Components SDK.  and Online SharePoint 2013 Powershell . And replace given url in  "$siteurl " and name in "$username"  by entering password when it prompts on executing the command "$password = Read-Host -Prompt "Enter password" -AsSecureString" .


Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.dll"

Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.Runtime.dll"



$password = Read-Host -Prompt "Enter password" -AsSecureString

$ctx = New-Object Microsoft.SharePoint.Client.ClientContext($siteUrl)

$credentials = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($username,$password)

$ctx.Credentials = $credentials

$webCreationInformation = New-Object Microsoft.SharePoint.Client.WebCreationInformation

$webCreationInformation.Url = "site1"

$webCreationInformation.Title = "Site 1"

$webCreationInformation.WebTemplate = "STS#0"

$newWeb = $ctx.Web.Webs.Add($webCreationInformation)

$ctx.Load($newWeb)

$ctx.ExecuteQuery()

Write-Host "Title" $newWeb.Title


Write-Host $site.Title "-" $site.Url

Tuesday, May 6, 2014

The Report Server Installation Is Not Initialized. (rsReportServerNotActivated)

HI All,
          One of my blog member has submited info on solving the issue "Report Server Installation is Not Initialized".This issue will commonly occur after configuring the ssrs ,This issue can be solved in many ways.One of the best way to solve instanlty is deleting the encrypted keys

Solution:
  • Open Reporting Services Configuration Manager
  • Go to Encryption Keys
  • Delete Encrypted Content
  • Click on Delete
  • Reset IIS

Monday, March 24, 2014

Configure SharePoint 2013 apps on Server

Hi All,
        Below are the steps to configure the apps in SharePoint 2013 Server
configure dns
1. Create a Forward Lookup Zone in DNS
System account cannot deploy apps so we need to create another account
2. Create user with appropriate rights (equivalent to the administrator
   member of
       1. Administrators
 2. Domain Admins
 3. Domain Users
 4. Enterprise Admins
 5. Group Policy Creator owner
 6. IIS_USRS
 7. Performance Log Users
 8.  Performance monitor users
 9. Schema Admins
 10. SQLServerMSAUser$MSSQLSERVER
 11. WSS_ADMIN_WPG
 12. WSS_RESTRICTED_WPG_V4
 13. WSS_WPG
3. Central Administration
   security
     Configure Managed Accounts 
     Register Managed Accounts
  (Register the newly created account - eg. spsappadmin)
   
     Configure Service Account
         set the newly created account as the farm account -
   (this will add the user to the sp_config database)
         reset the farm account back to the original administrator.
   (The previous step only ensures the new account has the appropriates rights on the DB
      System account cannot deploy apps)
4. Start the services
      App Management Service
      Microsoft Subscription Setting Service
5. Change service account application pool account
       Application Management Service - set it to the new account
6. Load SharePoint Management Shell (Power shell)
 $account = Get-SPManagedAccount "domain\user"
 Configure a new
 App Management Service Application
      a) App pool         
     $appPoolAppSvc = New-SPServiceApplicationPool -Name AppServiceAppPool -Account $account
             b) Application     
     $appAppSvc = New-SPAppManagementServiceApplication -ApplicationPool $appPoolAppSvc -Name AppServiceApp -DatabaseName AppServiceDB
      c) Proxy
     $proxyAppSvc = New-SPAppManagementServiceApplicationProxy -ServiceApplication $appAppSvc
  Microsoft SharePoint Foundation Subscription Settings Service
      a) App pool     
  $appPoolSubSvc = New-SPServiceApplicationPool -Name SettingsServiceAppPool -Account $account
             b) Application
  $appSubSvc = New-SPSubscriptionSettingsServiceApplication –ApplicationPool $appPoolSubSvc –Name SettingsServiceApp –DatabaseName SettingsServiceDB
             c) Proxy
  $proxySubSvc = New-SPSubscriptionSettingsServiceApplicationProxy –ServiceApplication $appSubSvc

7. Configure app url
 Set-SPAppDomain <appDomain>
 Set-SPAppSiteSubscriptionName -Name "app" -Confirm:$false
8. Add the user to the site

Wednesday, March 5, 2014

HIde List Tab from Ribbion for List

HI All,
          After very long time I am posting the issue on SP 2013 .One of my follower mailed me few times for the solution to hide the List Tab from the SP Ribbon.

Step-1
 Insert the Script Editor Web-part in the List or Document Library
Step-2
   Insert the below snippet

<style type="text/css"> #Ribbon\.List-title{ DISPLAY: none !important } </style>
Step-3
     Check Hidden Option the Layout option ->ok

Monday, May 13, 2013

Setup is unable to proceed due to following error(s)

Hi All,
          Few days back when I am installing Sp 2013 I faced the below issue

Setup is unable to proceed due to following error(s)
The Producr requires Windows Server 2008 Server Pack 2 or above.
Correct the issue(s) listed above and run setup


Solution:
Download the below exe files and run with command prompt
.NET Framework 3.5 SP1
Windows PowerShell 2.0
Windows Installer 4.5 Redistributable