Wednesday, May 2, 2012

Fixing sandbox execution issue

I faced the following issue while working with SharePoint 2010
"The sandboxed code execution request was refused because the Sandboxed Code Host Service was too busy to handle the request”

 Solution:
1) Open "Hosts" file from the following location:
    C:\Windows\System32\drivers\etc
2) Make this entry
    127.0.0.1     crl.microsoft.com
4) Restart the "SharePoint 2010 User Code Host" service on all these servers
3) IIS Reset

For other alternatives, please refer this blog.

Thursday, April 5, 2012

How to increase file upload size in InfoPath

By default there is a limit in file upload size in a InfoPath forms. If you drag a file upload control on a InfoPath form and start using it, you will notice that there is a limit in file uploading size. Now, follow these steps to increase the limit.

1.       Go to Central Administration site of SharePoint server and select “Manage Web Application” under “Application Management”. Select respective Web Application then open Web Application general settings :
2.       Set Maximum Upload Size   to 50MB
3.       Go back to Central Admin and click on “General Application settings”.Open “Configure info-path forms services” under “Info-path form services “.
4.       Set Form Session State --> Maximum size of form session state value to 10240  KB( the default is 4096KB).  

System.ServiceModel.EndpointNotFoundException

The following error occurred on my development machine in every 5 minutes in OWSTimerJob.exe
To fix this issue, need to start Forefront end service from services management window

Sunday, March 4, 2012

Fixing issue Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.

Following issue has occurred at the time of BCS configuration.
Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
 To fix this issue use the following steps:

Next run the following shell script with admin previllege:
 
$bdc = Get-SPServiceApplication | where {$_ -match “Business Data Connectivity”};
$bdc.RevertToSelfAllowed = $true;
$bdc.Update();
 




Ref: http://niranjanrao.wordpress.com/2012/01/12/bcs-authentication-issues-login-failed-for-user-nt-authorityanonymous-logon-or-access-denied-by-bcs/

Sunday, January 22, 2012

Windows Server 2008: Allow multiple sessions

To allow  multiple session for a user please perform following steps:

1. Type gpedit.msc in Run and click Connection from the window.
2. Now select Restrict Remote Desktop Services users to a single Remote Desktop :
3. A window will be open , Select disable from this window.  

SharePoint 2010 Cumulative Updates

After Installing SharePoint 2010, It is time to install the updates. Following are the steps:



1)      Download and install SharePoint Foundation SP1


2)      Download and install SharePoint Server SP1


3)      Download the latest Cumulative Update (CU), that is December 2011.


4)      Install the December 2011 CU on the server.

5)      You may found ‘Forefront Identity Synchronous Service’ is stopped. Do not panic, perform the following steps

6)      On the ‘Central Admin’ -> Manage Services on server’ -> Stop and Start User Profile service

7)      Stop and Start User Profile Synchronous Service

8)      Run the following command using ‘Run as Administrator’

psconfig -cmd upgrade -inplace b2b -wait –force
9)      IIS Reset

Tuesday, December 6, 2011

Error: Your current security settings prohibit running activeX on this page

While designing a InfoPath form on Windows Server 2008 R2, received the following error message. "Your current security settings prohibit running activeX on this page". This issue was occurred when I drag a 'Contact Selector' at the time of designing a form.

First, I thought to minimize the IE security permission level. But that action was not helped at all. Then I found this blog to disable Internet Explorer Enhanced Security Configuration.
 The final output: the 'Contact Select' is working fine.