SharePoint 2016 – Configure Outgoing email settings using Gmail

In order to configure SharePoint 2016 Outgoing email settings using Gmail, try to follow these steps:

Step 1: Install “SMTP Server” feature from Windows Server Manager

1.png

Note: Make sure to Include management tools

Step 2: Open IIS 6.0 Manager

2.png

Step 3: In General Tab, make sure to use 25 TCP Port

3.png

Step 4: In Access Tab, select Anonymous access

4.png

Step 5: In Access Tab, Add local server IP

5.png

Step 6: In Messages Tab, it’s optional to disable “Limit number of messages per connection to”

6.png

Step 7: In Delivery Tab, add Gmail account

7.png

Step 8: In Delivery Tab, add Gmail Port 587

11.png

Step 9: In Delivery Tab, add Gmail SMTP

8.png

Step 10: In General Tab, copy Fully-qualified domain name

9.png

Note: Restart Simple Mail Transfer Protocol (SMTP) service from  services.msc

Step 11: Open SharePoint Central Administration and add Fully-qualified domain name  in Outbound SMTP server as the below image

10.png

Done.

SharePoint – Unexpected error occurred in method GetObject, usage SPViewStateCache

In case of SharePoint web part depends heavily in Viewstate to store large data or request, you may face an issue in SharePoint that sometime data is not saved and if you check the SharePoint logs you will find the below error:

Unexpected Unexpected error occurred in method ‘GetObject‘ , usage ‘SPViewStateCache‘ – Exception ‘Microsoft.ApplicationServer.Caching.DataCacheException:

Untitled.png

It seems SharePoint try to cache the request using distributed cache service and this service has default limitations (20 seconds).

To fix the above issue, try to increase the RequestTimeout as the below PowerShell script:

$ViewStateCache = Get-SPDistributedCacheClientSetting -ContainerType DistributedViewStateCache
$ViewStateCache.RequestTimeout = 1000
Set-SPDistributedCacheClientSetting -ContainerType DistributedViewStateCache -DistributedCacheClientSettings $ViewStateCache

 

قواعد بيانات DynamoDb على بيئة خدمات أمازون ويب AWS

تتضمن هذه الورقات مجموعة من المواضيع التي تتعلق بقواعد بيانات DynamoDbعلى بيئة خدمات أمازون ويب AWS التي تساعد على فهم هذه الخدمة ومعرفة ما يمكن عمله وتنفيذه بأفضل الطرق.

تم كتابة هذه الورقات بالتعاون مع الصديق اسماعيل عنجريني

Untitled.png

DynamoDb_Whitepaper_v1.0

Or

https://www.scribd.com/document/382169894/DynamoDb-Whitepaper-v1-0

General SharePoint Considerations in Disaster Recovery solutions

These are important points to consider with remote SharePoint disaster recovery solutions:

  • When adding new Site Collection in a database that is replicated to the Disaster Recovery farm, make sure to update the configuration database in Disaster recovery farm to register the new created site collection because it will not automatically be updated, you can updated using the following PowerShell:
    $db = Get-SPDatabase | where {$_.Name -eq “DatabaseName”}
    $db.RefreshSitesInConfigurationDatabase()
  • In case of multi subnet failover cluster, consider to use MultiSubnetFailover property for all SharePoint databases to make the connection to different subnet more stable and to avoid connection timeouts issue.
    For more information
    http://blogs.msdn.com/b/sambetts/archive/2015/02/13/multi-subnet-sql-server-clusters-sharepoint-2013-spdatabase-multisubnetfailover.aspx