Search This Blog

Friday, 1 July 2016

IE Crashes when opening sites containing the calendar web part

Had this issue where i access sites and immediately my IE Crashes.

Application Log:
Faulting application name: IEXPLORE.EXE, version: 11.0.9600.18315, time stamp: 0x571ae616
Faulting module name: ucrtbase.DLL, version: 10.0.10586.9, time stamp: 0x5642c5f8
Exception code: 0x40000015
Fault offset: 0x0008469a
Faulting process id: 0x1a80
Faulting application start time: 0x01d1d369b4b31b47
Faulting application path: C:\Program Files (x86)\Internet Explorer\IEXPLORE.EXE
Faulting module path: C:\WINDOWS\system32\ucrtbase.DLL
Report Id: fb7462f7-3f5c-11e6-90c9-00a0c6000017

Turns out to be a IE Addin.
Go to your "Manage Add On" in Internet explorer.
Find the "SharePoint Export Database Launcher" Add on and disable it.


Thursday, 12 May 2016

Stop-SPDistributedCacheInstace -Graceful is not graceful!!

Came across this when i posted on a forum regarding appFabric and Nauplius pointed out to me that the command that everyone is using is not truly graceful...

Edit the server name in the script below.
Prob savest if you copy the code from the link provided below.

## Settings you may want to change for your scenario ##
$startTime = Get-Date
$currentTime = $startTime
$elapsedTime = $currentTime - $startTime
$timeOut = 900

try

{

Use-CacheCluster
Get-AFCacheClusterHealth

Write-Host "Shutting down distributed cache host."
$hostInfo = Stop-CacheHost -Graceful -CachePort 22233 -HostName sp2013App.contoso.com

while($elapsedTime.TotalSeconds -le $timeOut-and $hostInfo.Status -ne 'Down')
{
Write-Host "Host Status : [$($hostInfo.Status)]"
Start-Sleep(5)
$currentTime = Get-Date
$elapsedTime = $currentTime - $startTime
#Get-AFCacheClusterHealth
$hostInfo = Get-CacheHost -HostName SP2013app.contoso.com -CachePort 22233
}

Write-Host "Stopping distributed cache host was successful. Updating Service status in SharePoint."
Stop-SPDistributedCacheServiceInstance
Write-Host "To start service, please use Central Administration site."
}
catch [System.Exception]
{
Write-Host "Unable to stop cache host within 15 minutes."
} 

https://technet.microsoft.com/en-us/library/jj219613.aspx?f=255&MSPPError=-2147217396#graceful

Steps when upgrading AppFabric:

  • Do one server at a time.
  • Run Script above on the server before you install the CU. At the moment, CU7 is the latest.
  • I wait 15min, not sure how long it takes to transfer everything to the other server.
  • Run the CU.
  • Edit DistributedCacheserver.exe for Garbage collection feature.
  • Start AppFabric on Central Admin

It is best practice to do it on all the servers running SharePoint if you decide to move app fabric around in the future.

Wednesday, 16 March 2016

SharePoint Proxy Settings

Hi

We have got RSS feeds tat need to go via our Proxy server.
You need to add the proxy details to the web.config file.

In the Web.config search for system.net
Make a backup of the web.config before you continue.

Replace the following from systems.net to /systems.net\

   <system.net>
      <defaultProxy>
         <proxy
            proxyaddress = "http://proxyserver:80"
            bypassonlocal = "true"
         />
      </defaultProxy> 
   </system.net> 




Wednesday, 17 February 2016

SP2013: Restore Content DB Fails with full DB or max site collections but that is not true

Ok, this is a bug.

We are running SP2013 with the March 2013 PU.

Error:
restore-spsite : The operation that you are attempting to perform cannot be completed successfully. No content databases in the web application were available to store your site collection. The existing content databases may have reached the maximum number of site collections, or be set to read-only, or be offline, or may already contain a copy of this site collection. Create another content database for the Web application and then try the operation again.

The Content DB has got space and not in read-only


Looks like this is a bug.
By the looks of it after you delete a site it goes "somewhere" and you need to run the "Gradual Site Delete" Job.


This did not work for me.

Next, delete the site via PowerShell
Run: Get-SPDeleteSite


Get your Side ID
Run: Remove-SPDeletedSite -Identity {SiteID}


Remove the site's you need to remove. Nope Still not, this seemed to have worked for most people.
Went back i ran the  "Gradual Site Delete" job again.

Start the restore again and it worked.





SP2013: Performance Counters: What to look for and what to do

Hi, back in a more hand on role for a change to hopefully will be getting more updates to this blog.

Performance counters has always been a bit of a grey area...Had an idea but was never sure of what to do with the results.

This site explains what you need to do for the diffrent results:

https://technet.microsoft.com/en-us/library/ff758658.aspx


Friday, 9 October 2015

User Profile Service Account AD Access

This is all the AD guy's need to do to grant the account access to AD to sync.

Use this procedure to grant Replicate Directory Changes permission on a domain to an account.
The Replicate Directory Changes permission enables the synchronization account to read AD DS objects and to discover AD DS objects that have been changed in the domain. The Grant Replicate Directory Changes permission does not enable an account to create, modify or delete AD DS objects.
To grant Replicate Directory Changes permission on a domain
  1. On the domain controller, click Start, click Administrative Tools, and then click Active Directory Users and Computers.
  2. In Active Directory Users and Computers, right-click the domain, and then click Delegate Control.
  3. On the first page of the Delegation of Control Wizard, click Next.
  4. On the Users or Groups page, click Add.
  5. Type the name of the synchronization account, and then click OK.
  6. Click Next.
  7. On the Tasks to Delegate page, select Create a custom task to delegate, and then click Next.
  8. On the Active Directory Object Type page, select This folder, existing objects in this folder, and creation of new objects in this folder, and then click Next.
  9. On the Permissions page, in the Permissions box, select Replicating Directory Changes (select Replicate Directory Changes on Windows Server 2003), and then click Next.
  10. Click Finish.


Thursday, 17 September 2015

Disable JIT

Here is the registry keys to delete the Just-In-Time-Debugger

  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug\Debugger
  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\DbgManagedDebugger
On a 64-bit operating system also delete the following registry keys:
  • HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\AeDebug\Debugger
  • HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\DbgManagedDebugger