November 13, 2013

“Value does not fall within expected range” Issue

Problem :- "Value does not fall within expected range”

Solution :-
​1.    Go to “Central Admin” 
2.    Click on “Manage Web Application” 
3.    Select your Web Application
4.    Click on “General Setting” in ribbon 
5.    Click on “Resource Throttling” (Refer Image1) 
6.    Edit the value of “List View Threshold”(Refer Image2)​ 
7.    Click on “Ok” button 
8.    Now check your application

Image 1



Image 2



If you have any questions you can reach out our SharePoint Consulting team here.

Power Shell script execution issue

​If you are getting this type of error "File C:\Projects\test.ps1 cannot be loaded because the execution of scripts is disabled on this system" then resolved it by following steps:-

Determine power cell script is enabled or not run below command
    get-executionpolicy
Enabled power cell script run below command
    set-executionpolicy unrestricted

To execute the Set-ExecutionPolicy command, you must have administrator permission and for Windows Vista / Windows Server 2008 and later versions you have to open the PowerShell command prompt with Run as Administrator. Otherwise you will get the below error



If you have any questions you can reach out our SharePoint Consulting team here.

Fix the issue of “This file type is blocked by Sharepoint due to security risk”

​If you are getting this type of error "File C:\Projects\test.ps1 cannot be loaded because the execution of scripts is disabled on this system" then resolved it by following steps:-

Determine power cell script is enabled or not run below command
    get-executionpolicy
Enabled power cell script run below command
    set-executionpolicy unrestricted

To execute the Set-ExecutionPolicy command, you must have administrator permission and for Windows Vista / Windows Server 2008 and later versions you have to open the PowerShell command prompt with Run as Administrator. Otherwise you will get the below error



If you have any questions you can reach out our SharePoint Consulting team here.