Monday, April 20, 2015

Unable to find specified web in the given url - SharePoint 2013 Calendar Overlay


When I overlay calendar within a site collection, it works as expected. However, it won't work across site collections giving the error: Unable to find specified web in the given URL.

In addition, I notice that the post was 3 years ago and it applied to SharePoint 2010. After doing further research on MSDN forum and Technet form, I find that there is an issue about SharePoint 2013 calendar overlay across site collections. Here are the links for your reference:




Download Arabic Language Packs for SharePoint 2013


14JUN
When I tried to search to download Language Packs for SharePoint 2013 with Arabic and went to Microsoft download center I can’t find Arabic option in drop down list of languages as shown!
0
So i tried to search using Google with key  “Download Arabic Language Packs for SharePoint 2013” but i took  more time because i should search with this key “حزم اللغات لـ SharePoint Server 2013 – [العربية]
1
So i decide to get the direct link in my post to find it quickly and not take more time again and to be easy for other
Now you can download the Arabic Language Packs directly from this link . you can also select another language where all language available from this link.
Moreover you can change only link from en-us to ar-sa like this

SharePoint 2013 Configuration Wizard fails with SQL Server max degree of parallelism error

Recently I tried to install SharePoint 2013 in my test environment based on the multiple servers for a three-tier farm scenario, where my SQL Server is on another machine and I got the following error during SharePoint 2013 Products Configuration Wizard:
Failed to create the configuration database
Exception: Microsoft.SharePoint.SPException: This SQL Server instance does not have the required “max degree of parallelism” setting of 1. Database provisioning operations will continue to fail if “max degree of parallelism” is not set 1 or the current account does not have permissions to change the setting.  See documentation for details on manually changing the setting.
Max degree of parallelism error
Max degree of parallelism error
I encountered this during farm creation on the first SharePoint server installation.
Luckily this error message is really helpful and self explanatory.
To remediate this go to your SQL server and in Server Properties under Advanced tab set the Max Degree of Parallelism to 1.
Max degree of parallelism setting in SQL server
Max degree of parallelism setting in SQL server
If you also follow the official installation guide you should never encounter this error because it says to set this parameter on the SQL server side. http://technet.microsoft.com/en-us/library/ee805948.aspx Note to myself: next time read the documentation more carefully :)
If you actually open the mentioned logfile (PSCDiagnostics) you will see the same exception in there:
Psconfig logfile
Psconfig logfile
If you are following official Microsoft guide about the accounts (http://technet.microsoft.com/en-us/library/ee662513.aspx) it is also make sense that your current account cannot change this, because you are using the Setup account which has the following rights:
  • administrator on the current machine
  • has an sql login on the specified sql instance
  • has dbcreator and securityadmin
More information about max degree of parallelism:

SharePoint 2013 Pre requisites install fail, Error: The tool was unable to install Application Server Role, Web Server (IIS) Role.


SharePoint 2013 Pre requisites install fail, Error: The tool was unable to install Application Server Role, Web Server (IIS) Role.
While installing SharePoint 2013 in a Windows 2012 Server I was getting the following error right after the prerequisites installation begins:
SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired
Error: The tool was unable to install Application Server Role, Web Server (IIS) Role.
To solve the issue I set the following Local Policy:
1. – Windows Start
2. – run MMC
pre1
3. – Click File, Add/Remove Snap-in…
pre2
4. – Select Group Policy Object Editor and ADD it
pre3
5. – Navigate to Administrative templates / System
pre4
6. – Select and edit “Specify Settings for optional component installation and component repair”
7. – Enable and select “Contract Windows Update directly to download repair content instead of Windows Server Update Services (WSUS)”
pre5
9.- Re run the prerequisite installation

SharePoint 2013 Error: "The Server was Unable to Save the Form at this Time. Please try Again"


I got "The server was unable to save the form at this time. Please try again.” error when I was trying to save new SharePoint list item.

After some troubleshooting found that this issue is closely related to server memory; when a server memory drops below certain level that is we get these type of errors. We can fix this error by making some memory to free by restarting/killing unused processes.

Permanent Fix
Add more memory (RAM) to resolve this issue permanently!
Temporary Fix

As for temporary workaround, you can try these solutions.
  • Monitor your Server RAM usage. Try closing some programs running on the server.
  • Restart"Search Host Controller Service" service in Services console ( services.msc).

Monday, June 2, 2014

“Microsoft SharePoint Foundation Web Application” service stuck on starting OR stopping

Run following command through Shell

stsadm -o provisionservice -action stop -servicetype spwebservice
stsadm -o provisionservice -action start -servicetype spwebservice


Note: this has to run from the server where you intend to host the web application
And then IISRESET / NOFORCE

This may take long time to execute this command depending on number of web applications.

The transaction log for database 'sampledb' is full. To find out why space in the log cannot be reused, see the log_reuse_wait

Execute following commands to shrink logs -

ALTER DATABASE sampledb
SET RECOVERY SIMPLE;
GO

DBCC SHRINKFILE (sampledb_log, 1);
GO
sp_helpdb sampledb
GO
ALTER DATABASE sampledb
SET RECOVERY FULL
GO

Note : Shrinking of log file will not work if recovery mode is set to 'FULL'.