tag:blogger.com,1999:blog-77310252274878853972024-03-20T03:23:58.530+05:30My Thoughts on SharePointSai Abhilash Manikondahttp://www.blogger.com/profile/17012090823674241541noreply@blogger.comBlogger53125tag:blogger.com,1999:blog-7731025227487885397.post-53104634711673332592013-10-31T12:31:00.000+05:302013-10-31T12:31:05.233+05:30Lookup Field : Invalid data has been used to update the list item. The field you are trying to update may be read only when using Copy.asmx<div dir="ltr" style="text-align: left;" trbidi="on">
Hi All,<br />
<br />
We are using Copy.asmx in SharePoint to upload files including metadata information. While doing so, we got error for People Picker field as shown below:<br />
<br />
<i><span style="color: #d69e33;"><b>Lookup Field : Invalid data has been used to update the list item. The field you are trying to update may be read only.</b></span></i><br />
<i><span style="color: #d69e33;"><b><br /></b></span></i>
<span style="color: #1f497d;"><b>Resolution:</b></span>
<br />
<span style="color: #1f497d;"><b><br /></b></span>
1. We need to set FieldType for FieldInformation object to User as shown below<br />
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
2. Add "-1;#" before User ID</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNFumvn0g3dOTSznXZGow8DYgGD94aSbERnJtM94xVsytP0xevHAOHZlbBlu9p7yMdalUsBFxtDZhbqueNUXYx6andomdG2ezS6YgQY0BH3zrczKhvrV_f7qt-BTAgrT3r38hRUbAFZes/s1600/Untitled.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="40" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNFumvn0g3dOTSznXZGow8DYgGD94aSbERnJtM94xVsytP0xevHAOHZlbBlu9p7yMdalUsBFxtDZhbqueNUXYx6andomdG2ezS6YgQY0BH3zrczKhvrV_f7qt-BTAgrT3r38hRUbAFZes/s640/Untitled.png" width="550" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
Once this is done, the error disappeared and user id is properly copied to People and Groups field. Hope this helps some one. Cheers!!!</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<br /></div>
Sai Abhilash Manikondahttp://www.blogger.com/profile/17012090823674241541noreply@blogger.com0tag:blogger.com,1999:blog-7731025227487885397.post-28421467432643011782013-10-31T12:18:00.000+05:302013-10-31T12:18:13.436+05:30Folder-Level Permissions in SharePoint List<div dir="ltr" style="text-align: left;" trbidi="on">
<table border="0" cellpadding="1" cellspacing="0" class="ms-listviewtable" id="{0982BEA5-3E70-4312-98BB-A6405E4D21C2}-{F15EA921-DF69-4FB4-98AC-9D58C4B28F67}" o:webquerysourcehref="https://deloitteteams.deloittenet.com/sites/ITSCanada/ITSCanadaAll/_vti_bin/owssvr.dll?CS=65001&XMLDATA=1&RowLimit=0&List={0982BEA5-3E70-4312-98BB-A6405E4D21C2}&View={F15EA921-DF69-4FB4-98AC-9D58C4B28F67}" style="width: 100%px;" summary="TechnologyTips"><tbody>
<tr class="ms-alternating">
<td class="ms-vb2">
<div>
<div class="ExternalClassD10C97B884494290A90E1E1212BFF88D">
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<span style="font-family: Calibri;"><b><span style="color: #1f497d; font-size: 13pt;">Background:
</span></b><span style="color: #1f497d; font-size: 13pt;"></span></span></div>
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<span style="font-size: 12pt;"><span style="font-family: Calibri;">We often get requests
to limit list items to a section of people like HR, IT, PMO, etc. HR should see
fewer items that other groups should not and vice versa. The solution for this
problem appears straight forward (by breaking permissions of items and assigning
them to corresponding SPGroups). However, this approach leads to serious
performance issues for a large number of items and can bring entire SPFarm
down!</span></span></div>
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<span style="font-size: 12pt;"><span style="font-family: Calibri;"><br /></span></span></div>
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<span style="color: #1f497d; font-size: 12pt;"><span style="font-family: Calibri;"></span></span> </div>
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<b><span style="color: #1f497d; font-size: 13pt;"><span style="font-family: Calibri;">Why?</span></span></b></div>
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<span style="font-size: 12pt;"><span style="font-family: Calibri;">The recommended number
of unique security scopes for a SPList is 5000. When the number of unique
security scopes for a list exceeds the value of the list view threshold (set by
default at 5,000 list items), additional SQL Server round trips take place when
the list is viewed, and this can adversely affect list view
performance.</span></span></div>
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<span style="font-size: 12pt;"><span style="font-family: Calibri;"><br /></span></span></div>
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<span style="font-size: 12pt;"><span style="font-family: Calibri;"></span></span> </div>
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<b><span style="color: #1f497d; font-size: 13pt;"><span style="font-family: Calibri;">Resolution</span></span></b></div>
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<span style="font-size: 12pt;"><span style="font-family: Calibri;">Possible workaround for
this problem is to have folder level security in SPList. For the above problem
statement, we will be having folders for HR, IT, PMO in SPList and HR folder
will be accessed only by HR and Admin SPGroups (same approach for other folders
as well)</span></span></div>
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<span style="font-size: 12pt;"><span style="font-family: Calibri;"></span></span> </div>
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<span style="font-size: 12pt;"><span style="font-family: Calibri;">With this change, all
items under HR folder will inherit permissions from HR folder instead of having
separate permissions. Below is the comparison between item level permissions and
folder level permissions</span></span></div>
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<span style="font-size: 12pt;"><span style="font-family: Calibri;"><br /></span></span></div>
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<span style="font-size: 12pt;"><span style="font-family: Calibri;"></span></span> </div>
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<span style="font-family: Calibri;"><b><span style="font-size: 12pt;">List Item
Count</span></b><span style="font-size: 12pt;">:
2000</span></span></div>
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<span style="font-family: Calibri;"><span style="font-size: 12pt;"><br /></span></span></div>
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<span style="font-size: 12pt;"><span style="font-family: Calibri;"></span></span> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-bottom: medium none; border-collapse: collapse; border-left: medium none; border-right: medium none; border-top: medium none; margin: auto auto auto 5.4pt;">
<tbody>
<tr>
<td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 3.25in;" valign="top" width="312">
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<b><span style="font-size: 12pt;"><span style="font-family: Calibri;">Scope</span></span></b></div>
</td>
<td style="border-bottom-style: solid; border-bottom-width: 1pt; border-color: windowtext windowtext windowtext rgb(240, 240, 240); border-right-style: solid; border-right-width: 1pt; border-top-style: solid; border-top-width: 1pt; padding: 0in 5.4pt; width: 239.4pt;" valign="top" width="319">
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<b><span style="font-size: 12pt;"><span style="font-family: Calibri;">Item
count</span></span></b></div>
</td></tr>
<tr>
<td style="border-bottom-style: solid; border-bottom-width: 1pt; border-color: rgb(240, 240, 240) windowtext windowtext; border-left-style: solid; border-left-width: 1pt; border-right-style: solid; border-right-width: 1pt; padding: 0in 5.4pt; width: 3.25in;" valign="top" width="312">
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<span style="font-size: 12pt;"><span style="font-family: Calibri;">HR</span></span></div>
</td>
<td style="border-bottom-style: solid; border-bottom-width: 1pt; border-color: rgb(240, 240, 240) windowtext windowtext rgb(240, 240, 240); border-right-style: solid; border-right-width: 1pt; padding: 0in 5.4pt; width: 239.4pt;" valign="top" width="319">
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<span style="font-size: 12pt;"><span style="font-family: Calibri;">500</span></span></div>
</td></tr>
<tr>
<td style="border-bottom-style: solid; border-bottom-width: 1pt; border-color: rgb(240, 240, 240) windowtext windowtext; border-left-style: solid; border-left-width: 1pt; border-right-style: solid; border-right-width: 1pt; padding: 0in 5.4pt; width: 3.25in;" valign="top" width="312">
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<span style="font-size: 12pt;"><span style="font-family: Calibri;">IT</span></span></div>
</td>
<td style="border-bottom-style: solid; border-bottom-width: 1pt; border-color: rgb(240, 240, 240) windowtext windowtext rgb(240, 240, 240); border-right-style: solid; border-right-width: 1pt; padding: 0in 5.4pt; width: 239.4pt;" valign="top" width="319">
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<span style="font-size: 12pt;"><span style="font-family: Calibri;">600</span></span></div>
</td></tr>
<tr>
<td style="border-bottom-style: solid; border-bottom-width: 1pt; border-color: rgb(240, 240, 240) windowtext windowtext; border-left-style: solid; border-left-width: 1pt; border-right-style: solid; border-right-width: 1pt; padding: 0in 5.4pt; width: 3.25in;" valign="top" width="312">
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<span style="font-size: 12pt;"><span style="font-family: Calibri;">PMO</span></span></div>
</td>
<td style="border-bottom-style: solid; border-bottom-width: 1pt; border-color: rgb(240, 240, 240) windowtext windowtext rgb(240, 240, 240); border-right-style: solid; border-right-width: 1pt; padding: 0in 5.4pt; width: 239.4pt;" valign="top" width="319">
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<span style="font-size: 12pt;"><span style="font-family: Calibri;">900</span></span></div>
</td></tr>
</tbody></table>
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<span style="font-size: 12pt;"><span style="font-family: Calibri;"></span></span> </div>
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<span style="font-size: 12pt;"><span style="font-family: Calibri;"></span></span> </div>
<div class="MsoNormal" style="margin: 0in 0in 10pt;">
<span style="font-family: Calibri;"><b><span style="color: #1f497d; font-size: 12pt; line-height: 115%;"><br /></span></b></span></div>
<div class="MsoNormal" style="margin: 0in 0in 10pt;">
<span style="font-family: Calibri;"><b><span style="color: #1f497d; font-size: 12pt; line-height: 115%;">Without using
Folders</span></b><span style="font-size: small;"><span style="color: #1f497d;"> </span>–We would be
having more than 2000 unique security scopes</span></span></div>
<div class="MsoNormal" style="margin: 0in 0in 10pt;">
<span style="font-family: Calibri;"><b><span style="color: #1f497d; font-size: 12pt; line-height: 115%;">With using
Folder</span></b><span style="font-size: small;"> – We would be having 4 unique security scopes
(Permissions for List itself and Permissions for 3 folders)</span></span></div>
</div>
</div>
</td>
<td class="ms-vb2"> </td></tr>
</tbody></table>
</div>
Sai Abhilash Manikondahttp://www.blogger.com/profile/17012090823674241541noreply@blogger.com1tag:blogger.com,1999:blog-7731025227487885397.post-39827235329671291482013-10-31T12:15:00.002+05:302013-10-31T12:15:44.952+05:30Partial Page Exclusion in SharePoint Search<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<span style="color: #1f497d; font-size: 12pt;"><strong>Background: </strong></span></div>
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<span style="color: #1f497d; font-size: 12pt;"><strong><br /></strong></span></div>
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<strong><span style="color: black;"></span></strong> </div>
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<span style="color: black;">Out of the
box search results in SharePoint shows unnecessary data such as navigation, left
nav, footer, right nav etc., that may not be useful to end user. Fortunately,
it’s easy to exclude those items from appearing in search results by using a
technique called “<b>Partial Page Exclusion</b>”.</span></div>
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<span style="color: black;"><br /></span></div>
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<span style="color: black;"></span> </div>
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<span style="color: #1f497d; font-size: 12pt;"><strong>How to use:</strong></span></div>
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<span style="color: #1f497d; font-size: 12pt;"><strong><br /></strong></span></div>
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<strong><span style="color: black;"></span></strong> </div>
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<span style="color: black;">Just include
a class called “noindex” for the items that needs to be excluded from search
results. This tells the crawler to ignore those items. Here is a sample example
in which crawler is forced to crawl only content present in body class. All
other items are ignored.</span></div>
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<span style="color: black;"><br /></span></div>
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<span style="color: black;"></span> </div>
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt;"><!</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt;">DOCTYPE</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 9.5pt;">
</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt;">html</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt;">></span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 9.5pt;"></span></div>
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 9.5pt;"></span> </div>
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt;">html</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 9.5pt;">
</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt;">lang</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt;">="en"</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 9.5pt;">
</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt;">xmlns</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt;">="<a href="http://www.w3.org/1999/xhtml"><span style="color: blue;">http://www.w3.org/1999/xhtml</span></a>"></span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 9.5pt;"></span></div>
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt;">head</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt;">></span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 9.5pt;"></span></div>
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 9.5pt;">
</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt;">meta</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 9.5pt;">
</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt;">charset</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt;">="utf-8"</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 9.5pt;">
</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt;">/></span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 9.5pt;"></span></div>
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 9.5pt;">
</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt;">title</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt;">></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt;">title</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt;">></span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 9.5pt;"></span></div>
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt;">head</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt;">></span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 9.5pt;"></span></div>
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt;">body</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt;">></span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 9.5pt;"></span></div>
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 9.5pt;">
</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt;">div</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 9.5pt;">
</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt;">class</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt;">="wrapper"></span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 9.5pt;"></span></div>
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 9.5pt;">
</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt;">div</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 9.5pt;">
</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt;">class</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt;">="header
noindex"></span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 9.5pt;"></span></div>
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 9.5pt;">
// Header Data</span></div>
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 9.5pt;">
</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt;">div</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt;">></span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 9.5pt;"></span></div>
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 9.5pt;">
</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt;">div</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 9.5pt;">
</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt;">class</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt;">="topnav
noindex"></span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 9.5pt;"></span></div>
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 9.5pt;">
// Navigation</span></div>
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 9.5pt;">
</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt;">div</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt;">></span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 9.5pt;"></span></div>
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 9.5pt;">
</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt;">div</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 9.5pt;">
</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt;">class</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt;">="body"></span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 9.5pt;"></span></div>
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 9.5pt;">
// Header Data</span></div>
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 9.5pt;">
</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt;">div</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt;">></span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 9.5pt;"></span></div>
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 9.5pt;">
</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt;">div</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 9.5pt;">
</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt;">class</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt;">="footer
noindex"></span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 9.5pt;"></span></div>
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 9.5pt;">
// Footer Data</span></div>
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 9.5pt;">
</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt;">div</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt;">></span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 9.5pt;"></span></div>
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 9.5pt;">
</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt;">div</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt;">></span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 9.5pt;"></span></div>
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt;">body</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt;">></span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 9.5pt;"></span></div>
<br />
<div class="MsoNormal" style="margin: 0in 0in 0pt;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt;">html</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt;">></span></div>
</div>
Sai Abhilash Manikondahttp://www.blogger.com/profile/17012090823674241541noreply@blogger.com0tag:blogger.com,1999:blog-7731025227487885397.post-50377229633072759972013-09-25T19:51:00.002+05:302013-09-25T19:52:46.957+05:30Error Publishing Content Type: No valid proxy can be found to do this operation<div dir="ltr" style="text-align: left;" trbidi="on">
Hi All,<br />
<br />
Below is the error we faced when trying to publish a content type from content type hub:<br />
<br />
<i><b><span style="color: #d69e33;">"No valid proxy can be found to do this operation"</span></b></i><br />
<i><b><span style="color: #d69e33;"><br /></span></b></i>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6s5i0TgrlROfEJOs953W_EkS3VGRcq7FSFkiwIw4qlRI9eeXxfLvaCSewdijYli5ecuCQ6Z8pnPoxUm7EhdL_h9HfMM5EQIxbhDIBmb5VOuvlgp2Hmlw-LX8vtSP8fcI9L9G6mcsrpp0/s1600/1.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="235" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6s5i0TgrlROfEJOs953W_EkS3VGRcq7FSFkiwIw4qlRI9eeXxfLvaCSewdijYli5ecuCQ6Z8pnPoxUm7EhdL_h9HfMM5EQIxbhDIBmb5VOuvlgp2Hmlw-LX8vtSP8fcI9L9G6mcsrpp0/s400/1.png" width="400" /></a></div>
<i><b><span style="color: #d69e33;"><br /></span></b></i>
<i><b><span style="color: #d69e33;"><br /></span></b></i>
<i><b><span style="color: #d69e33;"><br /></span></b></i>
<i><b><span style="color: #d69e33;"><br /></span></b></i>
<i><b><span style="color: #d69e33;"><br /></span></b></i>
<i><b><span style="color: #d69e33;"><br /></span></b></i>
<i><b><span style="color: #d69e33;"><br /></span></b></i>
<i><b><span style="color: #d69e33;"><br /></span></b></i>
<i><b><span style="color: #d69e33;"><br /></span></b></i>
<i><b><span style="color: #d69e33;"><br /></span></b></i>
<i><b><span style="color: #d69e33;"><br /></span></b></i>
<i><b><span style="color: #d69e33;"><br /></span></b></i>
<i><b><span style="color: #d69e33;"><br /></span></b></i>
<i><b><span style="color: #d69e33;"><br /><br /></span></b></i>
<b><span style="color: #d69e33;">Resolution:</span></b><br />
<br />
Make sure that on content type hub (source), <b>Content Type Syndication Hub </b>site collection feature is activated.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBZ4B93syXLWaRLuMXS-cFDMdluGE_UzlZKeUokr5MEO-4QroI-zH5ry7atO9Lb2oRi4uVQBgr2kI5hkWJ3hdMjFGRlgtAyUDryY5WadYmmgKiUZYQfTalOK55YQK6IcZ9QFc0-mh5-Yc/s1600/2.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="110" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBZ4B93syXLWaRLuMXS-cFDMdluGE_UzlZKeUokr5MEO-4QroI-zH5ry7atO9Lb2oRi4uVQBgr2kI5hkWJ3hdMjFGRlgtAyUDryY5WadYmmgKiUZYQfTalOK55YQK6IcZ9QFc0-mh5-Yc/s400/2.PNG" width="400" /></a></div>
<br />
<i><b><span style="color: #d69e33;"><br /></span></b></i>
<i><b><span style="color: #d69e33;"><br /></span></b></i>
<i><b><span style="color: #d69e33;"><br /></span></b></i>
<i><b><span style="color: #d69e33;"><br /></span></b></i>
<br />
<br />
<i><b><span style="color: #d69e33;"><br /></span></b></i>
<i><b><span style="color: #d69e33;"><br /></span></b></i>
Thanks :)<br />
<i><b><span style="color: #d69e33;"><br /></span></b></i></div>
Sai Abhilash Manikondahttp://www.blogger.com/profile/17012090823674241541noreply@blogger.com0tag:blogger.com,1999:blog-7731025227487885397.post-34977457088741886812013-08-20T19:10:00.002+05:302013-08-20T19:11:45.903+05:30SharePoint 2013 IFrame: This HTML cannot be inserted because this type of content is not allowed.<div dir="ltr" style="text-align: left;" trbidi="on">
Hi All,<br />
<br />
We got below error when trying to embed a IFrame in SharePoint 2013 Page (Edit Page > Embed Code)<br />
<br />
<b><span style="color: #d69e33;">IFrame code:</span></b><br />
<b><span style="color: #d69e33;"><br /></span></b>
<span style="color: #d69e33;"><i><iframe src="http://www.w3schools.com" width="600" height="400"></iframe></i></span><br />
<br />
and the error:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbPS_WW8oHNw-TVwg3gKJxg5r_xxfRkkVa0jCBMfjBPj0f8GCLFVwfXtzgFcWAeYcSg0mIFbdmg_OqVecIVu8-BdiFjVRyLSoeemVrloOczmh-MbKbIXAHorl3EeBKaTzV3o3ut0CItzw/s1600/Capture.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="222" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbPS_WW8oHNw-TVwg3gKJxg5r_xxfRkkVa0jCBMfjBPj0f8GCLFVwfXtzgFcWAeYcSg0mIFbdmg_OqVecIVu8-BdiFjVRyLSoeemVrloOczmh-MbKbIXAHorl3EeBKaTzV3o3ut0CItzw/s400/Capture.PNG" width="400" /></a></div>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<b><span style="color: #d69e33;">Resolution:</span></b><br />
<b><span style="color: #d69e33;"><br /></span></b>Go to Site Settings > Site Collection Administration > HTML Field Security<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmd0ndHyWkGLFpmjQZC3Dzn0pXOQBmC0O5X_bldorrku34t5VV1CnMIg_zL91sRSM0Yu_-DnZMggMha_z-NYo7P11KpI7Z__gI0ZRchButpdJM13cyNSqm2-xNR-zLu-Oi22IKkjkZ92c/s1600/Error1.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmd0ndHyWkGLFpmjQZC3Dzn0pXOQBmC0O5X_bldorrku34t5VV1CnMIg_zL91sRSM0Yu_-DnZMggMha_z-NYo7P11KpI7Z__gI0ZRchButpdJM13cyNSqm2-xNR-zLu-Oi22IKkjkZ92c/s400/Error1.png" width="205" /></a></div>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
In "Allow iframes from this domain" section, add http://www.w3schools.com and click OK as shown below:<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiygKMvr6J28a_F7cBjcTE2UKiR6t4GSr1eT0aNHqX5U6OZlmeAIT5kZJT0e0QCXccw5Fe-OxG_h8AJ-e4es64m8AK4cbK3LnmUqbwD65HT9PTROO85hWryoXurpRpqoihmov-WxPyHdJM/s1600/cap1.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="156" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiygKMvr6J28a_F7cBjcTE2UKiR6t4GSr1eT0aNHqX5U6OZlmeAIT5kZJT0e0QCXccw5Fe-OxG_h8AJ-e4es64m8AK4cbK3LnmUqbwD65HT9PTROO85hWryoXurpRpqoihmov-WxPyHdJM/s400/cap1.PNG" width="400" /></a></div>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
Once this is done, the site is displayed properly in IFrame as shown below:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQxTKiLBvcHaQouyzwZRepRnhTLGKLgsBzj78N6W-0EsfZo8yzlvppqsXU4zU4ene5XmXss_cPOuh1MiwlDamO_ES6_povym3vmNunI6feLyRHlf6fps5wrsPvTpURSBZjKEI45_Zfn1M/s1600/cap3.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="343" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQxTKiLBvcHaQouyzwZRepRnhTLGKLgsBzj78N6W-0EsfZo8yzlvppqsXU4zU4ene5XmXss_cPOuh1MiwlDamO_ES6_povym3vmNunI6feLyRHlf6fps5wrsPvTpURSBZjKEI45_Zfn1M/s400/cap3.PNG" width="400" /></a></div>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
Hope this helps someone out there :)</div>
Sai Abhilash Manikondahttp://www.blogger.com/profile/17012090823674241541noreply@blogger.com1tag:blogger.com,1999:blog-7731025227487885397.post-34884967948291863432013-02-12T15:23:00.002+05:302013-02-12T15:23:29.062+05:30Class not registered exception - SharePoint 2013<div dir="ltr" style="text-align: left;" trbidi="on">
Hi All,<br />
<br />
We got below error when trying to use SPSecurity.RunWithElevatedPrivileges in console application<br />
<br />
<b><i><span style="color: #d69e33;">Retrieving the COM class factory for component with CLSID {BDEADF26-C265-11D0-BCED-00A0C90AB50F} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).</span></i></b><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCvlzL1iUt_DRzzqIsX2vppcJRZF-nzNDk9D_s91VEzZ-gCyFilnCRLEjKlvJXjdwhYD49lkqqQ_N1r6UGtjd2H9i1EB9AuFTJMHh9NxD_TKbPDrSK7Q1-EJK5K-5xtA1_195G1cE9xXg/s1600/Capture.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="160" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCvlzL1iUt_DRzzqIsX2vppcJRZF-nzNDk9D_s91VEzZ-gCyFilnCRLEjKlvJXjdwhYD49lkqqQ_N1r6UGtjd2H9i1EB9AuFTJMHh9NxD_TKbPDrSK7Q1-EJK5K-5xtA1_195G1cE9xXg/s400/Capture.PNG" width="400" /></a></div>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
The code is shown below:<br />
<!-- code formatted by http://manoli.net/csharpformat/ -->
<br />
<pre class="csharpcode"><span class="kwrd">using</span> Microsoft.SharePoint;
<span class="kwrd">using</span> System;
<span class="kwrd">using</span> System.Collections.Generic;
<span class="kwrd">using</span> System.Linq;
<span class="kwrd">using</span> System.Text;
<span class="kwrd">using</span> System.Threading.Tasks;
<span class="kwrd">namespace</span> SampleComnsoleApp
{
<span class="kwrd">class</span> Program
{
<span class="kwrd">static</span> <span class="kwrd">void</span> Main(<span class="kwrd">string</span>[] args)
{
<span class="kwrd">bool</span> quiet = <span class="kwrd">false</span>;
SPSecurity.RunWithElevatedPrivileges(<span class="kwrd">delegate</span>()
{
(<span class="kwrd">new</span> Program()).Run(quiet);
});
}
<span class="kwrd">private</span> <span class="kwrd">void</span> Run(<span class="kwrd">bool</span> quiet)
{
}
}
}
</pre>
<pre class="csharpcode"></pre>
<span style="color: #d69e33;"><b>Resolution:
</b></span><br />
The console application is running under 32 bit processor. Just change it to 64 bit.<br />
To do this:<br />
<br />
<ul style="text-align: left;">
<li>Right click on Console Application</li>
<li>Select Properties </li>
<li>Under <b>Build Tab, </b>change<b> Platform Target </b>to<b> x64</b></li>
<li>Rerun the application and hopefully the error should go away now !</li>
</ul>
</div>
Sai Abhilash Manikondahttp://www.blogger.com/profile/17012090823674241541noreply@blogger.com3tag:blogger.com,1999:blog-7731025227487885397.post-66521744005216461592013-02-10T19:41:00.002+05:302013-02-10T19:41:46.107+05:30Step by Step Procedure to Migrate sites from MOSS 2007 to SharePoint 2013<div dir="ltr" style="text-align: left;" trbidi="on">
Hi,<br />
<br />
To migrate sites from MOSS 2007 to SharePoint 2013, we need to first perform two tasks.<br />
<br />
a. <a href="http://saiabhilash.blogspot.in/2013/02/step-by-step-procedure-to-migrate-sites.html" target="_blank">Migration from MOSS 2007 to SharePoint 2010</a><br />
b. <a href="http://saiabhilash.blogspot.in/2013/02/step-by-step-procedure-to-migrate-sites_10.html" target="_blank">Migration from SharePoint 2010 to SharePoint 2013</a><br />
<br />
Please follow the above links to perform migration and let me know in case of any issues.<br />
<br />
Thanks !</div>
Sai Abhilash Manikondahttp://www.blogger.com/profile/17012090823674241541noreply@blogger.com1tag:blogger.com,1999:blog-7731025227487885397.post-4957341953303255132013-02-10T19:33:00.002+05:302013-02-10T19:35:20.465+05:30Step by Step Procedure to Migrate sites from SharePoint 2010 to SharePoint 2013<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="text-align: left;">
Hi Again,</div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
In this post, I will show how to migrate sites from SharePoint 2010 to SharePoint 2013.</div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<span style="background-color: white; font-family: 'Trebuchet MS', Trebuchet, sans-serif; font-size: 13px; line-height: 18px;"><span style="color: #d69e33; font-weight: bold;">Steps for Migrating SharePoint 2010 site to SharePoint 2013</span></span></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
1. Take backup of SharePoint 2010 Content database</div>
<div style="text-align: left;">
2. Restore the SharePoint 2010 Content database in SQL Server 2012</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwiIo_I0eEB4EHc-6w50byEw4pLOOnO1KbIsNRGSonaz2RYVKaZ5mpaMRojEpMZg2_DjVJlFVW0IJNTmaDot53E3_-BsaQcJUyi9XSCkbOBIA7KK4QvlJXJEFfY4eXvTDWmtmiLOomBjA/s1600/1.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-left: 1em;"> <img border="0" height="241" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwiIo_I0eEB4EHc-6w50byEw4pLOOnO1KbIsNRGSonaz2RYVKaZ5mpaMRojEpMZg2_DjVJlFVW0IJNTmaDot53E3_-BsaQcJUyi9XSCkbOBIA7KK4QvlJXJEFfY4eXvTDWmtmiLOomBjA/s400/1.PNG" width="400" /></a></div>
<div style="text-align: left;">
</div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9poJAlZbNTnzR4JVnB0pJ97LDKBC_O1jvTc2hgqeJ3mIi-2Tg6J6qmq6I89h-i49KBxjqnVbfuzRm8Oti9E76SSjbhsYMiEA5fGRKawZAlmTZj0_HtWxFsILZaONUJmQIRQTXWIM-R3A/s1600/2.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-left: 1em;"> <img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9poJAlZbNTnzR4JVnB0pJ97LDKBC_O1jvTc2hgqeJ3mIi-2Tg6J6qmq6I89h-i49KBxjqnVbfuzRm8Oti9E76SSjbhsYMiEA5fGRKawZAlmTZj0_HtWxFsILZaONUJmQIRQTXWIM-R3A/s400/2.PNG" width="400" /></a></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
3. Create a claims based web application. I want to use windows authentication. So I have selected “Enable Windows Authentication” checkbox while creating new web application.</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmljvzqCDtWry8xSCBeW2nTD0Bn1CpnUilBj7GuCWlbRmp69CGYvGW9piTC3UTGjI8XKG-7kMJx7lGWFwvjYDaKDwOaid6bWkWzWmeEYt_rhAElgYL-DOFo-lRCLbZIEW078A6n4QiX04/s1600/3.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-left: 1em;"> <img border="0" height="230" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmljvzqCDtWry8xSCBeW2nTD0Bn1CpnUilBj7GuCWlbRmp69CGYvGW9piTC3UTGjI8XKG-7kMJx7lGWFwvjYDaKDwOaid6bWkWzWmeEYt_rhAElgYL-DOFo-lRCLbZIEW078A6n4QiX04/s400/3.PNG" width="400" /></a></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
4. Note that classic authentication mode is removed by default in create web application page. You can create classic web application using PowerShell only.</div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
5. We see that web application is created in Central Administration page</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_07XVbF3d-1_etwu7D9zfmbr1cK1_3qQJbfz6e8DqG7EUDk54Iq4ODUtqiKlkdy_EsGStwTAFmxod6cVId14EqbTmjl0kX_AasnuMdhH_IbuAefF-m6fVcqP6cpBGap_cUX1pcSZuD68/s1600/4.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-left: 1em;"> <img border="0" height="128" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_07XVbF3d-1_etwu7D9zfmbr1cK1_3qQJbfz6e8DqG7EUDk54Iq4ODUtqiKlkdy_EsGStwTAFmxod6cVId14EqbTmjl0kX_AasnuMdhH_IbuAefF-m6fVcqP6cpBGap_cUX1pcSZuD68/s400/4.PNG" width="400" /></a></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
6. Open “SharePoint 2013 Management Shell” as Administrator</div>
<div style="text-align: left;">
7. Detach the content database for the newly created web application using the below PowerShell command</div>
<div style="text-align: left;">
<div class="MsoNormal">
<b> <span style="color: #d69e33;">Dismount-SPContentDatabase
-Identity "WSS_Content_SharePoint2013DB_4444"</span></b><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuYo2l0EwOEEu4-1NCbOFYZP6XH7PTKSO1KwxE2504cjlwqZCI3xAsGrglkoIzYt99aSwu7JevJp0FRpJUQZzxoHxbOlGyD1PFuyLspMp2QLxRZjwK0DilNsBVmivbDy1oNVrUKwrUn5E/s1600/5.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-left: 1em;"> <img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuYo2l0EwOEEu4-1NCbOFYZP6XH7PTKSO1KwxE2504cjlwqZCI3xAsGrglkoIzYt99aSwu7JevJp0FRpJUQZzxoHxbOlGyD1PFuyLspMp2QLxRZjwK0DilNsBVmivbDy1oNVrUKwrUn5E/s400/5.PNG" width="400" /></a></div>
<b><span style="color: #d69e33;"><br /></span></b></div>
</div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div class="MsoListParagraph" style="text-align: left; text-indent: -0.25in;">
<o:p></o:p></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
8. Attach the Restored SP2010 Content database to the newly created SP2013 Web Application using PowerShell command</div>
<div style="text-align: left;">
<br /></div>
<div class="MsoNormal" style="text-align: left;">
<b><span style="color: #d69e33;">Mount-SPContentDatabase
-Name WSS_Content_SharePoint2010ContentDatabase -DatabaseServer SHAREPOINT2013\SHAREPOINT
-WebApplication <a href="http://sharepoint2013:4444/">http://sharepoint2013:4444/</a></span><o:p></o:p></b><br />
<b><br /></b>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4dR2WSlRfZn4NaZrXP8a-BPZDfkFODZZEsO9dt_-YTVmmWKnaVmn6fhA-nI7DEwnOrz4hyphenhyphenWYQcoFrn980XR423r_OLUUNxy222yCKP9nO7QMxx9KBwR6JUzqGVBynplakbc1ZX0Y6XMw/s1600/6.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-left: 1em;"> <img border="0" height="203" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4dR2WSlRfZn4NaZrXP8a-BPZDfkFODZZEsO9dt_-YTVmmWKnaVmn6fhA-nI7DEwnOrz4hyphenhyphenWYQcoFrn980XR423r_OLUUNxy222yCKP9nO7QMxx9KBwR6JUzqGVBynplakbc1ZX0Y6XMw/s400/6.PNG" width="400" /></a></div>
<b><br /></b></div>
<div class="MsoNormal" style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
9. Depending on your project requirements, you may need to perform
additional tasks</div>
<ul style="text-align: left;">
<li>Update Web.config with</li>
<ul>
<li>Connection strings to database (In case custom database is used)</li>
<li>Safe controls for Dll’s</li>
</ul>
<li>Update Visual Studio code to VS 2010 (Applicable if 14 hive was used by your code. This needs to updated to 15 hive)</li>
<li>Update master page and page layouts to use dll’s of version 15.0.0.0. Note that we still have 14.0.0.0 version for Master page and Page layouts even after migration </li>
</ul>
<div>
10. Browse the SharePoint 2013 site now and I got an access denied error as shown below</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxle-Ki-IK-2UFkY5nlcE5xldgrKKmiFf4xdqXSKGsZasmIbSzcZddFItPCW2PnwVLCb1fSW5vuLVbXCT7NCwCRz2Rme9oPuQyQCYa1yzPuJKPm5T3WNu-RIUWLOY_OmDlm0vMwAq_6J4/s1600/7.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"> <img border="0" height="175" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxle-Ki-IK-2UFkY5nlcE5xldgrKKmiFf4xdqXSKGsZasmIbSzcZddFItPCW2PnwVLCb1fSW5vuLVbXCT7NCwCRz2Rme9oPuQyQCYa1yzPuJKPm5T3WNu-RIUWLOY_OmDlm0vMwAq_6J4/s400/7.PNG" width="400" /></a></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
11. This is because the content database has got primary and secondary administrators of SharePoint 2010 site. This is not valid in my case since SharePoint 2013 is on another domain as shown below</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjzwCHIz75luz6K7W8Lsbi80FZk-g8XWZ302YgfRpEo2PcMXHAhnAdHslyS-CccpFycU2YJPvywlLMUCRZQvD6iT18ENW-Yzt37UkA6yM8n_XKtAdQUAGvyPp4vZD5CAxYozfCQS1cu-Q/s1600/8.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"> <img border="0" height="212" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjzwCHIz75luz6K7W8Lsbi80FZk-g8XWZ302YgfRpEo2PcMXHAhnAdHslyS-CccpFycU2YJPvywlLMUCRZQvD6iT18ENW-Yzt37UkA6yM8n_XKtAdQUAGvyPp4vZD5CAxYozfCQS1cu-Q/s400/8.PNG" width="400" /></a></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
12. Hence, I need to change the primary and secondary administrators to valid users as shown below and click OK to save changes</div>
<div>
<br /></div>
<div>
13. Welcome to your SharePoint 2013 Site! :)</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5u4KHJZQYM2Mtkym7rlzZQIaDKvBYNgh3kxoEcRO0pbdnOFTUfRrnuYQ_6cnlT3RolFliR30sYgwUC9grlYBvhoSaVscafFMrt44mDHSwj0ar-int_fKKrguDm4otytZ6Mv8vhXSywP8/s1600/10.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"> <img border="0" height="232" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5u4KHJZQYM2Mtkym7rlzZQIaDKvBYNgh3kxoEcRO0pbdnOFTUfRrnuYQ_6cnlT3RolFliR30sYgwUC9grlYBvhoSaVscafFMrt44mDHSwj0ar-int_fKKrguDm4otytZ6Mv8vhXSywP8/s400/10.PNG" width="400" /></a></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
14. Note that we are still in SharePoint 2010 UI. We also got a message to experience SharePoint 15 features. Click Start now</div>
<div>
<br /></div>
<div>
15. We get an “Upgrade Site Collection” page. Click “Upgrade this site collection”</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWDuTPWIutve5-UYkuRmBCY1pZ4UgsEXRGGyQFD99M03j-M4-D3NvdnqAFxVadPhAT2wlL8dJ-2fUu6EyUNjzBaQAhfHtJ66g52bS6kKjQhGaIL7H1khg1mrH5akXP_8-y4evsZTDFVhM/s1600/11.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"> <img border="0" height="245" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWDuTPWIutve5-UYkuRmBCY1pZ4UgsEXRGGyQFD99M03j-M4-D3NvdnqAFxVadPhAT2wlL8dJ-2fUu6EyUNjzBaQAhfHtJ66g52bS6kKjQhGaIL7H1khg1mrH5akXP_8-y4evsZTDFVhM/s400/11.PNG" width="400" /></a></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
16. We get a popup. Click “I am ready”. Note that in SharePoint 2010 Visual upgrade, even though the site has been updated to SharePoint 2010 UI, we can still revert back to SharePoint 2007 UI using PowerShell. This is not the case with SharePoint 2013. Once the site is converted to SharePoint 2013, this cannot be reverted back to SharePoint 2010. </div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIyAYd0nqECD1hdIQTMEXJ42lUncgKNFmotIgBBaxYgkeE9J5b21P7FoOH6UqcsZOpxrHHb4bSeR9NdWZ561T0sZK0ThgkvAWZa0Ua6N9xqRkjFBQsm5S6JEa89mvAgqf-ZKLcgI0PLII/s1600/12.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"> <img border="0" height="201" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIyAYd0nqECD1hdIQTMEXJ42lUncgKNFmotIgBBaxYgkeE9J5b21P7FoOH6UqcsZOpxrHHb4bSeR9NdWZ561T0sZK0ThgkvAWZa0Ua6N9xqRkjFBQsm5S6JEa89mvAgqf-ZKLcgI0PLII/s400/12.PNG" width="400" /></a></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
17. You can see the upgrade status in Site Upgrade Status page </div>
<div>
(http://<SiteUrl>/_layouts/15/siteupgradestatus.aspx)</div>
<div>
<b> </b></div>
<div>
<b> Upgrade Screen 1</b></div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvwQFo4ZyHlqZO35WvHyGYfabQkrjELG0AXyY-pzEKUXY-J1hIQFn_I86mr2XYo8ti2QvLpGfO7K0eUdifoHmtS4Cfr3ELtiuRnEdTKzqiVP5pTtIjV0RZE_fQHaHNuf-7iu2vURvX9Ps/s1600/13.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"> <img border="0" height="213" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvwQFo4ZyHlqZO35WvHyGYfabQkrjELG0AXyY-pzEKUXY-J1hIQFn_I86mr2XYo8ti2QvLpGfO7K0eUdifoHmtS4Cfr3ELtiuRnEdTKzqiVP5pTtIjV0RZE_fQHaHNuf-7iu2vURvX9Ps/s400/13.PNG" width="400" /></a></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<b> Upgrade Screen 2</b></div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2CakejkjoB2YXEcafSgQI3jp5wV1Cd4co40lxHWSBCQv85tQiFkIYlWTuThC_RCXwy3rM6EOt3eU9Pos67Ta-C5atrnAD-G7xhZ0PlYXJI2eR_jLF1HDgowfOkM82StqrVlWiFwKmiiE/s1600/14.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"> <img border="0" height="207" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2CakejkjoB2YXEcafSgQI3jp5wV1Cd4co40lxHWSBCQv85tQiFkIYlWTuThC_RCXwy3rM6EOt3eU9Pos67Ta-C5atrnAD-G7xhZ0PlYXJI2eR_jLF1HDgowfOkM82StqrVlWiFwKmiiE/s400/14.PNG" width="400" /></a></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
18. Once, the upgrade is completed, we get a <b>Upgrade Successful</b> message</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxMnq-5m5gm0A01FKfNd4KFygc1oMVGD6AJJ_RCnh94BGuj9s050UyPtCIMbEL1O9GPCjFzck-ZapDM3zoBrJRKYpjO3C63Vv0eLlxW-TeJ9lx5OvRl2wc1DjeTaQKhY5-nZE5Bun0dyI/s1600/15.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"> <img border="0" height="198" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxMnq-5m5gm0A01FKfNd4KFygc1oMVGD6AJJ_RCnh94BGuj9s050UyPtCIMbEL1O9GPCjFzck-ZapDM3zoBrJRKYpjO3C63Vv0eLlxW-TeJ9lx5OvRl2wc1DjeTaQKhY5-nZE5Bun0dyI/s400/15.PNG" width="400" /></a></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
19. And, finally, here is our SharePoint 2013 site! :)</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZqitonE8CXyX7Bk0MIdAPcgZo065eQayONvr2RSJwAFa2T4kKjAt9HVFZiLCUvX6Z3XbdG2Avx51K_N0pdX_MdBVJ4pExwCYZpeXTVzd3bqW75i1n-JpsL6vB6PbNvyo23ggoV6NZzhw/s1600/16.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"> <img border="0" height="212" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZqitonE8CXyX7Bk0MIdAPcgZo065eQayONvr2RSJwAFa2T4kKjAt9HVFZiLCUvX6Z3XbdG2Avx51K_N0pdX_MdBVJ4pExwCYZpeXTVzd3bqW75i1n-JpsL6vB6PbNvyo23ggoV6NZzhw/s400/16.PNG" width="400" /></a></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
20. Everything got migrated properly without any issues. Kudos to the Microsoft SharePoint team for doing such an excellent job. Cheers!</div>
<div style="text-align: left;">
</div>
<div class="MsoNormal" style="text-align: left;">
<o:p></o:p></div>
<div class="MsoListParagraph" style="text-align: left; text-indent: -0.25in;">
<o:p></o:p></div>
</div>
Sai Abhilash Manikondahttp://www.blogger.com/profile/17012090823674241541noreply@blogger.com0tag:blogger.com,1999:blog-7731025227487885397.post-70363846237335208972013-02-10T15:43:00.001+05:302013-02-10T17:23:36.783+05:30Step by Step Procedure to Migrate sites from MOSS 2007 to SharePoint 2010 - <div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<div class="MsoNormal">
Hi All,<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
In this post, I will first explain how to migrate sites from MOSS
2007 to SharePoint 2010. <o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<b><span style="color: #d69e33;">Steps for Migrating
MOSS 2007 site to SharePoint 2010</span></b><br />
<br />
<div class="MsoListParagraphCxSpFirst" style="margin-left: .25in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -.25in;">
<!--[if !supportLists]-->1.<span style="font-size: 7pt;"> </span>We will migrate a simple site in MOSS 2007 to
SharePoint 2010. Here is the screenshot of the site in MOSS 2007<o:p></o:p></div>
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgH_Bi9QiSQM6SPdnElsxZDPJPNrNrkewStp4RHQWU1oDjCFPpwq5mGiwQySuV5ZAxus9bQkEP0r8RO6SzR1QGDlG53neoKo599w12sPiTsuDDWZ4le6TeRVMZ3M1-Rfas8Y_vKHDqM7XU/s1600/1.PNG" imageanchor="1" style="clear: left; display: inline !important; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="237" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgH_Bi9QiSQM6SPdnElsxZDPJPNrNrkewStp4RHQWU1oDjCFPpwq5mGiwQySuV5ZAxus9bQkEP0r8RO6SzR1QGDlG53neoKo599w12sPiTsuDDWZ4le6TeRVMZ3M1-Rfas8Y_vKHDqM7XU/s400/1.PNG" width="400" /></a><br />
<br />
<br />
<span style="text-indent: -0.25in;">2.</span><span style="font-size: 7pt; text-indent: -0.25in;"> </span><span style="text-indent: -0.25in;">Set the content database for this site to READ
ONLY before taking backup. </span><br />
<span style="text-indent: -0.25in;"> To do this, open SSMS </span><span style="text-indent: -0.25in;">and select the content
database</span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiiR18QugqNkC7_V_zzndnpdI_SHSETzfSl98quvLJCIkDGUjkbEPNY4PR_tShEvTc9cGytPU-gMC8XLulsL4ca7KIYuyQdytUgo_oQVMQ_2H43d7OllKZod0GMZ5ynqt5VHmN3-unn_08/s1600/2.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"> <img border="0" height="282" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiiR18QugqNkC7_V_zzndnpdI_SHSETzfSl98quvLJCIkDGUjkbEPNY4PR_tShEvTc9cGytPU-gMC8XLulsL4ca7KIYuyQdytUgo_oQVMQ_2H43d7OllKZod0GMZ5ynqt5VHmN3-unn_08/s400/2.PNG" width="400" /></a></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br />
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -.25in;">
<!--[if !supportLists]-->3.<span style="font-size: 7pt;">
</span><!--[endif]-->Right click on database and select properties<o:p></o:p></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -.25in;">
<!--[if !supportLists]-->4.<span style="font-size: 7pt;">
</span><!--[endif]-->Under Options tab, set the database state to be
READ ONLY as shown below<o:p></o:p></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxzAQREstRb7BoWRAix8H8lPQLgy2oMFkPXMIOYXjl308UnYkXBuXBhOrSZ0AdLnDZ1a4T80OutlQz-kyULIMPmZgNWKXWTz8NcxIhwkjgVYJUb4t2R5t1XftyiUWpywXj11PIIfled_A/s1600/3.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"> <img border="0" height="291" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxzAQREstRb7BoWRAix8H8lPQLgy2oMFkPXMIOYXjl308UnYkXBuXBhOrSZ0AdLnDZ1a4T80OutlQz-kyULIMPmZgNWKXWTz8NcxIhwkjgVYJUb4t2R5t1XftyiUWpywXj11PIIfled_A/s400/3.PNG" width="400" /></a></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br />
<br />
<br /></div>
<br />
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -.25in;">
<!--[if !supportLists]-->5.<span style="font-size: 7pt;"> </span>Once this is done, click OK to save changes. The
database will be grayed out indicating that it is in READ ONLY mode</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnjnmT6TMjMOK6TyTQ45EMfhS1_CUpmpgjtqL3jXoMiwGmbw60VVV_vy_wevyipr_llWzz6www52qfJHwklsr9_H7cxlEX7m3_F1esDPROGuxlXLCQeWHarnDt9y-ADxOe8NFy9ZXCxKM/s1600/4.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"> <img border="0" height="341" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnjnmT6TMjMOK6TyTQ45EMfhS1_CUpmpgjtqL3jXoMiwGmbw60VVV_vy_wevyipr_llWzz6www52qfJHwklsr9_H7cxlEX7m3_F1esDPROGuxlXLCQeWHarnDt9y-ADxOe8NFy9ZXCxKM/s400/4.PNG" width="400" /></a></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br />
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -.25in;">
<!--[if !supportLists]-->6.<span style="font-size: 7pt;">
</span><!--[endif]-->Now, backup the database</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibnLdql_9aT8uxo_rhdjobqfbOghJ6lcK0uH494yH4K_52BAOHUWJkHpCxXyQr2vj0ZxJxUS2tR_BYera54mfXtAdr_qVPdAgcs6T8XLoV10Hs9E3XdSChyoM931FYO9IqvKwpOOq8CdQ/s1600/5.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"> <img border="0" height="277" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibnLdql_9aT8uxo_rhdjobqfbOghJ6lcK0uH494yH4K_52BAOHUWJkHpCxXyQr2vj0ZxJxUS2tR_BYera54mfXtAdr_qVPdAgcs6T8XLoV10Hs9E3XdSChyoM931FYO9IqvKwpOOq8CdQ/s400/5.PNG" width="400" /></a></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br />
<br />
<br />
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -.25in;">
<!--[if !supportLists]-->7.<span style="font-size: 7pt;"> </span>Once the backup is done, restore this backup on
SQL Server that is connected to SharePoint 2010 Farm. I have SQL Server 2008 R2
that is connected to SP 2010 farm.<o:p></o:p></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -.25in;">
<!--[if !supportLists]-->8.<span style="font-size: 7pt;"> </span>To restore the MOSS 2007 content database to SQL
Server 2008 R2, open your SQL Server 2008 R2 in SSMS</div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6v3QpAhrxc3fjE8hyphenhyphenz5y7raCd9tlbUcjql3BLFqxBuNoFXqWUQms3mY1IN5mbRt_sgOCG9cdmFu5tcMWGpW9p0lKBRrx3k_EFepwsv9pLPHtKmrb_GnIeFqMBFlOTFM08OKq3juniIz8/s1600/6.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"> <img border="0" height="235" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6v3QpAhrxc3fjE8hyphenhyphenz5y7raCd9tlbUcjql3BLFqxBuNoFXqWUQms3mY1IN5mbRt_sgOCG9cdmFu5tcMWGpW9p0lKBRrx3k_EFepwsv9pLPHtKmrb_GnIeFqMBFlOTFM08OKq3juniIz8/s320/6.PNG" width="320" /></a></div>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -.25in;">
<!--[if !supportLists]-->9.<span style="font-size: 7pt;"> </span><!--[endif]-->Right click on Databases and select Restore
database<o:p></o:p></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoZEFhmczG3dEpxLqUwYGOIpj9ksg2HKzJ0cEtpTJe9RZR72gicUx2jofc-vqiJ2GgRH__sBXyst-UGKD0btmTlvuyTQzSqZHWF7Nh4ugXu8QgVasEJ9FIEStst91A9US48E6HIZJrtH8/s1600/7.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"> <img border="0" height="216" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoZEFhmczG3dEpxLqUwYGOIpj9ksg2HKzJ0cEtpTJe9RZR72gicUx2jofc-vqiJ2GgRH__sBXyst-UGKD0btmTlvuyTQzSqZHWF7Nh4ugXu8QgVasEJ9FIEStst91A9US48E6HIZJrtH8/s400/7.PNG" width="400" /></a></div>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -.25in;">
<!--[if !supportLists]-->10.<span style="font-size: 7pt;">
</span><!--[endif]-->Select “From Device” option under “Source for
restore”. Then Select the backup file<o:p></o:p></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLJ68jqIDBPZLoZHcPJ7kOBinD1N_-lTZdUs6zvWcJ6kC7nERFrQIMfj8aPKLj9s7FuVIcFNjHz_W9wK9pdqQKf72F5xU6sx7bjisWNngGI0khzPE8ZLbyutdutzHl-WXWfAr9DusXRSc/s1600/8.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"> <img border="0" height="322" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLJ68jqIDBPZLoZHcPJ7kOBinD1N_-lTZdUs6zvWcJ6kC7nERFrQIMfj8aPKLj9s7FuVIcFNjHz_W9wK9pdqQKf72F5xU6sx7bjisWNngGI0khzPE8ZLbyutdutzHl-WXWfAr9DusXRSc/s400/8.PNG" width="400" /></a></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br />
<br />
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -.25in;">
<!--[if !supportLists]-->11.<span style="font-size: 7pt;">
</span><!--[endif]-->Provide the name of database under “Destination
for restore” => “To database”. FYI, I restored my MOSS 2007 content database
to SQL Server 2008 R2 as “WSS_Content_MOSS2007ContentDatabase”<o:p></o:p><br />
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -.25in;">
<!--[if !supportLists]-->12.<span style="font-size: 7pt;">
</span><!--[endif]-->Now, go to central administration page for
SharePoint 2010 and create a new web application. Do not create any site
collections for this web application as we will delete content database for
this web application. The name of content database for this web application is “WSS_Content_TempWebApp_4444”.
<o:p></o:p></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhm1H3_-cXsK07EPKOGk8C7z9HQjYdFs5KUheg52j8t4_mi-2meMe4LAoww7ubFxJEy6nQzTna429CO2SquYrtoOINttNXAJq9SqS3T3k6FjqgNKbIbWCTKcKoSWmDdlx7pbyZ5zgx_1sY/s1600/9.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="178" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhm1H3_-cXsK07EPKOGk8C7z9HQjYdFs5KUheg52j8t4_mi-2meMe4LAoww7ubFxJEy6nQzTna429CO2SquYrtoOINttNXAJq9SqS3T3k6FjqgNKbIbWCTKcKoSWmDdlx7pbyZ5zgx_1sY/s400/9.PNG" width="400" /></a></div>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -.25in;">
<!--[if !supportLists]-->13.<span style="font-size: 7pt;"> </span><!--[endif]-->Delete the content database for newly created web
application (<a href="http://saiabhilash:4444/">http://saiabhilash:4444/</a>)
using PowerShell command<br />
<b> </b><br />
<span style="color: #d69e33;"><b> <span style="background-color: white;"> Dismount-SPContentDatabase -Identity
"WSS_Content_TempWebApp_4444"</span></b><o:p></o:p></span><br />
<b><br /></b></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -.25in;">
<!--[if !supportLists]-->14.<span style="font-size: 7pt;"> </span><!--[endif]-->Now, attach the MOSS 2007 content database to
this web application using PowerShell command<o:p></o:p><br />
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<b><span style="color: #d69e33;">Mount-SPContentDatabase -Name
WSS_Content_MOSS2007ContentDatabase -DatabaseServer SAIABHILASH\SHAREPOINT
-WebApplication <a href="http://saiabhilash:4444/">http://saiabhilash:4444/</a></span><o:p></o:p></b><br />
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -.25in;">
<!--[if !supportLists]-->15.<span style="font-size: 7pt;"> </span><!--[endif]-->Once this done, verify that the MOSS 2007
content database is successfully attached to SharePoint 2010 web application
(Manage Content databases page in Central Administration)<o:p></o:p></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdsDFo2CUPXNr9uDnp_FeRcWjQG-BCCOYOjsTlx9vyHd49eHvu3RLcZDkbBV2w8UphIyol16uqW47IDqWUfKwbJXoVV3EXRB9Oc2Hszx00JNgQ9TJ9yVAxXxEXhAI_kJ5wYOh6K7D9zDw/s1600/10.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="132" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdsDFo2CUPXNr9uDnp_FeRcWjQG-BCCOYOjsTlx9vyHd49eHvu3RLcZDkbBV2w8UphIyol16uqW47IDqWUfKwbJXoVV3EXRB9Oc2Hszx00JNgQ9TJ9yVAxXxEXhAI_kJ5wYOh6K7D9zDw/s400/10.PNG" width="400" /></a></div>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -.25in;">
<!--[if !supportLists]-->16.<span style="font-size: 7pt;"> </span><!--[endif]-->Depending on your project requirements, you may
need to perform additional tasks<o:p></o:p></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .75in; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -.25in;">
<!--[if !supportLists]-->a.<span style="font-size: 7pt;">
</span><!--[endif]-->Update Web.config with<o:p></o:p></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 1.25in; mso-add-space: auto; mso-list: l0 level3 lfo1; mso-text-indent-alt: -9.0pt; text-indent: -1.25in;">
<!--[if !supportLists]--><span style="font-size: 7pt;">
</span>i.<span style="font-size: 7pt;">
</span><!--[endif]-->Connection strings to database (In case custom
database is used)<o:p></o:p></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 1.25in; mso-add-space: auto; mso-list: l0 level3 lfo1; mso-text-indent-alt: -9.0pt; text-indent: -1.25in;">
<!--[if !supportLists]--><span style="font-size: 7pt;">
</span>ii.<span style="font-size: 7pt;">
</span><!--[endif]-->Safe controls for Dll’s<o:p></o:p></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .75in; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -.25in;">
<!--[if !supportLists]-->b.<span style="font-size: 7pt;">
</span><!--[endif]-->Update Visual Studio code to VS 2010 (Applicable
if 12 hive was used by your code. This needs to updated to 14 hive)<o:p></o:p></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .75in; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -.25in;">
<!--[if !supportLists]-->c.<span style="font-size: 7pt;">
</span><!--[endif]-->Update master page and page layouts to use dll’s
of version 14.0.0.0. Note that we still have 12.0.0.0 version for Master page
and Page layouts even after migration<o:p></o:p><br />
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -.25in;">
<!--[if !supportLists]-->17.<span style="font-size: 7pt;"> </span>This is it. Once this is done, we see the migrated
site in SharePoint 2010 as shown below <span style="font-family: Wingdings; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-char-type: symbol; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-symbol-font-family: Wingdings;">J</span><o:p></o:p></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgE2Q5Dh5Wx5sq-ADg5rhhgPG0ZA1Q2HWvB40_6NSyhn9anW5anr8WjIqyEVJIF76wOJwZGf5OUiLhEiya6QTwrWCMYXXfLwJczdIu8-c6CcKez7XfPSZwrn6ohT6lTMGemp9PajCfdjrI/s1600/11.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="192" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgE2Q5Dh5Wx5sq-ADg5rhhgPG0ZA1Q2HWvB40_6NSyhn9anW5anr8WjIqyEVJIF76wOJwZGf5OUiLhEiya6QTwrWCMYXXfLwJczdIu8-c6CcKez7XfPSZwrn6ohT6lTMGemp9PajCfdjrI/s400/11.PNG" width="400" /></a></div>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -.25in;">
<!--[if !supportLists]-->18.<span style="font-size: 7pt;"> </span>We still see that UI is still in 2007 format.
Use Visual Upgrade to see the updated UI (Site Actions <span style="font-family: Wingdings; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-char-type: symbol; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-symbol-font-family: Wingdings;">è</span> Visual Upgrade)<o:p></o:p></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJHKiegh3ALhGyBhUJgxqoqT6dEb66QGn4DJ7whBDRXp6V-CvrAcDwrXVVylWVM605VT1xljgCdFJH8OtQfiQHdfCN6Hf_dzZhTO9UP2E6gkao74uAV76EO32730Zb3MuqYI12Za8s6uU/s1600/12.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="195" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJHKiegh3ALhGyBhUJgxqoqT6dEb66QGn4DJ7whBDRXp6V-CvrAcDwrXVVylWVM605VT1xljgCdFJH8OtQfiQHdfCN6Hf_dzZhTO9UP2E6gkao74uAV76EO32730Zb3MuqYI12Za8s6uU/s400/12.PNG" width="400" /></a></div>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -.25in;">
<!--[if !supportLists]-->19.<span style="font-size: 7pt;">
</span><!--[endif]-->Select “Update the user interface” tab and click
OK to see SharePoint 2010 UI. <o:p></o:p></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto;">
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhblHarmeV9TneEVMzajxeH6pPO0N8gO-dZrNqCUTAWGTnI_clhKe3fxXHZYJdkKDcCVOcvM3R6sbirhmgpRoSWxUuVCC0Uj1dppw8NXTrsryTR2R5iWraQWhC0cps-r6A_9zHFn2XTsS8/s1600/13.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhblHarmeV9TneEVMzajxeH6pPO0N8gO-dZrNqCUTAWGTnI_clhKe3fxXHZYJdkKDcCVOcvM3R6sbirhmgpRoSWxUuVCC0Uj1dppw8NXTrsryTR2R5iWraQWhC0cps-r6A_9zHFn2XTsS8/s400/13.PNG" width="323" /></a></div>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .25in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -.25in;">
<!--[if !supportLists]-->20.<span style="font-size: 7pt;">
</span><!--[endif]-->Welcome to SharePoint 2010! <span style="font-family: Wingdings; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-char-type: symbol; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-symbol-font-family: Wingdings;">J</span><o:p></o:p></div>
<div class="MsoListParagraphCxSpLast" style="margin-left: .25in; mso-add-space: auto;">
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiT2gMR6RBNARpnnA394T7pkqHJ7-n73yIqjUeSgtF4asWHVly1E5aPm2wSZJq8T9jFWa49eZ94aRTEgtNTne_6k09_t4gLFo5wq9MajZtByqeESWjFb-6xlaC0DqODx3gKtpI7y5RUkAU/s1600/14.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="218" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiT2gMR6RBNARpnnA394T7pkqHJ7-n73yIqjUeSgtF4asWHVly1E5aPm2wSZJq8T9jFWa49eZ94aRTEgtNTne_6k09_t4gLFo5wq9MajZtByqeESWjFb-6xlaC0DqODx3gKtpI7y5RUkAU/s400/14.PNG" width="400" /></a></div>
</div>
</div>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
In next post, i will show you how to migrate sites from SharePoint 2010 to SharePoint 2013. Cheers !<br />
<div class="MsoListParagraph" style="mso-list: l0 level1 lfo1; text-indent: -.25in;">
<o:p></o:p></div>
<div class="MsoListParagraph" style="mso-list: l0 level1 lfo1; text-indent: -.25in;">
<o:p></o:p></div>
</div>
Sai Abhilash Manikondahttp://www.blogger.com/profile/17012090823674241541noreply@blogger.com13tag:blogger.com,1999:blog-7731025227487885397.post-34906262240556689302013-01-25T14:31:00.001+05:302013-01-25T14:32:02.310+05:30Packaging SharePoint 2013 Solutions in Visual Studio 2012<div dir="ltr" style="text-align: left;" trbidi="on">
Hi All,<br />
<br />
To generate wsp file in Visual Studio 2012, follow the below steps.<br />
<br />
1. Right click on SharePoint 2013 solution<br />
2. Select <b>Publish </b>option<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGNtlufoMuo9EY9K25kwPvCgWaEoP16lWB-50tbKNy1MlEb5Gm0cwZOb8KseCUjgeyn1hwKWOvu7N2c1MjBx6gPau0fwsHzlMLXChLnzluys8SQAAT0xla9WwA6dM-ICpIlFSa8-UjI3s/s1600/abc.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="328" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGNtlufoMuo9EY9K25kwPvCgWaEoP16lWB-50tbKNy1MlEb5Gm0cwZOb8KseCUjgeyn1hwKWOvu7N2c1MjBx6gPau0fwsHzlMLXChLnzluys8SQAAT0xla9WwA6dM-ICpIlFSa8-UjI3s/s400/abc.PNG" width="400" /></a></div>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
3. Select <b>Publish to File System and </b>provide target location to store wsp location<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEie1Je3-3eIittp8887vI91PWiji7DDbOJ21wkarWysxHdMa-4mkEN5mFSTkxuU23C1uE-CGuGujIKy1tsOscSTWbTsAyOUevYYgEDk6gp2EO27hN3YbXKIqgz61LM1OBz6ld0X8iey-Q4/s1600/def.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="272" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEie1Je3-3eIittp8887vI91PWiji7DDbOJ21wkarWysxHdMa-4mkEN5mFSTkxuU23C1uE-CGuGujIKy1tsOscSTWbTsAyOUevYYgEDk6gp2EO27hN3YbXKIqgz61LM1OBz6ld0X8iey-Q4/s400/def.PNG" width="400" /></a></div>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
4. Once <b>Publish </b>is clicked, wsp file will be generated in specified location.<br />
<br />
Hope this helps.</div>
Sai Abhilash Manikondahttp://www.blogger.com/profile/17012090823674241541noreply@blogger.com3tag:blogger.com,1999:blog-7731025227487885397.post-78354747242881758862013-01-11T17:54:00.000+05:302013-01-11T17:55:04.046+05:30Making solutions for SharePoint 2010 in VS 2010 work in SharePoint 2013<div dir="ltr" style="text-align: left;" trbidi="on">
Hi All,<br />
<br />
We all know that in SharePoint 2013, the SharePoint Root was renamed to 15 hive. Microsoft has been doing this for every new SharePoint release. For instance, in MOSS 2007, it was called as 12 hive and in SharePoint 2010, its called as 14 hive.<br />
<br />
Now, we have a Visual Studio project that was created for SharePoint 2010. When we try to deploy this solution on SharePoint 2013, all files targeted to sit in SharePoint Root was actually copied to 14 hive instead of copying in 15 hive.<br />
<br />
The reason for this is in solution's manifest file, we have an attribute for <Solution> tag called as <b>SharePointProductVersion </b>which was set to 14.0. This is the reason for the files to be copied to 14 hive.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGvabEV9R6jkFil8jDAunmxoSazkd6dMXx17ZZ3f6us3i3krZBoBwL7h-abzfpnuJYWINRNEPkLXbsvWtOhZLJ4NBIrKMcqYVH1FCse7CevCs3gIZIHeQxzFmWz8egGKaOH7LzH1Sn25s/s1600/Capture.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGvabEV9R6jkFil8jDAunmxoSazkd6dMXx17ZZ3f6us3i3krZBoBwL7h-abzfpnuJYWINRNEPkLXbsvWtOhZLJ4NBIrKMcqYVH1FCse7CevCs3gIZIHeQxzFmWz8egGKaOH7LzH1Sn25s/s1600/Capture.PNG" /></a></div>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
Now, to make the solution work for SharePoint 2013, we just need to change version from 14.0 to 15.0.<br />
<br />
Hope this helps someone out there. Cheers!</div>
Sai Abhilash Manikondahttp://www.blogger.com/profile/17012090823674241541noreply@blogger.com0tag:blogger.com,1999:blog-7731025227487885397.post-77048275268259008702012-12-19T16:00:00.006+05:302012-12-19T16:01:52.205+05:30People Picker to add users to SharePoint 2010 group - Namespace prefix 'xsd' is not defined<div dir="ltr" style="text-align: left;" trbidi="on">
Hi All,<br />
<br />
We have recently migrated from SharePoint 2007 to SharePoint 2010. Upon trying to add users to SharePoint group, we got the below error:<br />
<br />
<i><span style="color: #d69e33;">System.InvalidOperationException: Namespace prefix 'xsd' is not defined. at System.Xml.Serialization.XmlSerializationReader.ToXmlQualifiedName(String value, Boolean decodeName) at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderDictionaryEntryArray.Read1_Object(Boolean isNullable, Boolean checkType) at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderDictionaryEntryArray.Read2_DictionaryEntry(Boolean checkType) at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderDictionaryEntryArray.Read3_ArrayOfDictionaryEntry()</span></i><br />
<i><span style="color: #d69e33;"><br /></span></i>
The problem here is we have a known issue with people picker not working properly in IE9..<br />
<br />
<span style="color: #d69e33;"><b>Possible Resolutions:</b></span><br />
<span style="color: #d69e33;"><b><br /></b></span>
<span style="color: #d69e33;"><b>Solution 1 (Temporary Solution)</b></span><br />
<br />
Change the <b>Document Mode</b> to IE-8 using IE - developer toolbar as shown below<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4WIw6Ufo8C4atdIxRbOyGTNV8z7etAc4YP1bzBlNp-IgVtlahcS0cHQFme02kcO99GFaJjGNGqIj0XBZjkKAKl2ODbO-TNfmd4pwUXhWUaVU8d5yAdx-JvXxR61anCe4XbrYnYJkNgj4/s1600/cap1.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="122" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4WIw6Ufo8C4atdIxRbOyGTNV8z7etAc4YP1bzBlNp-IgVtlahcS0cHQFme02kcO99GFaJjGNGqIj0XBZjkKAKl2ODbO-TNfmd4pwUXhWUaVU8d5yAdx-JvXxR61anCe4XbrYnYJkNgj4/s640/cap1.PNG" width="540" /></a></div>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<b style="color: #d69e33;">Solution 2 (Permanent Solution)</b><br />
<b style="color: #d69e33;"><br /></b>
In System master page, change the content attribute in meta tag from IE-9 to IE-8 as shown below.<br />
<br />
<span style="color: #d69e33;"><i><meta http-equiv="X-UA-Compatible" content="IE=8"/></i></span><br />
<span style="color: #d69e33;"><i><br /></i></span>
Hope this helps some one. Thanks !!!</div>
Sai Abhilash Manikondahttp://www.blogger.com/profile/17012090823674241541noreply@blogger.com17tag:blogger.com,1999:blog-7731025227487885397.post-78534086188032108492012-12-16T11:54:00.002+05:302012-12-16T11:55:14.865+05:30This item is no longer available. It may have been deleted by another user<div dir="ltr" style="text-align: left;" trbidi="on">
Hi All,<br />
<br />
We have recently migrated to SharePoint 2010 from MOSS 2007. Everything works great except that for all out of the box libraries like Pages, Document libraries, up on trying to click context menu, we get below error:<br />
<br />
<i><span style="color: #d69e33;">"This item is no longer available. It may have been deleted by another user".</span></i><br />
<i><span style="color: #d69e33;"><br /></span></i>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtoiHa2KoWgUpRx-1u4ReYgSzdvrnLBU3xhpf6jlamd9JHx20YBkQSlL4_bH3aWu5vs90v7uBM32h_R3MypyM7QiE_Xz9rVISJ4lgMZinNE1nEU-SSB0us0b3s85WtU751vtX4inKJfk0/s1600/205627.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="132" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtoiHa2KoWgUpRx-1u4ReYgSzdvrnLBU3xhpf6jlamd9JHx20YBkQSlL4_bH3aWu5vs90v7uBM32h_R3MypyM7QiE_Xz9rVISJ4lgMZinNE1nEU-SSB0us0b3s85WtU751vtX4inKJfk0/s400/205627.png" width="400" /></a></div>
<b><span style="color: #d69e33;"><br /></span></b>
<b><span style="color: #d69e33;"><br /></span></b>
<b><span style="color: #d69e33;"><br /></span></b>
<b><span style="color: #d69e33;"><br /></span></b>
<b><span style="color: #d69e33;"><br /></span></b>
<b><span style="color: #d69e33;"><br /></span></b>
<b><span style="color: #d69e33;"><br /></span></b>
<b><span style="color: #d69e33;"><br /></span></b>
<b><span style="color: #d69e33;"><br /></span></b>
<b><span style="color: #d69e33;"><br /></span></b>
<b><span style="color: #d69e33;">Resolution:</span></b><br />
<b><span style="color: #d69e33;"><br /></span></b>
<span style="color: #2a2a2a; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;">1. Edit the pages library/(or documents library) page that is causing this problem and edit the properties of pages web part. Then save the page without modifying anything.</span><br />
<br />
<div style="border: none; color: #2a2a2a; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 13px; font: inherit; line-height: 20px; list-style-type: none; margin-bottom: 1em; margin-top: 1em; padding: 0px; vertical-align: baseline;">
<span style="font-size: 13px;">2. Now, i see that context menu is working fine without any issues.</span></div>
<div style="border: none; color: #2a2a2a; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 13px; font: inherit; line-height: 20px; list-style-type: none; margin-bottom: 1em; margin-top: 1em; padding: 0px; vertical-align: baseline;">
<span style="font-size: 13px;">Not sure if this is the right approach but i believe this error is because of List View webpart. Upon saving, this is saving correctly with out any xsl errors. </span></div>
<div style="border: none; color: #2a2a2a; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 13px; font: inherit; line-height: 20px; list-style-type: none; margin-bottom: 1em; margin-top: 1em; padding: 0px; vertical-align: baseline;">
<span style="font-size: 13px;">Hops this helps some one. You can also follow my msdn post for this error <a href="http://social.msdn.microsoft.com/Forums/en-US/sharepointdevelopmentprevious/thread/a966b6f4-6c2c-44b4-a0c9-fc9fa9961ced" target="_blank">here</a></span></div>
</div>
Sai Abhilash Manikondahttp://www.blogger.com/profile/17012090823674241541noreply@blogger.com0tag:blogger.com,1999:blog-7731025227487885397.post-4490590099175768242012-12-16T11:38:00.002+05:302012-12-16T11:39:41.006+05:30Value does not fall with in expected range error with SPListItem<div dir="ltr" style="text-align: left;" trbidi="on">
Hi All,<br />
<br />
We got the below error while trying to retrieve list item data using SPListItem.<br />
<br />
<span style="color: #d69e33;"><i>"Value does not fall with in expected range".</i></span><br />
<br />
This happens only with few columns. We get this error while trying to get data from a lookup column.The list we are trying to get data from has 12 lookup columns. But SharePoint list by default can have only 8 lookup columns to be able to successfully queried. Of course, Farm administrators can query data with out any problem but for normal users, we get the above error.<br />
<br />
<b><span style="color: #d69e33;">Resolution:</span></b><br />
<br />
1. Select the web application and click Resource Throttling<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSWL-e2iklqmYAz3ozP_BfxMVvt32jRRz57XLAh_AKLX7bXu5IHQTUbcYOfY62Qpp7Nx_niBG57kz-pic6SYAjgPqxOCVW5h-1shZayNfEi5oAkXehSQRB-iRzw8Kdg_1wXwyxP9gXujI/s1600/capture3.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="168" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSWL-e2iklqmYAz3ozP_BfxMVvt32jRRz57XLAh_AKLX7bXu5IHQTUbcYOfY62Qpp7Nx_niBG57kz-pic6SYAjgPqxOCVW5h-1shZayNfEi5oAkXehSQRB-iRzw8Kdg_1wXwyxP9gXujI/s400/capture3.PNG" width="400" /></a></div>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
2. <span style="background-color: white; color: #868686; font-family: 'Trebuchet MS', Trebuchet, sans-serif; font-size: 13px; line-height: 18px;">We have a setting called "</span>List View Lookup Threshold"<span style="background-color: white; color: #868686; font-family: 'Trebuchet MS', Trebuchet, sans-serif; font-size: 13px; line-height: 18px;">. This is set to 8by default as shown below. </span><br />
<span style="background-color: white; color: #868686; font-family: 'Trebuchet MS', Trebuchet, sans-serif; font-size: 13px; line-height: 18px;"><br /></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieytrc48YRN3m2LcdKRD53PfCaR4hWhKcoiX51REnhbAfnKizMp3snN_VVxj5Y7gkrhnN0T95difp77XH5fIcCFyFz3F_dshq0yBMehyphenhyphen4AXYDbdONdQk8jebzHt8lNLei9QryEwTNrTdQ/s1600/Capture4.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="115" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieytrc48YRN3m2LcdKRD53PfCaR4hWhKcoiX51REnhbAfnKizMp3snN_VVxj5Y7gkrhnN0T95difp77XH5fIcCFyFz3F_dshq0yBMehyphenhyphen4AXYDbdONdQk8jebzHt8lNLei9QryEwTNrTdQ/s400/Capture4.PNG" width="400" /></a></div>
<span style="background-color: white; color: #868686; font-family: 'Trebuchet MS', Trebuchet, sans-serif; font-size: 13px; line-height: 18px;"><br /></span>
<span style="background-color: white; color: #868686; font-family: 'Trebuchet MS', Trebuchet, sans-serif; font-size: 13px; line-height: 18px;"><br /></span>
<span style="background-color: white; color: #868686; font-family: 'Trebuchet MS', Trebuchet, sans-serif; font-size: 13px; line-height: 18px;"><br /></span>
<span style="background-color: white; color: #868686; font-family: 'Trebuchet MS', Trebuchet, sans-serif; font-size: 13px; line-height: 18px;"><br /></span>
<span style="background-color: white; color: #868686; font-family: 'Trebuchet MS', Trebuchet, sans-serif; font-size: 13px; line-height: 18px;"><br /></span>
<span style="background-color: white; color: #868686; font-family: 'Trebuchet MS', Trebuchet, sans-serif; font-size: 13px; line-height: 18px;"><br /></span>
<span style="background-color: white; color: #868686; font-family: 'Trebuchet MS', Trebuchet, sans-serif; font-size: 13px; line-height: 18px;"><br /></span>
<span style="background-color: white; color: #868686; font-family: 'Trebuchet MS', Trebuchet, sans-serif; font-size: 13px; line-height: 18px;"><br /></span>
<span style="background-color: white; color: #868686; font-family: 'Trebuchet MS', Trebuchet, sans-serif; font-size: 13px; line-height: 18px;"><br /></span>
<span style="background-color: white; color: #868686; font-family: 'Trebuchet MS', Trebuchet, sans-serif; font-size: 13px; line-height: 18px;">3. We changed it to 13 since our list already has 12 lookup columns. After doing so, even normal users are able to query list without any problems.</span><br />
<span style="background-color: white; color: #868686; font-family: 'Trebuchet MS', Trebuchet, sans-serif; font-size: 13px; line-height: 18px;"><br /></span>
<span style="background-color: white; color: #868686; font-family: 'Trebuchet MS', Trebuchet, sans-serif; font-size: 13px; line-height: 18px;">Hope this helps some one.</span></div>
Sai Abhilash Manikondahttp://www.blogger.com/profile/17012090823674241541noreply@blogger.com0tag:blogger.com,1999:blog-7731025227487885397.post-85582382156844266932012-12-16T11:21:00.002+05:302012-12-16T11:21:56.101+05:30The specified file is larger than the maximum supported file size. <div dir="ltr" style="text-align: left;" trbidi="on">
Hi All,<br />
<br />
We got the below error when trying to upload a file of size 1GB in document library.<br />
<br />
<span style="color: #d69e33;">"T<i>he specified file is larger than the maximum supported file size."</i></span><br />
<span style="color: #d69e33;"><i><br /></i></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1XYR0ocidObKkK20yWVqCaYFYce59DmhDRetiGsltKCjyMkviRKPejnWRlbfCSr-JII-zS7afszv7ClkPtApdsczeMTiHoVat5J_FugjcG89eJCwfzWFYpWXbj-A2qw8x3_JwdDUe0pU/s1600/Capture.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1XYR0ocidObKkK20yWVqCaYFYce59DmhDRetiGsltKCjyMkviRKPejnWRlbfCSr-JII-zS7afszv7ClkPtApdsczeMTiHoVat5J_FugjcG89eJCwfzWFYpWXbj-A2qw8x3_JwdDUe0pU/s400/Capture.PNG" width="400" /></a></div>
<span style="color: #d69e33;"><i><br /></i></span>
<span style="color: #d69e33;"><i><br /></i></span>
<span style="color: #d69e33;"><i><br /></i></span>
<span style="color: #d69e33;"><i><br /></i></span>
<span style="color: #d69e33;"><i><br /></i></span>
<span style="color: #d69e33;"><i><br /></i></span>
<span style="color: #d69e33;"><i><br /></i></span>
<span style="color: #d69e33;"><i><br /></i></span>
<span style="color: #d69e33;"><i><br /></i></span>
<span style="color: #d69e33;"><i><br /></i></span>
<span style="color: #d69e33;"><i><br /></i></span>
<span style="color: #d69e33;"><i><br /></i></span>
<span style="color: #d69e33;"><i><br /></i></span>
<br />
SharePoint 2010 by default allows file size upto 50MB. However, we can change this setting by few simple steps.<br />
<br />
1. Select the web application and click General settings<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihcHwKvKeJ6bQh8Vz4-Ij8VNwFwmiPw2P32x86bT_3obu12avMYgA5ahKBgBQX619mMxTkec7Ro1eYfbZX_whY3-G1uiVN9yZ8z7jWpQVDcpt7J0Pduyzm0CtrlSeq4BTACqOI7ixoCmU/s1600/Capture1.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="102" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihcHwKvKeJ6bQh8Vz4-Ij8VNwFwmiPw2P32x86bT_3obu12avMYgA5ahKBgBQX619mMxTkec7Ro1eYfbZX_whY3-G1uiVN9yZ8z7jWpQVDcpt7J0Pduyzm0CtrlSeq4BTACqOI7ixoCmU/s400/Capture1.PNG" width="400" /></a></div>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
2. We have a setting called Maximum Upload size. This is set to 50MB by default as shown below. Change it to the size as per your requirement and you are good to go!<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwv-xT5ejo8FvYG95TmyjoO9aOext0w7Uffy7B0p8dtn2SSw0F3GjhXXSkZlZwVxzWdM08Q8RxwKzNvY_8f5cspQj33ZUHxj9LTJOTjqlsMlinxwNQb5zSr9wSOogXJkOjSAD0BlPEaBg/s1600/Capture2.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="116" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwv-xT5ejo8FvYG95TmyjoO9aOext0w7Uffy7B0p8dtn2SSw0F3GjhXXSkZlZwVxzWdM08Q8RxwKzNvY_8f5cspQj33ZUHxj9LTJOTjqlsMlinxwNQb5zSr9wSOogXJkOjSAD0BlPEaBg/s400/Capture2.PNG" width="400" /></a></div>
<br />
<br />
<br />
<br />
<br />
<br />
<br /></div>
Sai Abhilash Manikondahttp://www.blogger.com/profile/17012090823674241541noreply@blogger.com0tag:blogger.com,1999:blog-7731025227487885397.post-64079576656837190142012-11-06T14:28:00.003+05:302012-11-06T14:29:49.196+05:30WebPart Maintenance Page in SharePoint<div dir="ltr" style="text-align: left;" trbidi="on">
Hi All,<br />
<br />
WebPart Maintenance page is used to close Web Parts on your page, restore defaults to Web Parts, or delete Web Parts from your page.<br />
<br />
To go to this page, just type <b><span style="color: #d69e33;">contents=1</span></b> in query string.<br />
<br />
<span style="color: #d69e33;">Example</span>: http://sp2007/default.aspx?contents=1<br />
<br />
<b><span style="color: #d69e33;">WebPart Maintenance Page screen:</span></b><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgF_6-pEpv16ESC7vfQwgqLarYhfxjJUDjYhVxnHax7h0DbIbsAQ-G_9YM_Rrb46SFLMBjtiephyGOo5gw8tSvk253VaHzh6zkdf_yS1RgrHXLvclzXJh3FI986VJxtT26x_7j-0koiEEA/s1600/Capture.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="162" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgF_6-pEpv16ESC7vfQwgqLarYhfxjJUDjYhVxnHax7h0DbIbsAQ-G_9YM_Rrb46SFLMBjtiephyGOo5gw8tSvk253VaHzh6zkdf_yS1RgrHXLvclzXJh3FI986VJxtT26x_7j-0koiEEA/s400/Capture.PNG" width="400" /></a></div>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
We can close, delete the webparts by just selecting them using checkbox.<br />
<br />
Thank you !</div>
Sai Abhilash Manikondahttp://www.blogger.com/profile/17012090823674241541noreply@blogger.com0tag:blogger.com,1999:blog-7731025227487885397.post-47918980003685202672012-09-05T15:12:00.003+05:302012-10-07T10:35:42.501+05:30Cannot make a cache safe URL for "styles/~/SampleProject/StyleSheet.css", file not found. Please verify that the file exists under the layouts directory.<div dir="ltr" style="text-align: left;" trbidi="on">
Hi All,<br />
<br />
While trying to register a CSS file in SharePoint using CSSRegistration class as:
<br />
<!-- code formatted by http://manoli.net/csharpformat/ -->
<br />
<pre class="csharpcode"><span class="rem">// Register CSS File</span>
CssRegistration.Register(<span class="str">"~/_layouts/SampleProject/StyleSheet.css"</span>);</pre>
<br />
We got the following error:<br />
<br />
<i><span style="color: #d69e33;">"Cannot make a cache safe URL for "styles/~/SampleProject/StyleSheet.css", file not found. Please verify that the file exists under the layouts directory"</span></i>.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVZytYaH0bUyWOlZ-IUVmdT80A0DkCOirBdvERqkUAFdDqdUKti7JhKY52P515NFJjF57pEyWxTMkUNmFaz3ZY3LghaMMUpPfmwjNiA8BrM_GnQbBkE6tLGuJEGRZZG86yRMj75AcESN8/s1600/Capture.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="47" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVZytYaH0bUyWOlZ-IUVmdT80A0DkCOirBdvERqkUAFdDqdUKti7JhKY52P515NFJjF57pEyWxTMkUNmFaz3ZY3LghaMMUpPfmwjNiA8BrM_GnQbBkE6tLGuJEGRZZG86yRMj75AcESN8/s400/Capture.PNG" width="400" /></a></div>
<br />
<br />
<br />
<br />
<br />
One of the benefits of using SharePoint:CSSRegistration is that it prevents multiple loading of same CSS file. For Example, if we try to register a CSS file multiple times as:<br />
<br />
<!-- code formatted by http://manoli.net/csharpformat/ -->
<br />
<pre class="csharpcode"><span class="rem">// Register CSS File</span>
CssRegistration.Register(<span class="str">"/_layouts/SampleProject/StyleSheet.css"</span>);
CssRegistration.Register(<span class="str">"/_layouts/SampleProject/StyleSheet.css"</span>);
CssRegistration.Register(<span class="str">"/_layouts/SampleProject/StyleSheet.css"</span>);
CssRegistration.Register(<span class="str">"/_layouts/SampleProject/StyleSheet.css"</span>);</pre>
<br />
The final rendered Page will have only one instance of this style sheet.<br />
<br />
Ok. Coming back to the problem, the Resolution is to remove ~ in the URL. Hence, the correct statement would be:<br />
<br />
<!-- code formatted by http://manoli.net/csharpformat/ -->
<br />
<pre class="csharpcode"><span class="rem">// Register CSS File</span>
CssRegistration.Register(<span class="str">"/_layouts/SampleProject/StyleSheet.css"</span>);
</pre>
<br />
Here is a good source to know more about SharePoint:CSSRegistration:<br />
<a href="http://tommdaly.wordpress.com/2012/05/02/sharepoint-cssregistration-or-link/">http://tommdaly.wordpress.com/2012/05/02/sharepoint-cssregistration-or-link/</a>
<br />
<br />
Thanks !</div>
Sai Abhilash Manikondahttp://www.blogger.com/profile/17012090823674241541noreply@blogger.com1tag:blogger.com,1999:blog-7731025227487885397.post-63086192516552873322012-08-30T19:47:00.003+05:302012-08-30T19:49:14.117+05:30Telerik Tree to Add, Edit, Delete, Move Up and Move Down Nodes<div dir="ltr" style="text-align: left;" trbidi="on">
Hi All,<br />
<br />
We had a requirement to have a Telerik Tree to perform the below operations on Nodes:<br />
<br />
a. Add a Node<br />
b. Edit a Node<br />
c. Delete a Node<br />
d. Move Up a Node<br />
e. Move Down a Node<br />
f. Drag and Drop Nodes with in Tree<br />
<br />
We will be having XML in a separate XML file (TelerikTreeXML.xml). Below is the mock up of how it looks:<br />
<br />
<span class="kwrd"><?</span><span class="html">xml</span> <span class="attr">version</span><span class="kwrd">='1.0'</span> <span class="attr">encoding</span><span class="kwrd">='utf-8'</span>?<span class="kwrd">></span><br />
<pre class="csharpcode"><span class="kwrd"><</span><span class="html">Tree</span><span class="kwrd">></span>
<span class="kwrd"><</span><span class="html">Node</span> <span class="attr">Text</span><span class="kwrd">='ParentNode1'</span> <span class="attr">Expanded</span><span class="kwrd">='False'</span><span class="kwrd">></</span><span class="html">Node</span><span class="kwrd">></span>
<span class="kwrd"><</span><span class="html">Node</span> <span class="attr">Text</span><span class="kwrd">='ParentNode2'</span> <span class="attr">Expanded</span><span class="kwrd">='False'</span><span class="kwrd">></</span><span class="html">Node</span><span class="kwrd">></span>
<span class="kwrd"><</span><span class="html">Node</span> <span class="attr">Text</span><span class="kwrd">='ParentNode3'</span> <span class="attr">Expanded</span><span class="kwrd">='False'</span><span class="kwrd">></</span><span class="html">Node</span><span class="kwrd">></span>
<span class="kwrd"><</span><span class="html">Node</span> <span class="attr">Text</span><span class="kwrd">='ParentNode4'</span> <span class="attr">Expanded</span><span class="kwrd">='False'</span><span class="kwrd">></</span><span class="html">Node</span><span class="kwrd">></span>
<span class="kwrd"><</span><span class="html">Node</span> <span class="attr">Text</span><span class="kwrd">='ParentNode5'</span> <span class="attr">Expanded</span><span class="kwrd">='False'</span><span class="kwrd">></</span><span class="html">Node</span><span class="kwrd">></span>
<span class="kwrd"></</span><span class="html">Tree</span><span class="kwrd">></span></pre>
<pre class="csharpcode"><span class="kwrd">
</span></pre>
We need to load this XML content from TelerikTreeXML.xml file and bind it to the Tree as shown below:<br />
<br />
<!-- code formatted by http://manoli.net/csharpformat/ -->
<br />
<pre class="csharpcode"><span class="kwrd">protected</span> <span class="kwrd">void</span> Page_Load(<span class="kwrd">object</span> sender, EventArgs e)
{
<span class="kwrd">if</span> (!Page.IsPostBack)
{
RadTreeView.LoadContentFile(<span class="str">"~/XML/XMLFile.xml"</span>);
}
}</pre>
<br />
We have a context menu which will be displayed on right click of a node as shown in below image:<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiovfgwLPIRw5juVUkpqPceDUvbMnXV7fMp6zXGkOxJRC6Za3n37QkCGbp20-bOvEHyoztPgHsWtorJh2p9lbsy7c0XhMO1FavcBJdVgjMDZxVSMkhw7TXw73zJYSPSDD0mPsvuo2skRJ4/s1600/Capture.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="282" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiovfgwLPIRw5juVUkpqPceDUvbMnXV7fMp6zXGkOxJRC6Za3n37QkCGbp20-bOvEHyoztPgHsWtorJh2p9lbsy7c0XhMO1FavcBJdVgjMDZxVSMkhw7TXw73zJYSPSDD0mPsvuo2skRJ4/s320/Capture.PNG" width="320" /></a></div>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
Below is the code to display context menu (Javascript)<br />
<br />
<pre class="csharpcode">function setMenuItemsState(menuItems, treeNode) {
<span class="kwrd">for</span> (<span class="kwrd">var</span> i = 0; i < menuItems.get_count(); i++) {
<span class="kwrd">var</span> menuItem = menuItems.getItem(i);
<span class="kwrd">switch</span> (menuItem.get_value()) {
<span class="kwrd">case</span> <span class="str">"1"</span>:
formatMenuItem(menuItem, treeNode, <span class="str">'Add'</span>);
<span class="kwrd">break</span>;
<span class="kwrd">case</span> <span class="str">"2"</span>:
formatMenuItem(menuItem, treeNode, <span class="str">'Edit'</span>);
<span class="kwrd">if</span> (treeNode.get_level() == 0) {
menuItem.set_enabled(<span class="kwrd">false</span>);
}
<span class="kwrd">break</span>;
<span class="kwrd">case</span> <span class="str">"3"</span>:
formatMenuItem(menuItem, treeNode, <span class="str">'Delete'</span>);
<span class="kwrd">if</span> (treeNode.get_level() == 0) {
menuItem.set_enabled(<span class="kwrd">false</span>);
}
<span class="kwrd">break</span>;
<span class="kwrd">case</span> <span class="str">"4"</span>:
formatMenuItem(menuItem, treeNode, <span class="str">'Move Up'</span>);
<span class="kwrd">if</span> (treeNode.get_isFirst() == <span class="kwrd">true</span> || treeNode.get_level() == 0) {
menuItem.set_enabled(<span class="kwrd">false</span>);
}
<span class="kwrd">break</span>;
<span class="kwrd">case</span> <span class="str">"5"</span>:
formatMenuItem(menuItem, treeNode, <span class="str">'Move Down'</span>);
<span class="kwrd">if</span> (treeNode.get_isLast() == <span class="kwrd">true</span> || treeNode.get_level() == 0) {
menuItem.set_enabled(<span class="kwrd">false</span>);
}
}
}
}
</pre>
<pre class="csharpcode"></pre>
<pre class="csharpcode"></pre>
and here is the code for formatMenuItem function:<br />
<br />
<pre class="csharpcode">function formatMenuItem(menuItem, treeNode, formatString) {
<span class="kwrd">var</span> nodeValue = treeNode.get_value();
<span class="kwrd">if</span> (nodeValue && nodeValue.indexOf(<span class="str">"_Private_"</span>) == 0) {
menuItem.set_enabled(<span class="kwrd">false</span>);
}
<span class="kwrd">else</span> {
menuItem.set_enabled(<span class="kwrd">true</span>);
}
}</pre>
<br />
The operations supported for each and every node depends on the type of node selected. For Example, if the node is Parent Node (that is at first level), then only "Add" operation is supported. Add operation will add child nodes to the selected node. Similarly, if there is only one child for a particular node, then "Move Up" and "Move Down" operations will be disabled. The Enabling/Disabling of node will be taken care by <b>formatMenuItem </b>function.<br />
<br />
The below is the code for Telerik:RadTreeView<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUeWO9Fipbwzs4M9UHHI2xqt6HS5TDTjdANNeWCrnWOJLtN0UZuA6wExGFPx_63IY6IPhgefJVsJYjXGVB4Y8uh7xZEi80wd6mu8sNEwbAipbXBxmoo-5CB0onHfIi8VFsYGRcQqafEBg/s1600/Capture.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="270" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUeWO9Fipbwzs4M9UHHI2xqt6HS5TDTjdANNeWCrnWOJLtN0UZuA6wExGFPx_63IY6IPhgefJVsJYjXGVB4Y8uh7xZEi80wd6mu8sNEwbAipbXBxmoo-5CB0onHfIi8VFsYGRcQqafEBg/s640/Capture.PNG" width="640" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUeWO9Fipbwzs4M9UHHI2xqt6HS5TDTjdANNeWCrnWOJLtN0UZuA6wExGFPx_63IY6IPhgefJVsJYjXGVB4Y8uh7xZEi80wd6mu8sNEwbAipbXBxmoo-5CB0onHfIi8VFsYGRcQqafEBg/s1600/Capture.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><br /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUeWO9Fipbwzs4M9UHHI2xqt6HS5TDTjdANNeWCrnWOJLtN0UZuA6wExGFPx_63IY6IPhgefJVsJYjXGVB4Y8uh7xZEi80wd6mu8sNEwbAipbXBxmoo-5CB0onHfIi8VFsYGRcQqafEBg/s1600/Capture.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><br /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUeWO9Fipbwzs4M9UHHI2xqt6HS5TDTjdANNeWCrnWOJLtN0UZuA6wExGFPx_63IY6IPhgefJVsJYjXGVB4Y8uh7xZEi80wd6mu8sNEwbAipbXBxmoo-5CB0onHfIi8VFsYGRcQqafEBg/s1600/Capture.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><br /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUeWO9Fipbwzs4M9UHHI2xqt6HS5TDTjdANNeWCrnWOJLtN0UZuA6wExGFPx_63IY6IPhgefJVsJYjXGVB4Y8uh7xZEi80wd6mu8sNEwbAipbXBxmoo-5CB0onHfIi8VFsYGRcQqafEBg/s1600/Capture.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><br /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUeWO9Fipbwzs4M9UHHI2xqt6HS5TDTjdANNeWCrnWOJLtN0UZuA6wExGFPx_63IY6IPhgefJVsJYjXGVB4Y8uh7xZEi80wd6mu8sNEwbAipbXBxmoo-5CB0onHfIi8VFsYGRcQqafEBg/s1600/Capture.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><br /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUeWO9Fipbwzs4M9UHHI2xqt6HS5TDTjdANNeWCrnWOJLtN0UZuA6wExGFPx_63IY6IPhgefJVsJYjXGVB4Y8uh7xZEi80wd6mu8sNEwbAipbXBxmoo-5CB0onHfIi8VFsYGRcQqafEBg/s1600/Capture.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><br /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUeWO9Fipbwzs4M9UHHI2xqt6HS5TDTjdANNeWCrnWOJLtN0UZuA6wExGFPx_63IY6IPhgefJVsJYjXGVB4Y8uh7xZEi80wd6mu8sNEwbAipbXBxmoo-5CB0onHfIi8VFsYGRcQqafEBg/s1600/Capture.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><br /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUeWO9Fipbwzs4M9UHHI2xqt6HS5TDTjdANNeWCrnWOJLtN0UZuA6wExGFPx_63IY6IPhgefJVsJYjXGVB4Y8uh7xZEi80wd6mu8sNEwbAipbXBxmoo-5CB0onHfIi8VFsYGRcQqafEBg/s1600/Capture.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><br /></a></div>
<br />
The below is the link for code used to implement this Tree. Note that this is rough piece of code and is not formatted/optimized. Use it at your own risk.<br />
<br />
https://skydrive.live.com/redir?resid=D6A20558D41A4EB9!5260<br />
<br />
Enjoy and let me know your comments. Have a great day !!!</div>Sai Abhilash Manikondahttp://www.blogger.com/profile/17012090823674241541noreply@blogger.com1tag:blogger.com,1999:blog-7731025227487885397.post-85238891843451720612012-05-27T08:51:00.000+05:302012-05-27T09:45:42.334+05:30The report parameter is read only and cannot be modified<div dir="ltr" style="text-align: left;" trbidi="on">
Hi All,<br />
<br />
We have a main report which has 5 subreports in it. We are passing the parameter value from main report to sub report. All subreports works fine but when we try to run the main report, we got the following error:<br />
<i><span style="color: #d69e33;"> </span></i><br />
<div style="text-align: center;">
<i><span style="color: #d69e33;">"The report parameter is read only and cannot be modified."</span></i></div>
<b style="color: #d69e33;"><br /></b><br />
<b style="color: #d69e33;">Resolution:</b><br />
<b style="color: #d69e33;"><br /></b>
To resolve the above error, just follow the below steps:<br />
a. Open the Sub Report in Design View<br />
b. Click on Report Properties tab under Reports as shown<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqXZdTXBhoRJt7_2XScBwCt-pd5K5IZwfEaCGCcgdV0xrdW0_xylO_mHm7O4KdKTb5q0E5Eah4wIWgqJj0VpXwe-1eZU7ooiKlZN14kYoBXPcoPjI1OmXft3rY7eKHnO01-Jgy99vRvlI/s1600/a.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="53" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqXZdTXBhoRJt7_2XScBwCt-pd5K5IZwfEaCGCcgdV0xrdW0_xylO_mHm7O4KdKTb5q0E5Eah4wIWgqJj0VpXwe-1eZU7ooiKlZN14kYoBXPcoPjI1OmXft3rY7eKHnO01-Jgy99vRvlI/s400/a.PNG" width="400" /></a></div>
<br />
<br />
<br />
<br />
<br />
c. Select the parameter which is throwing the error. In my case, the parameter "language" was causing the<br />
problem.<br />
d. Under properties for the parameter, select the "Multi-value" option for the parameter as shown below<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4NFEIqN7QOYg3jX41ruPKQ8D1VB_0cuKy9zcECxZphQ1UtfhUk1-2Ntwz15ewpAgoaXfImRqnte2pWY2uLkCcz9-Bs38vL-Iqp_F-_boJ2RnC5QFU25prpu4mvhDOuEOcshPaWmmGKN8/s1600/b.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="308" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4NFEIqN7QOYg3jX41ruPKQ8D1VB_0cuKy9zcECxZphQ1UtfhUk1-2Ntwz15ewpAgoaXfImRqnte2pWY2uLkCcz9-Bs38vL-Iqp_F-_boJ2RnC5QFU25prpu4mvhDOuEOcshPaWmmGKN8/s400/b.PNG" width="400" /></a></div>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
e. Once this is done, just run the main report and was able to render the report without any problem in BIDS.<br />
f. Now, upload the reports in Reports Library<br />
g. Click on the report and select "Manage Parameters"<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAZFoB7YxTNIUqwFfKzXSOYbTqxBGvWD_pP_wef01-dPVEi-pn1AtwifliOczReR5XOzwrMOU4ovDqYQgVfn2jbvQKS5avXqxuoaqcxKPBt5uNts4mueeGg5p1TiMbbALhdsBgO5dQ9wM/s1600/c.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAZFoB7YxTNIUqwFfKzXSOYbTqxBGvWD_pP_wef01-dPVEi-pn1AtwifliOczReR5XOzwrMOU4ovDqYQgVfn2jbvQKS5avXqxuoaqcxKPBt5uNts4mueeGg5p1TiMbbALhdsBgO5dQ9wM/s400/c.PNG" width="221" /></a></div>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
h.This will display all the parameters available for a particular report as shown below<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfi9MctRHJKb884tiy4ROOr6Qu-yOAEIfjmUxXa8wJPX-o6VsiVg4Pl2WEfN_aloUnpKeDXYp26In7KUoSVgcqn1QhYMLP23rbQfnVLsQJkFhDCEXdCMsJitd1H1xA1TKKVtW-tE0oMbg/s1600/d.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="75" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfi9MctRHJKb884tiy4ROOr6Qu-yOAEIfjmUxXa8wJPX-o6VsiVg4Pl2WEfN_aloUnpKeDXYp26In7KUoSVgcqn1QhYMLP23rbQfnVLsQJkFhDCEXdCMsJitd1H1xA1TKKVtW-tE0oMbg/s400/d.PNG" width="400" /></a></div>
<br />
<br />
<br />
<br />
<br />
<br />
i. Make sure that the Language parameter is set to Hidden. The problem was that if the parameter is set to internal, we get the exception that the parameter is read-only and cannot be modified.<br />
j. Once this is done, we are able to render the reports in SharePoint without any problem.<br />
<br />
Thanks. </div>Sai Abhilash Manikondahttp://www.blogger.com/profile/17012090823674241541noreply@blogger.com1tag:blogger.com,1999:blog-7731025227487885397.post-56334562125755035092012-05-20T15:54:00.002+05:302012-05-20T15:54:28.773+05:30Limiting the Export Options for SQL Server Reports<div dir="ltr" style="text-align: left;" trbidi="on">
Hi All,<br />
<br />
We had a requirement to have only few formats (MHTML, PDF and EXCEL) available for exporting the report data. By default, we have many options available for exporting the report data like MHTML, PDF, EXCEL,CSV, XML, TIFF, Word as shown below:<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjovAHDKttVYBL5KqbGHWXJlRALsK-wit6Fqonnw20xqd_ZdHqtIa1D0tAdQuJ-S_UsdKMd8y9GM_g0TH0ETljq2NuT1OR7XpF-08yiHUhKeRDXXIMWhJFLCGnw2iHXNt3J7s2sqkYcaR4/s1600/a.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjovAHDKttVYBL5KqbGHWXJlRALsK-wit6Fqonnw20xqd_ZdHqtIa1D0tAdQuJ-S_UsdKMd8y9GM_g0TH0ETljq2NuT1OR7XpF-08yiHUhKeRDXXIMWhJFLCGnw2iHXNt3J7s2sqkYcaR4/s1600/a.png" /></a></div>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
To limit these options, we need to edit the RSReportServer.config file. To find the location of this file, just search for RSReportServer.config in "%ProgramFiles%\Microsoft SQL Server".<br />
<br />
Once this file is found, edit the file and search for <Render> tag. This is a XML structure which has various rendering formats as shown below:<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8xuwbmyqtCV_ENUmoI1QbM-ty0IijJUo2MaZtF2dVMPwb3Ne-2_xZ59UUu2AowkovJwlxY8muPJJkt9IyzxCgTOUgLKp0qEVZmgpDSxg9xTiZmcM1mWl1a5G-Gea22iBsHDOhyCEQTh8/s1600/b.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="148" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8xuwbmyqtCV_ENUmoI1QbM-ty0IijJUo2MaZtF2dVMPwb3Ne-2_xZ59UUu2AowkovJwlxY8muPJJkt9IyzxCgTOUgLKp0qEVZmgpDSxg9xTiZmcM1mWl1a5G-Gea22iBsHDOhyCEQTh8/s640/b.png" width="640" /></a></div>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
Add the attribute <i>Visible="false" </i>for the format to be hidden. That's it !!! Now, we see only limited format options for report as shown below:<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYmkOQOV7WTFGec569yWi3Tji_nhKNQ1Opoh7ZZWiObXusgcNkg9WGW94UTAGG8kZPiw23kWCiVYER4ZYygiHVrPNY14fr7S_9Gtuhzhet229csalUOY_kziU1WTdOzo-HmSNVBLYjh_8/s1600/aaaa.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYmkOQOV7WTFGec569yWi3Tji_nhKNQ1Opoh7ZZWiObXusgcNkg9WGW94UTAGG8kZPiw23kWCiVYER4ZYygiHVrPNY14fr7S_9Gtuhzhet229csalUOY_kziU1WTdOzo-HmSNVBLYjh_8/s1600/aaaa.png" /></a></div>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
Thanks.<br />
<br /></div>Sai Abhilash Manikondahttp://www.blogger.com/profile/17012090823674241541noreply@blogger.com0tag:blogger.com,1999:blog-7731025227487885397.post-48934350386640432532012-05-20T14:11:00.000+05:302012-05-20T14:19:19.157+05:30No report servers were found on the specified machine - SharePoint 2007<div dir="ltr" style="text-align: left;" trbidi="on">
Hi All,<br />
<br />
We got the below error in "Grant Database Access" step when trying to configure reporting services in SharePoint 2007 server.<br />
<br />
<b><span style="color: #d69e33;">Error:</span></b><br />
<i>"No report servers were found on the specified machine"</i><br />
<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/AVvXsEhzCiSI2Mbhjo4bcOPWuVBiaK2Lsrt8Z8zNmMwS43Rf_XMCk6EoKJtXsWnKlttNG0KieQYas5Vb56_i8Q0jsAtc2cYec4r017cffpGycbq3LilRNov6bul89cpGgmqyWU0UhwLE56qcOFg/s1600/aa.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="185" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzCiSI2Mbhjo4bcOPWuVBiaK2Lsrt8Z8zNmMwS43Rf_XMCk6EoKJtXsWnKlttNG0KieQYas5Vb56_i8Q0jsAtc2cYec4r017cffpGycbq3LilRNov6bul89cpGgmqyWU0UhwLE56qcOFg/s640/aa.png" width="640" /></a></div>
<i><br /></i><br />
<i><br /></i><br />
<i><br /></i><br />
<i><br /></i><br />
<i><br /></i><br />
<b style="color: #d69e33;">Background:</b><br />
SharePoint 2007 and Database are on seperate machines. Hence, to install reporting services, we have first installed Microsoft SQL Server 2008 R2 Developer Edition with Reporting services database configured in SharePoint Integrated Mode.<br />
<br />
We also installed Microsoft SQL Server 2005 Reporting Services Add-in for SharePoint on SharePoint 2007 server. Then, when trying to grant database access in Central Administration, we got the above error.<br />
<br />
<b><span style="color: #d69e33;">Resolution:</span></b><br />
To resolve this error, we have installed latest version of "Microsoft SQL Server 2008 Reporting Services Add-in for Microsoft SharePoint Technologies" from <a href="http://www.microsoft.com/en-us/download/details.aspx?id=22725" target="_blank">here</a>.<br />
<br />
Once this was done, we were able to render the SSRS reports properly.<br />
<br />
Cheers !</div>Sai Abhilash Manikondahttp://www.blogger.com/profile/17012090823674241541noreply@blogger.com0tag:blogger.com,1999:blog-7731025227487885397.post-52644943403510225582012-05-11T15:04:00.001+05:302012-05-11T15:07:27.846+05:30Mozilla and Chrome Specific CSS<div dir="ltr" style="text-align: left;" trbidi="on">
Hi All,<br />
<br />
To add Mozilla specific CSS, just include the CSS inside <span style="color: blue; font-family: 'Courier New'; font-size: 10pt;">@-moz-document</span><span style="font-family: 'Courier New'; font-size: 10pt;"> url-prefix() as shown below:</span><br />
<br />
<div class="MsoNormal">
<span style="color: green; font-family: 'Courier New'; font-size: 10pt;">/* Mozilla Specific CSS */<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: 'Courier New'; font-size: 10pt;"> <span style="color: blue;">@-moz-document</span>
url-prefix() {<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: 'Courier New'; font-size: 10pt;"> #<span style="color: red;">imgHeaderTD<o:p></o:p></span></span></div>
<div class="MsoNormal">
<span style="font-family: 'Courier New'; font-size: 10pt;"> <span style="color: blue;">{<o:p></o:p></span></span></div>
<div class="MsoNormal">
<span style="font-family: 'Courier New'; font-size: 10pt;"> <span style="color: blue;">display:none</span>;<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: 'Courier New'; font-size: 10pt;"> }<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: 'Courier New'; font-size: 10pt;">}<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: 'Courier New'; font-size: 10pt;"><br /></span></div>
<div class="MsoNormal">
The above code hides the element with ID imgHeaderTD in Mozilla only.<br />
<br />
To add Chrome specific CSS, just include the CSS inside
<span style="color: blue; font-family: 'Courier New'; font-size: 10pt;">@media</span><span style="font-family: 'Courier New'; font-size: 10pt;"> screen and (-webkit-min-device-pixel-ratio:0)</span><span style="font-family: 'Courier New'; font-size: 10pt;">:</span></div>
<br />
<div class="MsoNormal">
<span style="color: green; font-family: 'Courier New'; font-size: 10pt;">/* Chrome Specific CSS */</span></div>
<div class="MsoNormal">
<span style="color: blue; font-family: 'Courier New'; font-size: 10pt;">@media</span><span style="font-family: 'Courier New'; font-size: 10pt;"> screen and
(-webkit-min-device-pixel-ratio:0) {<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: 'Courier New'; font-size: 10pt;"> <span style="color: #a31515;">#imgHeaderTD<o:p></o:p></span></span></div>
<div class="MsoNormal">
<span style="font-family: 'Courier New'; font-size: 10pt;"> {<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: 'Courier New'; font-size: 10pt;"> <span style="color: red;">display</span>:<span style="color: blue;">none</span>;<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: 'Courier New'; font-size: 10pt;"> }<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: 'Courier New'; font-size: 10pt;">}</span><span style="font-family: Arial, sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<br />
Thanks.<br />
<br /></div>Sai Abhilash Manikondahttp://www.blogger.com/profile/17012090823674241541noreply@blogger.com1tag:blogger.com,1999:blog-7731025227487885397.post-1540887766996890672012-04-22T16:01:00.003+05:302012-04-22T16:03:50.629+05:30Visual Studio 2010 Just In Time Debugger - Cryptographic Exception<div dir="ltr" style="text-align: left;" trbidi="on">
Hello,<br />
<br />
A couple of weeks ago, Visual Studio 2010 started giving Just-In-Time debugger message as shown below:<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_bK-WCO2_PTnrjstSJ52Lw-_hs4JMahmNQjppx9vm1pcofu3TymIsQbyeC5tXFiVG84BQ0c83H1OZapF30KAZJBq92tV1EePC-vl2VAoEH0ieNWCAfQxkQqLP8SeFNGNpNPKAAu5vWX8/s1600/Capture.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_bK-WCO2_PTnrjstSJ52Lw-_hs4JMahmNQjppx9vm1pcofu3TymIsQbyeC5tXFiVG84BQ0c83H1OZapF30KAZJBq92tV1EePC-vl2VAoEH0ieNWCAfQxkQqLP8SeFNGNpNPKAAu5vWX8/s640/Capture.PNG" width="640" /></a></div>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
It was not a code issue because we got this debugger message just after VS 2010 is started and frequently in middle of coding.<br />
<br />
<span style="color: #d69e33;"><b>Solution:</b></span><br />
The issue was because of Forefront Identity Manager service. It was disabled in my server. Just enable it and set it to start Automatically.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGSoMCH8bc9mLe1IVYvxB7k5vH1k2qNG2bWsW6RI6X-sZBx_eUydN1IjgQvO_Qjt9R2TZlvq1Wgk3-5LzbKcJFQ8hZDgwtStJ2WfIcWhdmMB1hRy0pB7RpAyzRSHIDFd3ovhd-c-OZKSU/s1600/2.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="54" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGSoMCH8bc9mLe1IVYvxB7k5vH1k2qNG2bWsW6RI6X-sZBx_eUydN1IjgQvO_Qjt9R2TZlvq1Wgk3-5LzbKcJFQ8hZDgwtStJ2WfIcWhdmMB1hRy0pB7RpAyzRSHIDFd3ovhd-c-OZKSU/s640/2.PNG" width="640" /></a></div>
<br />
<br />
After this was done, we never got the above debugger message. More details on the issue can be found <a href="http://www.mysticslayer.com/?tag=forefront-identity-manager" target="_blank">here</a>.<br />
<br />
Thanks.</div>Sai Abhilash Manikondahttp://www.blogger.com/profile/17012090823674241541noreply@blogger.com0tag:blogger.com,1999:blog-7731025227487885397.post-19699324050268307672012-04-21T23:24:00.002+05:302012-04-21T23:24:42.782+05:30The RPC server is unavailable<div dir="ltr" style="text-align: left;" trbidi="on">
Hi,<br />
<br />
After the <a href="http://saiabhilash.blogspot.in/2012/04/abcpdf-stopped-working-after-ie9-is.html">ABCPDF's issue with IE9</a> is resolved, we got another issue while generating PDF using ABCPDF.dll. The below is the error message:<br />
<br />
<i>Source:System.Drawing, Message:The RPC server is unavailable, StackTracke: at System.Drawing.Printing.PrinterSettings.get_InstalledPrinters() at WebSupergoo.ABCpdf8.Doc.AddHtmlGecko(String html, Boolean paged, Int32 width, String& err) at WebSupergoo.ABCpdf8.Doc.AddImageHtml(String html, Boolean paged, Int32 width, Boolean disableCache) at WebSupergoo.ABCpdf8.Doc.AddImageHtml(String html) </i><br />
<br />
<b><span style="color: #d69e33;">Resolution:</span></b><br />
<br />
Make sure that the PrintPool service is running on your server. By default, it was disabled in my SharePoint server. I enabled and set it to start automatically and was able to generate PDF from then.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitP2olOy8yq0bdSG7BAybD9pzNJZdjYTbxrrGMNNYLKnC9R0gvhyphenhyphenMUIpP2U_TJKuOp-5v84gWpRiH7bSX8_WXk_LAbnMpm-xqOH5N9mugtjT1EmLu8IcGVBHz-bGVpW84mYGpona_Aie4/s1600/Capture.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="209" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitP2olOy8yq0bdSG7BAybD9pzNJZdjYTbxrrGMNNYLKnC9R0gvhyphenhyphenMUIpP2U_TJKuOp-5v84gWpRiH7bSX8_WXk_LAbnMpm-xqOH5N9mugtjT1EmLu8IcGVBHz-bGVpW84mYGpona_Aie4/s640/Capture.PNG" width="640" /></a></div>
<br />
<br />
Cheers !</div>Sai Abhilash Manikondahttp://www.blogger.com/profile/17012090823674241541noreply@blogger.com0tag:blogger.com,1999:blog-7731025227487885397.post-78634217380334385422012-04-21T23:12:00.001+05:302012-05-20T14:18:45.735+05:30ABCpdf stopped working after IE9 is installed<div dir="ltr" style="text-align: left;" trbidi="on">
<div dir="ltr" style="text-align: left;" trbidi="on">
<div dir="ltr" style="text-align: left;" trbidi="on">
Hi All,<br />
<br />
We use ABCPDF to generate PDF out of a SharePoint data. The version we use is 8.0.0.5. Till now, everything worked fine and suddenly, ABCPDF stopped working with the below error message:<br />
<br />
"<i><span style="color: #d69e33;">ABCpdf could not initiate MSHtml engine for this version of Internet Explorer installed</span></i>."<br />
<br />
The only change done to the server was that IE9 is installed. According to the WebSuperGoo support team, ABCPDF versions below 8.1 do not support IE9. The below is the explanation:<br />
<br />
<i>Using IE9 on the same system as older ABCpdf versions may cause this error message. The current release - ABCpdf 8.1 - is fully compatible with IE9 and also provides a new Gecko-based HTML engine.</i><br />
<br />
<i>When converting HTML to PDF, ABCpdf uses the MSHTML component installed with Internet Explorer as the first stage of the process. The issue when using older ABCpdf versions is related to a set of problems Microsoft introduced in IE9. We (and other developers) reported these issues to Microsoft in September 2010 but unfortunately they have not been fixed.</i><br />
<br />
<i>Unfortunately with the official release of IE9 Microsoft released new documentation which says the IHTMLElementRender::DrawToDC function that was required has been deprecated. This is especially unfortunate given that there is no replacement for this function.</i><br />
<br />
<i><u>Given that Microsoft appears to be unwilling to support these interfaces we would strongly recommend that on new deployments you consider a move to the new Gecko-based HTML engine available in ABCpdf 8.</u> It is just one line of code to select the Gecko rendering engine (see the Doc.HtmlOptions.Engine property).</i><br />
<br />
<b><span style="color: #d69e33;">WorkAround:</span></b><br />
<br />
Change the Rendering Engine from MSHtml to Gecko by using the below code:</div>
<pre class="csharpcode">Doc theDoc = <span class="kwrd">new</span> Doc();
theDoc.HtmlOptions.Engine = EngineType.Gecko;</pre>
</div>
After this issue is resolved, we got one more error which says "<a href="http://saiabhilash.blogspot.in/2012/04/rpc-server-is-unavailable.html" target="_blank">The RPC server is unavailable</a>"</div>Sai Abhilash Manikondahttp://www.blogger.com/profile/17012090823674241541noreply@blogger.com2