Wednesday, March 6, 2013

Building SharePoint 2013 Development Environment (1/4)




Microsoft released the RTM version of Microsoft SharePoint 2013 already. In this version, there're service hosted provided by Microsoft on the cloud called some developer can use "Napa" to develop their solution in the cloud. but there're still plenty of client especially in my country still willing to use on premise solution. So There's no doubt that you will need a development environment to develop, migrate, and test before deploy into the latest SharePoint.

Microsoft SharePoint 2013 comes with Hardware and software requirements for SharePoint 2013
for the test environment you must have at least

  • 8GB of RAM
  • x64 of CPU 4 cores
  • and at least 80 GB of system drive
I've installed a single server on my VM with 4GB of ram trust me, it's totally crazy. It spends time on every click you made. So i'd recommend to follow the hardware requirements from the technet.

Next are prerequisite software, I download the evaluation software from Microsoft listed below.
  1. Windows Server 2013
  2. SQL Server 2012 SP1 x64
  3. SharePoint Server 2013
  4. SharePoint Designer 2013
  5. Visual Studio Ultimate 2012 90-day trial
  6. Office 2013 Professional Plus
There're also additional software for SharePoint prerequisite. I download them from this technet blog

After a long wait all files are complete and ready to install.
The step to install this environment are
  1. Install Windows Server
  2. Rename server, Set Locale, Disable Loopback check and set User Account Control.
  3. Set network adapter and assign ip address
  4. Add ADDS role and promote new forest and domain.
  5. Create new domain user for SharePoint and SQL service
  6. Install SQL Server 2012
  7. Install SharePoint 2013 prerequisite
  8. Install SharePoint 2013
  9. Install Visual Studio 2012
  10. Install Office 2013 Professional Plus
  11. Install SharePoint Designer
There's a long long step to get this VM ready. I'd recommend to take a snapshot of your VM on some complicated step then your can roll back if something goes wrong.

To install Windows Server on the VM you just do a few click then the installation process is ready. I'll skip to the next step add ADDS role and promote new forest and domain you can follow the screenshot at this link

What Microsoft always told about the best practice for SharePoint installation is you should create separate service account for difference service responsibility. I agree with them but the question from the server administrator comes out "How many account you want for SharePoint farm?" 16!!

In this scenario I'll create 4 service account one for SQL and the rest for SharePoint

  • SQL Service account runs every sql service (DB, SSRS, SSIS, SSAS)
  • SharePoint Farm runs farm service
  • SharePoint Service runs all SharePoint service applications
  • SharePoint App runs all SharePoint application pools


Let's continue on the SQL 2012 set up in the next post.

Friday, February 15, 2013

Access Denied When Trying to Create a New Page on a Publishing Site

According to my project. user have to created a new page on SharePoint 2010 publishing page them-self.
But when it the test stage. I got this problem when i log into SharePoint publishing site with contribution privileged.

The account can't create a new page and got the access deny pop up page.
I've found the solution refer to the following blog related with MOSS 2007 but it still works on SharePoint 2010 as well.

http://sharepointsharpener.wordpress.com/2009/02/06/access-denied-when-trying-to-create-a-new-page-on-a-publishing-site/

The solution is just to check the permission on the master page and page layouts document library that allow your user to access them.

Tuesday, February 12, 2013

Got 10% most viewed LinkedIn profiles for 2012 in Thailand



I just got an email from LinkedIn said that my account on the LinkIn is in the top 10% most viewed in Thailand.

According to the number of user account in Thailand ranked no.39. ~500k users with only 0.76% penetration this number is not much compare to our neighbour country in ASEAN like Philippines(11) Malaysia(16)

the country ranked number 1. no doubt, US

http://www.socialbakers.com/linkedin-statistics/page-2/

but curious about Mexico number why it's number can be 1,579.23%?


Sunday, February 10, 2013

中国新年 二〇十三


今天是中国新年 二〇十三 时间过了很快。
今年我有很多事实要做 有些过年还么做到过

  • 我想我和我的家人身体健康
  • 道大学在学习
  • 学朝鲜语
  • 实现减排目标

这四个目标 就是很好的年了

http://www.asia-home.com/china/horoscope2013.php#animalref4

Tuesday, January 1, 2013

Nice to meet you 2013



Nice to meet you 2013, we never met before but i’ll try my best to spend a one year long with you. What your older brother taught me last year are many good lessons. This year I’ve a lot of things i set to do. Let’s moving forward together and achieve what i’ve set until the time to say good bye.

Tuesday, July 10, 2012

Replace Delegate Control – SmallSearchInputBox

I've got a task to change the OOTB SharePoint search box control and I found this links is useful to customize it and prevent the search results keyword from "This site scope"

http://sharepointroot.com/2011/05/25/replace-sharepoint-delegate-control-smallsearchinputbox/

First step is to register the search box assembly to the master page files.

<%@ Register Tagprefix="SharePointWebControls" Namespace="Microsoft.SharePoint.Portal.WebControls" Assembly="Microsoft.Office.Server.Search, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>

Then Replace SharePoint controls search box which is the syntax like this
SmallSearchInputBox" Version="4"/>

With this one


The search box property can be found on MSDN reference link here

Hope this helps,
PJ

Monday, July 2, 2012

The SharePoint item being crawled returned an error when requesting data from the web service.

When using FAST search for SharePoint 2010 (F4SP) to crawl a content source that contains managed metadata in the field you might get this error

The SharePoint item being crawled returned an error when requesting data from the web service. ( Error from SharePoint site: *** Index was outside the bounds of the array. )

this is because one or more metadata field is filled with incorrect value. When you open it up it show something like this.



The red underline text means there's no term "Knowledge" in the Knowledge Themes metadata field.
if you leave this red text save in your item properties and run a crawling. You will get this error.

To solve this error
That's simple, correct the red underlined text in metadata field. then FAST search will crawl this item correctly.