-
Continue reading →: How to secure external anonymous access to SharePoint 2010 sites
If you developed an internet-facing website, you may have noticed that you’re SharePoint Forms pages are also accessible to anonymous users. For instance, http://your_domain/_layouts/viewlsts.aspx, etc. Normally we don’t want this, so, in order to block users from accessing these pages, we need to activate a feature called “ViewFormPagesLockDown”. Activate Feature:…
-
Continue reading →: Setup missing SharePoint 2010 Groups
If you have deleted the default SharePoint Groups or they are missing, SharePoint 2010 gives you a way to set them back. You just need to go to /_layouts/permsetup.aspx
-
Continue reading →: The schema version of the database is not consistent with the expected database schema version
One of my clients, after applying Windows Server 2003 with the latest windows updates, he got this error: The schema version (3.1.3.0) of the database SharePoint_AdminContent_93139118-73ea-456d-86d9-c938e7a40497 on {dbserver} is not consistent with the expected database schema version (3.1.4.0) on {spserver}. Connections to this database from this server have been blocked…
-
Continue reading →: Cannot create custom list after rebranding Application.master
After rebranding application.master I got this error when creating a custom list: The security validation for this page is invalid. Click Back in your Web browser, refresh the page, and try your operation again. at Microsoft.SharePoint.Library.SPRequestInternalClass.CreateListFromFormPost(String bstrUrl, String& pbstrGuid, String& pbstrNextUrl) at Microsoft.SharePoint.Library.SPRequest.CreateListFromFormPost(String bstrUrl, String& pbstrGuid, String& pbstrNextUrl) To remove…
-
Continue reading →: How to get a SharePoint Feature GUID
You just need to have a developer tool bar in your browser. Go to the “Site Collection Features” or “Manage Site Features” under “Site Settings”. Open you developer tool bar Select “Activate” or “Deactivate” button Now you are able to see the Feature GUID
-
Continue reading →: Adding and deploying Solutions to SharePoint 2007 with STSADM
Steps to install and deploy solutions to SharePoint 2007 with STSADM. Add solution stsadm -o addsolution -filename c:\solution_folder\solution_name.wsp Deploy solution stsadm -o deploysolution -name solution_name.wsp -url http://sharepoint_server Upgrade feature stsadm -o upgradesolution -name solution_name.wsp -filename c:\solution_folder\solution_name.wsp Install feature stsadm -o installfeature -filename {FeatureFolder}\feature.xml Activate feature stsadm -o activatefeature -id {FEATUREID} -url…
-
Continue reading →: “SPUpgradeException: One or more types failed to load” exception when running configuration wizard
I was trying to install SharePoint Server 2007 on a Windows Server 2008 R2 with SP1, but every time I run the SharePoint Products and Technologies Configuration Wizard, I bumped into: Performing configuration task 1 of 4 Initializing SharePoint Products and Technologies upgrade… Successfully initialized SharePoint Products and Technologies upgrade.…
-
Continue reading →: Adding and deploying Solutions to SharePoint 2010 with Management Shell
I’ve mentioned in a previous post how to create a solution setup for SharePoint. But, sometimes we need to user the SharePoint powershell (SharePoint Management Shell) to install and deploy solutions. Add solution Add-SPSolution c:\solution_folder\solution_name.wsp Install solution Install-SPSolution –Identity solution_name.wsp –WebApplication http://sharepoint_server -GACDeployment Update solution Update-SPSolution –Identity solution_name.wsp –LiteralPath c:\solution_folder\solution_name.wsp –GACDeployment…
-
Continue reading →: Visio Stencils for SharePoint 2010
Today I needed to create a Visio with my client SharePoint farm. Since Visio does not come with a SharePoint stencil, I google it and I’ve found this blog. It has some cool stencil for SharePoint.
-
Continue reading →: Register external JavaScript and Stylesheet
Is very common to use external JavaScript and Stylesheet to give a different look&feel to custom webparts. Below are two SharePoint specific methods that you can use to reference a JavaScript and StyleSheet file from within a web part. Register Stylesheet There are several ways to add your own CSS…







