tag:blogger.com,1999:blog-50301570932251906252024-02-20T23:55:00.930+05:30Anshul's SharePoint BlogAnshul Sehgalhttp://www.blogger.com/profile/02703228432703749461noreply@blogger.comBlogger15125tag:blogger.com,1999:blog-5030157093225190625.post-46366769675101998452010-11-24T20:55:00.003+05:302010-11-24T21:21:24.610+05:30Installing SP2010 with SQL Express in two different boxesHi there,<br /><br />Recently I was trying to install and configure SharePoint server along with SQL Express 2008 R2. While configuring SharePoint server I was stuck with the error which said SharePoint server was not able to find the SQL Server. After a bit of googling i checked my DNS entries, checked SQL Server configuration and double checked the account access at SQL Server. I had to enable Named Pipe and TCP/IP protocols and eventually I landed out with the error saying, Not able to generate SSPI context. Obviously I didn't knew what the error was about and ended up with my old friend google again. After spending 3 long hours on this error without any luck, I went back to check the SQL Server settings. My SQL server was installed as a Default Instance and I don't know why I went ahead and uninstalled the SQL Server Instance and installed it again as a Named Instance this time and voila. Everything worked as a knife in butter and hence I was saved one more time :).<br /><br />I dont understand what was the issue with the SQL Server Express being installed as a Default Instance, but yes I am going to look for the answer starting from now and will update the post soon.<br /><br />Thats it for now,<br />and oh yess..this bolg is alive again..keep looking for more intresting things<br /><br />P.S. If you already know the reason for this issue, please let me know. I am quite unaware of SQL deployments.Juzar Bharmalhttp://www.blogger.com/profile/16559466331185245073noreply@blogger.com1tag:blogger.com,1999:blog-5030157093225190625.post-18889212307931971862010-02-13T20:41:00.001+05:302010-02-13T20:41:35.952+05:30Play Streaming Videos on SharePointAs we all know that SharePoint 2007 can not play streaming Videos out-of-the box so i decided to find out a way by which you can stream videos on your MOSS 2007 site so i turned to my best friend... Google. I found a little material on the web where i came to know that to play streaming videos on the web you need a Streaming Server. So i decided to integrate SharePoint with a streaming Server. To play streaming videos Microsoft provides something called as Windows Media Services.Windows Media Services (WMS) is a streaming media server from Microsoft that allows an administrator to generate streaming media (audio/video). It is an update for Windows Server operating system. You can install it on your Windows Server 2003/2008 as a windows server role and then your server will be a Streaming Server.<br />
<br />
Ok so after this introduction to Windows Media Services (WMS) let us move ahead and look at the steps to integrate SharePoint with WMS.<br />
<br />
Once Windows Media Services is Installed open the Windows Media Services Manager.<br />
<img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizgDmVHRd_sY7v69q8BJMNB-RkRBAGJV3Yhrb_8tFsgv9-3NSA2Jlxez3xSSlMGG1h94-lkKYTt968BAgb5Z6L9dbfpH55pJnRJv0jW9hXIPx4d-991_e9AJqlulWdFnmNNXKq5IRRpEk/s400/MediaServices.bmp" width="400" /><br />
In the WMS Manager click the tab called Announce (using this you can create a Video Stream)<br />
<br />
The media stream that WMS creates uses mms protocol the link that it will generate can be put directly in Windows Media Player to play the video stream but you can not store this link in SharePoint because the Link List in SharePoint only takes http protocol so we will run the Unicast Announcement Wizard which will create asx file which supports http protocol.<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgz_9baqOJHKQw1qERYKGE3J6WFF2N8kKW6quu0ODwQRFKS1_ERe8mlGJ9MBuXQdV3ddRkdJXvXxShthngVUn83NTQMAqzNBF889Ad3W2ONPbUf33q5GwLbR61hQZTycas0MMh5wbmmYcQ/s1600-h/AnnounceVideo.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgz_9baqOJHKQw1qERYKGE3J6WFF2N8kKW6quu0ODwQRFKS1_ERe8mlGJ9MBuXQdV3ddRkdJXvXxShthngVUn83NTQMAqzNBF889Ad3W2ONPbUf33q5GwLbR61hQZTycas0MMh5wbmmYcQ/s400/AnnounceVideo.bmp" width="400" /></a><br />
Clicking on the "Run Unicast Announcement Wizard" will start the Unicast Announcement Wizard. Click on Next<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqexnvgSoDwy71KPg3eI0C0AyVOfOmb5QJ3fQ8IsPXQjCytkY2W4H4OqYINfaxUTas5IjfF6c8G-04P4B1OhMRjwkZ5qAG9DXoCi2TqsYuzOjQ2EcwaZtyrWAGen-BkLuNewCDYFlwIo0/s1600-h/UnicastWizard1.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="305" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqexnvgSoDwy71KPg3eI0C0AyVOfOmb5QJ3fQ8IsPXQjCytkY2W4H4OqYINfaxUTas5IjfF6c8G-04P4B1OhMRjwkZ5qAG9DXoCi2TqsYuzOjQ2EcwaZtyrWAGen-BkLuNewCDYFlwIo0/s400/UnicastWizard1.bmp" width="400" /></a><br />
On the "On-Demand Directory" window click the browse button and select a video that you want to stream then click on Next<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4rcj2vaShBlvysaZf6hzcEUZJIuX4alfaZ-InWDEQKr3iA2yDSkq-U71TSgJ3EuyVs48f3NrgvxBOTtuudEPoyf5KidQncsBfZUSRrhnJE2fBstwUkB-q08NM3eIvhclFeVk18EbNbwo/s1600-h/UnicastWizard2.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4rcj2vaShBlvysaZf6hzcEUZJIuX4alfaZ-InWDEQKr3iA2yDSkq-U71TSgJ3EuyVs48f3NrgvxBOTtuudEPoyf5KidQncsBfZUSRrhnJE2fBstwUkB-q08NM3eIvhclFeVk18EbNbwo/s320/UnicastWizard2.bmp" /></a><br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPcCtJByFuTSPRprEZ-Aajs3FsFbVOhfwJ1ZcLiHy1tGKmFaAZBsPQzEKZNk_Cy9Fp-wFpm1m5fAicXRZakgc4NeviUp95dDOzzAtQPXmkjWmrvFTrZgm-sn1PNJ54pcx_mduRMaF-ETs/s1600-h/UnicastWizard3.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPcCtJByFuTSPRprEZ-Aajs3FsFbVOhfwJ1ZcLiHy1tGKmFaAZBsPQzEKZNk_Cy9Fp-wFpm1m5fAicXRZakgc4NeviUp95dDOzzAtQPXmkjWmrvFTrZgm-sn1PNJ54pcx_mduRMaF-ETs/s320/UnicastWizard3.bmp" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioL8LmTKEjsmGz_v8x1D4yNngUWdR40OD9asmhg9WY_GVio2HRj2N5wWCGHclR_y99057GK_OtBXvthbvcBJvk8gN130BB_zjC_yriIp7uD7xhLGK51zpMaCXFouQ4krgqDgYkITmDwNo/s1600-h/UnicastWizard4.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioL8LmTKEjsmGz_v8x1D4yNngUWdR40OD9asmhg9WY_GVio2HRj2N5wWCGHclR_y99057GK_OtBXvthbvcBJvk8gN130BB_zjC_yriIp7uD7xhLGK51zpMaCXFouQ4krgqDgYkITmDwNo/s320/UnicastWizard4.bmp" /></a><br />
On the Access the Content Screen click on Next<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhX7aqPGsmcfg53lsPn5_4vYsW-6gg6fLUeSz2UcTuFCMIVFTW8cwM6-nhMjlm5RVwWgA3ZY5y0HJ9CstOvYDijHsZyXOG2nB6MSBAxLGq8Q6a2uhIFGyRfaSSjgRql-0nDqsQ7GRNDVu8/s1600-h/UnicastWizard5.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhX7aqPGsmcfg53lsPn5_4vYsW-6gg6fLUeSz2UcTuFCMIVFTW8cwM6-nhMjlm5RVwWgA3ZY5y0HJ9CstOvYDijHsZyXOG2nB6MSBAxLGq8Q6a2uhIFGyRfaSSjgRql-0nDqsQ7GRNDVu8/s320/UnicastWizard5.bmp" /></a><br />
On the Save Announcement Option screen select the path where you want to save the announcement. I decided to save the asx file on an IIS web site so that i can get an hhtp link to that file. So i created a simple IIS website called Media Services and gave its physical path as "C:\Inetpub\wwwroot\Media" and saved the asx file on the same path<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh54-7Fds7kX-ZZ6xZNGyHMZhM23wb4Tc38zfhukN5ASDa9BAiLU74L1NQU0SmDgeVSp4ls34JB-KE1U5OPpUrS95JKbDmkMdn49ATJjw2hlCye-8xgNLOaV4MCe0gblZQuzVnOw635zLE/s1600-h/UnicastWizard6.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh54-7Fds7kX-ZZ6xZNGyHMZhM23wb4Tc38zfhukN5ASDa9BAiLU74L1NQU0SmDgeVSp4ls34JB-KE1U5OPpUrS95JKbDmkMdn49ATJjw2hlCye-8xgNLOaV4MCe0gblZQuzVnOw635zLE/s320/UnicastWizard6.bmp" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxqAUvcLbynSewewYOa81bRndvkO0ckYLySjo_w7hjzjsH3O7RtrmVhhOnzm1WNy7asI51BR3lH4xFW8VA4HdwS9jKddbs2g50ndzoyN2F3FdOTuuoC6vYhy9fhp6igYl_UeTHAvYJCYU/s1600-h/UnicastWizard7.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxqAUvcLbynSewewYOa81bRndvkO0ckYLySjo_w7hjzjsH3O7RtrmVhhOnzm1WNy7asI51BR3lH4xFW8VA4HdwS9jKddbs2g50ndzoyN2F3FdOTuuoC6vYhy9fhp6igYl_UeTHAvYJCYU/s320/UnicastWizard7.bmp" /></a><br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7JhoAOf4rRgfi3dR6WKVe2rhH6uLRzAtgbL9R5xlQSbjm_nittlbpP0hzsuCMdDkP_rDzW8TDPxJPlgghs9PTRZHqdt5Sepcr_JzQst_EKzAe9-HF7KZFAwBCkPmRx_YugKpvw7wtURs/s1600-h/UnicastWizard8.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7JhoAOf4rRgfi3dR6WKVe2rhH6uLRzAtgbL9R5xlQSbjm_nittlbpP0hzsuCMdDkP_rDzW8TDPxJPlgghs9PTRZHqdt5Sepcr_JzQst_EKzAe9-HF7KZFAwBCkPmRx_YugKpvw7wtURs/s320/UnicastWizard8.bmp" /></a><br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRtxhuA8Gf2nVH4d_AeR2V4Y1eLLxxpJSE-3OHGrAa45ZSN7wjSx0wrOcLeC0GLhr6aeB4c8yJcNQZJVH_-GtTMBZE5txS7O5B20Wy86WLaF1fGDQiRzbw0u9Bsyejk1WUTCBiPY7zsI0/s1600-h/IISSite.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRtxhuA8Gf2nVH4d_AeR2V4Y1eLLxxpJSE-3OHGrAa45ZSN7wjSx0wrOcLeC0GLhr6aeB4c8yJcNQZJVH_-GtTMBZE5txS7O5B20Wy86WLaF1fGDQiRzbw0u9Bsyejk1WUTCBiPY7zsI0/s320/IISSite.bmp" /></a><br />
On the Edit Announcement Metadata page you add metadata to the asx file and then click Next<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyApZvptKAI95eQs5ed9lUbg1tbr-bILmqOgFnlO6-v3lAkRL2TG6kqDh8VgDxTIhMfDT2T3nhQGIqjQZ8Jr26qcT0kWxnPe5euvdrk-PAIhUl_JbXFy0xU7qTR3nEdwWQtR5ntU4zS5k/s1600-h/UnicastWizard9.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyApZvptKAI95eQs5ed9lUbg1tbr-bILmqOgFnlO6-v3lAkRL2TG6kqDh8VgDxTIhMfDT2T3nhQGIqjQZ8Jr26qcT0kWxnPe5euvdrk-PAIhUl_JbXFy0xU7qTR3nEdwWQtR5ntU4zS5k/s320/UnicastWizard9.bmp" /></a><br />
On the Complete Announcement Wizard Page click Finish.<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8YJ5SKgZnrAQD3lMY2QVQePfMVstN6pekLSPhiPPp91Tt9qoPb_-VIPtFr14cChkyyEJo0P0o0k5pSgKP5tlmgGooR2FAHwwpBNEOrsNG0uzqpz6kjUGCw0pL0v7UyZ7bS1e24BlY8Pk/s1600-h/UnicastWizard10.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8YJ5SKgZnrAQD3lMY2QVQePfMVstN6pekLSPhiPPp91Tt9qoPb_-VIPtFr14cChkyyEJo0P0o0k5pSgKP5tlmgGooR2FAHwwpBNEOrsNG0uzqpz6kjUGCw0pL0v7UyZ7bS1e24BlY8Pk/s320/UnicastWizard10.bmp" /></a><br />
Till now we have a Video Stream created but now we need a Video Player web part to play this stream on the SharePoint site.<br />
<br />
So the next step is to create Media Player Web part. I created a simple webpart which embeds the Windows Media Player on the SharePoint page and takes the source parameter of the Video dynamically from the query string. The following is the code for the Media Player Web Part.<br />
<br />
<br />
<span style="background-color: #cccccc;">using System;</span><br />
<span style="background-color: #cccccc;">using System.Collections.Generic;</span><br />
<span style="background-color: #cccccc;">using System.Linq;</span><br />
<span style="background-color: #cccccc;">using System.Text;</span><br />
<span style="background-color: #cccccc;">using System.Web;</span><br />
<span style="background-color: #cccccc;">using Microsoft.SharePoint;</span><br />
<span style="background-color: #cccccc;">using System.Web.UI.WebControls.WebParts;</span><br />
<span style="background-color: #cccccc;">using System.Web.UI;</span><br />
<span style="background-color: #cccccc;">namespace MediaPlayerWebPart</span><br />
<span style="background-color: #cccccc;">{</span><br />
<span style="background-color: #cccccc;"> public class MediaPlayer : WebPart</span><br />
<span style="background-color: #cccccc;"> {</span><br />
<span style="background-color: #cccccc;"> private string videoPath = string.Empty;</span><br />
<span style="background-color: #cccccc;"> [WebBrowsable(true), Personalizable(true), WebDisplayName("Video Path")]</span><br />
<span style="background-color: #cccccc;"> public string VideoPath</span><br />
<span style="background-color: #cccccc;"> {</span><br />
<span style="background-color: #cccccc;"> get</span><br />
<span style="background-color: #cccccc;"> {</span><br />
<span style="background-color: #cccccc;"> return ((this.videoPath == null) ? string.Empty : this.videoPath);</span><br />
<span style="background-color: #cccccc;"> }</span><br />
<span style="background-color: #cccccc;"> set</span><br />
<span style="background-color: #cccccc;"> {</span><br />
<span style="background-color: #cccccc;"> this.videoPath = value;</span><br />
<span style="background-color: #cccccc;"> }</span><br />
<span style="background-color: #cccccc;"> }</span><br />
<span style="background-color: #cccccc;"> private string width = "192";</span><br />
<span style="background-color: #cccccc;"> [WebBrowsable(true), Personalizable(true), WebDisplayName("Width")]</span><br />
<span style="background-color: #cccccc;"> public string Width</span><br />
<span style="background-color: #cccccc;"> {</span><br />
<span style="background-color: #cccccc;"> get</span><br />
<span style="background-color: #cccccc;"> {</span><br />
<span style="background-color: #cccccc;"> return ((this.width == null) ? string.Empty : this.width);</span><br />
<span style="background-color: #cccccc;"> }</span><br />
<span style="background-color: #cccccc;"> set</span><br />
<span style="background-color: #cccccc;"> {</span><br />
<span style="background-color: #cccccc;"> this.width = value;</span><br />
<span style="background-color: #cccccc;"> }</span><br />
<span style="background-color: #cccccc;"> }</span><br />
<span style="background-color: #cccccc;"> private string height = "190";</span><br />
<span style="background-color: #cccccc;"> [WebBrowsable(true), Personalizable(true), WebDisplayName("Height")]</span><br />
<span style="background-color: #cccccc;"> public string Height</span><br />
<span style="background-color: #cccccc;"> {</span><br />
<span style="background-color: #cccccc;"> get</span><br />
<span style="background-color: #cccccc;"> {</span><br />
<span style="background-color: #cccccc;"> return ((this.height == null) ? string.Empty : this.height);</span><br />
<span style="background-color: #cccccc;"> }</span><br />
<span style="background-color: #cccccc;"> set</span><br />
<span style="background-color: #cccccc;"> {</span><br />
<span style="background-color: #cccccc;"> this.height = value;</span><br />
<span style="background-color: #cccccc;"> }</span><br />
<span style="background-color: #cccccc;"> }</span><br />
<span style="background-color: #cccccc;"> protected override void CreateChildControls()</span><br />
<span style="background-color: #cccccc;"> {</span><br />
<span style="background-color: #cccccc;"> //if(Page.Request.QueryString["VideoPath"] != null || Page.Request.QueryString["VideoPath"] != string.Empty)</span><br />
<span style="background-color: #cccccc;"> if (Page.Request.QueryString["VideoPath"] != null)</span><br />
<span style="background-color: #cccccc;"> {</span><br />
<span style="background-color: #cccccc;"> videoPath = Page.Request.QueryString["VideoPath"].ToString();</span><br />
<span style="background-color: #cccccc;"> }</span><br />
<span style="background-color: #cccccc;"> this.Controls.Add(new LiteralControl("<body><OBJECT ID=\"MediaPlayer\" WIDTH=\"" + width + "\" HEIGHT=\"" + height + "\" CLASSID=\"CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95\"STANDBY=\"Loading Windows Media Player components...\" TYPE=\"application/x-oleobject\"><PARAM NAME=\"FileName\" VALUE=\"" + videoPath + "\"><PARAM name=\"autostart\" VALUE=\"true\"> <PARAM name=\"ShowControls\" VALUE=\"true\"><param name=\"ShowStatusBar\" value=\"false\"><PARAM name=\"ShowDisplay\" VALUE=\"false\"><EMBED TYPE=\"application/x-mplayer2\" SRC=\"" + videoPath + "\" NAME=\"MediaPlayer\"WIDTH=\"192\" HEIGHT=\"190\" ShowControls=\"1\" ShowStatusBar=\"0\" ShowDisplay=\"0\" autostart=\"0\"> </EMBED> </OBJECT> </body>");</span><br />
<span style="background-color: #cccccc;">}</span><br />
<br />
<br />
Next.. create a Links List on a SharePoint site and add the link to the asx file that we just created.<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAiSusEPRs9Xlqs5_o3t_xVq5fEY0dHfnQKIEpmJpUW7KxcoWNF8rarGCRf4gutDIxnKs27XeKs3sGOrk1-qL1WgdVR_30Qe_EfP3gTtV7OjcV6UQObGFwp2RAR5moWV7OH4UoL1634JI/s1600-h/LinksList.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAiSusEPRs9Xlqs5_o3t_xVq5fEY0dHfnQKIEpmJpUW7KxcoWNF8rarGCRf4gutDIxnKs27XeKs3sGOrk1-qL1WgdVR_30Qe_EfP3gTtV7OjcV6UQObGFwp2RAR5moWV7OH4UoL1634JI/s320/LinksList.bmp" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfpIqrUR_0iYzF70oqSehiYXZefztuf57YB1VJxscfL_MU_4k2kbYSAOK-VJsVQPrvfnGGUKwR0uBAglOiy2hCP9Exc1uWicJk0x3pgQ4wh4zWaAxgl5vhl0q-ga5nnnp8tlrSl5Kw4gI/s1600-h/NewItem.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfpIqrUR_0iYzF70oqSehiYXZefztuf57YB1VJxscfL_MU_4k2kbYSAOK-VJsVQPrvfnGGUKwR0uBAglOiy2hCP9Exc1uWicJk0x3pgQ4wh4zWaAxgl5vhl0q-ga5nnnp8tlrSl5Kw4gI/s320/NewItem.bmp" /></a><br />
Once all this is done add the Media Player Web Part and a List View Web Part showing the list of videos on a SharePoint Web Part Page. For this PoC I added a DataView web part of this Links list which displayed the Name of the Video as a hyperlink to the same page with the url of the Video as the query string so that the Media Player Web Part picks up the source of the Video from the Query string and plays the Video.<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBoxs92rq-P0CDDv33croB4kT-yW3QGh3Smr4lMaj8Pz9t5-5NhNGiXMC3aK2hBqx9zWqMrmm_daukZws9CfhcHB2ZD6WFLBpiPRECjriXKFQsO62LkM5ecJ_L131ck64uJjAhmJZxFNo/s1600-h/SharePointSite.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="256" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBoxs92rq-P0CDDv33croB4kT-yW3QGh3Smr4lMaj8Pz9t5-5NhNGiXMC3aK2hBqx9zWqMrmm_daukZws9CfhcHB2ZD6WFLBpiPRECjriXKFQsO62LkM5ecJ_L131ck64uJjAhmJZxFNo/s320/SharePointSite.bmp" width="320" /></a><br />
So here it is Video Streaming on SharePoint!!!<br />
<br />
Now you can play videos from your Streaming Server directly on SharePoint.Anshul Sehgalhttp://www.blogger.com/profile/02703228432703749461noreply@blogger.com6tag:blogger.com,1999:blog-5030157093225190625.post-79914228430750214832010-02-09T22:44:00.007+05:302010-02-10T00:11:35.456+05:30Configuring MOSS farm with cross domain WFE and Application Server<div>Hello there,<div><br /></div><div>Recently we were trying to create a farm where we have a WFE (Web Front End) Server in a domain called Domain 2 and its MOSS Application Server in Domain 1. WFE is used to handle the Internet users whereas Application server is used to handle intranet users.</div></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhf9GoJuglUI_MnP0zpFfokT4svcCtIhrFxxYOLfJ5kT6ZMTXCSWs-mnBoheCv0Ta7lYIkyn_FmJ3XpC6mg-Zc3hXmHEXcWrdzsircdsP8zN9ZyykizNTSLqkQQ4XbreG0xjF4cmjFKp-w/s1600-h/FarmTopology.jpg"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 161px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhf9GoJuglUI_MnP0zpFfokT4svcCtIhrFxxYOLfJ5kT6ZMTXCSWs-mnBoheCv0Ta7lYIkyn_FmJ3XpC6mg-Zc3hXmHEXcWrdzsircdsP8zN9ZyykizNTSLqkQQ4XbreG0xjF4cmjFKp-w/s320/FarmTopology.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5436296679243335074" /></a><br /> Here in this blog i will try to explain step by step process that we took in order to achieve the required topology and also will list all the gotchas that we faced. In our farm we used exclusively Windows Server 2008 R2 operating system for the reason that we believe in <b>working on cutting edge.</b> With this being said lets start with the configuration steps.<div><br /></div><div><ol><li>Our first assumption is that we have two fully functional domains setup with all the required user accounts functional, viz a domain administrator account is needed for the time being at both the domains :)</li><li>To Domain 1 add a Server box and install MOSS and SQL Server to it. If required MOSS and SQL server can be also in two different boxes, but we managed with a single box. Here take care that you install the required Servers with domain admin account or else later we would have to update farm administrator and add permissions to SQL Server. (Installation and configuration steps for MOSS and SQL Server are not covered).</li><li>Now, establishing domain trust is required. For this purpose go to any of the DC machine and open <b>Active Directory Domains and Trusts. </b> But wait..... before this step go to you <b>TCP/IPv4</b> properties in Network and Sharing Centre and add the other DNS server ip address in the alternate DNS field. By other DNS server i mean that the DNS server that the other DC is using. In our case we have configured DNS in the same box. Do this for both the DCs. Now in Active Directory Domains and Trusts right click on the listed domain and go to properties. Go to trust Tab and click <b>New Trust. </b>Select the the option mentioning two way trust. It should be noted that we can also create incoming and outgoing trust between domains can be set-up, but to be on the safer side we decided to create two way trust. In the wizard it will ask for domain administrator credentials, provide it and complete the wizard. Now the domain trust is created, we can cross check it by logging in to the other DC and check out the Active Directory Domains and Trust console.</li><li>Now on Domain 2 add another box on which we will install MOSS with WFE role. Again in TCP/IPv4 properties of this box put the IP address of Domain 1 DNS in alternate DNS feild. Do the same for MOSS Server box. You will now notice that you can add users form Domain 1 into Domain 2. Add the domain admin (Domain1Admin-- account with which MOSS Server was configured) account of Domain 1 into <b>Administrators </b>group of WFE box. Log out and log in with the Domain1Admin account and start installing WFE role of MOSS in it. After installation run the <b>SharePoint Product and Technologies Configuration Wizard. </b> Select the option <b>Add to an existing Farm. </b> On next step give the SQL server name and click on Find Database button. Now this wizard will populate two thing for you. Config database and the farm administrator account. Verify that the farm administrator account is the account that you are logged in with. click next and finish the configuration wizard. If the wizard fails at step 2 then the possibility is that the Web application owner credentials does not match with the logged in account. Change those credentials from central admin and restart the configuration wizard at WFE end. After completing the wizard open the CA site at WFE.</li><li>If the home page of CA shows that the WFE is not configured, go to Operations and Services on Server, there check that the Web Application Services has started on not... it might happen that its on <b>Starting.</b> To resolve this manually stop and start the service using <b>stsadm command.</b></li></ol><div>If you follow these 5 steps you will have fully functioning farm with required topology. Will evaluate the advantage and other challenges faced in functioning of this topology and soon update the blog. So keep checking.......</div><div><br /></div><div>You can shoot me a mail if you have any queries regarding the blog or suggest any improvements in the blog.</div><div><br /></div><div>Till then.... Enjoy SharePointing :)</div><div><br /></div><div>Regards</div><div>Juzar Bharmal</div><div>MCP (SharePoint 3.0 Configuration and Development)</div><div>juzar30986@gmail.com</div><div>when going gets tough.... great ones party ;)</div><div><br /></div><div><br /></div><div><br /></div></div>Juzar Bharmalhttp://www.blogger.com/profile/16559466331185245073noreply@blogger.com2tag:blogger.com,1999:blog-5030157093225190625.post-70350219264199230962010-01-28T13:37:00.001+05:302010-02-12T12:31:28.703+05:30Problem in Uploading Slides To Slide Library in SharePoint 2010Recently when i was trying to check out the new features of Slide Library in SharePoint 2010 i faced a problem while publishing slides to the Slide Library. here are the steps which i performed<br />
<br />
1) Created the Slide Library<br />
2) In the slide library i clicked on Upload -> Publish Slides and it opened PowerPoint on my machine (then i selected a PowerPoint Presentation to open and after that i seleced a few slides to be published)<br />
3) After selecting the slides when i clicked on Publish button (on the Publish Slides Window) i got the following error<br />
<br />
<b>http://<path library="" my="" slide="" to=""> is not accessible. Either this location does not exist or you might not have permission to use this network resource.</path></b><br />
<br />
so i started googling it out. After searching alot on the net. I found other people facing the same issue. I did not find the solution to this problem but got a hint that this has something to do on the client side.<br />
<br />
<b>1st</b> thing that you have to ensure that you have <b>Office Professional PLUS</b> installed on your client machine only then you can Publish your slides to SharePoint Slide Library. I already had Office Proessionl PLUS so this was not the problem. Also if you have this problem then you get a different error saying that "<b>This feature requires Microsoft Office PowerPoint Professional</b>". This message is a bit misleading as you actually require Professional PLUS for this to work.<br />
<br />
Anyways comming back to my problem. I found that some of the integration features of Office client Applications and SharePoint work poperly only when you have <b>WebClient</b> service running on the client machine. For example features like <br />
<b>Opening a document library using Windows Explorer<br />
Saving documents directly to ShaerPoint document library from withing Office Client Application.</b><br />
<br />
The Operating Stsyem which i was using was <b>Windows Server 2008 R2 (Standard)</b>. So i started searching for this WebClient Service to see if it was running or not. I went to Start->Administrative Tools->Services i browsed through all the services but could not find it. then i realised that had not installed the <b>Desktop Experience</b> feature on my Server (The WebClient service is installed only when you install the Desktop Experience feature on you Server 2008 machine). So i went ahead and installed the feature. Then i again checked the services and i as expected i saw the WebClient service so i started the service After that i tried to publish the slides again and it worked like a charm....Problem solved!!<br />
<br />
So, as a summary here are the steps which i performe to solve the problem<br />
<br />
1) Go to Start->Administrative Tools->Server Manager<br />
2)In Server manager Click on Features and the click Add Features<br />
3)Select the <b>Desktop Experience</b> Feature and install it. Then Restart the Server (Required for installation of the feature)<br />
4)Go to Start->Administrative Tools->Services<br />
5)Select the Web Client Service and Start it.<br />
<br />
Following the above steps should solve your Problem. If you still face any problem please feel free to post a comment Ill try my best to solve it.Anshul Sehgalhttp://www.blogger.com/profile/02703228432703749461noreply@blogger.com10tag:blogger.com,1999:blog-5030157093225190625.post-61222283095739496582010-01-22T13:55:00.001+05:302010-01-22T13:56:00.027+05:30Error in Office Web Apps when installing on Domain ControllerI had installed SharePoint 2010 Public Beta (Farm Installation) on a Hyper-V machine with Windows Server 2008 R2 (Standard) as the OS and SQL Server 2008 R2 as my Database Server. I installed all the Pre-Requisites properly and the installation went really well and my SharePoint farm was fully configured and ready for use. Then i installed Office Web Apps and ran the configuration wizard without any errors.<br />
Then i created a Team Site , turned on the Office Web Apps feature for the site collection. Till this point everything was absolutely fine. But then i uploaded a word document onto the site and tried to view it in the browser using the Office Web Apps. It took a long time to open and then finally gave me the following error “<b>Word Web App cannot open this document because the server is still processing the document. Please try again later.</b>” <br />
<br />
Then i tried upload an Excel sheet and opend it in the browser. The excel opened without any problem which meant that there was no problem in the Excel Web Service. then i uploaded a PowerPoint presentation and opend it in the browser. It also gave me an error. It was quiet strange as the Office Web Applications had worked fine when i had installed SharePoint 2010 CTP version on a different machine.<br />
<br />
After googling for a while i found <a href="http://blogs.msdn.com/opal/archive/2009/11/16/installation-notice-for-sharepoint-2010-public-beta.aspx">Jie Li's Article</a> which talked about installing Office Web Apps on a DC.<br />
<br />
It turns out to be that if you are installing Office Web Apps on a machine which is a DC (Domain Controller) There are some extra steps which you need to perform in order to make Office Web Apps run properly.<br />
<br />
If you are using Office Web Apps on DC you need to run the following shell script to make it work<br />
<br />
<span style="background-color: #cccccc;">$e = Get-SPServiceApplication | where {$_.TypeName.Equals("Word Viewing Service Application")}</span><br />
<span style="background-color: #cccccc;">$e.WordServerIsSandboxed = $false</span><br />
<span style="background-color: #cccccc;">$e.WordServerIsSandboxed</span><br />
<br />
<span style="background-color: #cccccc;">#(Please use the below script for PowerPointServiceApplication - You need to enter "Y" for the answer of each cmd)</span><br />
<span style="background-color: #cccccc;">Get-SPPowerPointServiceApplication | Set-SPPowerPointServiceApplication -EnableSandboxedViewing $false</span><br />
<span style="background-color: #cccccc;">Get-SPPowerPointServiceApplication | Set-SPPowerPointServiceApplication -EnableSandboxedEditing $false</span><br />
<br />
So i ran the above commands and did an IIS reset and Issue Resolved. I was able to use Office Web Apps without any trouble.Anshul Sehgalhttp://www.blogger.com/profile/02703228432703749461noreply@blogger.com1tag:blogger.com,1999:blog-5030157093225190625.post-66420155245313293302010-01-21T12:39:00.003+05:302010-01-22T01:28:36.365+05:30How To Upgrade to SharePoint 2010 using Database Attach method: Part 2This is a Continuation of my previous post <a href="http://sharepoint2010blog.blogspot.com/2010/01/how-to-upgrade-to-sharepoint-2010-using.html">How To Upgrade to SharePoint 2010 using Database Attach method: Part 1</a> of my 2 Post series on How to Upgrade MOSS 2007 farm to SharePoint 2010 farm using Database attach method<br />
<br />
In my previous post we covered all the steps which were to be performed on MOSS 2007 server. In this post we will cover the steps which are to be performed on SharePoint 2010 site.<br />
<br />
The two steps which we covered in my previous post were<br />
<b>Step 1: Running Pre-Upgrade check command</b> on the MOSS 2007 server, reviewing the report generated by it and fixing any issues which might be there in the farm<br />
<b>Step 2: Copying the Content database from MOSS 2007 server to SharePoint 2010 server</b>.<br />
<br />
Now we move to the 3rd Step..<br />
<br />
<b>Step 3</b>: Create a new Web Application in SharePoint 2010. Once you will create a web application a content database will be attached to it, remove the database attached to the web application via Central Administration -> Application Management -> Manage Content Databases.<br />
Make sure that no database is attached to the Web Application which you have just created.<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhajOAbB_povrCC8yj341LTjwcWdm4T5jCsqmsy7WhMV0Ath15i7vkcGw4_okfPjFCVSpkRmMCN1vp8mPD2Q5WDCOTJhoD_06HdQgol0jbPj4sEg58HKwXRG1phlQbeV1guKl1pf131n8I/s1600-h/RemoveDB.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhajOAbB_povrCC8yj341LTjwcWdm4T5jCsqmsy7WhMV0Ath15i7vkcGw4_okfPjFCVSpkRmMCN1vp8mPD2Q5WDCOTJhoD_06HdQgol0jbPj4sEg58HKwXRG1phlQbeV1guKl1pf131n8I/s320/RemoveDB.png" /></a><br />
</div><br />
<br />
<br />
<b>Step 4</b>: Run the <b>Test-SPContentDatabase</b> cmdlet (PowerShell). <br />
Running this command will check if the database is ready for upgrade or not. This will tell you about the things which are missing in this farm (E.g. Any setup files, web parts etc.). You can either attend to these missing features pre or post-upgrade but this depends on whether there are any items that will block the upgrade from proceeding.<br />
<br />
<b>Syntax</b>: Test-SPContentDatabase -Name <databasename>-WebApplication <webappurl><br />
<br />
</webappurl></databasename><br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjIY00rn7_pMilmCKOeyAHth35hyphenhyphenXPSl9v3D0bbAybl6he5uTorBxcC4pHjghpJu4NsLgWHRaKDlU35gQQQgwMkHY6xh06ebgjGHwO7hnkHi-K8sRhNI1odtVeiNbJdzk9-kGc0aMfYSk/s1600-h/TestContentDB.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjIY00rn7_pMilmCKOeyAHth35hyphenhyphenXPSl9v3D0bbAybl6he5uTorBxcC4pHjghpJu4NsLgWHRaKDlU35gQQQgwMkHY6xh06ebgjGHwO7hnkHi-K8sRhNI1odtVeiNbJdzk9-kGc0aMfYSk/s400/TestContentDB.png" width="292" /></a><br />
</div><div class="separator" style="clear: both; text-align: center;"><br />
</div><br />
<b>Step 5</b>: Run the stsadm <b>addcontentdb</b> command to add the content Database to the web application which you created. This will initiate the upgrade process as shown in the screen below<br />
<b>Syntax</b>: stsadm -o addcontentdb -url <url>-databasename <database name=""><br />
<br />
</database></url><br />
<br />
<div style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcxjMc5alx9ChTfoKUyUBxmtWfAv4EfELhn5sfneqC4Lp7xURCLMG0mZtRx9BNO-hhGMgyJ-Juv45LO4NFYCES5MN2K0s65_SHr5YQzmNk8JvaOSwnC1U6EwJ6HYLps5zYXvs9wV_a5vo/s1600-h/AddContentDB1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="198" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcxjMc5alx9ChTfoKUyUBxmtWfAv4EfELhn5sfneqC4Lp7xURCLMG0mZtRx9BNO-hhGMgyJ-Juv45LO4NFYCES5MN2K0s65_SHr5YQzmNk8JvaOSwnC1U6EwJ6HYLps5zYXvs9wV_a5vo/s400/AddContentDB1.png" width="400" /></a><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7WXnn9Zx3fmqwJqjj8J7i9CW4HAQaaPiJD4YhlpmAqYKPoQz-QMXLiov8hbPv-Ld6sj-ktUtxnXukoJWUx-arHe-fF2MSElYfJQ6KydcubomOKVNqaI_XJZkYKEnhgfMgOl_gjsO8S1M/s1600-h/AddContentDB2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="198" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7WXnn9Zx3fmqwJqjj8J7i9CW4HAQaaPiJD4YhlpmAqYKPoQz-QMXLiov8hbPv-Ld6sj-ktUtxnXukoJWUx-arHe-fF2MSElYfJQ6KydcubomOKVNqaI_XJZkYKEnhgfMgOl_gjsO8S1M/s400/AddContentDB2.png" width="400" /></a><br />
</div><br />
<b>Step 6</b>: Review the Upgrade Log file and fix the errors.<br />
The upgrade process generates two log files. (Under 14/LOGS)<br />
<b>The upgrade log file</b> which contains all the information about the upgrade<br />
<b>The error log file</b> which gives you the error which occurred during the upgrade<br />
You can review the log files and fix the errors by manually upgrading the Customizations which were there in your site<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtMR1iY9X2yhnsYu4eTFOR7zbKcRPKLq3MQij1rFv0bdNRB5ePRTXKk7Hn6EELZQHNvKvPAFPO3IpMudyhKPFidfTTfj53u1ok-J_VvDlTQSMEbQqQYYBJIJMUD8xYo_OFtZ359yqm_6Y/s1600-h/UpgradeLog1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtMR1iY9X2yhnsYu4eTFOR7zbKcRPKLq3MQij1rFv0bdNRB5ePRTXKk7Hn6EELZQHNvKvPAFPO3IpMudyhKPFidfTTfj53u1ok-J_VvDlTQSMEbQqQYYBJIJMUD8xYo_OFtZ359yqm_6Y/s320/UpgradeLog1.png" /></a><br />
</div><div class="separator" style="clear: both; text-align: center;"> <a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZo3Ql66u6J6LNjm6MajCSdcziLX-Jr4vpjWciHzq1spmHxCbeNwfa2FeCgwzshVbUcrTJQ_hXPy8GeFZY5_0JjxoBrMqj6uboJ9TlSDIZggVqrsjSSBtBknVtE65MruBxZPNarq7Ovdc/s1600-h/UpgradeLog2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZo3Ql66u6J6LNjm6MajCSdcziLX-Jr4vpjWciHzq1spmHxCbeNwfa2FeCgwzshVbUcrTJQ_hXPy8GeFZY5_0JjxoBrMqj6uboJ9TlSDIZggVqrsjSSBtBknVtE65MruBxZPNarq7Ovdc/s320/UpgradeLog2.png" /></a><br />
</div><br />
<br />
<b>Step 7</b>: Upgrade Customizations<br />
You have to manually upgrade the customizations. I decided to copy the customization after doing the upgrade as none of it was blocking the upgrade. If any of your customization is blocking the upgrade you will have to upgrade the customization first and then do the upgrade.<br />
The customizations in this upgrade included the following things <br />
–A custom Solution (wsp)<br />
–2 custom Web Parts<br />
–Custom Images (/_layouts/Images)<br />
I added the solution to the farm solution store by using stsadm and then deployed it to my web application then I copied the Web Part assemblies to the GAC and added the Safe Control entries in the web.config file of my Web Application then I copied all the images used in my Web Application to appropriate places (like /14/TEMPLATE/IMAGES)<br />
<br />
Once you have upgraded all the customizations your <b>upgrade is complete</b>.<br />
<br />
There is one more Feature about which i would like to tell you is the <b>Visual Upgrade</b> feature. This feature gives you an option to switch between MOSS 2007 view of your Site and SharePoint 2010 view of your site after it has been upgraded.<br />
Since your custom themes will not be upgraded Visual upgrade gives you an option to keep the MOSS 2007 view after you have upgraded the site to buy you some time to create new themes for your SharePoint 2010 site and once you are done creating the new theme you can switch to the new SharePoint 2010 view.<br />
Following images show how the site looked after upgrade in MOSs 2007 view and SharePoint 2010 view.<br />
<br />
<b>Upgraded Site in MOSS 2007 View</b><br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJ51vI0mbFoKqTaMNO0BdusSm72HITx9TNLsOjJqxH9KEACkst4mM0HAc0dSwuA94VO2B9efIHND3K55bduo_UHVth8i_tH13HaoLYnvqchKBvN8mZfcjyD5WdkavC0hYTpd4rzjor3k4/s1600-h/NewSiteV3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJ51vI0mbFoKqTaMNO0BdusSm72HITx9TNLsOjJqxH9KEACkst4mM0HAc0dSwuA94VO2B9efIHND3K55bduo_UHVth8i_tH13HaoLYnvqchKBvN8mZfcjyD5WdkavC0hYTpd4rzjor3k4/s400/NewSiteV3.png" width="400" /></a><br />
</div><br />
<b>Upgraded Site in SharePoint 2010 View</b><br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7iz2gvFscWEUu30_ETaEzlhJ9mATJTbPlNAr7z1ny2-qQLivhdWrid2RwlQKf-eFXq2jCzPxt5UgEb92zznK7LItBDScXunNLV175Fj3keYg5XAmb_mSfJ7jOquRUx9BR2EdwJbIMXCE/s1600-h/NewSiteV4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="305" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7iz2gvFscWEUu30_ETaEzlhJ9mATJTbPlNAr7z1ny2-qQLivhdWrid2RwlQKf-eFXq2jCzPxt5UgEb92zznK7LItBDScXunNLV175Fj3keYg5XAmb_mSfJ7jOquRUx9BR2EdwJbIMXCE/s400/NewSiteV4.png" width="400" /></a><br />
</div>Anshul Sehgalhttp://www.blogger.com/profile/02703228432703749461noreply@blogger.com16tag:blogger.com,1999:blog-5030157093225190625.post-40018269573502739962010-01-21T12:13:00.003+05:302010-01-22T01:28:14.256+05:30How To Upgrade to SharePoint 2010 using Database Attach method: Part 1Hi.. Once SharePoint 2010 is launched one of the first things that people would want to know is how to upgrade their existing sites (on MOSS 2007) to SharePoint 2010. In my previous blog post i had shown the various methods which one can use to <a href="http://sharepoint2010blog.blogspot.com/2010/01/upgrade-methods-in-sharepoint-2010.html">upgrade a MOSS 2007 farm to SharePoint 2010 farm</a>. In this Blog post i am going to show you a step by step guide to upgrade your MOSS 2007 Web Application to SharePoint 2010 using the Database Attach approach.<br />
I will explain this method in 2 Blog posts.<br />
In <b>Part 1</b> I am going to show you the steps which you need to perform before you start the upgrade like the pre upgrade check and reviwing the pre upgrade check report to make sure that your content database is ready for upgrade. In <a href="http://sharepoint2010blog.blogspot.com/2010/01/how-to-upgrade-to-sharepoint-2010-using_21.html"><b>Part 2</b></a> i am going to show you the actual upgrade process.<br />
Ok..so without any further delay....lets start!!<br />
<br />
I upgraded a sample Web Application which i had created on MOSS 2007 to SharePoint 2010. So i will explain the steps using that Scenario.<br />
But First let us take a look at the Pre-Requisites for Upgradation<br />
<b><span style="font-size: small;">Pre-Requisites</span></b><br />
<ul><li><b>MOSS 2007 should have SP2 Installed</b>. You should have SP2 installed on your MOSS 2007 machine. The preupgrade check command was added only in SP2. So if you do not have SP2 installed you will not have the preupgrade check command in stsadm.</li>
<li><b>SharePoint 2010 should be set up on a different Server machine</b>. This blog post will not show you how to set up SharePoint 2010 so you should have it installed and configured on a Machine. However if you want a guide on how to install SharePoint 2010 then you can refer to the following Blog Post <a href="http://sharepoint2010blog.blogspot.com/search/label/SharePoint%202010%20Installation">SharePoint 2010 Installation Whole 9 yards!!!</a> </li>
</ul>So let us now take a look at the Farm Structure which i am going to Upgrade<br />
The Farm had One Web Application. A root Level Site Collection with around 10 sub sites and one of those subsites had 15 more subsites. Folloing diagram shows the structure of the Web Application.<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_X9O-jpikAgxHvvndHtKXiJ3zE-FnGvOmooq9647sVQ3jelfu91p6A4O-F7E12WifSKHe9EVZAwI4v292VBLi-5yl4VICBrv0YrESazxgMmjeTBJg7WxX9kaOAF-tB0LLdMVscnFneQg/s1600-h/FARMStructure2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_X9O-jpikAgxHvvndHtKXiJ3zE-FnGvOmooq9647sVQ3jelfu91p6A4O-F7E12WifSKHe9EVZAwI4v292VBLi-5yl4VICBrv0YrESazxgMmjeTBJg7WxX9kaOAF-tB0LLdMVscnFneQg/s320/FARMStructure2.png" /></a><br />
</div><br />
<br />
<br />
<br />
<br />
Following were the customizations in the Portal<br />
34 Custom Site Columns 27 Custom Content Types<br />
2 Custom Web Parts<br />
1 Custom 3rd Party Rating Solution<br />
<ul><li>1 Custom Field Type (Rating Field Type)</li>
<li>6 Custom Content Types</li>
<li>1 Custom Web Part</li>
</ul>Custom Master page and Page Layout.<br />
<br />
The following image shows how the Site looked before the Upgrade. As you can see there were a lot of customizations on to the site master page.<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh91-AEHaarVM2hH3g3afslTc7Lq4WmEdsZaD6VhLxRC-koY7OGT4oNM7ZAhzM3_WODqJpC-XG4Xta08Ff8P1Xn8odTk9v1I3BsUrjfoKm796s1K7oWrCyhXptQFfXFRLthp3CSvZ9FwwA/s1600-h/OldSite.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh91-AEHaarVM2hH3g3afslTc7Lq4WmEdsZaD6VhLxRC-koY7OGT4oNM7ZAhzM3_WODqJpC-XG4Xta08Ff8P1Xn8odTk9v1I3BsUrjfoKm796s1K7oWrCyhXptQFfXFRLthp3CSvZ9FwwA/s320/OldSite.png" /></a><br />
</div><br />
<br />
So let us now start with the upgrade process<br />
<br />
<b>Step 1</b>: We have to run the Pre-Upgrade check command on the MOSS 2007 server to find out if there are any issues in the SharePoint 2007 farm (like missing site definitions, features etc.). Running the command will generate an html report for you. This report will not only notify you of any issues regarding your SharePoint farm such as missing Site Definition Information or missing Feature Information, but it also provides you with a blueprint of your SharePoint Farm setup<br />
Some of the details that are provided by this report are<br />
–Search content sources and start addresses<br />
–Office Server Search topology<br />
–Servers in the current farm<br />
–SharePoint version and list of components <br />
running in the farm<br />
–Supported upgrade types <br />
(Inplace Upgrade and Content Database Attach)<br />
–Site Definition and Feature Information<br />
–Language pack information<br />
–Alternate Access Mappings (AAM) <br />
that will need to be recreated<br />
–Customized List views (these will not be upgraded)<br />
–Customized field types (these will not be upgraded)<br />
–WSS Search topology<br />
-List of Content Databases and SQL server location <br />
<br />
<b>Syntax</b>: stsadm –o preupgradecheck<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiu5z8pF_u8hCp3nVzPfMSLaKXRYHMu0KoT5-fhyphenhyphenObnQs0cQ_gjdvhHi1I4oBd37Jd08vRpNDk9PwC1Zuzz1jKZhESLI2PlMxuqicO3xRsnz6Zc1XYs4SuOh5OZSVa9pG4NESkh070Q8lc/s1600-h/PreUpgrade.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiu5z8pF_u8hCp3nVzPfMSLaKXRYHMu0KoT5-fhyphenhyphenObnQs0cQ_gjdvhHi1I4oBd37Jd08vRpNDk9PwC1Zuzz1jKZhESLI2PlMxuqicO3xRsnz6Zc1XYs4SuOh5OZSVa9pG4NESkh070Q8lc/s320/PreUpgrade.png" /></a><br />
</div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"> <a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYGrAjGVTwYSfMaBkW1ZzgGZbL8SiOErgiMLK_R0j41bolp9F3atJ06o1jlzbwaxDuwNDlAibructXKpxy60hNiGPRWDt9KtVBf_-RsvTYMFTbEw6TDovftHlQhFQtEQkq94gKISeHGlg/s1600-h/PreUpgradeReport.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYGrAjGVTwYSfMaBkW1ZzgGZbL8SiOErgiMLK_R0j41bolp9F3atJ06o1jlzbwaxDuwNDlAibructXKpxy60hNiGPRWDt9KtVBf_-RsvTYMFTbEw6TDovftHlQhFQtEQkq94gKISeHGlg/s320/PreUpgradeReport.png" /></a><br />
</div><br />
<br />
After you have reviewed the report and fixed any issues which might be there in your farm you can move to the next step.<br />
<br />
<b>Step 2</b>: Backup the content database of the Web Application from SQL Server. Copy it to the machine where SharePoint 2010 is installed and restore the backup of database in SQL Server using SQL Server Management Studio. To restore the backup you will first have to create an empty database in SQL Server and the restore your database one top of this new Database. While restoring make sure that the Overwrite the Existing Database option is checked (In the Options section....See image below)<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgGjxlLXPjKWD4B0Rlu-cFqTcXKZOUmHjaAADgjJoelnkKWLoBhfyBTxpVeFf7mb2krG-mFHoCqb-0A0JkLdzOqMjfh78ANXrjZOHWSuRSpSL4G4gm5xRMqqxl44NvGQkvQpS9MZcY2X8/s1600-h/CopyDB1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgGjxlLXPjKWD4B0Rlu-cFqTcXKZOUmHjaAADgjJoelnkKWLoBhfyBTxpVeFf7mb2krG-mFHoCqb-0A0JkLdzOqMjfh78ANXrjZOHWSuRSpSL4G4gm5xRMqqxl44NvGQkvQpS9MZcY2X8/s320/CopyDB1.png" /></a><br />
</div><div class="separator" style="clear: both; text-align: center;"> <a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGwssSKMPSc6ZGikNrM1_5rlzdzxzeVwRAUQwYSdL6dCua1qEYZu9KkE61_zieSmvTx4GuDrETDawi33f1C2Bx2g-3zhtE1KUGQlc5vsrbnotn5jdtLwEuAwNf7ECRaZG3JDDtQ9Be8J8/s1600-h/CopyDB2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGwssSKMPSc6ZGikNrM1_5rlzdzxzeVwRAUQwYSdL6dCua1qEYZu9KkE61_zieSmvTx4GuDrETDawi33f1C2Bx2g-3zhtE1KUGQlc5vsrbnotn5jdtLwEuAwNf7ECRaZG3JDDtQ9Be8J8/s320/CopyDB2.png" /></a><br />
</div><br />
<br />
<br />
At this point your database is checked for upgradation and transfered to the SharePoint 2010 farm. Now in the next steps we will start the Upgrade process on the SharePoint 2010 farm.<br />
The next steps are in my next blog post <a href="http://sharepoint2010blog.blogspot.com/2010/01/how-to-upgrade-to-sharepoint-2010-using_21.html">How To Upgrade SharePoint 2010 using Database Attach method: Part 2 </a>Anshul Sehgalhttp://www.blogger.com/profile/02703228432703749461noreply@blogger.com16tag:blogger.com,1999:blog-5030157093225190625.post-62920746359169263882010-01-14T14:48:00.001+05:302010-01-16T14:27:33.332+05:30Upgrade Methods in SharePoint 2010: Part 2This is the continuation of my previous post <a href="http://sharepoint2010blog.blogspot.com/2010/01/upgrade-methods-in-sharepoint-2010.html"> Upgrade Methods in SharePoint 2010: Part 1</a> In this post i am going to tell you about the 2 Hybrid Approaches that you can take for Upgrading your MOSS 2007 farm to a SharePoint 2010 farm.<br />
<br />
<strong><span style="font-size: large;">Hybrid Approach 1</span></strong><br />
In this approach you can make the databases of your MOSS 2007 farm read only and then Install SharePoint 2010 ona different machine. Upgrade your MOSS 2007 farm using the Database Attach approach. (On the new SharePoint 2010 farm) and the redirect your users to the new upgraded farm. This will allow you to give read only access to the users while the farm is being upgraded so it will help you in downtime mitigation.<br />
<br />
Here are the Pros/Cons for this approach<br />
<strong>Pros</strong><br />
<ul><li>The existing farm can continue to host non-upgraded sites (in read-only mode) while you upgrade the content. As a result, there is minimal downtime for users</li>
<li>You can upgrade multiple content databases at the same time, which results in faster upgrade times overall than an in-place upgrade</li>
<li>You can upgrade hardware in addition to software</li>
</ul><strong>Cons</strong><br />
<ul><li>The server and farm settings are not upgraded. You must manually transfer settings that you want to preserve from the old farm to the new farm</li>
<li>Any customizations must also be transferred and upgraded manually</li>
<li>Copying databases over a network takes time and bandwidth</li>
<li>You need direct access to the database servers</li>
</ul><br />
<strong><span style="font-size: large;">Hybrid Approach 2</span></strong><br />
In this approach you can detach your content databases and then do an <strong>In-Place upgrade</strong> once that is done you can attach the databases using the <strong>Database Attach approach. </strong>The benefit of this approach is that you can have the speed of the DB Attach upgrade and you can also keep your farm wide settings as you are upgrading the farm by using the In-Place upgrade.<br />
<br />
Here are th Pros/Cons of this approach<br />
<br />
<strong>Pros</strong><br />
<ul><li>Farmwide settings can be preserved and upgraded</li>
<li>Customizations are available in the environment after upgrade</li>
<li>You can upgrade multiple content databases at the same time</li>
</ul><strong>Cons</strong><br />
<ul><li>Copying databases over a network takes time and bandwidth</li>
<li>You need direct access to the database servers</li>
<li>Existing hardware may need replacing</li>
</ul>There are some more upgrade related things that i would like to mention here<br />
<br />
If you are <strong>upgrading from WSS 3.0 to SharePoint Foundation 2010</strong> you need to keep a few things in mind. <strong>SharePoint Foundation 2010</strong> (used to be called Windows SharePoint Services v4) is no longer a part of Windows Server operating system,<strong> it will not use Windows Internal Database. </strong>It uses <strong>SQL Server Express. </strong>So if your<strong> WSS Internal database is more than 4GB it would pass the limitation of SQL Server Express.</strong><br />
<br />
<strong>Workaround</strong>: download FILESTREAM RBS Provider to put large blob objects on file system, store the rest like metadata, configuration in databases. In this way, the limitation of SQL Server Express can be bypassed. (but you should consider to move to other SQL Server editions as SQL Server Express is not the choices for scalability)Anshul Sehgalhttp://www.blogger.com/profile/02703228432703749461noreply@blogger.com1tag:blogger.com,1999:blog-5030157093225190625.post-84410374954015968262010-01-14T14:19:00.003+05:302010-01-16T14:25:34.158+05:30Upgrade Methods in SharePoint 2010: Part 1Hi everyone I will explain the upgrade methods in Sharepoint 2010 in a series of two posts. In the 1st one i will tell about the two methods available to you out-of-the-box and in the second post <a href="http://sharepoint2010blog.blogspot.com/2010/01/upgrade-methods-in-sharepoint-2010-part.html">Upgrade Methods in SharePoint 2010: Part 2</a> i will tell about the two Hybrid approaches that you can take <br />
<br />
In SharePoint 2010 there are two upgrade methods available.<br />
<ul><li>In-Place Upgrade</li>
<li>Database Attach Upgrade</li>
</ul><strong><span style="color: red;">Note</span></strong>: There is no Gradual Upgrade method available for upgrading SharePoint 2007 to SharePoint 2010.<br />
<br />
There is also no direct upgrade method from SPS 2003 to SharePoint 2010. So if you want to upgrade from SPS 2003 to SharePoint 2010 you will have to upgrade SPS 2003 to MOSS 2007 and then from MOSS 2007 to ShaePoint 2010<br />
<br />
Let us now have a look at both the available upgrade methods one by one <br />
<br />
<strong><span style="font-size: large;">In-Place Upgrade</span></strong><br />
The InPlace upgrade is the easiest way to upgrade from MOSS 2007 to SharePoint 2010. In this approach you will install SharePoint 2010 on the same machine where MOSS 2007 was installed and the Upgrade wizzard will upgrade MOSS 2007 to SharePoint 2010. But make sure that you have run the <strong>pre-upgrade check</strong> before starting the upgrade to check all the pre-requisites are in place and all the errors are fixed.<br />
Here are some of the features of InPlace Upgrade:<br />
<ul><li>Very easy.. Wizard driven process. Click …Click ..finished</li>
<li>The Previous version is overwritten</li>
<li>All the sites are unavailable during upgrade</li>
<li>Site visitors continue to use the same URLs after the upgrade</li>
</ul> Here are some of the advancements that Microsoft has done in the InPlace Upgrade method.<br />
<ul><li><strong>Restartable</strong>: In the previous versions of SharePoint this upgrade process was not restartable but in SharePoint 2010 you can restart the upgrade process</li>
<li><strong>All Possible time-outs removed</strong>: In the previous versions if you used the Inplace upgrade a very big reason for the failure of upgrade was the time-out of one process or the other. Now all the possible time-outs have been removed to make this upgrade process more reliable</li>
</ul>Here are the Pros/Cons of the In-Place Upgrade approach<br />
<br />
<strong>Pros</strong><br />
<ul><li>Farmwide settings are preserved and upgraded.</li>
<li>Customizations are available in the environment after the upgrade</li>
</ul><strong>Cons</strong><br />
<ul><li>Servers and farms are offline while the upgrade is in progress</li>
<li>The upgrade proceeds continuously</li>
<li>After you begin an in-place upgrade, you cannot pause the upgrade or roll back to the previous version</li>
</ul><strong><span style="font-size: large;">Database Attach Upgrade</span></strong><br />
In database attach approach you install the SharePoint Server 2010 on a fresh Machine and you upgrade all the sites from your MOSS 2007 server by detaching the Content databases from MOSS Server and attaching them to the SharePoint 2010 server.<br />
Here are some of the key features of Database Attach Upgrade method<br />
<ul><li>SharePoint 2010 is installed on a fresh Server</li>
<li>You can upgrade the databases in any order</li>
<li>You <strong>can not</strong> upgrade any of the services or farm settings</li>
<li>You can upgrade several databases at the same time</li>
<li>Databases that can be Attached</li>
<ul><li>Content DB</li>
<li>SSP DB</li>
<li>Project DB</li>
</ul>
<li>Database that can not be attached</li>
<ul><li>Configuration DB</li>
<li>Search DB</li>
</ul>
</ul>Pros/Cons of the Database Attach approach<br />
<strong>Pros</strong><br />
<ul><li>You can upgrade multiple content databases at the same time, which results in faster upgrade times overall than an in-place upgrade</li>
<li>You can use a database attach upgrade to combine multiple farms into one farm</li>
</ul><strong>Cons</strong><br />
<ul><li>The server and farm settings are not upgraded. You must manually transfer settings that you want to preserve from the old farm to the new farm</li>
<li>Any customizations must also be transferred to the new farm manually. Any missing customizations may cause unintended losses of functionality or user experience issues</li>
<li>Copying databases over a network takes time and bandwidth</li>
<li>You need direct access to the database servers</li>
</ul>Anshul Sehgalhttp://www.blogger.com/profile/02703228432703749461noreply@blogger.com0tag:blogger.com,1999:blog-5030157093225190625.post-64437671785049363692010-01-14T04:16:00.001+05:302010-01-14T04:23:31.369+05:30Error in crawling User Profiles in SharePoint 2010 BetaWhile setting up Search in SharePoint 2010. I faced this problem that the user profile were not being crawled. I got the following error<br />
<br />
“Error in Portal Crawl Web Service” when I checked the logs I got the following message <br />
<br />
“PortalCrawl.GetSite(): System.UnauthorizedAccessException: Attempted to perform an unauthorized operation. At Microsoft.Office.Server.Administration.UserProfileApplicationProxy.DemandAdministrationAccess(UserProfileApplicationAdminRights rights) at Microsoft.SharePoint.Portal.Search.PortalCrawl.PortalCrawl.GetSite(_PortalSite& sSite).”<br />
<br />
It seemed to be permission related issue so I opened the Central Admin site and checked the Permissions on the Search Service Application to make sure that my service account has permissions on the Service Application.<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0mnqNHp60SSTNb41vJJf07J9y2aLDkoMBQ5AwBavbeiBypGF_Xb6tRaSLKGGVacgxLF6QPxnBzrA23I8njRlSuLkKhXWMEWoz_VJYDwN8rQUhGApnWUOPE3Y2FnMDrTwZ4GHajD1xJc0/s1600-h/SearchServicePermissions.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" ps="true" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0mnqNHp60SSTNb41vJJf07J9y2aLDkoMBQ5AwBavbeiBypGF_Xb6tRaSLKGGVacgxLF6QPxnBzrA23I8njRlSuLkKhXWMEWoz_VJYDwN8rQUhGApnWUOPE3Y2FnMDrTwZ4GHajD1xJc0/s400/SearchServicePermissions.png" /></a><br />
</div><br />
<br />
Then I went to the Web Application UserPolicy settings (Central Admin -> Security -> User Policy for Web application) and gave my Content access account full control on the Web Application which hosted my site. But after doing all this also I was not able to successful y crawl the User Profiles.<br />
<br />
Then I went to Search Service Application -> Content sources and removed the path for User Profile crawl (“<strong>sps3://<yourservername>”)</strong> from “Local SharePoint Sites” content source and created a new content source called People. Then I changed the path for UserProfile crawl to include <strong>’/my ’</strong> . So now the new path that I added to the content source was “<strong>sps3://<yourservername>/my</strong>” . I also changed the Crawl Settings from <strong>“Crawl everything under the hostname for each start address” to “Only crawl the Site Collection of each start address”.</strong><br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgheUP1Yw5E3Ep8C3DJ6rMPJH4MoQJ9xoNoV8thtSzgWk8zSyLFcuX_4lyIPJovU0LpDOS62AKh-VoJMOiRa-c706cYE5TTN0gmNNErpv20qDkg29rPFdOGxwWoYUAo6FgxGsW_eUlQNp8/s1600-h/ContentSourceSettingsPeople.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" ps="true" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgheUP1Yw5E3Ep8C3DJ6rMPJH4MoQJ9xoNoV8thtSzgWk8zSyLFcuX_4lyIPJovU0LpDOS62AKh-VoJMOiRa-c706cYE5TTN0gmNNErpv20qDkg29rPFdOGxwWoYUAo6FgxGsW_eUlQNp8/s400/ContentSourceSettingsPeople.png" /></a><br />
</div><br />
Then I ran a full crawl and it worked :)<br />
<br />
So now if you face a problem in crawling User Profiles in SHarePoint 2010 ..you know what to do.Anshul Sehgalhttp://www.blogger.com/profile/02703228432703749461noreply@blogger.com1tag:blogger.com,1999:blog-5030157093225190625.post-31059197891482004982010-01-14T03:42:00.001+05:302010-01-14T04:22:56.569+05:30Can not create MySite in SharePoint 2010While creating MySite in SharePoint 2010 I got the following error<br />
<br />
<br />
“Your personal site cannot be created. Contact your site administrator for more information”<br />
I tried a lot of things to fix this error but nothing worked……<br />
finally I decided to create the MySite Host from scratch and it worked like a charm.<br />
Here are the steps which I performed:-<br />
1. Create a Web Application<br />
2. Delete the “sites” managed path<br />
3. Create 2 managed paths<br />
1. My – Explicit inclusion<br />
2. Personal – wildcard inclusion<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-484R15HEwSxbsTA8Jo8DIrdIPSuRgTEeZwPlhQNKWxyrmo4CJSCXMrP4cH02KcQx97TEXZP2A22dNGytS1_Az0XJjzlJoh06ZJyejYA-XCXJvmxxF3LeZXfJVk7ypqkr6ojOO_4YjNQ/s1600-h/ManagedPathsettings.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" ps="true" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-484R15HEwSxbsTA8Jo8DIrdIPSuRgTEeZwPlhQNKWxyrmo4CJSCXMrP4cH02KcQx97TEXZP2A22dNGytS1_Az0XJjzlJoh06ZJyejYA-XCXJvmxxF3LeZXfJVk7ypqkr6ojOO_4YjNQ/s400/ManagedPathsettings.png" /></a><br />
</div><br />
4. Create a site in the above created web application at location /my/ and choose the MySite Host template from Enterprise templates<br />
<br />
<br />
5. Create a root site collection in the above created Web Application at location “/”. For enabling Self service site creation on that web application<br />
6. Enable self service site creation on that web application<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHUxFIFtPxtd5ILKuRNbfR9X9_mij2vM6cGwh2zJEjAGjRvI0hZQ1mmEnnW8r2yjLvQW0AuvcDrcfbj1E5wRWxxmt-1gjGVR3lAaqCLmPb3wtmVswr39U1rHk-N4OVBjCFVFfeT2mzRog/s1600-h/EnableSelfService.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" ps="true" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHUxFIFtPxtd5ILKuRNbfR9X9_mij2vM6cGwh2zJEjAGjRvI0hZQ1mmEnnW8r2yjLvQW0AuvcDrcfbj1E5wRWxxmt-1gjGVR3lAaqCLmPb3wtmVswr39U1rHk-N4OVBjCFVFfeT2mzRog/s400/EnableSelfService.png" /></a><br />
</div><br />
7. Go to Manage Service Applications -> User Profile Service Application and select Setup My Sites<br />
<br />
<br />
8. Change the path in the My site host location to the new one which you have just created<br />
<br />
9. Change the personal site path to “personal”<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieVzBV7aB4nwMtp-NwFugEj8tM_38EvZ1ZY8NsEoxvAGBohahuS4qzGhaUsP5PDPtArYILvswJ_1B6KGpw-nInVr3nLHnIGmp5pTefNnu8sPjcz26SrLPBeEhJ-I7TLCQkSBWWGNDWyys/s1600-h/MySiteHostChanges.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" ps="true" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieVzBV7aB4nwMtp-NwFugEj8tM_38EvZ1ZY8NsEoxvAGBohahuS4qzGhaUsP5PDPtArYILvswJ_1B6KGpw-nInVr3nLHnIGmp5pTefNnu8sPjcz26SrLPBeEhJ-I7TLCQkSBWWGNDWyys/s400/MySiteHostChanges.png" /></a><br />
</div><br />
After doing this MySites should be created without any errors. I think this might be a bug in the Beta Version and will be fixed in the RTM. <br />
I was not able to find the reason why the MySite Host which is created by SharePoint by default was not working but creating a new MySite host seems to solve the problem.<br />
<br />
If anyone finds any other solution please feel free to share it with me.Anshul Sehgalhttp://www.blogger.com/profile/02703228432703749461noreply@blogger.com5tag:blogger.com,1999:blog-5030157093225190625.post-75221655723243305982010-01-04T22:22:00.011+05:302010-01-04T22:30:23.364+05:30SharePoint and LiveLink Integration: Part 2<span style="font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;">This is a continuation of my previous post on <a href="http://sharepoint2010blog.blogspot.com/2010/01/sharepoint-and-livelink-integration.html">SharePoint and LiveLink integration: Part1</a> where I described how to archive SharePoint documents to LiiveLink. In this post I will tell you how to search LiveLink data through SharePoint.</span><br />
<span style="font-family: Calibri, sans-serif;"><span style="line-height: 17px;"><span style="font-family: Calibri, sans-serif; line-height: 115%;"><b>Searching Livelink Content from a SharePoint Site</b></span></span></span><br />
<span style="font-family: Calibri, sans-serif; font-size: 15px; line-height: 17px;">The purpose of this is to create a Search Page in SharePoint site which will be used for searching and displaying search results from Livelink. The following steps will tell us how to do it.</span><br />
<span style="font-family: Calibri, sans-serif; font-size: medium;"><span class="Apple-style-span" style="font-size: 15px; line-height: 17px;"><br />
</span></span><br />
<span style="font-family: Calibri, sans-serif; font-size: medium;"></span><br />
<span style="font-family: Calibri, sans-serif; font-size: medium;"><div class="MsoListParagraphCxSpFirst" style="margin-left: .75in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -.25in;"><span style="font-size: medium;">1.</span><span style="font: normal normal normal 7pt/normal 'Times New Roman';"><span style="font-size: medium;"> </span></span><span style="font-size: medium;">Create a web part page in SharePoint (e.g. LivelilkSearch.aspx)</span><br />
</div><div class="MsoListParagraphCxSpMiddle" style="margin-left: .75in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -.25in;"><span style="font-size: medium;">2.</span><span style="font: normal normal normal 7pt/normal 'Times New Roman';"><span style="font-size: medium;"> </span></span><span style="font-size: medium;">Create a user control using Visual Studio 2005\2008 which will have a text box (to enter the query string) a search button(Which will call the Livelink search service and pass the query from text box to get the search results) and a gridview to show the Search Results from Livelink.</span><br />
</div><div class="MsoListParagraphCxSpMiddle" style="margin-left: .75in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -.25in;"><span style="font-size: medium;">3.</span><span style="font: normal normal normal 7pt/normal 'Times New Roman';"><span style="font-size: medium;"> </span></span><span style="font-size: medium;">In your visual studio project add a web reference to the Livelink </span><span style="font-size: medium;">Search</span><span style="font-size: medium;"> Service.</span><br />
</div><div class="MsoListParagraphCxSpLast" style="margin-left: .75in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -.25in;"><span style="font-size: medium;">4.</span><span style="font: normal normal normal 7pt/normal 'Times New Roman';"><span style="font-size: medium;"> </span></span><span style="font-size: medium;">Add the code for the OnClick event of the search button to form the proper query string and pass it as a parameter to the </span><span style="font-size: medium;">ApplyQuery</span><span style="font-size: medium;"> function of the Search service and get the results and show them in the GridView.</span><br />
</div></span><span style="font-family: Calibri, sans-serif; font-size: medium;"><span style="font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;"> 5. Add this user control as a web part(using SmartPart) on the Search page that we created. </span></span><br />
<span style="font-family: Calibri, sans-serif; font-size: medium;"><span style="font-size: 15px; line-height: 17px;"><br />
</span></span><br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiyGYhnhIERMuheHgDfiBcUoYgQonKBR__3qPNM_TYmUCo_Ml4k9xPWsV1mNzxJhGrkrZmUqk0tMxQISqC6zJrEsFTJkjUkIXHYRXLoJvyPQv1KopETbCuOJ3kMHKsnq1ByORM6H9AsF-w/s1600-h/LiveLinkSearch.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiyGYhnhIERMuheHgDfiBcUoYgQonKBR__3qPNM_TYmUCo_Ml4k9xPWsV1mNzxJhGrkrZmUqk0tMxQISqC6zJrEsFTJkjUkIXHYRXLoJvyPQv1KopETbCuOJ3kMHKsnq1ByORM6H9AsF-w/s400/LiveLinkSearch.jpg" /></a><br />
</div><span style="font-family: Calibri, sans-serif; font-size: medium;"><span style="font-size: 15px; line-height: 17px;"><br />
</span></span>Anshul Sehgalhttp://www.blogger.com/profile/02703228432703749461noreply@blogger.com16tag:blogger.com,1999:blog-5030157093225190625.post-43554774361289875532010-01-04T22:11:00.002+05:302010-01-04T22:23:37.607+05:30SharePoint and LiveLink Integration: Part 1Sometime back i got a requirement for integrating LiveLink with SharePoint. The need was to search Livelink data through SharePoint interface and archive SharePoint documents to LiveLink. So i dicided to integrate the two using Web Services and was able to achieve the requirements successfully. So here is a blog post describing how you can integrate SharePoint 2007 with Livelink ECM.<br />
<br />
<br />
<h2>Integrating SharePoint and Livelink using Web Services.</h2><div class="MsoNormal">SharePoint can be integrated with Livelink Server though the Livelink Web Service .This uses standard HTTP protocol to communicate with the Livelink server. Livelink Web Services are installed on a Web Services application server, we do not have to install any Livelink software on the SharePoint Server or on the machine where we are building our applications. The following diagram shows how SharePoint can interact with Livelink through Livelink Web Services.<br />
</div><div class="MsoNormal"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglq5HSwIxLkbiNh-os7hle_Yl4ZK_Nirt4f6EvA_AzH38Yw8rLT2DmpyKVnuSSdf_PJdPezlp81GmsF-e1tzrNx08z5QBHGqa5xWa83Ch51C7VLGPfVb0f2Sg1LPkpC1jeXHLrlN1XmM4/s1600-h/LiveLinkSharePoint.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglq5HSwIxLkbiNh-os7hle_Yl4ZK_Nirt4f6EvA_AzH38Yw8rLT2DmpyKVnuSSdf_PJdPezlp81GmsF-e1tzrNx08z5QBHGqa5xWa83Ch51C7VLGPfVb0f2Sg1LPkpC1jeXHLrlN1XmM4/s320/LiveLinkSharePoint.jpg" /></a><br />
</div><div class="separator" style="clear: both; text-align: left;"><span style="font-family: Calibri, sans-serif; line-height: 115%;"><b><span style="font-size: x-large;">Archiving SharePoint Documents to Livelink</span></b></span><br />
</div><div class="separator" style="clear: both; text-align: left;"><span style="font-family: Calibri, sans-serif; font-size: medium;"><span style="font-size: 15px; line-height: 17px;"><b><br />
</b></span></span><br />
</div><div class="separator" style="clear: both; text-align: left;"><span style="line-height: 17px;"><b><span style="font-weight: normal; line-height: normal;"><span style="font-family: inherit;">The purpose of this is to provide an “Archive to Livelink” option for documents stored in SharePoint sites and on click of that button the document will be archived to Livelink. The following steps tell us how to do it.</span></span></b></span><br />
</div><div class="separator" style="clear: both; text-align: left;"><span style="font-family: Calibri, sans-serif; font-size: medium;"><span style="font-size: 15px; line-height: 17px;"><b><br />
</b></span></span><br />
</div><div class="separator" style="clear: both; text-align: left;"><b><span style="font-family: Calibri, sans-serif; font-size: 15px; font-weight: normal; line-height: 17px;"><b>Step 1</b><span style="font-family: 'Times New Roman'; font-size: medium; line-height: normal;"><span style="font-family: Calibri, sans-serif; font-size: 15px; line-height: 17px;">: Create a custom feature in SharePoint to add an extra item in the dropdown menu that comes when you click on any document. Specify the item name as “Archive to Livelink”</span></span></span></b><br />
</div><div class="separator" style="clear: both; text-align: left;"><span style="font-family: Calibri, sans-serif; font-size: medium;"><span style="font-size: 15px; line-height: 17px;"><br />
</span></span><br />
</div><div class="separator" style="clear: both; text-align: left;"><span style="font-family: Calibri, sans-serif; font-size: medium;"><span style="font-size: 15px; line-height: 17px;"><br />
</span></span><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhAB4rvtQSC7XEe9GRINP63aAdjX7_DTx9VJJklGQBMJO9R_rbidi_bcOxJKPyZb_SsjKvXr0bFDjxsh_V3E3LcA7i5enSgguLEUIUWqgA9vSpSCEXMRVSBFOQTneCLVv4pD_9BfgAcrE/s1600-h/ArchiveFeature.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhAB4rvtQSC7XEe9GRINP63aAdjX7_DTx9VJJklGQBMJO9R_rbidi_bcOxJKPyZb_SsjKvXr0bFDjxsh_V3E3LcA7i5enSgguLEUIUWqgA9vSpSCEXMRVSBFOQTneCLVv4pD_9BfgAcrE/s320/ArchiveFeature.jpg" /></a><br />
</div><div class="separator" style="clear: both; text-align: left;"><span style="font-family: Calibri, sans-serif; font-size: medium;"><span style="font-size: 15px; line-height: 17px;"><br />
</span></span><br />
</div><div class="separator" style="clear: both; text-align: left;"><span style="font-family: Calibri, sans-serif; font-size: medium;"><span style="font-size: 15px; line-height: 17px;"><b>Step 2: <span style="font-weight: normal;">Create a web part Page in SharePoint and Modify the above created feature to Point to this page when we click on the “Archive to Livelink” option</span></b></span></span><br />
</div><div class="separator" style="clear: both; text-align: left;"><span style="font-family: Calibri, sans-serif; font-size: medium;"><span style="font-size: 15px; line-height: 17px;"><br />
</span></span><br />
</div><div class="separator" style="clear: both; text-align: left;"><span style="font-family: Calibri, sans-serif; font-size: medium;"><span style="font-size: 15px; line-height: 17px;"><br />
</span></span><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUFkZ9KDhNRUHm1TgdhHIYewVW0d19LZ0eFEbVT45irwFIv-ZPRicazyzEMlCCch7g7QiG69MJZJyKgUHgJn-7T2kQftWHMHMaNNVs8X-Wqd6vNC0ArKMj23Z3BNT8oFnxSZFmvZeY6s0/s1600-h/ArchiveFeatureChange.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUFkZ9KDhNRUHm1TgdhHIYewVW0d19LZ0eFEbVT45irwFIv-ZPRicazyzEMlCCch7g7QiG69MJZJyKgUHgJn-7T2kQftWHMHMaNNVs8X-Wqd6vNC0ArKMj23Z3BNT8oFnxSZFmvZeY6s0/s320/ArchiveFeatureChange.jpg" /></a><br />
</div><div class="separator" style="clear: both; text-align: left;"><span style="font-family: Calibri, sans-serif; font-size: medium;"><span style="font-size: 15px; line-height: 17px;"><br />
</span></span><br />
</div><div class="separator" style="clear: both; text-align: left;"><span style="font-family: Calibri, sans-serif; font-size: medium;"><span style="font-size: 15px; line-height: 17px;"><b>Step 3: <span style="font-weight: normal;">Create a user control in Visual Studio 2005/2008 and add a web reference to the <b style="mso-bidi-font-weight: normal;">DocMan</b> Web Service of Livelink. Use the <b style="mso-bidi-font-weight: normal;">ListObjects</b> function of this web service to get the livelink folder structure (to allow users to select the folder in which they want to put the selected document). Then add this user control on the Web part page that we created in the previous step using SmartPart(This is a SharePoint web part which is used to add ASP.NET user controls on SharePoint sites. It is available as a free download on <a href="http://www.codeplex.com/">www.codeplex.com</a>)</span></b></span></span><br />
</div><div class="separator" style="clear: both; text-align: left;"><b style="mso-bidi-font-weight: normal;"><span style="font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;">Note</span></b><span style="font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;">: I am creating user controls instead of web parts because it is easy to design the UI but the same thing can also be done by creating a web part.</span><br />
</div><div class="separator" style="clear: both; text-align: left;"><span style="font-family: Calibri, sans-serif; font-size: medium;"><span style="font-size: 15px; line-height: 17px;"><br />
</span></span><br />
</div><div class="separator" style="clear: both; text-align: left;"><span style="font-family: Calibri, sans-serif; font-size: medium;"><span style="font-size: 15px; line-height: 17px;"><br />
</span></span><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgV9djLOqKnb9G1ZSrk6sjfBwCqUbyNVFM6GHLypvmQYJwoZyul979KNesZHASwJzhmZ2YN-rnfD_DyJG5t2ZiMtvP4lDspjZIFHNwASALaGTZWDVhcy9SYS4Qh0C-1hZMkWtYpSVgJsOA/s1600-h/LiveLinkView.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgV9djLOqKnb9G1ZSrk6sjfBwCqUbyNVFM6GHLypvmQYJwoZyul979KNesZHASwJzhmZ2YN-rnfD_DyJG5t2ZiMtvP4lDspjZIFHNwASALaGTZWDVhcy9SYS4Qh0C-1hZMkWtYpSVgJsOA/s320/LiveLinkView.jpg" /></a><br />
</div><div class="separator" style="clear: both; text-align: left;"><b><span style="font-weight: normal;"><br />
</span></b><br />
</div><div class="separator" style="clear: both; text-align: left;"><span style="font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;"><b>Step 4</b>: Create another user control in Visual Studio which uses the <b style="mso-bidi-font-weight: normal;">AddDocument</b>(if file size is less than 1Mb) or <b style="mso-bidi-font-weight: normal;">AddDocumentSegmented</b>(If file size is greater than 1Mb) function of the <b style="mso-bidi-font-weight: normal;">DocMan</b> web service to copy a document to Livelink. The required parameters for the add document function are provided by query string and the above web part that we created. Add this user control to the same webpart page.</span><br />
</div><div class="separator" style="clear: both; text-align: left;"><span style="font-family: Calibri, sans-serif; font-size: medium;"><span style="font-size: 15px; line-height: 17px;"><br />
</span></span><br />
</div><div class="separator" style="clear: both; text-align: left;"><span style="font-family: Calibri, sans-serif; font-size: medium;"><span style="font-size: 15px; line-height: 17px;"><br />
</span></span><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5uQFNz1dtGUNtuOh6Y1mBl3iFTWdMJbgEkm78pfKRTO14IRUdEGKMDP6oFGZkklJzP_w_JkNaPHcZY8GqJX_W-LLr9IUk9LYFOrZwASR31nagXeLIXKJuesVZLx9c3xwQvJORWIdOFj8/s1600-h/ArchiveWebPart.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5uQFNz1dtGUNtuOh6Y1mBl3iFTWdMJbgEkm78pfKRTO14IRUdEGKMDP6oFGZkklJzP_w_JkNaPHcZY8GqJX_W-LLr9IUk9LYFOrZwASR31nagXeLIXKJuesVZLx9c3xwQvJORWIdOFj8/s640/ArchiveWebPart.jpg" /></a><br />
</div><div class="separator" style="clear: both; text-align: left;"><span style="font-family: Calibri, sans-serif; font-size: medium;"><span style="font-size: 15px; line-height: 17px;"><br />
</span></span><br />
</div><div class="separator" style="clear: both; text-align: left;"><span style="font-family: Calibri, sans-serif; font-size: medium;"><span style="font-size: 15px; line-height: 17px;"><span style="font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;"><b>Step 5</b>: Create a confirmation page (a web part page in SharePoint) to confirm that your document is archived or not after you click on the Archive button.</span></span></span><br />
</div><div class="separator" style="clear: both; text-align: left;"><span style="font-family: Calibri, sans-serif; font-size: medium;"><span style="font-size: 15px; line-height: 17px;"><br />
</span></span><br />
</div><div class="separator" style="clear: both; text-align: left;"><span style="font-family: Calibri, sans-serif; font-size: medium;"><span style="font-size: 15px; line-height: 17px;"><br />
</span></span><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDX1skf_0ZSFltxWpFVcwnMcvhZCqzWyxFHRt_A3Xh2Is5JegVbLDFEw9Wf6LrdakpZWmgcZvkw_1fBE83vgJ_hhyE5tA5xmGTe0XWWm8Pir3wQb3h39XbZm5gXdx72Eh01QuOxKKdAHQ/s1600-h/Confirmation.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDX1skf_0ZSFltxWpFVcwnMcvhZCqzWyxFHRt_A3Xh2Is5JegVbLDFEw9Wf6LrdakpZWmgcZvkw_1fBE83vgJ_hhyE5tA5xmGTe0XWWm8Pir3wQb3h39XbZm5gXdx72Eh01QuOxKKdAHQ/s320/Confirmation.jpg" /></a><br />
</div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: left;">So this is one way of Integrating SharePoint with LiveLink using LiveLink web services. Same thing can be done using LiveLink APIs also.<br />
</div>Anshul Sehgalhttp://www.blogger.com/profile/02703228432703749461noreply@blogger.com10tag:blogger.com,1999:blog-5030157093225190625.post-43907950301581150022010-01-01T21:09:00.001+05:302010-01-02T14:27:09.623+05:30Correlation ID (SharePoint 2010 Logging enhancements)<div style="border-bottom: solid #4F81BD 1.0pt; border: none; mso-border-bottom-themecolor: accent1; mso-element: para-border-div; padding: 0in 0in 4.0pt 0in;"><div class="MsoTitle"><span style="font-weight: bold;">Correlation ID </span><br />
</div></div>While using MOSS 2007 some time or the other you would have come across the SharePoint 2007 error screen showing a message “An unexpected error has occured” which was not at all helpful in finding out what the error was and how to solve the error and then you would have to go through the huge log file to find out what the error was, all in all it was a very irritating process. In SharePoint 2010 a deep investment has been made to make these error messages more meaningfull. Now every error message comes with a Corellation ID. Events such as page loads and other common events within ULS logs have a corresponding Correlation ID. This ID is grouped with other events based on the same conversation. For example, User A hits a WFE and accesses a site. All the events in the ULS logs that correlate with User A’s login all share the same correlation ID. This makes mining the ULS logs easy in that you can filter based on correlation ID. If the conversation hits multiple servers in the farm, those other servers maintain the exact same correlation ID. A common scenario for this is when a WFE is calling a web service on an application server. It’s also possible to filter on Correlation ID via a SQL profiler trace so you can truly get a farm wide picture of what happened at each level of the conversation. SharePoint error pages also expose a correlation ID along with time stamp of the error so now it’s simple to find the conversation in the servers corresponding ULS logs.<br />
<div class="MsoNormal"><span style="font-family: 'Times New Roman', serif; font-size: 12pt; line-height: 115%;">Let me show you an example on how to use the Correlation ID in Sharepoint 2010.<o:p></o:p></span><br />
</div><div class="MsoNormal"><span style="font-family: 'Times New Roman', serif; font-size: 12pt; line-height: 115%;">While installing SharePoint at the final step where all the Service applications are set up (Using the Central Admin Configuration Wizard) I got an error that the Service Application proxy “User Profile Service Application” could not be provissioned and it had a Correlation ID with it.<o:p></o:p></span><br />
</div><div class="MsoNormal"><span style="font-family: 'Times New Roman', serif;"><span style="line-height: 18px;"><br />
</span></span><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6_e8Jw6nUhXA_Vz-11jJo_W8UZA2tpOSc8lTVDk-u5pKDi8p2GjAXlkldXRQuxrusnMfu7C-Gs0QwpViKobbbf8AfrKbsFc91Sig29AsYoy7l0mXn8gs_ChSUHhh1dIJW3nfupaUTgaw/s1600-h/CorrelationID1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6_e8Jw6nUhXA_Vz-11jJo_W8UZA2tpOSc8lTVDk-u5pKDi8p2GjAXlkldXRQuxrusnMfu7C-Gs0QwpViKobbbf8AfrKbsFc91Sig29AsYoy7l0mXn8gs_ChSUHhh1dIJW3nfupaUTgaw/s320/CorrelationID1.jpg" /></a><br />
</div><div class="MsoNormal"><span style="font-family: 'Times New Roman', serif;"><span style="line-height: 18px;"><br />
</span></span><br />
</div><div class="MsoNormal"><span style="font-family: 'Times New Roman', serif;"><span style="line-height: 18px;"><span style="font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;">So I copied the Correlation ID and opened the latest log file stored in the “14 Hive” in the LOGS folder and searched for that Correlation ID and found that the request to the UserProfile Web Service (<a href="https://win-68pf7lqfgsp.sharepoint2010.com:32844/dfe57e423b814308b56fd086f0ed4985/ProfilePropertyService.svc">https://<servername>:<port number="">/<guid of="" service="" web="">/ProfilePropertyService.svc</guid></port></servername></a>) was being timed out .</span></span></span><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzIkFW37aDPjWXr-0kJXQy5qYPvo4Rzmpv9T1EN_m2W-JJhw3Sa5fzsfTqtCNqotXEs6lCCED9GmI4RGdZiyuPaGskdwnLX7ZnQHZNUK9qDgIblGe2iDKs6i0-CNy6rzbNQ7-HwtEyoo8/s1600-h/CorrelationID2.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzIkFW37aDPjWXr-0kJXQy5qYPvo4Rzmpv9T1EN_m2W-JJhw3Sa5fzsfTqtCNqotXEs6lCCED9GmI4RGdZiyuPaGskdwnLX7ZnQHZNUK9qDgIblGe2iDKs6i0-CNy6rzbNQ7-HwtEyoo8/s320/CorrelationID2.jpg" /></a><br />
</div><div class="MsoNormal"><span style="font-family: Calibri, sans-serif; font-size: medium;"><span style="font-size: 15px; line-height: 17px;"><br />
</span></span><br />
</div><div class="MsoNormal"><span style="font-family: Calibri, sans-serif; font-size: medium;"><span style="font-size: 15px; line-height: 17px;"></span></span><br />
</div><span style="font-family: Calibri, sans-serif; font-size: medium;"></span><br />
<span style="font-family: Calibri, sans-serif; font-size: medium;"></span><br />
<span style="font-family: Calibri, sans-serif; font-size: medium;"><div class="MsoNormal">So then I opened the IIS Manager and Opened the UserProfile Web service’s Web.Config file and increased the Binding timeout from 20 secs to 50 secs and then I again ran the Server Configuration Wizard from Central administration and this time the User Profile Service Application was configured properly without any error. <br />
</div><div class="MsoNormal"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8fBkEvelpc2KgXB-l8Ze0yDSmaFHQDYctodbYHqfG5lVmsX3rtFy7upOyetDJYJWjjPb7kedz5swUa2N1Hh0BCWDKcG90Q9bn-I6ZcolVVA-mR4rFPDnsMpM6OF9XZ_Ta9p2seqPCcKs/s1600-h/CorrelationID3.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8fBkEvelpc2KgXB-l8Ze0yDSmaFHQDYctodbYHqfG5lVmsX3rtFy7upOyetDJYJWjjPb7kedz5swUa2N1Hh0BCWDKcG90Q9bn-I6ZcolVVA-mR4rFPDnsMpM6OF9XZ_Ta9p2seqPCcKs/s320/CorrelationID3.jpg" /></a><br />
</div><div class="MsoNormal"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5bhPAVRrkVNE-RawvwtfkI4ZYzligMGzeNDkFC-5QKGOedB9hX-c8DHWueP7XQlnJvSzNe4M1xGLBboDUHX2cyhjxWDG197U4JkWFAEDt_wkvHmNKo29aiBRjcbQob7VmUUL6R32RogY/s1600-h/CorrelationID4.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5bhPAVRrkVNE-RawvwtfkI4ZYzligMGzeNDkFC-5QKGOedB9hX-c8DHWueP7XQlnJvSzNe4M1xGLBboDUHX2cyhjxWDG197U4JkWFAEDt_wkvHmNKo29aiBRjcbQob7VmUUL6R32RogY/s320/CorrelationID4.jpg" /></a><br />
</div><div class="MsoNormal"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhi_PDPEa1XxlXEx-KsfMjrBq0MWf2wT6ayGmr3mR0khe4Giyt7V1pkcUFpX4n1vHUIBjwNF55CSzkCrEGu5iquAeK8OU2a0EvCmmTY51zTfSY9N7IdtN7RMwRSpm4_lYqim-FX1xXo0os/s1600-h/CorrelationID5.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhi_PDPEa1XxlXEx-KsfMjrBq0MWf2wT6ayGmr3mR0khe4Giyt7V1pkcUFpX4n1vHUIBjwNF55CSzkCrEGu5iquAeK8OU2a0EvCmmTY51zTfSY9N7IdtN7RMwRSpm4_lYqim-FX1xXo0os/s320/CorrelationID5.jpg" /></a><br />
</div><div class="MsoNormal"><br />
</div></span><span style="font-family: Calibri, sans-serif; font-size: medium;"><span style="font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;">The correlation ID helped me to find the exact error and so I was able to solve the error within no time. I think this is a fantastic feature which will save a lot of our time. Hope you all will make good use of this Correlation ID feature to find and solve the SharePoint errors that you get. </span></span>Anshul Sehgalhttp://www.blogger.com/profile/02703228432703749461noreply@blogger.com1tag:blogger.com,1999:blog-5030157093225190625.post-28320204813594570792010-01-01T19:29:00.001+05:302010-01-04T10:55:11.348+05:30Installing SharePoint 2010 Whole 9 Yards!!!SharePoint 2010 (Beta) is now out and available for public download on the Microsoft Site.<br />
<br />
<br />
So here is a guide on how to install and configure it properly<br />
<br />
Before you can start installing SharePoint 2010 on your machine. There are certain prerequisites which should be installed. Here is a list of software prerequisites for installing SharePoint 2010<br />
<br />
Operating System (Only 64 bit editions are supported by SharePoint 2010)<br />
<br />
For Windows Server 2008 with SP2, see FIX: A hotfix that provides a method to support the token authentication without transport security or message encryption in WCF is available for the .NET Framework 3.5 SP1 (http://go.microsoft.com/fwlink/?LinkID=160770).<br />
<br />
For Windows Server 2008 R2, see FIX: A hotfix that provides a method to support the token authentication without transport security or message encryption in WCF is available for the .NET Framework 3.5 SP1<br />
<br />
SQL Server<br />
<br />
The 64-bit edition of Microsoft SQL Server 2005 with Service Pack 3 (SP3) with Cumulative update package 3 for SQL Server 2005 Service Pack 3 (<a href="http://go.microsoft.com/fwlink/?LinkId=165748">http://go.microsoft.com/fwlink/?LinkId=165748</a>).<br />
<br />
The 64-bit edition of Microsoft SQL Server 2008 with Service Pack 1 (SP1) and Cumulative Update 2 installed with Cumulative update package 2 for SQL Server 2008 Service Pack 1 (<a href="http://go.microsoft.com/fwlink/?LinkId=165962">http://go.microsoft.com/fwlink/?LinkId=165962</a>). This cumulative update consists of two parts; ensure that you download both files. When you install Microsoft SQL Server 2008 SP1 on Windows Server 2008 R2, you might receive a compatibility warning. You can disregard this warning and continue with your installation<br />
<br />
.NET Framework 3.5 SP1<br />
<br />
Once you have installed the above mentioned softwares you can go ahead and start the installation of you SharePoint Server.<br />
<br />
<b>Step1</b> : Log in to the machine using a user who has Administrator rights. Open the folder where you have downloaded SharePoint Server 2010 (Beta) and double click on the OfficeServer.exe.<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiE2XPsJj-9rCTOF3Jl8zAa53iC9Nx95e22DqDxnC1sPDGnn8sKW4vKjuccIQeBRXoS2GDHBHaxO2OJnnAmACqL3bXuNtQqIJgboVr1PDa7XYTXl2P3959N98dMO00ASUsa1YpWooY8Ulo/s1600-h/SetupLocation.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="256" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiE2XPsJj-9rCTOF3Jl8zAa53iC9Nx95e22DqDxnC1sPDGnn8sKW4vKjuccIQeBRXoS2GDHBHaxO2OJnnAmACqL3bXuNtQqIJgboVr1PDa7XYTXl2P3959N98dMO00ASUsa1YpWooY8Ulo/s320/SetupLocation.jpg" width="320" /></a><br />
</div> <br />
<br />
<b>Step 2</b>: Once you get the SharePoint 2010 installation screen Click on Install Software Pre-Requisites. <br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7MjHWYJFCbTcxlqscMupSulBKm94YE72zhGRJwZ9ESdcMN5xbQ8SNojMjNWg1gQezQKX3DiOJeT3PryFWVIsBPSs-dPvOXbfjpaKbA_BQB8EvSIPqKJCalGZy_CGByhfNfJ1u2Q4OMhs/s1600-h/SharePointFlashScreen.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7MjHWYJFCbTcxlqscMupSulBKm94YE72zhGRJwZ9ESdcMN5xbQ8SNojMjNWg1gQezQKX3DiOJeT3PryFWVIsBPSs-dPvOXbfjpaKbA_BQB8EvSIPqKJCalGZy_CGByhfNfJ1u2Q4OMhs/s320/SharePointFlashScreen.jpg" /></a><br />
</div><br />
<br />
<b>Note</b> : Make sure that you have internet access because after clicking on Install Software Pre-Requisites the installer will install the pre-requisites from the Web.<br />
<br />
<br />
<b>Step 3</b>: When the SharePoint Product and Technologies 2010 Preparation Wizard opens review the softwares that it will install and click Next.<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFMB8BIQv2yBlzPgGsNfyKiwAfm5OLoMw2ssTNrjPXeWiuFC3wfgbQCeSb5AvFEujbkVj1R2sHGDgh5iiP5ENaIyYp66BCwdz2faLsAO20Gytq5hhROmKUgenu_QO6kGnvxG-GmXkXcdw/s1600-h/PreparationTool.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFMB8BIQv2yBlzPgGsNfyKiwAfm5OLoMw2ssTNrjPXeWiuFC3wfgbQCeSb5AvFEujbkVj1R2sHGDgh5iiP5ENaIyYp66BCwdz2faLsAO20Gytq5hhROmKUgenu_QO6kGnvxG-GmXkXcdw/s320/PreparationTool.jpg" /></a><br />
</div><br />
<br />
<b>Step 4</b>: On the next Screen Accept the License Agreement and click next. The installation of pre Requisites will start and if everything goes well you will see the Installation Complete page. This means that we can now go ahead and install SharePoint.<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUDTMLsJ5Cv9OweDnV_W-DrqOfgozQMg1RvmwNUJAfHuHmIx1Lxb9ScthBf-ub6a_ZUlsPnU9QBBN8lK9kzPauxKUhxopPxrJCC7c1MiuLDjKRJzxvxIB2jWzpvuTk0zzgAGOzi4vRMzc/s1600-h/LicenceTerms.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUDTMLsJ5Cv9OweDnV_W-DrqOfgozQMg1RvmwNUJAfHuHmIx1Lxb9ScthBf-ub6a_ZUlsPnU9QBBN8lK9kzPauxKUhxopPxrJCC7c1MiuLDjKRJzxvxIB2jWzpvuTk0zzgAGOzi4vRMzc/s320/LicenceTerms.jpg" /></a><br />
</div><br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_HS9QZfQyAf0MxsPdzCeVJcMmDvQBHA8ymzsuhoYz_qbUV8xVDRstbQqOzjOAH4zlOuLsJdRc1AAV9ShUL3gPq1MCdJuvQQzSV6ZBW4PVI73wWmL7007_YDL3nkcvDkMimcVqSRXsfbo/s1600-h/InstallBarPrerequisites.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_HS9QZfQyAf0MxsPdzCeVJcMmDvQBHA8ymzsuhoYz_qbUV8xVDRstbQqOzjOAH4zlOuLsJdRc1AAV9ShUL3gPq1MCdJuvQQzSV6ZBW4PVI73wWmL7007_YDL3nkcvDkMimcVqSRXsfbo/s320/InstallBarPrerequisites.jpg" /></a><br />
</div><br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsijFc78TBxPdy6HFI2mBBx-bOVrqDB6olcTmgn7Lrn0qJ-c_ZKRsInbswMIcR_DluBQqCu0vcp3VsAhL8TdN_C9TEWKO9uZqBvImU0XwxCWruDmSvEV95X5SN02aowMb5o5xbwLy2ePU/s1600-h/PrereqInstallComplete.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsijFc78TBxPdy6HFI2mBBx-bOVrqDB6olcTmgn7Lrn0qJ-c_ZKRsInbswMIcR_DluBQqCu0vcp3VsAhL8TdN_C9TEWKO9uZqBvImU0XwxCWruDmSvEV95X5SN02aowMb5o5xbwLy2ePU/s320/PrereqInstallComplete.jpg" /></a><br />
</div><br />
<b>Step 5</b>: Restart your machine Open the folder where you downloaded SharePoint 2010 Beta and click on OfficeServer.exe and when the welcome screen opens click on “Install SharePoint Server”. Then on the next screen enter the Product Key and click Continue.<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj87Qbt6D_R5fBEalBx1m86zqnku3QOAYCWzlQmWhstFZao5o0O80e-IAKdMNYNE7_FyagPv4rWbjBauYeDYyCe5U0DbqdMsJHPzozB7jzopOJ-1ujXYbbjLURA4lwF-JpGuL5QoWAmVZs/s1600-h/EnterKey.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj87Qbt6D_R5fBEalBx1m86zqnku3QOAYCWzlQmWhstFZao5o0O80e-IAKdMNYNE7_FyagPv4rWbjBauYeDYyCe5U0DbqdMsJHPzozB7jzopOJ-1ujXYbbjLURA4lwF-JpGuL5QoWAmVZs/s320/EnterKey.jpg" /></a><br />
</div><br />
<br />
<b>Step 6</b>: On the next Screen Accept the License Agreement and Click Continue<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioWY4pWcc-84D5tfAeug39g4shcQo_0zs0tfebdD72s_yKMC3AgRqOy-2T-Nd0azkxRzIEVdrkfXriRJJ1Cawmy_vPpDKx5ErKQrWAylB-ks59KaGagVoBUnvVo2hY_oELU2OUBmim6d0/s1600-h/AgreeLicence.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioWY4pWcc-84D5tfAeug39g4shcQo_0zs0tfebdD72s_yKMC3AgRqOy-2T-Nd0azkxRzIEVdrkfXriRJJ1Cawmy_vPpDKx5ErKQrWAylB-ks59KaGagVoBUnvVo2hY_oELU2OUBmim6d0/s320/AgreeLicence.jpg" /></a><br />
</div><br />
<br />
<b>Step 7</b>: On the “Choose the Installation” page click on Server Farm.<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUWWI5EwyAoxn0LChwojluXS9PMzkOn9q_gBS9u4ElzBK8Aymo4Ezjk3kBT3LKOdnmGMedUSyNQ8t2TThMt_TLC22IR1XhQwirjNWmj925myDAHjuDhbLJiCzpAcuZcBbN98h1Q-ClX6E/s1600-h/ChooseInstallation.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUWWI5EwyAoxn0LChwojluXS9PMzkOn9q_gBS9u4ElzBK8Aymo4Ezjk3kBT3LKOdnmGMedUSyNQ8t2TThMt_TLC22IR1XhQwirjNWmj925myDAHjuDhbLJiCzpAcuZcBbN98h1Q-ClX6E/s320/ChooseInstallation.jpg" /></a><br />
</div><br />
<br />
<b>Step 8</b>: On the “Server Type” page Select Complete and Click install now. The installation will start and when it is complete you will get the Run Configuration Wizard Page. <br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCyygiv0DHhfju430YCe6D_xU88FHNlXp7HXeMPoES-U6trkV3NEcx6P_gIuDMm3hUPjz8Yo1N4pYz8UvvrCDmITfqHO26RprzS14PFtHZN9-HEW8VDRI_bP7QdNARasYJv0QlL51WMJM/s1600-h/ChooseServerType.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCyygiv0DHhfju430YCe6D_xU88FHNlXp7HXeMPoES-U6trkV3NEcx6P_gIuDMm3hUPjz8Yo1N4pYz8UvvrCDmITfqHO26RprzS14PFtHZN9-HEW8VDRI_bP7QdNARasYJv0QlL51WMJM/s320/ChooseServerType.jpg" /></a><br />
</div><br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjs8a7TxGHNZ_0IkO42eg4IKSGERc6Sm5Uetj37Pe7S_VzCb3cMYiOw26ZHSz_jLRkq_4WyZh8MFranqwgdWbV55DuhtV-U9X9QWDIS56W0vLJ4IgxiyFL-yFNATcOUBrPpuHrmT4a6EpE/s1600-h/InstallProcessSharePoint.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjs8a7TxGHNZ_0IkO42eg4IKSGERc6Sm5Uetj37Pe7S_VzCb3cMYiOw26ZHSz_jLRkq_4WyZh8MFranqwgdWbV55DuhtV-U9X9QWDIS56W0vLJ4IgxiyFL-yFNATcOUBrPpuHrmT4a6EpE/s320/InstallProcessSharePoint.jpg" /></a><br />
</div><br />
<br />
<b>Step 9</b>: On the Run Configuration Wizard page click close. The SharePoint Configuration Wizard should start. <br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkoQqlfmR7A2vOinPrP_dlJtUsrZifTeRm-iJ6EEjjq2FfKFPu1X5uZjMJc7yZuI_bCdRZqJ7KuOu5-V4U8gBeawJdjYoeVGTDAkdB3oNMir5wGRyHQMMFx4ke5DQxLcqTzCWTHiNanr8/s1600-h/RunConfigWizard.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkoQqlfmR7A2vOinPrP_dlJtUsrZifTeRm-iJ6EEjjq2FfKFPu1X5uZjMJc7yZuI_bCdRZqJ7KuOu5-V4U8gBeawJdjYoeVGTDAkdB3oNMir5wGRyHQMMFx4ke5DQxLcqTzCWTHiNanr8/s320/RunConfigWizard.jpg" /></a><br />
</div><br />
<br />
<b>Step 10</b>: On the Configuration Wizard Screen Click Next. A pop up window will open and warn you that some services will be restarted. Click on Yes.<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXKFGZ87nQjvrqH7nbRHkrrm-FMxfPy3e_RT0qaLHb2oiB7NdlsNGM3Oa4N3Rx1CuYKI3GkwDDVUEDiue4YuabDd4V2WM6elqdOJ82eWpT1FmNDZlRtxmJ0WQvmqSzYKpa2gZNHJs7jbE/s1600-h/ConfigWizardWelcome.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXKFGZ87nQjvrqH7nbRHkrrm-FMxfPy3e_RT0qaLHb2oiB7NdlsNGM3Oa4N3Rx1CuYKI3GkwDDVUEDiue4YuabDd4V2WM6elqdOJ82eWpT1FmNDZlRtxmJ0WQvmqSzYKpa2gZNHJs7jbE/s320/ConfigWizardWelcome.jpg" /></a><br />
</div><br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSptNZO4XGAJXHt1xF38VOufsP4nE7dPmdwi4u88K_lxVPbfu9yZbQU3_U-NNWO8EPxPCB6MX2bo809EeWnkRMb9mmR3CCvbqLHDVFmSsvGqYX0_h6zmlrcGnItfF2DJ4l5QfHw14X8iw/s1600-h/ConfigPopUP.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSptNZO4XGAJXHt1xF38VOufsP4nE7dPmdwi4u88K_lxVPbfu9yZbQU3_U-NNWO8EPxPCB6MX2bo809EeWnkRMb9mmR3CCvbqLHDVFmSsvGqYX0_h6zmlrcGnItfF2DJ4l5QfHw14X8iw/s320/ConfigPopUP.jpg" /></a><br />
</div><br />
<br />
<b>Step 11</b>: On the ”Connect to Server Farm” Screen Select the “Create new Server Farm” option and Click Next.<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4sMQEmQDeJSIC0DjrA30NSenQfI5SyBh6Lq40Bu_KmOiA7Gxefdtt3OSq9lWHCPQx4fhSkgv8O6RZbs-hSmuft5N4G5ducvHYkjGLPE7WUPNcO8d2-zXlOkqDQwz1ZEow4Arpy9DC2wE/s1600-h/ConnectOrNewFarm.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4sMQEmQDeJSIC0DjrA30NSenQfI5SyBh6Lq40Bu_KmOiA7Gxefdtt3OSq9lWHCPQx4fhSkgv8O6RZbs-hSmuft5N4G5ducvHYkjGLPE7WUPNcO8d2-zXlOkqDQwz1ZEow4Arpy9DC2wE/s320/ConnectOrNewFarm.jpg" /></a><br />
</div><br />
<br />
<b>Step 12</b>: On the “Specify Database Settings” Screen type in the Database Server name and the Username Password of the database access account (This user should be the local admin and should also have the DbOwner and SecurityAdmin role in the SQL Server). (The Database name will be pre-populated) Then Click Next<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnlIOw4-kzhfKjjSGcUMF2urVvnbPER53N4ITBonU7lEHAf6UoKJkEAyKfS1yWUtTZageLnzN79w4S1SsLu9QBECPJU79MUlFyDjcux7K0GwUfd9vyrvZRtiaUtcvov977ebQW_XXB4fA/s1600-h/SpecifyConfigDB.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnlIOw4-kzhfKjjSGcUMF2urVvnbPER53N4ITBonU7lEHAf6UoKJkEAyKfS1yWUtTZageLnzN79w4S1SsLu9QBECPJU79MUlFyDjcux7K0GwUfd9vyrvZRtiaUtcvov977ebQW_XXB4fA/s320/SpecifyConfigDB.jpg" /></a><br />
</div><br />
<br />
<b>Step 13</b>: On the “Specify Farm Security Settings” screen type in the Passphrase. Note: This passphrase will have to be entered again if you are adding additional servers to this farm. Then click Next.<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiemtOMICzqrXsCkbSplWZhG4t0GJeg17nGmgj5Tz0KPDnbRpmR1Elz23BSYOc_FfUCz7zhtvcWhYuyMWTms2RvLI3NOCErgzNwJhDS4_XtKXsPt5gvoiNK-ZOgJvGQrY0vWyIarA0jPs8/s1600-h/passPhrase.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiemtOMICzqrXsCkbSplWZhG4t0GJeg17nGmgj5Tz0KPDnbRpmR1Elz23BSYOc_FfUCz7zhtvcWhYuyMWTms2RvLI3NOCErgzNwJhDS4_XtKXsPt5gvoiNK-ZOgJvGQrY0vWyIarA0jPs8/s320/passPhrase.jpg" /></a><br />
</div><br />
<br />
<b>Step 14</b>: On the “Configure SharePoint Central Administration Web Application” screen specify the port number on which you want to host your web application and select the Security settings (Kerberos/ NTLM) . Then click Next<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkI4aZ1QOb8Rrjlc6OoomZA2a3O5mqmjhDPxZm_IyOd6sIdvZzXh327S0pXZPAkqqM1HeiXsxKN-CV6o9blyHkrfCfNcx81lxf26PWlTHmWgLsJs9ugLiM85DzBAMebkf21t8lLtWQDlI/s1600-h/ConfigCentralAdmin.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkI4aZ1QOb8Rrjlc6OoomZA2a3O5mqmjhDPxZm_IyOd6sIdvZzXh327S0pXZPAkqqM1HeiXsxKN-CV6o9blyHkrfCfNcx81lxf26PWlTHmWgLsJs9ugLiM85DzBAMebkf21t8lLtWQDlI/s320/ConfigCentralAdmin.jpg" /></a><br />
</div><br />
<br />
<b>Step 15</b>: On the “Completing the SharePoint Products Configuration Wizard” Screen review the information and click next. The wizard will start the configuration of your SharePoint Server and once done you get a “Configuration Successful” screen. Click finish and your Central Administration site will open up in Internet Explorer.<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0_0Juh6nGs1cSo7jH71u-dQ8REPsD0tq7MUHdJT5PCQWjOqh79EuKeNkodNTh8SRJdlAG1hz4qI3HLdWO3Tu4CfP1r_Dlar36GIzCLIyqzTOsyn0G_IvcnSmP8jCb228SgGzBxvlDuO0/s1600-h/ReviewConfigChanges.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0_0Juh6nGs1cSo7jH71u-dQ8REPsD0tq7MUHdJT5PCQWjOqh79EuKeNkodNTh8SRJdlAG1hz4qI3HLdWO3Tu4CfP1r_Dlar36GIzCLIyqzTOsyn0G_IvcnSmP8jCb228SgGzBxvlDuO0/s320/ReviewConfigChanges.jpg" /></a><br />
</div><br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjg-F3V595O7Ln-yi_c68N9DJwdA7Y8xuWKUOiqt_gmnqDA5LJGUagbMBpXEI2c4skv6KC1hZzabaOiMwWNm7m0TfZVxzO08D6b9eYu1ZrCGzUo6kZLEB_EN8CgpSZsxUD62O97gXyK6ok/s1600-h/ConfigProgress.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjg-F3V595O7Ln-yi_c68N9DJwdA7Y8xuWKUOiqt_gmnqDA5LJGUagbMBpXEI2c4skv6KC1hZzabaOiMwWNm7m0TfZVxzO08D6b9eYu1ZrCGzUo6kZLEB_EN8CgpSZsxUD62O97gXyK6ok/s320/ConfigProgress.jpg" /></a><br />
</div><br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnyGpAwJx3Oy4CIHEYJ23rcEv-VT0dpgTvwy5W79r3D0C92_qEqYBCva9mtmFoH1zBB9X8LtjZXFH6LKalyBiLejyKlzcN4Dt1wDgyG_7UE4GU1YIX34YtA4dQCtXzbsCipks13JFrhNk/s1600-h/ConfigSuccess.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnyGpAwJx3Oy4CIHEYJ23rcEv-VT0dpgTvwy5W79r3D0C92_qEqYBCva9mtmFoH1zBB9X8LtjZXFH6LKalyBiLejyKlzcN4Dt1wDgyG_7UE4GU1YIX34YtA4dQCtXzbsCipks13JFrhNk/s320/ConfigSuccess.jpg" /></a><br />
</div><br />
<br />
<b>Step 16</b>: On the “Help make SharePoint Better” page select No and click OK.<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGaW-xLT7ViayOeBXlKjbY0y25NZ2MFrEUYZQ2_Tb8D_xgpUK70dc5l-kmDHbIDS_Adh3lMyyJVs5D7Z8-UU3qP8JyDNWisL9bxzKEwsOHRkXrwtN_OGp44jQk_LvgnrcxXnb4Kia8i8c/s1600-h/CentralAdminPopUP.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGaW-xLT7ViayOeBXlKjbY0y25NZ2MFrEUYZQ2_Tb8D_xgpUK70dc5l-kmDHbIDS_Adh3lMyyJVs5D7Z8-UU3qP8JyDNWisL9bxzKEwsOHRkXrwtN_OGp44jQk_LvgnrcxXnb4Kia8i8c/s320/CentralAdminPopUP.jpg" /></a><br />
</div><br />
<br />
<span style="font-family: "Calibri","sans-serif"; font-size: 11pt; line-height: 115%;"><b>Step 17</b>: On the “How do you want to configure your SharePoint farm page” Select “Walk me through the settings….” Option and click next.<br />
Note: This procedure can also be done at a later point by Selecting the Configuration Wizard Option in the QuickLaunch menu of Central Admin web site.</span><br />
<span style="font-family: Calibri,sans-serif; font-size: medium;"><span style="font-size: 15px; line-height: 17px;"><br />
</span></span><br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9_KO2bBEnUBkbt6h3yaSZ6DlMBW36Z4OH7G7NC5tDyB5o1h_uvl_d16IX95BAqH-HxLNy30OO7YPnafCI_K-Bp5mT0ZiZWHdlrnQ-OZ1HRuxF0WzugyNkf6Zn1G-3737poSy2koxrcZE/s1600-h/ConfigureYourFarmPage.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9_KO2bBEnUBkbt6h3yaSZ6DlMBW36Z4OH7G7NC5tDyB5o1h_uvl_d16IX95BAqH-HxLNy30OO7YPnafCI_K-Bp5mT0ZiZWHdlrnQ-OZ1HRuxF0WzugyNkf6Zn1G-3737poSy2koxrcZE/s320/ConfigureYourFarmPage.jpg" /></a><br />
</div><span style="font-family: Calibri,sans-serif; font-size: medium;"><span style="font-size: 15px; line-height: 17px;"><br />
</span></span><br />
<span style="font-family: Calibri,sans-serif; font-size: medium;"><span style="font-size: 15px; line-height: 17px;"><br />
</span></span><br />
<span style="font-family: Calibri,sans-serif; font-size: medium;"><span style="font-size: 15px; line-height: 17px;"><span style="font-family: "Calibri","sans-serif"; font-size: 11pt; line-height: 115%;"><b>Step 18</b>: On the next page in the Service Account Section either select an existing managed account or create a new one by specifying the credentials (This account should be present in AD). Then click Next. Now SharePoint will create all the Service Applications for you.</span></span></span><br />
<span style="font-family: Calibri,sans-serif; font-size: medium;"><span style="font-size: 15px; line-height: 17px;"><br />
</span></span><br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCamBmbpYJvmIKbBwZEXOWxewoxZqDodJUwXAYhWh5EUN_SXASv5We1PWcJ_nmunOhr-LMvehTHIn9EHakT9dFDfbfirnjpBn9BLmZHSA2HGPuJf_Pcl0SW0Hwv7HbdwTetOFTW7M4wKs/s1600-h/SelectServicesPage.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCamBmbpYJvmIKbBwZEXOWxewoxZqDodJUwXAYhWh5EUN_SXASv5We1PWcJ_nmunOhr-LMvehTHIn9EHakT9dFDfbfirnjpBn9BLmZHSA2HGPuJf_Pcl0SW0Hwv7HbdwTetOFTW7M4wKs/s320/SelectServicesPage.jpg" /></a><br />
</div><span style="font-family: Calibri,sans-serif; font-size: medium;"><span style="font-size: 15px; line-height: 17px;"><br />
</span></span><br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjB5Aq6YHnPG2jNXGYmcW7on5oF0kzsfO1f4I1lKyWPsyVehAR9QWDfFHJdVhBwPimGT99kSrBtHIIuAT0UlZrkiQsNzf8-AvCjOx_2N6ImVzEin9m07-IEiqbVPNlsJSfHyxjHLx7A3sI/s1600-h/ProcessingPage.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjB5Aq6YHnPG2jNXGYmcW7on5oF0kzsfO1f4I1lKyWPsyVehAR9QWDfFHJdVhBwPimGT99kSrBtHIIuAT0UlZrkiQsNzf8-AvCjOx_2N6ImVzEin9m07-IEiqbVPNlsJSfHyxjHLx7A3sI/s320/ProcessingPage.jpg" /></a><br />
</div><span style="font-family: Calibri,sans-serif; font-size: medium;"><span style="font-size: 15px; line-height: 17px;"><br />
</span></span><br />
<span style="font-family: Calibri,sans-serif; font-size: medium;"><span style="font-size: 15px; line-height: 17px;"><br />
</span></span><br />
<span style="font-family: Calibri,sans-serif; font-size: medium;"><span style="font-size: 15px; line-height: 17px;"><span style="font-family: "Calibri","sans-serif"; font-size: 11pt; line-height: 115%;"><b>Step 19</b>: Once all the Service Applications are created you will be redirected to the Create a site collection page. It is up to you to create a site collection or Skip this Step. I chose to Skip this step </span><span style="font-family: Wingdings; font-size: 11pt; line-height: 115%;">J</span><span style="font-family: "Calibri","sans-serif"; font-size: 11pt; line-height: 115%;">. So click on Skip.</span></span></span><br />
<span style="font-family: Calibri,sans-serif; font-size: medium;"><span style="font-size: 15px; line-height: 17px;"><br />
</span></span><br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxR7c3SAQaJdQpmtQ-0LE6nfIhETcLt4vceSre0Lgn6Q5Cu5BF_1NGidAuyXvAglBdzc81mkfcosCLjf5I5tZwxrBcVMroEuhNzrKTNE4Ntui8LG-7CGA8q6D0ysy9udrcFKwObceivks/s1600-h/CreateSitePage.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxR7c3SAQaJdQpmtQ-0LE6nfIhETcLt4vceSre0Lgn6Q5Cu5BF_1NGidAuyXvAglBdzc81mkfcosCLjf5I5tZwxrBcVMroEuhNzrKTNE4Ntui8LG-7CGA8q6D0ysy9udrcFKwObceivks/s320/CreateSitePage.jpg" /></a><br />
</div><span style="font-family: Calibri,sans-serif; font-size: medium;"><span style="font-size: 15px; line-height: 17px;"><br />
</span></span><br />
<span style="font-family: Calibri,sans-serif; font-size: medium;"><span style="font-size: 15px; line-height: 17px;"><br />
</span></span><br />
<span style="font-family: Calibri,sans-serif; font-size: medium;"><span style="font-size: 15px; line-height: 17px;"><span style="font-family: "Calibri","sans-serif"; font-size: 11pt; line-height: 115%;"><b>Step 20</b>: You will then be redirected to the Configure your Server farm page which will show all the Services that are running on the Farm, you can review them and Click on Finish. Now your farm is fully installed and configured. So go ahead and dive into the world of SharePoint 2010.</span></span></span><br />
<span style="font-family: Calibri,sans-serif; font-size: medium;"><span style="font-size: 15px; line-height: 17px;"><br />
</span></span><br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkWsqaRgxMcXK0-2YOtX5ZzLA2I3kD6LanemcpXxRqpMeajMt3gu2_S8nYdsPDvMkgRPVoZpDbuqJa55AZzoXrNtFmKqmBJJrKJ0LePz84JFYl7rgKuj2xNW7UtYAVZxwxW-doUHDsB6w/s1600-h/ServiceReview.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkWsqaRgxMcXK0-2YOtX5ZzLA2I3kD6LanemcpXxRqpMeajMt3gu2_S8nYdsPDvMkgRPVoZpDbuqJa55AZzoXrNtFmKqmBJJrKJ0LePz84JFYl7rgKuj2xNW7UtYAVZxwxW-doUHDsB6w/s320/ServiceReview.jpg" /></a><br />
</div><span style="font-family: Calibri,sans-serif; font-size: medium;"><span style="font-size: 15px; line-height: 17px;"><br />
</span></span><br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbnZoFWGZT772AaYseTNCn0N1ysNRU8X7Vx_77VA3BvPc4-Omf3ygMer0w9o4M8x7ALqgmdQEQydSYB1wmH3O1r08lZfO_vTdV7-TCxpgRr1H-6giVT63rMVVBDkqeBFQajmZsnq3cbHU/s1600-h/CentralAdminConfigured.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbnZoFWGZT772AaYseTNCn0N1ysNRU8X7Vx_77VA3BvPc4-Omf3ygMer0w9o4M8x7ALqgmdQEQydSYB1wmH3O1r08lZfO_vTdV7-TCxpgRr1H-6giVT63rMVVBDkqeBFQajmZsnq3cbHU/s320/CentralAdminConfigured.jpg" /></a><br />
</div><span style="font-family: Calibri,sans-serif; font-size: medium;"><span style="font-size: 15px; line-height: 17px;"><br />
</span></span><br />
<span style="font-family: Calibri,sans-serif; font-size: medium;"><span style="font-size: 15px; line-height: 17px;"><br />
</span></span>Anshul Sehgalhttp://www.blogger.com/profile/02703228432703749461noreply@blogger.com3