Showing posts with label Central Administration. Show all posts
Showing posts with label Central Administration. Show all posts

October 6, 2016

Sharepoint 2010: Excel Services workbook larger than maximum size allowed to be opened in browser.

Issue: Recently, when I was trying to open Excel workbook from one of SharePoint document library in browser, getting this error: "This workbook is larger than the maximum workbook size allowed to be opened in the browser".


Resolution:
By default, SharePoint as out-of-the-box allows workbook size to be opened in browser is 10 MB. If we try to open it with more than 10 MB size, then will get this error.

As part of solution, we can change the workbook size setting from central administration by following below steps:

1. Login Central Admin as a Farm Administrator.
2. Click on “Application Management” in the left navigation.
3. Click on “Manage service applications” under Service Applications.
4. Click on “Excel Services Application”.
5. Click the “Trusted File Locations” link.
6. Select the Reports library or Document library where the files are (i.e. https://www.binaryrepublik.com/work)
7. Scroll down to “Workbook Properties” and change the “Maximum Workbook Size” as per requirement. (i.e. 50 MB).
8. Save the changes.
9. Now, any workbook up to 50 MB in size from the location can be opened in browser.

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

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.

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.

March 29, 2013

Create and Configure Visio Graphics Services

Visio Graphics Service Overview

The Visio Graphics Service is a Microsoft SharePoint Server 2010 service application that allows users to share and view Visio web drawings using Visio Services. Visio Graphics Services allows Visio Web drawings published in VDW format to be shared with other users who may not have Visio 2010 installed on their computers. VDW formats can be created only by Visio Professional 2010 or Visio Premium 2010. Standard Visio drawings (VSD files) are not rendered by Visio Services and require Visio to be viewed.
Microsoft Visio 2010 situates diagramming to an advance level with dynamic, data-driven visualization tools, and advanced Web sharing capability. It composes data from various sources, including Microsoft SharePoint Foundation Services list, Microsoft Office Excel workbook, Microsoft Office Access database, Microsoft SQL Server database, and other OLEDB or ODBC data source and presents it using vibrant graphics design. It facilitates SharePoint workflows creation and publication for instantaneous implementation.
The Visio Graphics Service is a SharePoint Server 2010 service application that enables dynamic viewing, refreshing, and sharing of data-driven Microsoft Visio 2010 diagrams through Visio Web Access Web part, Web part Connections, and Visio Services Mash-up API. This piece will provide high-level steps in consuming this service application.

Start a Visio Graphics Service

To start a Visio Graphics Service by using Central Administration
  • Verify that you have the following administrative credentials:
    • To start a Visio Graphics Service, You must be a member of the Farm Administrators group.
  • On the Central Administration Home page, in the System Settings section, click on the Manage services on server.
  • If Visio Graphics Service is shown Stopped then click on the Start.
  • After clicking on the Start, Visio Graphics Service status is shown Started

Create a Visio Graphics Service

To create a Visio Graphics Service by using Central Administration
  • Verify that you have the following administrative credentials:
    • To create a Visio Graphics Service, You must be a member of the Farm Administrators group.
  • On the Central Administration Home page, in the Application Management section, click on the Manage service applications.
  • Click on the new ribbon and then click Visio Graphics Service.
  • In the Visio Graphics Service Application Name section, Type a name Ex- "Visio Graphics Service" in the textbox for the new service application.
  • In the Application Pool section, choose an existing Application Pool or Create a New Application pool name Ex- "Visio Graphics Service Apppool" in the textbox.
  • In the Application Pool section, choose a proper Account Ex- spservices from the Configurable dropdown.
  • Choose whether to create a Visio Graphics Service Application Proxy (recommended).
  • Click OK.

List all Visio Graphics Services

To list all the Visio Graphics Service by using Central Administration
  • On the Central Administration Home page, in the Application Management section, click on the Manage service applications.
  • The "Visio Graphics Service" is listed on the Manage Service Applications page

Delete a Visio Graphics Service

To delete a Visio Graphics Service by using Central Administration
  • Verify that you have the following administrative credentials:
    •To delete a service, you must be a member of the farm administrators group.
  • On the Central Administration Home page, in the Application Management section, click on the Manage service applications.
  • Select the Visio Graphics Service that you want to delete.
  • On the ribbon, click Delete.
  • In the confirmation dialog box, check the 'Delete data associated with the Service Applications' checkbox and click OK.

OR

To delete a Visio Graphics Service by using Windows PowerShell
  • Go to the Start menu, click All Programs.
  • Click Microsoft SharePoint 2010 Products.
  • Click SharePoint 2010 Management Shell.
  • From the Windows PowerShell command prompt (that is, PS C:\>), type the following below command and press ENTER:
    Remove-SPServiceApplication
Command: remove-spserviceapplicationpool "Visio Graphics Service Apppool"

Configure Visio Graphics Service global settings

To configure a Visio Graphics Service by using Central Administration
  • Verify that you have the following administrative credentials:
    • To delete a service, you must be a member of the farm administrators group.
  • On the Central Administration Home page, in the Application Management section, click on the Manage service applications.
  • Click the Visio Graphics Service that you want to configure.
  • On the Visio Graphics Service Settings page, configure the following settings:
    • Maximum Diagram Size = 5 MB
    • Minimum Cache Age = 5 Minutes
    • Maximum Cache Age = 60 Minutes
    • Maximum Recalc Duration = 60 Minutes
    • External Data = the target application ID in the registered Secure Store Service that is used to reference Unattended Service Account credentials.
  • Click OK.

Configure Visio Graphics Service trusted data providers

The Visio Graphics Service trusted data providers can be provisioned through Central Administration.

Data Provider ID:

The Data Provider ID is the name of the driver that acts as the data provider. This ID must be the same ID that is used to reference the data provider in a connection string. The driver for the data provider must be installed on every application server that is running the Visio Graphics Service. Once you have installed the driver on your application servers, you can add it as a trusted data provider in Visio Services in Microsoft SharePoint Server 2010.

Data Provider Type:

When adding a new trusted data provider, the data provider type must be one of the following values:
Number Type
1 OLE DB
2 SQL
3 ODBC
4 ODBC with DSN
5 SharePoint Lists
6 Custom Data Provider
Data Provider Description:
The data provider description is a friendly name that appears in the Trusted Data Providers section of the Manage the Visio Graphics Service page in SharePoint Central Administration.

Creating, editing, and deleting trusted data providers

To create a Visio Graphics Service trusted data provider by using Central Administration
  • Verify that you have the following administrative credentials:
    •To create a trusted data provider, you must be a member of the farm administrators group.
  • On the Central Administration Home page, in the Application Management section, click on the Manage service applications.
  • Click the Visio Graphics Service where you want to create the trusted data provider.
  • Click Trusted Data Providers.
  • Click Add a new Trusted Data Provider.
  • Enter values for the following parameters:
    Parameter Description
    Trusted Data Provider ID The Trusted Data Provider ID
    Trusted Data Provider Type The Data Provider type
    Trusted Data Provider Type Description Description of the Trusted Data Provider type
  • Click OK.

To edit a Visio Graphics Service trusted data provider by using Central Administration

  • Verify that you have the following administrative credentials:
    • To edit a trusted data provider, you must be a member of the farm administrators group.
  • On the Central Administration Home page, in the Application Management section, click on the Manage service applications.
  • Click the Visio Graphics Service where you want to edit the trusted data provider.
  • Click Trusted Data Providers
  • Select the data provider that you want to edit, and from the drop-down menu select Edit Trusted Data Provider.
  • Edit the settings that you want, and then click OK.

To delete a Visio Graphics Service trusted data provider by using Central Administration

  • Verify that you have the following administrative credentials:
    • To delete a trusted data provider, you must be a member of the farm administrators group.
  • On the Central Administration Home page, in the Application Management section, click on the Manage service applications.
  • Click the Visio Graphics Service where you want to delete the trusted data provider.
  • Click Trusted Data Providers.
  • Select the data provider that you want to delete, and from the drop-down menu select Delete Trusted Data Provider.

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

July 2, 2012

SMTP Server For Development Farm – smtp4dev

Developing for SMTP can be a time consuming hell. One can work out encoding issues the hard way – with a proper SMTP server installed – or skip all that and make it easy. Enter SMTP4Dev's, which emulates an SMTP server, and allows one to see what's being sent around in much easier way.
Scenario:
I am working for the alert me functionality for the list and List Items modification and deletion but due to some configuration problem in my development environment,
I did not receive e-mail in consistent manner
After some goggling I have found one very useful project in codeplex for testing local smtp functionality without any installation.
Smtp4dev.exe does not require any installation.
  • Double click and open smtp4dev.exe
  • Click on option button and go to server tab
  • Set domain name anything you like for example: local.abc.com
  • Click Ok.
Now Open your Central Administration
  • Go to System Settings à Configure outgoing e-mail settings
  • Provide that same name of your domain name in Outbound SMTP server
  • Provide anything with domain name as from address. For example: test@ local.abc.com
  • Provide anything with domain name as Reply-To address. For example: Reply@ local.abc.com
Note: Make sure that the domain name provided in smtp4dev and the domain name in from address and to address are same.
Next,
  • Open C:\Windows\System32\Drivers\Etc
  • Open local file with administrator rights using any text reading software like notepad.
  • Enter entry like à 127.0.0.1 local.abc.com
    (Make sure, this name must be same as Domain name in smtp4dev.exe)
  • Save and close
Now whenever your share point server will send any mail, it is captured and displayed as shown in screenshots below.

This is a mail sent by share point which you can Inspect, in order to see the contents of the email sent, check the encoding, etc.:

If you want to get fancier, the proxy server allows for customizing the way it behaves:


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