Thursday, October 30, 2014

Error: Updates are currently disallowed on GET requests. To allow updates on a GET, set the ‘AllowUnsafeUpdates’ property on SPWeb.


If you are in Central Administration > Manage Web Applications and go to the General settings option,


General settings- central admin


you might run into this error:
“Updates are currently disallowed on GET requests. To allow updates on a GET, set the AllowUnsafeUpdates’ property on SPWeb. 

Troubleshoot issues with Microsoft SharePoint Foundation.
Correlation ID: xxxxxx-xxxx-xxxx-xxxx-xxxxxxxx”

error - allowunsafeupdate


“Updates are currently disallowed on GET requests” under the General Settings. The error stack trace mentioned  ‘EnsureHttpThrottleSettings’ so it means that Central Admin is trying to update these setting on a GET request for new apps that don’t already have them.

Resolution via Powershell 

Launch SharePoint Powershell and and add these lines:

$w = get-spwebapplication http://yourwebapplicationname
$w.HttpThrottleSettings
$w.Update()


The call to the HttpThrottleSettings ensures they exist and Update() saves them.

After completing these commands, you should be able to successfully launch the General Settings dialog window in Central admin.


Tuesday, July 22, 2014

Retirement for InfoPath Forms

The InfoPath forms on SharePoint which we have used from long time for creating the interactive forms are getting retired. Microsoft has decided that they are retiring InfoPath and investing in new forms technology across SharePoint, Access, and Word.

 Few important points to understand with this are:
  1. InfoPath Forms Services in SharePoint Server 2013 is the last release of the InfoPath Form Service. Also the InfoPath 2013 is the last release for the Desktop version
  2. Microsoft will release a detailed migration strategy going forward.
  3. The support for InfoPath 2013 desktop client and InfoPath Forms Services for SharePoint Server 2013 will continue through 2023.

Tuesday, March 18, 2014

Disabling Request Access link from the Access Denied Page in SharePoint

Sometime we gets below error while accessing SharePoint website which we are not authorized to access.






It's painful exercise for SP Administrator to maintain request coming through "Request Access" url, as shown in above diagram.

Remove the Request Access link from the user name dropdown in SharePoint 2010.
Getting tired of users clicking the request access all over your SharePoint sites? By flipping a check box on the Site Admin page you can remove the link from showing on the site and the access denied pages.

  • Go to Site Actions and select Site Settings.

  • Click on Site Permissions under the Users and Permissions group.











  • Click on the Manage Access Requests link








  • Uncheck the Allow requests for access checkbox and then OK














Now your users will have to contact your support through the channels that you specify.

Wednesday, March 12, 2014

SharePoint 2013: Comparision between Apps and Solutions (.wsp)

Apps in Sharepoint:

Apps are stand-alone applications that provide specific information or functionality to a SharePoint site. Apps for SharePoint are easy for users to install, use, manage, upgrade, and remove. Apps can be SharePoint-hosted (reside and execute in SharePoint) or cloud-hosted (Windows Azure or other systems), or both.




Contents



















How to get
 
Apps can be downloaded from:
  • Internal App Catalog (contains apps approved and uploaded by the organization)
  • Public SharePoint Store
 How to Use / Install

Apps can be used:
  • In your hosted or on-premises SharePoint site
 App code is installed:
  • On a separate web site from your other sites in its own, isolated, domain·
  • In the cloud (cloud-based apps)
How to Manage

Apps can be managed and monitored by:
  • Site administrators.
  • SharePoint Online Service administrators for a tenancy· 
  • Farm administrators
  ============================================================

Solutions in Sharepoint:

Are small to large scale packages used to customize or enhance SharePoint sites. Full trust solutions need a farm or SharePoint Online Service administrator to deploy, manage, and remove. Partial trust solutions must be installed to a sandbox. 

Contents

















How to get

Solutions can be acquired from:
  • Third-party developers· Your own development team 
 How to Use / Install
Solutions can be used:
  • In your hosted (sandbox solutions only) or on-premises SharePoint site
Solution code is installed:
  • As a full trust solution (in the global assembly cache).
  • As a sandboxed solution 
How to Manage
 Solutions can be installed and monitored by:
  • SharePoint Online Service administrators for a tenancy (sandbox)· 
  • Farm administrators (sandbox or full trust)

Tuesday, July 23, 2013

"An unhandled exception occured in Silverlight Application" while creating list

While working on one of my SharePoint sites today, I started facing a weird issues all of a sudden. The site did not allow me creating any new item on one of my sub sites and an error message as “An unhandled exception occured in Silverlight Application” as in screenshot below. 


 Solution:

Go to Central Administrator
 






























Go to Application Management > Manage Web Application

Select the SharePoint Site Collection where you are facing the issue and Click General Settings on the ribbon


 Set Web Page Security Validation to “On” and save the changes.
 Refresh the SharePoint site page and try adding one now.

It will work now as expected. you can make security validation : off after completing task.
Hope this helps.

Wednesday, June 26, 2013

Error while creating webapplicaiton "Internet Explore cannot display the webpage" on central administrator

Yesterday i found some issue with my central administrator while crating a web application. however you can able to create application when you refresh the page. This error occurs because central admin's session shutdowns automatically after the 90 sec time.
Error looks like this :
 
Error Internet Explore cannot display the webpage

To overcome this error i increased the time of  my central administrator shutdown time. 
Run -> inetmgr-> select "SharePoint Central administrator" application pool -> right click select "Advance settings"

SharePoint Central Administrator in IIS






in Advance setting find "Shutdown Time limit (Seconds)" it will have 90 seconds by default. increase it to 300 Sec.

Advance Settings of Central Administration in SharePoint 2010

Now try creating web application and boom... you can able to create web application without error message.

Tuesday, May 28, 2013

System.InvalidOperationException: Namespace prefix 'xsd' is not defined

Its bit strange error for me when i installed IE 10. After bit research i found this error can occur if you try to edit and save a list item entry in SharePoint. On non-development environments you see only this error message dialog (debug mode disabled):


 To solve this problem switch your browser to IE8 mode within the Internet Explorer Developer Tools: 



Now you should be able to edit and save the changes.

Thursday, May 16, 2013

"A Microsoft SharePoint Foundation compatible application could not be found" error while accessing webbased excel or word file"

My user attempted two things and now his problem is resolved.  Don't know if it was a combination of both or just the second action.


When opening a Microsoft Office document in the local client from an Office Web Application, such as the Microsoft Office Word Web App the document does not open. You receive an error message that resembles the following:

Microsoft <Office Application> Web App
To open this document (or presentation or spreadsheet), your computer must be running a version of Microsoft <Office Application> and a browser that supports opening files directly from the Office Web Apps.


1.  Performed steps outlined in this KB Article:  http://support.microsoft.com/kb/833714

2.  Then had user enable Add Ons in Internet Explorer

  • Go to Tools in IE
  • Click on Internet Options
  • Click on Programs at the top
  • Click on “Manage add-ons” near the bottom
  • Click on Publisher, so you can see all of Microsoft Corporation together
  • Scroll to SharePoint names (May be one or several)
  • Make sure they are all enabled by clicking on the name; the Enable button is towards the bottom.
  • Then click OK and OK and restart IE



===================================================================


What if issue is not resolved yet?!!

try this, this will defiantly solve the issue. (Client machine Restart Requires)

Windows Vista/Windows 7 Solution:
  • Go to Control Panel, Programs, Uninstall a Program.
  • For each Office program that is not an Office 2010 program, select the item and click Change, Choose Add or Remove Features, Click Continue.
  • In Installation Options, expand Office Tools, Click Windows SharePoint Service Support, Choose Not Available, Click Continue. You must do this for all Office family programs that are not Office 2010 including earlier versions of Office Project or Visio.
  • Once configuration is complete, in Programs, click Office 2010, click Change, Choose Repair, Click Continue. (Note: A reboot will be required after the Repair completes)
  • If this is not working.. try removing all the office applications other than office 2010. i.e,. office 2003 word, office 2007 excel etc.
Windows XP Solution: (Very few client machine)
  • Go to Control Panel, Add Remove Programs
  • For each Office program that is not an Office 2010 program, select the item and click Change, Choose Add or Remove Features, Click Continue.
  • In Installation Options, expand Office Tools, Click Windows SharePoint Service Support, Choose Not Available, Click Continue. You must do this for all Office fanuky programs that are not Office 2010 including earlier versions of Office Project or Visio.
  • Once configuration is complete, In Add Remove Programs, click Office 2010, click Change, Choose Repair, Click Continue. (Note: A reboot will be required after the Repair completes)
Hope this helps.. thanks.

Contact me

Name

Email *

Message *

Total Pageviews