<?xml version="1.0" encoding="UTF-8" standalone="no"?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:gd="http://schemas.google.com/g/2005" xmlns:georss="http://www.georss.org/georss" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-5523374807549170026</atom:id><lastBuildDate>Thu, 16 Apr 2026 10:26:33 +0000</lastBuildDate><category>sql server</category><category>T-SQL</category><category>SPS 2010</category><category>DBA</category><category>Personal</category><category>SQL Cluster</category><category>Asp.Net</category><category>BizTalk</category><category>IIS</category><category>SQL Server 2012</category><category>SharePoint Designer</category><category>Errors</category><category>JavaScript</category><category>LiveID</category><category>MOSS 2007</category><category>SQL 2011</category><category>SharePoint Online</category><title>Smile leads to success</title><description></description><link>http://sqlgoogler.blogspot.com/</link><managingEditor>noreply@blogger.com (Unknown)</managingEditor><generator>Blogger</generator><openSearch:totalResults>112</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><language>en-us</language><itunes:explicit>no</itunes:explicit><itunes:subtitle/><itunes:owner><itunes:email>noreply@blogger.com</itunes:email></itunes:owner><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5523374807549170026.post-2309860569972671975</guid><pubDate>Fri, 26 Jul 2013 23:38:00 +0000</pubDate><atom:updated>2013-07-27T02:38:24.235+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">SPS 2010</category><title>Service Pack 2 for Microsoft SharePoint 2010 (KB2687453)</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;span style="background-color: white; color: #505050; font-family: 'Segoe UI', Tahoma, sans-serif; font-size: 20px; line-height: 25px;"&gt;Service Pack 2 (SP2) for Microsoft SharePoint 2010 contains new updates which improve security, performance, and stability. Additionally, the SP is a roll-up of all previously released updates.&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: white; color: #505050; font-family: 'Segoe UI', Tahoma, sans-serif; font-size: 20px; line-height: 25px;"&gt;&lt;br /&gt;&lt;/span&gt;
Download it from this link&amp;nbsp;&lt;a href="http://www.microsoft.com/en-us/download/details.aspx?id=39672"&gt;http://www.microsoft.com/en-us/download/details.aspx?id=39672&lt;/a&gt;&lt;/div&gt;
</description><link>http://sqlgoogler.blogspot.com/2013/07/service-pack-2-for-microsoft-sharepoint.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5523374807549170026.post-9192028403184980894</guid><pubDate>Sun, 07 Apr 2013 10:10:00 +0000</pubDate><atom:updated>2013-04-07T13:10:05.486+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">SPS 2010</category><title>Sign in as Different User - Redirect to /_layouts/accessdenied.aspx Page in SharePoint 2010</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
I have a web application was a classic authentication mode and then by script we converted it to Claim authentication by the below powershell :&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre style="background-color: #eeeeee; border: 1px dashed #999999; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;"&gt;&lt;code&gt;$web = Get-SPWebApplication "http://YourSiteURL"
$web.UseClaimsAuthentication = 1;
$web.Update()
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
but when I tried to &lt;b&gt;Sign in as Different User&lt;/b&gt; , It's always redirect me to&amp;nbsp;&lt;b&gt;&amp;nbsp;/_layouts/accessdenied.aspx&lt;/b&gt; page.&lt;br /&gt;
&lt;br /&gt;
So to fix this issue ( I don't know the reason but I think It's bug ) (My Farm Updated with SP 1 and &amp;nbsp;Feb CU 2013)&lt;br /&gt;
&lt;br /&gt;
&lt;ol style="text-align: left;"&gt;
&lt;li&gt;Delete web application from Central administration (Just IIS web site and keep and content database)&lt;/li&gt;
&lt;li&gt;Create new Web application with Claim Authentication mode&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Attach the content database with this new Web application&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://sqlgoogler.blogspot.com/2013/04/sign-in-as-different-user-redirect-to.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5523374807549170026.post-5557070408536442999</guid><pubDate>Thu, 04 Apr 2013 15:56:00 +0000</pubDate><atom:updated>2013-04-04T18:56:56.009+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">SQL Server 2012</category><title>AlwaysOn in SQL Server 2012</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;a href="http://www.slideshare.net/fadi/always-on-in-sql-server-2012" style="background-color: white; color: #1155cc; font-family: arial, sans-serif; font-size: 13px;" target="_blank"&gt;http://www.slideshare.net/&lt;wbr&gt;&lt;/wbr&gt;fadi/always-on-in-sql-server-&lt;wbr&gt;&lt;/wbr&gt;2012&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;iframe allowfullscreen="" frameborder="0" height="356" marginheight="0" marginwidth="0" mozallowfullscreen="" scrolling="no" src="http://www.slideshare.net/slideshow/embed_code/18183078" style="border-width: 1px 1px 0; border: 1px solid #CCC; margin-bottom: 5px;" webkitallowfullscreen="" width="427"&gt; &lt;/iframe&gt; &lt;br /&gt;
&lt;div style="margin-bottom: 5px;"&gt;
&lt;strong&gt; &lt;a href="http://www.slideshare.net/fadi/always-on-in-sql-server-2012" target="_blank" title="Always on in SQL Server 2012"&gt;Always on in SQL Server 2012&lt;/a&gt; &lt;/strong&gt; from &lt;strong&gt;&lt;a href="http://www.slideshare.net/fadi" target="_blank"&gt;Fadi Abdulwahab&lt;/a&gt;&lt;/strong&gt; &lt;/div&gt;
&lt;/div&gt;
</description><link>http://sqlgoogler.blogspot.com/2013/04/alwayson-in-sql-server-2012.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5523374807549170026.post-7785466513484937774</guid><pubDate>Sun, 24 Mar 2013 09:45:00 +0000</pubDate><atom:updated>2013-03-24T12:45:45.203+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">SPS 2010</category><title>Publishing Error after migration </title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
Two common errors related to Publishing feature raised when migrate a SharePoint 2007 site to SharePoint 2010 and the fixes for these errors in the following Links :&lt;br /&gt;
&lt;br /&gt;
&lt;ul style="text-align: left;"&gt;
&lt;li&gt;&lt;span style="color: #2a2a2a; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;"&gt;&lt;a href="http://www.mssharepointtips.com/tip.asp?id=1018&amp;amp;page=1"&gt;http://www.mssharepointtips.com/tip.asp?id=1018&amp;amp;page=1&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="color: #2a2a2a; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;"&gt;h&lt;a href="ttp://gavinmckay.wordpress.com/2010/07/27/create-sites-in-sharepoint-2010-fails/"&gt;ttp://gavinmckay.wordpress.com/2010/07/27/create-sites-in-sharepoint-2010-fails/&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="color: #2a2a2a; font-family: Segoe UI, Lucida Grande, Verdana, Arial, Helvetica, sans-serif; font-size: x-small;"&gt;&lt;span style="line-height: 20px;"&gt;&lt;a href="http://sharepoint4arab.blogspot.com/2012/12/upgrade-to-2007-2010-field-error.html"&gt;http://sharepoint4arab.blogspot.com/2012/12/upgrade-to-2007-2010-field-error.html&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;span style="color: #2a2a2a; font-family: Segoe UI, Lucida Grande, Verdana, Arial, Helvetica, sans-serif; font-size: x-small;"&gt;&lt;span style="line-height: 20px;"&gt;&lt;a href="http://social.msdn.microsoft.com/Forums/en-US/sharepointadminprevious/thread/efc4042d-84d0-45a9-b75a-1ac0c36e85ab"&gt;http://social.msdn.microsoft.com/Forums/en-US/sharepointadminprevious/thread/efc4042d-84d0-45a9-b75a-1ac0c36e85ab&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://sqlgoogler.blogspot.com/2013/03/publishing-error-after-migration.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5523374807549170026.post-6953196480661719295</guid><pubDate>Sat, 19 Jan 2013 09:25:00 +0000</pubDate><atom:updated>2013-01-19T12:32:39.776+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">IIS</category><title>Send Email via Telnet</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;br /&gt;
&lt;div class="MsoNormal"&gt;
Sometimes you need to configure SharePoint to send or receive emails
so to test the configuration of sending email with Exchange or SMTP you can use
&lt;u&gt;&lt;b&gt;Telnet&lt;/b&gt;&lt;/u&gt; commands as following:&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
First Install &lt;u&gt;Telnet client &lt;/u&gt;from Server Manager &amp;gt;&amp;gt; Features&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
Now open command line and run this line :&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;pre style="background-color: #eeeeee; border: 1px dashed #999999; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;"&gt;&lt;code&gt;telnet 10.0.056 25
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
IP for SMTP or Exchanage&lt;br /&gt;
Port : 25&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMCCY_yA8WFVLR8pckoRzLiHTpPfpJZnt31wY9__9xy8t2BK1qlFHaCQ4XdF42R7XOSCDvZ_Rg5GWjqXCksFVJEniOI2hW1sdXBHNhyphenhyphenqabgrZDw8pjV0QPbgKmB_nVOPRc_rNfReZKdf8/s1600/01.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="90" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMCCY_yA8WFVLR8pckoRzLiHTpPfpJZnt31wY9__9xy8t2BK1qlFHaCQ4XdF42R7XOSCDvZ_Rg5GWjqXCksFVJEniOI2hW1sdXBHNhyphenhyphenqabgrZDw8pjV0QPbgKmB_nVOPRc_rNfReZKdf8/s320/01.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;Note&lt;/b&gt;: if you get connection failed then this means the port is closed.&lt;br /&gt;
then run this command :&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre style="background-color: #eeeeee; border: 1px dashed #999999; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;"&gt;&lt;code&gt;ehlo
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
then run this command:&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre style="background-color: #eeeeee; border: 1px dashed #999999; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;"&gt;&lt;code&gt;mail from:test@test.com
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
then run this command:&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre style="background-color: #eeeeee; border: 1px dashed #999999; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;"&gt;&lt;code&gt;rcpt to:test1@test.com
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
then run this command:&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre style="background-color: #eeeeee; border: 1px dashed #999999; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;"&gt;&lt;code&gt;data
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
and last is :&lt;/div&gt;
&lt;pre style="background-color: #eeeeee; border: 1px dashed #999999; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;"&gt;&lt;code&gt;.
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
</description><link>http://sqlgoogler.blogspot.com/2013/01/send-email-via-telnet.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMCCY_yA8WFVLR8pckoRzLiHTpPfpJZnt31wY9__9xy8t2BK1qlFHaCQ4XdF42R7XOSCDvZ_Rg5GWjqXCksFVJEniOI2hW1sdXBHNhyphenhyphenqabgrZDw8pjV0QPbgKmB_nVOPRc_rNfReZKdf8/s72-c/01.png" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5523374807549170026.post-2997038816536323812</guid><pubDate>Tue, 08 Jan 2013 07:15:00 +0000</pubDate><atom:updated>2013-01-09T13:32:27.606+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">IIS</category><title>IIS 8 Tips</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
I have read a nice book called "&lt;a href="http://www.wrox.com/WileyCDA/WroxTitle/Professional-Microsoft-IIS-8.productCd-1118388046.html"&gt;Professional IIS 8&lt;/a&gt;" and these some of the tips I found them useful to posted here and sometimes these tips will&amp;nbsp;help the&amp;nbsp;SharePoint&amp;nbsp;Administrator or Developer.&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Note&lt;/u&gt;&lt;/b&gt;: Some of these tips apply to previous version of IIS ( 6 , 7 or 7.5).&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;ol style="text-align: left;"&gt;
&lt;li&gt;You can use &lt;u&gt;appcmd &lt;/u&gt;or&amp;nbsp;&lt;u&gt;power shell&lt;/u&gt;&amp;nbsp;as command utilities for automation or using managed code like C#.&lt;/li&gt;
&lt;li&gt;SSL Certificate no longer need to bound to an IP address. &lt;u&gt;SNI &lt;/u&gt;allows an IIS 8 to host multiple SSL sites and certificates on a single IP address.&lt;br /&gt;&lt;i&gt;&lt;span style="font-size: x-small;"&gt;&lt;a href="http://windowsworld.in/?p=555"&gt;http://windowsworld.in/?p=555&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.iis.net/learn/get-started/whats-new-in-iis-8/iis-80-server-name-indication-sni-ssl-scalability"&gt;http://www.iis.net/learn/get-started/whats-new-in-iis-8/iis-80-server-name-indication-sni-ssl-scalability&lt;/a&gt;&lt;/span&gt;&lt;/i&gt;&amp;nbsp;&lt;/li&gt;
&lt;li&gt;&lt;u&gt;IISLogs &lt;/u&gt;external tool whcih help you to mange the logs on schedule basis.&lt;br /&gt;&lt;i&gt;&lt;span style="font-size: x-small;"&gt;&lt;a href="http://www.iislogs.com/"&gt;http://www.iislogs.com/&lt;/a&gt;&lt;/span&gt;&lt;/i&gt;&lt;/li&gt;
&lt;li&gt;IIS can host different&amp;nbsp;application&amp;nbsp;like Asp , Asp.net and &lt;u&gt;PHP&lt;/u&gt;.&lt;br /&gt;&lt;i&gt;&lt;span style="font-size: x-small;"&gt;&lt;a href="http://www.iis.net/learn/application-frameworks/install-and-configure-php-applications-on-iis/using-fastcgi-to-host-php-applications-on-iis"&gt;http://www.iis.net/learn/application-frameworks/install-and-configure-php-applications-on-iis/using-fastcgi-to-host-php-applications-on-iis&lt;/a&gt;&lt;/span&gt;&lt;/i&gt;&lt;/li&gt;
&lt;li&gt;You can install &lt;u&gt;IIS 8 Express&lt;/u&gt; on windows 7 for&amp;nbsp;development&amp;nbsp;purpose with &lt;u&gt;Visual Studio 2012&lt;/u&gt; (no IIS Manager ).&lt;/li&gt;
&lt;li&gt;&lt;u&gt;Microsoft Web Capacity Analysis tool&lt;/u&gt; (WCAT) to test a load on web servers.&lt;br /&gt;&lt;i&gt;&lt;span style="font-size: x-small;"&gt;&lt;a href="http://support.microsoft.com/kb/231282"&gt;http://support.microsoft.com/kb/231282&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.galcho.com/articles/StressTestingWCAT.aspx"&gt;http://www.galcho.com/articles/StressTestingWCAT.aspx&lt;/a&gt;&lt;/span&gt;&lt;/i&gt;&lt;/li&gt;
&lt;li&gt;IIS 8's &lt;u&gt;Request Tracing&lt;/u&gt; utility can be used for testing performance and diagnostic the errors.&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;i&gt;&lt;a href="http://www.trainsignal.com/blog/iis-7-troubleshooting"&gt;http://www.trainsignal.com/blog/iis-7-troubleshooting&lt;/a&gt;&lt;br /&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidqMVyEbut1VglazmSvclVZw5Wj32k_YTKdek85fTaUGrN5m47Q95mY-81tENziD_opqYnwcP0IZ4uXUuecFHyg3eOhveDopTNP2EB3mltKM2aHiFf8gP5hm_ompxDTMoZwO2_S9ToQgc/s1600/tracelogswww-15.png" imageanchor="1" style="font-size: medium; font-style: normal; margin-left: 1em; margin-right: 1em; text-align: center;"&gt;&lt;img border="0" height="230" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidqMVyEbut1VglazmSvclVZw5Wj32k_YTKdek85fTaUGrN5m47Q95mY-81tENziD_opqYnwcP0IZ4uXUuecFHyg3eOhveDopTNP2EB3mltKM2aHiFf8gP5hm_ompxDTMoZwO2_S9ToQgc/s320/tracelogswww-15.png" width="320" /&gt;&lt;/a&gt;&lt;/i&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;u&gt;MaxConcurrentRequestsPerCpu &lt;/u&gt;setting can enhance or optimze the performance&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;i&gt;&lt;a href="http://blogs.x2line.com/al/archive/2010/01/04/3718.aspx"&gt;http://blogs.x2line.com/al/archive/2010/01/04/3718.aspx&lt;/a&gt;&lt;br /&gt;&lt;a href="http://blogs.msdn.com/b/rakkimk/archive/2009/07/08/iis7-improving-asp-net-performance-concurrent-requests-while-on-integrated-mode.aspx?Redirected=true"&gt;http://blogs.msdn.com/b/rakkimk/archive/2009/07/08/iis7-improving-asp-net-performance-concurrent-requests-while-on-integrated-mode.aspx?Redirected=true&lt;/a&gt;&lt;/i&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;By default IIS 8 installed with &lt;u&gt;Asp.net 4.5&lt;/u&gt; and you can install and run .Net 3.5.&lt;/li&gt;
&lt;li&gt;You can &lt;u&gt;upgrade &lt;/u&gt;from IIS 7 to II 8 and same sites with same configuration can run.&lt;/li&gt;
&lt;li&gt;You can manage IIS 8 remotely over HTTPS using &lt;u&gt;Web Management Service&lt;/u&gt; (WMSVC).&lt;br /&gt;&lt;i&gt;&lt;span style="font-size: x-small;"&gt;&lt;a href="http://www.tech-stew.com/post/2012/10/08/How-to-install-IIS-remote-manager-in-Windows-8.aspx"&gt;http://www.tech-stew.com/post/2012/10/08/How-to-install-IIS-remote-manager-in-Windows-8.aspx&lt;/a&gt;&lt;br /&gt;&lt;a href="http://technet.microsoft.com/en-us/library/jj635856.aspx"&gt;http://technet.microsoft.com/en-us/library/jj635856.aspx&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.iis.net/learn/manage/remote-administration/remote-administration-for-iis-manager"&gt;http://www.iis.net/learn/manage/remote-administration/remote-administration-for-iis-manager&lt;/a&gt;&lt;/span&gt;&lt;/i&gt;&lt;/li&gt;
&lt;li&gt;Local Administrators can manage IIS but by using &lt;u&gt;Delegation &lt;/u&gt;feature you can allow none administrators to manage websites or applications.&lt;/li&gt;
&lt;li&gt;You can &lt;u&gt;extend &lt;/u&gt;IIS Manager using managed code or native code.&lt;/li&gt;
&lt;li&gt;You can set configuration at sub folder or file level using &lt;u&gt;Location tag&lt;/u&gt; in configuration file&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;i&gt;&lt;a href="http://blogs.iis.net/bills/archive/2008/03/24/how-to-enable-directory-browsing-with-iis7-web-config.aspx"&gt;http://blogs.iis.net/bills/archive/2008/03/24/how-to-enable-directory-browsing-with-iis7-web-config.aspx&lt;/a&gt;&lt;/i&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;IIS 8 support different types of logs like IIS , W3C (widely used) and NCSA and you need a tool to parse them like &lt;u&gt;logparser &lt;/u&gt;(you need to consider the time zone and reverse proxy infrastructure).&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;i&gt;&lt;a href="http://www.microsoft.com/en-us/download/details.aspx?id=24659"&gt;http://www.microsoft.com/en-us/download/details.aspx?id=24659&lt;/a&gt;&lt;br /&gt;&lt;a href="http://logparserplus.com/Examples"&gt;http://logparserplus.com/Examples&lt;/a&gt;&lt;/i&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;It's&amp;nbsp;recommended&amp;nbsp;to enable &lt;u&gt;compression &lt;/u&gt;to save bandwidth usage&lt;/li&gt;
&lt;li&gt;If &lt;u&gt;MIME &lt;/u&gt;type is not defined then the browser will return 404.3 error.&lt;/li&gt;
&lt;li&gt;To stop IIS run the following command : net stop &lt;u&gt;iisadmin &lt;/u&gt;/y or stop these services (World wide web publishing , SMTP and FTP publishing).&lt;/li&gt;
&lt;li&gt;&lt;u&gt;Application&amp;nbsp;initialization&lt;/u&gt;&amp;nbsp;module (in IIS 7.5 called &lt;u&gt;application warm up&lt;/u&gt;) to prime the application before receiving HTTP&amp;nbsp;requests&amp;nbsp;from the end users.&lt;br /&gt;&lt;i&gt;&lt;span style="font-size: x-small;"&gt;&lt;a href="http://www.iis.net/learn/get-started/whats-new-in-iis-8/iis-80-application-initialization"&gt;http://www.iis.net/learn/get-started/whats-new-in-iis-8/iis-80-application-initialization&lt;/a&gt;&lt;br /&gt;&lt;a href="http://sharepoint.nauplius.net/2012/06/sharepoint-warm-up-scripts-a-thing-of-the-past/"&gt;http://sharepoint.nauplius.net/2012/06/sharepoint-warm-up-scripts-a-thing-of-the-past/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://sharepointgeorge.com/2010/warm-sharepoint-web-applications-windows-2008-r2-iis-75-application-warmup-module/"&gt;http://sharepointgeorge.com/2010/warm-sharepoint-web-applications-windows-2008-r2-iis-75-application-warmup-module/&lt;/a&gt;&lt;/span&gt;&lt;/i&gt;&lt;/li&gt;
&lt;li&gt;&lt;u&gt;Recycle &lt;/u&gt;process does not&amp;nbsp;immediately stop the &lt;u&gt;w3wp &lt;/u&gt;process , instead it create new process and then move the requests there.&lt;/li&gt;
&lt;li&gt;&lt;u&gt;Web Gardens&lt;/u&gt; is an application pool that is serviced by more than one worker process simultaneously (Created on Demand). It's useful in situations where :&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;High number of concurrent connections.&lt;/li&gt;
&lt;li&gt;No application Session state.&lt;/li&gt;
&lt;li&gt;Not be CPU -intensive.&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;i&gt;&lt;a href="http://geekswithblogs.net/vkamat/archive/2004/11/17/15145.aspx"&gt;http://geekswithblogs.net/vkamat/archive/2004/11/17/15145.aspx&lt;/a&gt;&lt;/i&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;li&gt;&lt;u&gt;Classic mode&lt;/u&gt; pipeline for compatibility.&lt;/li&gt;
&lt;li&gt;In IIS 8 you can view the r&lt;u&gt;unning w3wp process&lt;/u&gt; in IIS Manager and &lt;u&gt;running page requests&lt;/u&gt; ( good to check the slow running page).&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;i&gt;&lt;a href="http://www.codeproject.com/Articles/125113/How-to-use-IIS-Manager-to-get-Worker-Processes-w3w"&gt;http://www.codeproject.com/Articles/125113/How-to-use-IIS-Manager-to-get-Worker-Processes-w3w&lt;/a&gt;&lt;br /&gt;&lt;a href="http://programming4.us/website/6646.aspx"&gt;http://programming4.us/website/6646.aspx&lt;/a&gt;&lt;br /&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgmiNX6OUZMoikXDK_Aqdo6Z0aTM_Odcfj3RWMbFH5GXa_8nHE332SuyOjIr9dow67l3fYtGidnQlhey_eLxLoIch_ErQC-bZw9jZz7hNRkPXZVcOK95LP6onfutg9PS7lGE1ssZwsxwk/s1600/Managing+Worker+Processes+and+Requests_2.jpg" imageanchor="1" style="font-size: medium; font-style: normal; margin-left: 1em; margin-right: 1em; text-align: center;"&gt;&lt;img border="0" height="228" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgmiNX6OUZMoikXDK_Aqdo6Z0aTM_Odcfj3RWMbFH5GXa_8nHE332SuyOjIr9dow67l3fYtGidnQlhey_eLxLoIch_ErQC-bZw9jZz7hNRkPXZVcOK95LP6onfutg9PS7lGE1ssZwsxwk/s320/Managing+Worker+Processes+and+Requests_2.jpg" width="320" /&gt;&lt;/a&gt;&lt;/i&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Application pool use &lt;u&gt;configuration isolation&lt;/u&gt; concept by stored temprorary files from the global configuration (needed settings) in this folder (\inetpub\temp\appPools).&lt;/li&gt;
&lt;li&gt;You can change &lt;u&gt;bitness &lt;/u&gt;mode to 32 or 64 bit at application pool level.&lt;/li&gt;
&lt;li&gt;You can configure SSL with FTP in IIS 8 (&lt;u&gt;FTPS&lt;/u&gt;) and you can use host headers.&lt;/li&gt;
&lt;li&gt;You can apply &lt;u&gt;filtering &lt;/u&gt;to FTP by File extension or&amp;nbsp;restricted&amp;nbsp;domain or IPs.&lt;/li&gt;
&lt;li&gt;You can use .&lt;u&gt;Net Accounts&lt;/u&gt; with FTP.&lt;/li&gt;
&lt;li&gt;IIS 7 and above ship with more than &lt;u&gt;40 modules&lt;/u&gt; and you can create your custom module.&lt;/li&gt;
&lt;li&gt;&lt;u&gt;Windows Process Activation Service&lt;/u&gt; (WAS) will respond to requests other than HTTP such as TCP and MSMQ. (One of the feature of &lt;u&gt;WCF&lt;/u&gt;).&lt;/li&gt;
&lt;li&gt;&lt;u&gt;Dynamic IP Restrictions&lt;/u&gt; to block malicious web requests designed to&amp;nbsp;infiltrate&amp;nbsp;your web server and you can show access&amp;nbsp;denied&amp;nbsp;page or page not found.&lt;br /&gt;&lt;i&gt;&lt;a href="http://www.iis.net/learn/get-started/whats-new-in-iis-8/iis-80-dynamic-ip-address-restrictions"&gt;&lt;span style="font-size: x-small;"&gt;http://www.iis.net/learn/get-started/whats-new-in-iis-8/iis-80-dynamic-ip-address-restrictions&lt;/span&gt;&lt;/a&gt;&lt;/i&gt;&lt;/li&gt;
&lt;li&gt;Placing servers in DMZ or&amp;nbsp;internally&amp;nbsp;or even at hosting&amp;nbsp;company&amp;nbsp;based on &lt;u&gt;two factors&lt;/u&gt; : first the function of the server and second who needs access.&lt;/li&gt;
&lt;li&gt;To enable or disable &lt;u&gt;session state&lt;/u&gt; for Asp.net go to Pages and Controls section under Asp.net in IIS.&lt;/li&gt;
&lt;li&gt;You can load only the &lt;u&gt;required modules&lt;/u&gt; and this will increase the server and site performance&amp;nbsp;&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;At web server level , you need to modify applicationhost.config file so for example to render only static Html page&lt;/li&gt;
&lt;pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); color: black; font-family: 'Andale Mono', 'Lucida Console', Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;"&gt;&lt;code&gt;&amp;lt;modules&amp;gt;
&amp;lt;add name="DefaultDocumentModule" /&amp;gt;
&amp;lt;add name="StaticFileModule" /&amp;gt;
&amp;lt;add name="AnonymousAuthenticationModule" /&amp;gt;
&amp;lt;/modules&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;li&gt;At web site level , you need to&amp;nbsp;modify&amp;nbsp;the web.config file&lt;/li&gt;
&lt;/ol&gt;
&lt;li&gt;Using &lt;u&gt;IP and Domain Restrictions&lt;/u&gt; allows you to selectively permit or deny access to the web server , web sites , folders and files.&lt;br /&gt;&lt;a href="http://www.dotnetexpertguide.com/2012/03/iis-8-dynamic-ip-domain-restriction.html"&gt;&lt;span style="font-size: x-small;"&gt;http://www.dotnetexpertguide.com/2012/03/iis-8-dynamic-ip-domain-restriction.html&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;u&gt;Request Filtering&lt;/u&gt; provides a configurable set of rules that enables you to determine which types of request should be allowed or rejected (URLscan module).&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;a href="http://technet.microsoft.com/en-us/library/hh831621.aspx"&gt;http://technet.microsoft.com/en-us/library/hh831621.aspx&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.iis.net/configreference/system.webserver/security/requestfiltering"&gt;http://www.iis.net/configreference/system.webserver/security/requestfiltering&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.hosting.com/support/iis7/enabling-the-request-filtering-ui-"&gt;http://www.hosting.com/support/iis7/enabling-the-request-filtering-ui-&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;u&gt;URL authorization &lt;/u&gt;is a feature that can be used to permit or deny access to resources by rules in&amp;nbsp;data sources&amp;nbsp;like (databases or XML).&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;a href="http://www.iis.net/learn/manage/configuring-security/understanding-iis-url-authorization"&gt;http://www.iis.net/learn/manage/configuring-security/understanding-iis-url-authorization&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;u&gt;Backup and Restore&lt;/u&gt; IIS settings and configurations&lt;br /&gt;&lt;a href="http://sharepointadam.com/2010/04/01/backup-iis-configuration-settings-via-powershell/"&gt;&lt;span style="font-size: x-small;"&gt;http://sharepointadam.com/2010/04/01/backup-iis-configuration-settings-via-powershell/&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://social.technet.microsoft.com/wiki/contents/articles/10526.sharepoint-2010-backup-and-restore-iis-web-server-configuration-through-powershell-en-us.aspx"&gt;&lt;span style="font-size: x-small;"&gt;http://social.technet.microsoft.com/wiki/contents/articles/10526.sharepoint-2010-backup-and-restore-iis-web-server-configuration-through-powershell-en-us.aspx&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;a href="http://thuansoldier.net/?p=1607"&gt;http://thuansoldier.net/?p=1607&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;u&gt;URL Rewrite&lt;/u&gt; module can&amp;nbsp;&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;Redirect URL&lt;/li&gt;
&lt;li&gt;Rewrite URL&lt;/li&gt;
&lt;li&gt;Set custom HTTP Response&lt;/li&gt;
&lt;li&gt;Abort Request&lt;/li&gt;
&lt;li&gt;None&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;a href="http://www.iis.net/learn/extensions/url-rewrite-module/creating-rewrite-rules-for-the-url-rewrite-module"&gt;http://www.iis.net/learn/extensions/url-rewrite-module/creating-rewrite-rules-for-the-url-rewrite-module&lt;/a&gt;&lt;br /&gt;&lt;a href="http://weblogs.asp.net/owscott/archive/2010/01/26/iis-url-rewrite-hosting-multiple-domains-under-one-site.aspx"&gt;http://weblogs.asp.net/owscott/archive/2010/01/26/iis-url-rewrite-hosting-multiple-domains-under-one-site.aspx&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.techrepublic.com/blog/webmaster/url-rewriting-with-iiss-url-rewrite-module/710"&gt;http://www.techrepublic.com/blog/webmaster/url-rewriting-with-iiss-url-rewrite-module/710&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;li&gt;&lt;u&gt;Application Request Routing&lt;/u&gt; (ARR) (IIS like Load Balance).&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;a href="http://www.iis.net/downloads/microsoft/application-request-routing"&gt;http://www.iis.net/downloads/microsoft/application-request-routing&lt;/a&gt;&lt;br /&gt;&lt;a href="http://improve.dk/archive/2010/06/16/setting-up-multiple-iis-application-request-routing-farms-on-the-same-server.aspx"&gt;http://improve.dk/archive/2010/06/16/setting-up-multiple-iis-application-request-routing-farms-on-the-same-server.aspx&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Monitoring tools&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;&lt;u&gt;Server Manager&lt;/u&gt; in Windows Server 2012&lt;/li&gt;
&lt;li&gt;&lt;u&gt;Task Manager&lt;/u&gt;&lt;/li&gt;
&lt;li&gt;&lt;u&gt;Windows Performance Monitor&lt;/u&gt;&lt;/li&gt;
&lt;li&gt;&lt;u&gt;Resource Monitor&lt;/u&gt;&lt;/li&gt;
&lt;li&gt;&lt;u&gt;Resource and Performance Monitor&lt;/u&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;li&gt;What to Monitor ?&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;&lt;u&gt;Memory Usage&lt;/u&gt;&lt;/li&gt;
&lt;li&gt;&lt;u&gt;Process Utilization&lt;/u&gt;&lt;/li&gt;
&lt;li&gt;&lt;u&gt;Disk I/O&lt;/u&gt;&lt;/li&gt;
&lt;li&gt;&lt;u&gt;Network Bandwidth&lt;/u&gt;&lt;/li&gt;
&lt;li&gt;&lt;u&gt;Web Service Counters&lt;/u&gt;&lt;/li&gt;
&lt;li&gt;&lt;u&gt;Asp.Net Counters&lt;/u&gt;&lt;/li&gt;
&lt;li&gt;&lt;u&gt;Logs &lt;/u&gt;(IIS Logs , Event Viewer logs and application logs)&lt;/li&gt;
&lt;/ol&gt;
&lt;li&gt;Website Optimizations&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;&lt;u&gt;HTTP keep-Alive&lt;/u&gt;&lt;/li&gt;
&lt;li&gt;&lt;u&gt;Content Expiration&lt;/u&gt;&lt;/li&gt;
&lt;li&gt;&lt;u&gt;Bandwidth throttling&lt;/u&gt;&lt;/li&gt;
&lt;li&gt;&lt;u&gt;Output Caching&lt;/u&gt;&lt;/li&gt;
&lt;li&gt;&lt;u&gt;HTTP compression&lt;/u&gt;&lt;/li&gt;
&lt;li&gt;&lt;u&gt;Website connections&lt;/u&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;li&gt;&lt;u&gt;WFetch &lt;/u&gt;is a tool which listen to all web traffic and see everything included in the communication between IIS and web client including request , response ,headers ,body,...&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;a href="http://support.microsoft.com/kb/284285"&gt;http://support.microsoft.com/kb/284285&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;u&gt;Web Socket&lt;/u&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;a href="http://alexjmackey.wordpress.com/2012/05/01/websockets-with-asp-net-4-5-and-visual-studio-11/"&gt;http://alexjmackey.wordpress.com/2012/05/01/websockets-with-asp-net-4-5-and-visual-studio-11/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.iis.net/learn/get-started/whats-new-in-iis-8/iis-80-websocket-protocol-support"&gt;http://www.iis.net/learn/get-started/whats-new-in-iis-8/iis-80-websocket-protocol-support&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
</description><link>http://sqlgoogler.blogspot.com/2013/01/iis-8-tips-part-1.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidqMVyEbut1VglazmSvclVZw5Wj32k_YTKdek85fTaUGrN5m47Q95mY-81tENziD_opqYnwcP0IZ4uXUuecFHyg3eOhveDopTNP2EB3mltKM2aHiFf8gP5hm_ompxDTMoZwO2_S9ToQgc/s72-c/tracelogswww-15.png" width="72"/><thr:total>3</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5523374807549170026.post-8792781410791736112</guid><pubDate>Tue, 18 Dec 2012 05:05:00 +0000</pubDate><atom:updated>2012-12-18T08:24:07.397+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">SPS 2010</category><title>Sharepoint 2010 first search slow</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
I have an issue in my new farm that first search is very slow so I have tried the fix by Microsoft [Option 1] and it was perfect.&lt;br /&gt;
[Even this will speed up your&amp;nbsp;SharePoint&amp;nbsp;site]&lt;br /&gt;
&lt;br /&gt;
Check this link&lt;br /&gt;
http://support.microsoft.com/kb/2639348&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://sqlgoogler.blogspot.com/2012/12/sharepoint-2010-first-search-slow.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5523374807549170026.post-6941141790279406227</guid><pubDate>Fri, 31 Aug 2012 18:38:00 +0000</pubDate><atom:updated>2012-09-05T11:51:59.913+03:00</atom:updated><title>O Allah bless my sons</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div style="text-align: center;"&gt;
Ahmad (أحمد) &amp;nbsp;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgu8k6qCvWofSrHRArEVKhC48Pio5GMJbc0dPLCkgBY0n4EF6N5tQzW6Tc_Ny4zO7et1eWWn3H_Q3ZArODF0o0RTFn-6Vcmbxj1HVyVj_qaZ47i5cHv-GJ44q054aRYNgFvUzD9dD6wZYE/s1600/Untitled.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgu8k6qCvWofSrHRArEVKhC48Pio5GMJbc0dPLCkgBY0n4EF6N5tQzW6Tc_Ny4zO7et1eWWn3H_Q3ZArODF0o0RTFn-6Vcmbxj1HVyVj_qaZ47i5cHv-GJ44q054aRYNgFvUzD9dD6wZYE/s320/Untitled.png" width="281" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
Rayan (ريان)&amp;nbsp;
&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPdOwiPnY2a4T_tvCkHmbFPKARXs9394GKXsE5LnbgnSuCMkCGmh1xatqRV977VQCHVuDPXKCDpKYakf7ClSW-Fsv33XXjB0lzq7GVDuE1hnorZujXUGRc3PuaFm-_-9y60CIGAyryC8k/s1600/CAM00079.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPdOwiPnY2a4T_tvCkHmbFPKARXs9394GKXsE5LnbgnSuCMkCGmh1xatqRV977VQCHVuDPXKCDpKYakf7ClSW-Fsv33XXjB0lzq7GVDuE1hnorZujXUGRc3PuaFm-_-9y60CIGAyryC8k/s320/CAM00079.jpg" width="240" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style="text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://sqlgoogler.blogspot.com/2012/08/o-allah-bless-my-sons.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgu8k6qCvWofSrHRArEVKhC48Pio5GMJbc0dPLCkgBY0n4EF6N5tQzW6Tc_Ny4zO7et1eWWn3H_Q3ZArODF0o0RTFn-6Vcmbxj1HVyVj_qaZ47i5cHv-GJ44q054aRYNgFvUzD9dD6wZYE/s72-c/Untitled.png" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5523374807549170026.post-2518781643408363254</guid><pubDate>Sun, 24 Jun 2012 08:28:00 +0000</pubDate><atom:updated>2012-06-24T11:28:55.954+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">SPS 2010</category><title>Wiki Categories is Not Visible to users in SharePoint 2010</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;br /&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-size: 13.5pt; line-height: 115%;"&gt;My friend faced a problem that &lt;b&gt;Wiki Categories&lt;/b&gt; only
visible to admin users and after I searched this problem I found that
SharePoint Store these &lt;b&gt;terms&lt;/b&gt; in &lt;b&gt;hidden&lt;/b&gt; list under the site
collection [http://site/&lt;/span&gt;&lt;b&gt;Lists/TaxonomyHiddenList/AllItems.aspx&lt;/b&gt;] so after we set the permission for this list
properly the users become able to see the Wiki Categories.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;/div&gt;</description><link>http://sqlgoogler.blogspot.com/2012/06/wiki-categories-is-not-visible-to-users.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>2</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5523374807549170026.post-8947205582425503475</guid><pubDate>Sun, 10 Jun 2012 07:17:00 +0000</pubDate><atom:updated>2012-06-10T10:17:53.800+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">SharePoint Online</category><title>Tips for Customization and Development in SharePoint Online</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;br /&gt;
&lt;div class="MsoNormal"&gt;
Development and customization is nearly same as in SharePoint
On-premises with some exceptions as the below:&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;/div&gt;
&lt;ul style="text-align: left;"&gt;
&lt;li&gt;&lt;span style="text-indent: -0.25in;"&gt;You can only use &lt;b&gt;Sandbox
&lt;/b&gt;solutions with SharePoint Online &lt;b&gt;Standard &lt;/b&gt;model&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="text-indent: -0.25in;"&gt;You can use &lt;b&gt;Farm &lt;/b&gt;solutions
(Full trusted code) with SharePoint online &lt;b&gt;Dedicated &lt;/b&gt;model with some guidelines
form Microsoft (Microsoft SharePoint Online Code Analysis Framework (&lt;b&gt;MSOCAF&lt;/b&gt;))&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="text-indent: -0.25in;"&gt;Any Customization with
SharePoint Designer , InfoPath or browser same as SharePoint On-premises&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: Symbol; text-indent: -0.25in;"&gt;&lt;span style="font-family: 'Times New Roman'; font-size: 7pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span dir="LTR" style="text-indent: -0.25in;"&gt;&lt;/span&gt;&lt;span style="text-indent: -0.25in;"&gt;Trick ( to deploy Visual
Web Part as Sandbox solution) use &lt;b&gt;SharePoint Power Tools&lt;/b&gt; template which also
sandbox –aware tools which check if your code can run in sandbox solution&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="text-indent: -0.25in;"&gt;You can’t attach Visual
Studio &lt;b&gt;debugger &lt;/b&gt;with SharePoint Online so to test your solution ,you can test
it locally or create a site collection for testing in the SharePoint online&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="text-indent: -0.25in;"&gt;Use “&lt;b&gt;FXCop&lt;/b&gt;” to test your
code if it can execute properly in SharePoint Online&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="text-indent: -0.25in;"&gt;Using client object model
can solve some restriction with sandbox solution like you can call external web
services ,access objects from other site collections&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="text-indent: -0.25in;"&gt;You can integrate SharePoint
online with data stored in &lt;b&gt;SQL Azure&lt;/b&gt; or &lt;b&gt;Window Azure&lt;/b&gt; (integration between two
cloud based services)&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;div class="MsoListParagraphCxSpLast" style="mso-list: l0 level1 lfo1; text-indent: -.25in;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;/div&gt;</description><link>http://sqlgoogler.blogspot.com/2012/06/tips-for-customization-and-development.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5523374807549170026.post-4982428290509391570</guid><pubDate>Mon, 04 Jun 2012 11:40:00 +0000</pubDate><atom:updated>2012-06-04T14:40:11.512+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">SQL Server 2012</category><title>SQL Sever 2012 - New features</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;br /&gt;
&lt;div class="MsoNormal"&gt;
In this article I will write some tips and features that I
like it with this version of SQL Server 2012.&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;/div&gt;
&lt;ol style="text-align: left;"&gt;
&lt;li&gt;&lt;span style="text-indent: -0.25in;"&gt;Reports&lt;/span&gt;&lt;span style="text-indent: -0.25in;"&gt;&amp;nbsp; &lt;/span&gt;&lt;span style="text-indent: -0.25in;"&gt;support&amp;nbsp;&lt;b&gt;Silver ligh&lt;/b&gt;t&amp;nbsp;and has alerts functions.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="text-indent: -0.25in;"&gt;Reports can render as &lt;b&gt;word
&lt;/b&gt;or &lt;b&gt;excel &lt;/b&gt;documents.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="text-indent: -0.25in;"&gt;&lt;b&gt;Contained database&lt;/b&gt; (Not
fully yet) and how its authentication stored on it and you can login at
database level (be careful because the chance of duplicated logins can occur).&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="text-indent: -0.25in;"&gt;Ability to define
default&amp;nbsp;schema&amp;nbsp;for &lt;b&gt;groups.&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="text-indent: -0.25in;"&gt;You can use “&lt;b&gt;Throw&lt;/b&gt;” T-SQL
to throw exception with Try/Catch like C# language but still no finally
statement.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="text-indent: -0.25in;"&gt;You can define &lt;b&gt;SEQUENCE &lt;/b&gt;Number object&lt;/span&gt;&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style="text-indent: -0.25in;"&gt;Define start and end sequence&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="text-indent: -0.25in;"&gt;Recyclable&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: 7pt; text-indent: -0.25in;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span dir="LTR" style="text-indent: -0.25in;"&gt;&lt;/span&gt;&lt;span style="text-indent: -0.25in;"&gt;Incremental count&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;li&gt;&lt;span style="font-size: 7pt; text-indent: -0.25in;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span dir="LTR" style="text-indent: -0.25in;"&gt;&lt;/span&gt;&lt;span style="text-indent: -0.25in;"&gt;&lt;b&gt;OFFSET &lt;/b&gt;and &lt;b&gt;FETCH &lt;/b&gt;for select with paging&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="text-indent: -0.25in;"&gt;Still SQL server 2012 available as &lt;b&gt;64 &lt;/b&gt;bit and &lt;b&gt;32 &lt;/b&gt;bit&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="text-indent: -0.25in;"&gt;Windows &lt;b&gt;administraotrs &lt;/b&gt;does not has assess by default&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="text-indent: -0.25in;"&gt;Update the product while installing but to access local updates you only can do this by command or config file.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="text-indent: -0.25in;"&gt;Better environment which is &lt;b&gt;VS 2010 SP 1&lt;/b&gt; so more debugging , intellisense &amp;nbsp;and snippets&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="text-indent: -0.25in;"&gt;You can restore &lt;b&gt;individual Page&lt;/b&gt; from backup to fix suspect pages&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="text-indent: -0.25in;"&gt;.&lt;/span&gt;&lt;span style="font-size: 7pt; text-indent: -0.25in;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span dir="LTR" style="text-indent: -0.25in;"&gt;&lt;/span&gt;&lt;span style="text-indent: -0.25in;"&gt;New DMVs like&lt;/span&gt;&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style="font-size: 7pt; text-indent: -0.25in;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span dir="LTR" style="text-indent: -0.25in;"&gt;&lt;/span&gt;&lt;span style="text-indent: -0.25in;"&gt;sys.&lt;/span&gt;&lt;b style="text-indent: -0.25in;"&gt;dm_os_windows_info &lt;/b&gt;&lt;span style="text-indent: -0.25in;"&gt;to runturn OS info&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="text-indent: -0.25in;"&gt;sys.&lt;/span&gt;&lt;b style="text-indent: -0.25in;"&gt;dm_os_windows_info &lt;/b&gt;&lt;span style="text-indent: -0.25in;"&gt;to check which services is running&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="text-indent: -0.25in;"&gt;sys.&lt;/span&gt;&lt;b style="text-indent: -0.25in;"&gt;dm_server_registry &lt;/b&gt;&lt;span style="text-indent: -0.25in;"&gt;to check registry values&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;li&gt;&lt;span style="text-indent: -0.25in;"&gt;Power shell now Is &lt;/span&gt;&lt;b style="text-indent: -0.25in;"&gt;prerequisites &lt;/b&gt;&lt;span style="text-indent: -0.25in;"&gt;for SQL Server 2012&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="text-indent: -0.25in;"&gt;Execute query with &lt;/span&gt;&lt;b style="text-indent: -0.25in;"&gt;Result set &lt;/b&gt;&lt;span style="text-indent: -0.25in;"&gt;which enable you for example to change the schema of table like renaming columns without accessing the source .&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="text-indent: -0.25in;"&gt;New&amp;nbsp;enchantments&amp;nbsp;for&amp;nbsp;&lt;/span&gt;&lt;span style="font-size: 7pt; text-indent: -0.25in;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span dir="LTR" style="text-indent: -0.25in;"&gt;&lt;/span&gt;&lt;span style="text-indent: -0.25in;"&gt;Data Quality Service (&lt;b&gt;DQS&lt;/b&gt;) ,&amp;nbsp;&lt;/span&gt;&lt;span style="text-indent: -0.25in;"&gt;Data Tier Application (&lt;b&gt;DAC&lt;/b&gt;) and&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-language: AR-SA; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;"&gt;Master Data service.&amp;nbsp;&lt;/span&gt;&lt;div class="MsoListParagraph" style="margin-bottom: 0.0001pt; text-indent: -0.25in;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class="MsoListParagraph" style="margin-bottom: 0.0001pt; text-indent: -0.25in;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-language: AR-SA; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;"&gt;&lt;strong style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px; line-height: normal;"&gt;LocalDB&lt;/strong&gt;&lt;span style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px; line-height: normal;"&gt;&amp;nbsp;installation copies a minimal set of files necessary to start the SQL Server Database Engine.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-language: AR-SA; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;"&gt;&lt;span style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px; line-height: normal;"&gt;The &lt;b&gt;FileTable&lt;/b&gt; feature brings support for the Windows file namespace and compatibility with Windows applications to the file data stored in SQL Server
&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;b style="text-indent: -0.25in;"&gt;SQL Server Data Tools&lt;/b&gt;&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style="text-indent: -0.25in;"&gt;Do anything from creating database and database objects from Visual studio&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: 7pt; text-indent: -0.25in;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span dir="LTR" style="text-indent: -0.25in;"&gt;&lt;/span&gt;&lt;span style="text-indent: -0.25in;"&gt;You can work with data as disconnected mode (offline mode)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="text-indent: -0.25in;"&gt;You can clone the data&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="text-indent: -0.25in;"&gt;Check the data and T-SQL verification before update it to database server&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;li&gt;&lt;span style="text-indent: -0.25in;"&gt;New T-SQL functions&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div class="MsoListParagraphCxSpMiddle" style="mso-list: l0 level1 lfo1; text-indent: -.25in;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class="MsoListParagraphCxSpMiddle" style="margin-left: 1.0in; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -.25in;"&gt;
&lt;!--[if !supportLists]--&gt;a&lt;span style="font-size: 7pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span dir="LTR"&gt;&lt;/span&gt;“&lt;b&gt;Format&lt;/b&gt;” to format based on
.Net format &lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class="MsoListParagraphCxSpMiddle" style="text-indent: .5in;"&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Ex : &amp;nbsp;SELECT FORMAT ( '12/21/2011', 'D', 'en-US' ) &lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class="MsoListParagraphCxSpMiddle" style="margin-left: 1.0in; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -.25in;"&gt;
&lt;!--[if !supportLists]--&gt;b.&lt;span style="font-size: 7pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span dir="LTR"&gt;&lt;/span&gt;&lt;b&gt;Concat &lt;/b&gt;to join strings&lt;/div&gt;
&lt;div class="MsoListParagraphCxSpMiddle" style="margin-left: 1.0in; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -.25in;"&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; Ex: SELECT
CONCAT('Ahmad' ,' ' , 'Rayan')&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class="MsoListParagraphCxSpMiddle" style="margin-left: 1.0in; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -.25in;"&gt;
&lt;!--[if !supportLists]--&gt;c.&lt;span style="font-size: 7pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;&amp;nbsp;
&lt;/b&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;span dir="LTR"&gt;&lt;/span&gt;Immediate If&lt;/b&gt; &amp;nbsp;for inline if condition&lt;/div&gt;
&lt;div class="MsoListParagraphCxSpMiddle" style="margin-left: 1.0in; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -.25in;"&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; Ex: SELECT IIF(1=1
,'Yes','No')&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0.0001pt 1in; text-indent: -0.25in;"&gt;
&lt;!--[if !supportLists]--&gt;d.&lt;span style="font-size: 7pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;!--[endif]--&gt;&lt;span dir="LTR"&gt;&lt;/span&gt;Select from array using &lt;b&gt;CHOOSE&lt;/b&gt;&lt;/div&gt;
&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0.0001pt 1in; text-indent: -0.25in;"&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; Ex: SELECT CHOOSE(2
,'Fadi','Ahmad','Rayan')&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0.0001pt 1in; text-indent: -0.25in;"&gt;
&lt;!--[if !supportLists]--&gt;e.&lt;span style="font-size: 7pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;!--[endif]--&gt;&lt;span dir="LTR"&gt;&lt;/span&gt;Get end of month date&amp;nbsp;&lt;/div&gt;
&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0.0001pt 1in; text-indent: -0.25in;"&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; Ex: SELECT &lt;b&gt;EOMONTH&lt;/b&gt;(GETDATE())&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0.0001pt 1in; text-indent: -0.25in;"&gt;
&lt;!--[if !supportLists]--&gt;f.&lt;span style="font-size: 7pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span dir="LTR"&gt;&lt;/span&gt;Format Date functions&amp;nbsp;&lt;/div&gt;
&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0.0001pt 1in; text-indent: -0.25in;"&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; Ex: SELECT &lt;b&gt;DATEFROMPARTS&lt;/b&gt;(2012,6,7)&lt;/div&gt;
&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0.0001pt 1in; text-indent: -0.25in;"&gt;
&lt;span style="text-indent: -0.25in;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="font-size: 7pt; text-indent: -0.25in;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span dir="LTR" style="text-indent: -0.25in;"&gt;&lt;/span&gt;&lt;span style="text-indent: -0.25in;"&gt;SELECT &lt;/span&gt;&lt;b style="text-indent: -0.25in;"&gt;DATETIMEFROMPARTS&lt;/b&gt;&lt;span style="text-indent: -0.25in;"&gt;(..)&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0.0001pt 1in; text-indent: -0.25in;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0.0001pt 1in; text-indent: -0.25in;"&gt;
&lt;!--[if !supportLists]--&gt;h.&lt;span style="font-size: 7pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;!--[endif]--&gt;&lt;span dir="LTR"&gt;&lt;/span&gt;New parsing functions SELECT &lt;b&gt;TRY_Convert&lt;/b&gt;(int,'123')&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0.0001pt 1in; text-indent: -0.25in;"&gt;
&lt;!--[if !supportLists]--&gt;i.&lt;span style="font-size: 7pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span dir="LTR"&gt;&lt;/span&gt;SELECT &lt;b&gt;PARSE&lt;/b&gt;('123' AS int)&lt;/div&gt;
&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0.0001pt 1in; text-align: left; text-indent: -0.25in;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</description><link>http://sqlgoogler.blogspot.com/2012/06/sql-sever-2012-new-features.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5523374807549170026.post-1867320681318973788</guid><pubDate>Wed, 02 May 2012 11:31:00 +0000</pubDate><atom:updated>2012-06-16T12:44:32.293+03:00</atom:updated><title>April 2012 Cumulative Updates for SharePoint products</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
SharePoint 2010&lt;br /&gt;
&lt;a href="http://support.microsoft.com/kb/2598151"&gt;http://support.microsoft.com/kb/2598151&lt;/a&gt;
&lt;br /&gt;
SharePoint Foundation 2010&lt;br /&gt;
&lt;a href="http://support.microsoft.com/kb/2598321"&gt;http://support.microsoft.com/kb/2598321&lt;/a&gt;
&lt;br /&gt;
WSS 3.0&lt;br /&gt;
&lt;a href="http://support.microsoft.com/kb/2598130"&gt;http://support.microsoft.com/kb/2598130&lt;/a&gt;
&lt;br /&gt;
MOSS 2007&lt;br /&gt;
&lt;a href="http://support.microsoft.com/kb/2598129"&gt;http://support.microsoft.com/kb/2598129&lt;/a&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;[Updated] Don't Install the above CU for this reason&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: large;"&gt;http://www.sharepointjoel.com/Lists/Posts/Post.aspx?ID=542&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: large;"&gt;Note: even the CU for FAST for&amp;nbsp;SharePoint&amp;nbsp;2010 removed .&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: large;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: large;"&gt;[Updated]&amp;nbsp;Microsoft&amp;nbsp;Fixed April CU 2012 with new release , check this link&lt;/span&gt;&lt;br /&gt;
&lt;a href="http://support.microsoft.com/kb/2598151"&gt;http://support.microsoft.com/kb/2598151&lt;/a&gt;
&lt;/div&gt;</description><link>http://sqlgoogler.blogspot.com/2012/05/sharepoint-2010-and-2007-april-2010.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5523374807549170026.post-7674404329500441546</guid><pubDate>Sun, 29 Apr 2012 07:47:00 +0000</pubDate><atom:updated>2012-04-29T11:24:20.635+03:00</atom:updated><title>Synchronization SharePoint 2010 Events Calendar with Android Calendar</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;br /&gt;
&lt;div class="MsoNormal"&gt;
&lt;b&gt;Introduction:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
This simple application import events from SharePoint site
and then add them to Android calendar frequently by using android Service in android mobile.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; So&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;/div&gt;
&lt;ul style="text-align: left;"&gt;
&lt;li&gt;&lt;span style="text-indent: -0.25in;"&gt;Read Events from SharePoint
site by using Web service (/_vti_bin/Lists.asmx)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: 7pt; text-indent: -0.25in;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span dir="LTR" style="text-indent: -0.25in;"&gt;&lt;/span&gt;&lt;span style="text-indent: -0.25in;"&gt;Service run in android
mobile import these events&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="text-indent: -0.25in;"&gt;Then add these events to
Android calendar&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="text-indent: -0.25in;"&gt;Notify the user by
Notification activity&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;div class="MsoListParagraphCxSpLast" style="mso-list: l3 level1 lfo2; text-indent: -.25in;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;b&gt;Tools &amp;amp; IDEs:&lt;/b&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;/div&gt;
&lt;ul style="text-align: left;"&gt;
&lt;li&gt;&lt;span style="font-family: Symbol; text-indent: -0.25in;"&gt;&lt;span style="font-family: 'Times New Roman'; font-size: 7pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span dir="LTR" style="text-indent: -0.25in;"&gt;&lt;/span&gt;&lt;span style="text-indent: -0.25in;"&gt;Android SDK 2.3 (10 level)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="text-indent: -0.25in;"&gt;Eclipse&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="text-indent: -0.25in;"&gt;My mobile (Samsung Ace)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="text-indent: -0.25in;"&gt;U2U CAML Query Builder&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="text-indent: -0.25in;"&gt;SharePoint 2010 Site with Calendar list&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;div class="MsoListParagraphCxSpLast" style="mso-list: l2 level1 lfo1; text-indent: -.25in;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
The beginning start from this activity after uploading .apk
file and install it in Android mobile.&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiy-9a6n0QHlf4n1m9XhOtVkrEcG1Z5TUmDD77voB4QSr3SaR1YandzGdq97bRwVWmz2nsh-VxecmGnDoO-0GkxHs7VGd9cswda-SB_yezosebc_C17fGuAdFHb4lKiz9bAw0wKCzAGVH0/s1600/02.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiy-9a6n0QHlf4n1m9XhOtVkrEcG1Z5TUmDD77voB4QSr3SaR1YandzGdq97bRwVWmz2nsh-VxecmGnDoO-0GkxHs7VGd9cswda-SB_yezosebc_C17fGuAdFHb4lKiz9bAw0wKCzAGVH0/s320/02.png" width="247" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="font-size: 7pt; text-indent: -0.25in;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="font-size: 7pt; text-indent: -0.25in;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span dir="LTR" style="text-indent: -0.25in;"&gt;&lt;/span&gt;&lt;span style="text-indent: -0.25in;"&gt;&lt;b&gt;Mail.xml (main Activity)&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
This activity collect the settings
that the background service will use them to collect the data and these are the settings:&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;/div&gt;
&lt;ul style="text-align: left;"&gt;
&lt;li&gt;&lt;span style="text-indent: -0.25in;"&gt;SharePoint Service URL&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="text-indent: -0.25in;"&gt;To get data from SharePoint
for Non-Microsoft project or programming language is to use SharePoint Web
service which is (/_vti_bin/Lists.asmx). In my case I used (GetListItems) which
return items from SharePoint list by passing CAML query or view.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;span style="text-indent: -0.25in;"&gt;R&lt;/span&gt;&lt;span style="text-indent: -0.25in;"&gt;ow Limit&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="text-indent: -0.25in;"&gt;Number of rows that (GetListItems)
will return&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;span style="text-indent: -0.25in;"&gt;Option&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="font-family: 'Courier New'; text-indent: -0.25in;"&gt;&lt;span style="font-family: 'Times New Roman'; font-size: 7pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span dir="LTR" style="text-indent: -0.25in;"&gt;&lt;/span&gt;&lt;span style="text-indent: -0.25in;"&gt;If this first time the
application will import events from SharePoint so then option 1 (Get all
Events) will be selected&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: 'Courier New'; text-indent: -0.25in;"&gt;&lt;span style="font-family: 'Times New Roman'; font-size: 7pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span dir="LTR" style="text-indent: -0.25in;"&gt;&lt;/span&gt;&lt;span style="text-indent: -0.25in;"&gt;If this is not first time
then option 2 (Get Last Events) will be selected. It will import all events
after the last time imported ( last import time mention in green color under
option 2)&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;span style="text-indent: -0.25in;"&gt;Button&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="font-family: 'Courier New'; text-indent: -0.25in;"&gt;&lt;span style="font-family: 'Times New Roman'; font-size: 7pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span dir="LTR" style="text-indent: -0.25in;"&gt;&lt;/span&gt;&lt;span style="text-indent: -0.25in;"&gt;Start Service to start the
android service ( as windows service in .net application) to run and collect
data from SharePoint Calendar list and then save them to Android calendar. This
service has a timer which makes it to run daily.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;"&gt;Stop Service to stop&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;"&gt;the service and its
timer&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;span style="font-family: Calibri, sans-serif;"&gt;&lt;span style="font-size: 15px; line-height: 17px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgL1vhv-obBNjZfYNKWh1NG-t7POgq01RZGOf_uRd4oZnaXER5gdAFDk_UMFKStBM34k7Na0qL1JhmVWvjR8v3-WdC5Ps-gbiz_T9oTLrLYnDbCtVd3fnREp46eAxhInLRsiYykhLNvNzY/s1600/01.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgL1vhv-obBNjZfYNKWh1NG-t7POgq01RZGOf_uRd4oZnaXER5gdAFDk_UMFKStBM34k7Na0qL1JhmVWvjR8v3-WdC5Ps-gbiz_T9oTLrLYnDbCtVd3fnREp46eAxhInLRsiYykhLNvNzY/s320/01.png" width="230" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre style="background-color: #eeeeee; border: 1px dashed #999999; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;"&gt;&lt;code&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;
&amp;lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:orientation="vertical" &amp;gt;
    
    &amp;lt;TextView
        android:text="@string/lblServiceUrl"
        android:layout_height="wrap_content"
        android:layout_width="fill_parent" /&amp;gt;
    
    &amp;lt;EditText 
        android:id="@+id/txtServiceUrl"
        android:layout_height="wrap_content"
        android:layout_width="fill_parent"
        android:hint="@string/lblServiceUrl" /&amp;gt;
    
    &amp;lt;TextView
        android:text="@string/lblRowLimit"
        android:layout_height="wrap_content"
        android:layout_width="fill_parent" /&amp;gt;
    
    &amp;lt;EditText 
        android:id="@+id/txtRowLimit"
        android:layout_height="wrap_content"
        android:layout_width="fill_parent"
        android:inputType="number"
        android:maxLength="3" /&amp;gt;
    
    &amp;lt;TextView
        android:text="@string/lblOptions"
        android:layout_height="wrap_content"
        android:layout_width="fill_parent" /&amp;gt;
    
    &amp;lt;RadioGroup 
        android:id="@+id/rdbGpOptions"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical" &amp;gt;
            &amp;lt;RadioButton 
                android:id="@+id/rdb1"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="@string/lblGetAllEvents"
                android:enabled="false" /&amp;gt;
            &amp;lt;RadioButton 
                android:id="@+id/rdb2"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="@string/lblGetLastMonthEvents"
                android:checked="true"
                android:enabled="false" /&amp;gt;
    &amp;lt;/RadioGroup&amp;gt;
    
    &amp;lt;TextView 
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:textColor="#00ff00"
        android:id="@+id/lblLastUpdate"
        android:visibility="gone" /&amp;gt;

    &amp;lt;Button 
        android:id="@+id/btnStartService"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:text="@string/lblStartService" /&amp;gt;
    
    &amp;lt;Button 
        android:id="@+id/btnStopService"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:text="@string/lblStopService" /&amp;gt;

&amp;lt;/LinearLayout&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre style="background-color: #eeeeee; border: 1px dashed #999999; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;"&gt;&lt;code&gt;package sqlgoogler.blogspot.com;

import android.app.Activity;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.RadioButton;
import android.widget.TextView;
import android.widget.Toast;


public class SyncSharePointCalendarActivity extends Activity {
   
    private EditText txtServiceUrl ,txtRowLimit;
    private Button btnStartService , btnStopService;
    private RadioButton rdb1 , rdb2;
    private TextView lblLastUpdate;
    private SharedPreferences settings;
    private String lastUpdate;
    
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        
        //Get settings from Shared Preferences 
        settings = getSharedPreferences(Constants.Pref_Name, 0); 
        
        txtServiceUrl = (EditText)findViewById(R.id.txtServiceUrl);
        txtRowLimit = (EditText)findViewById(R.id.txtRowLimit);
        lblLastUpdate = (TextView)findViewById(R.id.lblLastUpdate);
        
        rdb1 = (RadioButton)findViewById(R.id.rdb1);
        rdb2 = (RadioButton)findViewById(R.id.rdb2);
   
        try
        {
            txtServiceUrl.setText(settings.getString(Constants.Service_URL_KEY, Constants.Service_URL_VALUE));
            txtRowLimit.setText(settings.getString(Constants.Row_Limit_KEY, Constants.Row_Limit_VALUE));
            lastUpdate = settings.getString(Constants.Last_Update_KEY, Constants.Last_Update_VALUE);
            
            if(lastUpdate != "")
            {
                lblLastUpdate.setText(String.format("%s %s",getResources().getString(R.string.msgLastUpdate), lastUpdate));
                lblLastUpdate.setVisibility(View.VISIBLE);
                rdb2.setChecked(true);
                rdb1.setChecked(false);
            }
            else
            {
                lblLastUpdate.setVisibility(View.GONE);
                rdb2.setChecked(false);
                rdb1.setChecked(true);
            }
        }
        catch(Exception ex)
        {            
            txtServiceUrl.setText( Constants.Service_URL_VALUE);
            txtRowLimit.setText(Constants.Row_Limit_VALUE);
            rdb2.setChecked(true);
            rdb1.setChecked(false);
        }
        
        //Start Service Event
        btnStartService = (Button) findViewById(R.id.btnStartService);
        btnStartService.setOnClickListener(new View.OnClickListener() {
            public void onClick(View v) {
                
                //Save settings to Shared Preferences
                SharedPreferences.Editor editor = settings.edit();
                editor.putString(Constants.Service_URL_KEY,txtServiceUrl.getText().toString().trim());
                editor.putString(Constants.Row_Limit_KEY,txtRowLimit.getText().toString().trim());
                    
                editor.commit();
                
                //Start the service
                startService(new Intent(getBaseContext(), SyncService.class));
                showMessage(getResources().getString(R.string.StartMsg));
            }     
        });
        
        //Stop Service Event
        btnStopService = (Button) findViewById(R.id.btnStopService);
        btnStopService.setOnClickListener(new View.OnClickListener() {
            public void onClick(View v) {
                
                //Stop the service
                stopService(new Intent(getBaseContext(), SyncService.class));
                showMessage(getResources().getString(R.string.StopMsg));
            }
        });
    }
    
    private void showMessage(String msg)
    {
        Toast.makeText(getBaseContext(),msg, Toast.LENGTH_SHORT).show(); 
    } 
}
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
Second part of this application which did the most jobs is Android Service &lt;b&gt;(SyncService):&lt;/b&gt;&lt;br /&gt;
this service did the following :&lt;br /&gt;
&lt;br /&gt;
&lt;ol style="text-align: left;"&gt;
&lt;li&gt;Read settings from Shared&amp;nbsp;Preferences&amp;nbsp;(like SharePoint Service Url, Row Limit,..)&lt;/li&gt;
&lt;li&gt;This service run daily by using Timer&lt;/li&gt;
&lt;li&gt;Consume SharePoint Service and returned SOAP&amp;nbsp;&lt;/li&gt;
&lt;li&gt;parsing this SOAP and add the return data to&amp;nbsp;Android&amp;nbsp;Calendar&lt;/li&gt;
&lt;li&gt;Show Notification about the status of import if it's&amp;nbsp;successed or failed&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;pre style="background-color: #eeeeee; border: 1px dashed #999999; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;"&gt;&lt;code&gt;package sqlgoogler.blogspot.com;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.StringReader;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.Timer;
import java.util.TimerTask;

import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;

import org.apache.http.HttpResponse;
import org.apache.http.client.ClientProtocolException;
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.entity.StringEntity;
import org.apache.http.impl.client.DefaultHttpClient;
import org.apache.http.protocol.HTTP;
import android.util.Log;

import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import org.xml.sax.InputSource;
import org.xml.sax.SAXException;

import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.app.Service;
import android.content.ContentValues;
import android.content.Intent;
import android.content.SharedPreferences;
import android.database.Cursor;
import android.net.Uri;
import android.os.IBinder;

public class SyncService extends Service  {
    private Timer timer = new Timer(); 
    private SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss"); 
    private long updateInterval;
    private SharedPreferences settings;
    
    private String serviceUrl;
    private String rowLimit;
    private String lastUpdate;
    
    public IBinder onBind(Intent intent) {
      return null;
    }

    @Override 
    public void onCreate() 
    {
      super.onCreate();
      
      //Read settings from SharedPreferences
      settings = getSharedPreferences(Constants.Pref_Name, 0);
      updateInterval = 1000 * 60 * 60 * 24; // By Day
      updateInterval= 5000 * updateInterval;
      
      serviceUrl = settings.getString(Constants.Service_URL_KEY, Constants.Service_URL_VALUE);
      rowLimit = settings.getString(Constants.Row_Limit_KEY, Constants.Row_Limit_VALUE);
      lastUpdate = settings.getString(Constants.Last_Update_KEY, Constants.Last_Update_VALUE);
        
      _startService();
    }

    @Override 
    public void onDestroy() 
    {
      super.onDestroy();
      _shutdownService();
    }

    private void _startService()
    {      
      timer.scheduleAtFixedRate(    
          
              new TimerTask() {

                    public void run() {

                        try{

                        doServiceWork();

                        Thread.sleep(updateInterval);

                        }catch(InterruptedException ie){
                        }      
                    }
                  },
                  Constants.Delay_Interval,
                  updateInterval);
    }
    
    private void _shutdownService()
    {
      if (timer != null) timer.cancel();
      Log.i(getClass().getSimpleName(), "Timer stopped...");
    }
    
    private void doServiceWork()
    {  
        try 
        {
            HttpClient httpclient = new DefaultHttpClient();
            HttpPost httppost = new HttpPost(serviceUrl);
            StringEntity se;
        
            if(lastUpdate != "")
                //CAML query for Last Events
                se = new StringEntity( String.format("&amp;lt;?xml version=\"1.0\" encoding=\"utf-8\"?&amp;gt;&amp;lt;soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\"&amp;gt;&amp;lt;soap:Body&amp;gt;&amp;lt;GetListItems xmlns=\"http://schemas.microsoft.com/sharepoint/soap/\"&amp;gt;&amp;lt;listName&amp;gt;eventsCal&amp;lt;/listName&amp;gt;%s&amp;lt;rowLimit&amp;gt;&amp;lt;/rowLimit&amp;gt;&amp;lt;viewName&amp;gt;&amp;lt;/viewName&amp;gt;&amp;lt;query&amp;gt;&amp;lt;Query&amp;gt;&amp;lt;Where&amp;gt;&amp;lt;Gt&amp;gt;&amp;lt;FieldRef Name='EventDate' /&amp;gt;&amp;lt;Value Type='DateTime'&amp;gt;%sZ&amp;lt;/Value&amp;gt;&amp;lt;/Gt&amp;gt;&amp;lt;/Where&amp;gt;&amp;lt;OrderBy&amp;gt;&amp;lt;FieldRef Name='Title' /&amp;gt;&amp;lt;/OrderBy&amp;gt;&amp;lt;/Query&amp;gt;&amp;lt;/query&amp;gt;&amp;lt;/GetListItems&amp;gt;&amp;lt;/soap:Body&amp;gt;&amp;lt;/soap:Envelope&amp;gt;", rowLimit, lastUpdate), HTTP.UTF_8);
            else
                //CAML query for All Events
                se = new StringEntity( String.format("&amp;lt;?xml version=\"1.0\" encoding=\"utf-8\"?&amp;gt;&amp;lt;soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\"&amp;gt;&amp;lt;soap:Body&amp;gt;&amp;lt;GetListItems xmlns=\"http://schemas.microsoft.com/sharepoint/soap/\"&amp;gt;&amp;lt;listName&amp;gt;eventsCal&amp;lt;/listName&amp;gt;&amp;lt;rowLimit&amp;gt;%s&amp;lt;/rowLimit&amp;gt;&amp;lt;viewName&amp;gt;&amp;lt;/viewName&amp;gt;&amp;lt;query&amp;gt;&amp;lt;Query&amp;gt;&amp;lt;OrderBy&amp;gt;&amp;lt;FieldRef Name='Title' /&amp;gt;&amp;lt;/OrderBy&amp;gt;&amp;lt;/Query&amp;gt;&amp;lt;/query&amp;gt;&amp;lt;/GetListItems&amp;gt;&amp;lt;/soap:Body&amp;gt;&amp;lt;/soap:Envelope&amp;gt;", rowLimit), HTTP.UTF_8);    
            se.setContentType("text/xml");
            httppost.setEntity(se);

            HttpResponse httpresponse = httpclient.execute(httppost);
            InputStream in = httpresponse.getEntity().getContent();
            String str = inputStreamToString(in).toString();
            
            readSoap(str);
            
            //Show Notification 
            displayNotification(String.format("%s",getResources().getString(R.string.msgImported)));
            
            //Set Last Update setting 
            SharedPreferences.Editor editor = settings.edit();
            editor.putString(Constants.Last_Update_KEY, df.format(new java.util.Date()).toString());
                
            editor.commit();
            
        } catch (ClientProtocolException e) {
            displayNotification(String.format("%s \n Error Details : %s",getResources().getString(R.string.msgImportedFailed),e.toString()));
        } catch (IOException e) {
            displayNotification(String.format("%s \n Error Details : %s",getResources().getString(R.string.msgImportedFailed),e.toString()));
        }
    }
    
    private void readSoap(String in)
    {    
        Document doc = null;
        DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
        try 
        {
            DocumentBuilder db = dbf.newDocumentBuilder();
            InputSource is = new InputSource();
            is.setCharacterStream(new StringReader(in));
            doc = db.parse(is); 

            } catch (ParserConfigurationException e) {
            } catch (SAXException e) {
            } catch (IOException e) {
            }
            
            //---retrieve all the &amp;lt;z:row&amp;gt; nodes---
            NodeList elements = doc.getElementsByTagName("z:row"); 
            
            for (int i = 0; i &amp;lt; elements.getLength(); i++) { 
                Node itemNode = elements.item(i); 
               
                if (itemNode.getNodeType() == Node.ELEMENT_NODE) 
                {            
                    //---convert the Node into an Element---
                    Element element = (Element) itemNode;

                    addEvent(element.getAttribute("ows_Title"), element.getAttribute("ows_EventDate"), element.getAttribute("ows_EndDate"), element.getAttribute("ows_Description"), element.getAttribute("ows_Location"));
                } 
            } 
    }
    
    private void addEvent(String title , String startEvent , String endEvent, String desc , String location) 
    {
        try{
            // date
            SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
            Date date1 = new Date();
            Date date2 = new Date();
            try {
                 date1 = format.parse(startEvent);
                 date2 = format.parse(endEvent);
            } catch (ParseException e) {
                // TODO Auto-generated catch block
                e.printStackTrace();
            }
                       
            Calendar cal = Calendar.getInstance();
            cal.setTime(date1);
            long startTime = cal.getTimeInMillis() + 1000;
            cal.setTime(date2);
            long endTime   = cal.getTimeInMillis() + 1000;
            
            ContentValues event = new ContentValues();
            event.put("calendar_id", getCalendar_ID());
            event.put("title", title);
            event.put("description", desc);
            event.put("eventLocation", location);           
            event.put("dtstart", startTime);
            event.put("dtend", endTime);
            event.put("allDay", 0);
            getContentResolver().insert(Uri.parse("content://com.android.calendar/events"), event); 
          
        }catch(Exception ee){}
    }
    
    private int getCalendar_ID() {
        int calendar_id         = 0;
        String[] projection     = new String[] { "_id", "name" };
        String selection        = "selected=1";
        String path             = "calendars";
        Cursor calendarCursor   = getCalendarCursor(projection, selection, path);

        if (calendarCursor != null &amp;amp;&amp;amp; calendarCursor.moveToFirst()) {
            int nameColumn = calendarCursor.getColumnIndex("name");
            int idColumn   = calendarCursor.getColumnIndex("_id");
            do {
                String calName  = calendarCursor.getString(nameColumn);
                String calId    = calendarCursor.getString(idColumn);
                if (calName != null) {
                    calendar_id = Integer.parseInt(calId);
                }
            } while (calendarCursor.moveToNext());
        }
        return calendar_id;
    }
    
    private Cursor getCalendarCursor(String[] projection, String selection, String path) {
        Uri calendars = Uri.parse("content://calendar/" + path);
        Cursor cCursor = null;
        try 
        {
            cCursor = getContentResolver().query(calendars, projection, selection, null, null);
        } 
        catch (IllegalArgumentException e) {}
        if (cCursor == null) 
        {
            calendars = Uri.parse("content://com.android.calendar/" + path);
            try 
            {
               cCursor = getContentResolver().query(calendars, projection, selection, null, null);
            } 
            catch (IllegalArgumentException e) {}
        }
        return cCursor;
    }
          
    private StringBuilder inputStreamToString(InputStream is) 
    {
        String line = "";
        StringBuilder total = new StringBuilder();
        // Wrap a BufferedReader around the InputStream
        BufferedReader rd = new BufferedReader(new InputStreamReader(is));
        // Read response until the end
        try 
        {
         while ((line = rd.readLine()) != null) 
         { 
           total.append(line); 
         }
        } catch (IOException e) {
         e.printStackTrace();
        }
        
        // Return full string
        return total;
     }

    protected void displayNotification(String msg)
    {
        Intent i = new Intent(this, NotificationActivity.class);
        i.putExtra("notificationID", 1);
        i.putExtra("msg", msg);
        PendingIntent pendingIntent =
            PendingIntent.getActivity(this, 0, i, 0);
        NotificationManager nm = (NotificationManager)
        getSystemService(NOTIFICATION_SERVICE);
        Notification notif = new Notification(
        R.drawable.ic_launcher,getResources().getString(R.string.notificationdesc), System.currentTimeMillis());
        CharSequence from = getResources().getString(R.string.notificationtitle);
        CharSequence message = getResources().getString(R.string.notificationdesc);
        notif.setLatestEventInfo(this, from, message, pendingIntent);
        //---100ms delay, vibrate for 250ms, pause for 100 ms and
        // then vibrate for 500ms---
        notif.vibrate = new long[] { 100, 250, 100, 500};
        nm.notify(1, notif);
    }
}

&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
so first thing this service will consume the&amp;nbsp;SharePoint&amp;nbsp;service and get items form events list&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9rs2yaJv6ThH0GpSTdljNQvu4fVQfImwzsPrOvReIF0PSqG5gyLxegJj7zUwIMc4iv4DK18jjGkKdP-os1hLgXMNTe1qWwPAOzlERDD3MYGHzOkfQLZPDjrAWXROZvfslODW3rEyNMtE/s1600/03.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="112" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9rs2yaJv6ThH0GpSTdljNQvu4fVQfImwzsPrOvReIF0PSqG5gyLxegJj7zUwIMc4iv4DK18jjGkKdP-os1hLgXMNTe1qWwPAOzlERDD3MYGHzOkfQLZPDjrAWXROZvfslODW3rEyNMtE/s400/03.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
you will notice in the below code we built a String entity which contains the name of list and method name (GetListItems) and CAML Query&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre style="background-color: #eeeeee; border: 1px dashed #999999; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;"&gt;&lt;code&gt;
HttpClient httpclient = new DefaultHttpClient();
            HttpPost httppost = new HttpPost(serviceUrl);
            StringEntity se;
        
            if(lastUpdate != "")
                //CAML query for Last Events
                se = new StringEntity( String.format("&amp;lt;?xml version=\"1.0\" encoding=\"utf-8\"?&amp;gt;&amp;lt;soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\"&amp;gt;&amp;lt;soap:Body&amp;gt;&amp;lt;GetListItems xmlns=\"http://schemas.microsoft.com/sharepoint/soap/\"&amp;gt;&amp;lt;listName&amp;gt;eventsCal&amp;lt;/listName&amp;gt;%s&amp;lt;rowLimit&amp;gt;&amp;lt;/rowLimit&amp;gt;&amp;lt;viewName&amp;gt;&amp;lt;/viewName&amp;gt;&amp;lt;query&amp;gt;&amp;lt;Query&amp;gt;&amp;lt;Where&amp;gt;&amp;lt;Gt&amp;gt;&amp;lt;FieldRef Name='EventDate' /&amp;gt;&amp;lt;Value Type='DateTime'&amp;gt;%sZ&amp;lt;/Value&amp;gt;&amp;lt;/Gt&amp;gt;&amp;lt;/Where&amp;gt;&amp;lt;OrderBy&amp;gt;&amp;lt;FieldRef Name='Title' /&amp;gt;&amp;lt;/OrderBy&amp;gt;&amp;lt;/Query&amp;gt;&amp;lt;/query&amp;gt;&amp;lt;/GetListItems&amp;gt;&amp;lt;/soap:Body&amp;gt;&amp;lt;/soap:Envelope&amp;gt;", rowLimit, lastUpdate), HTTP.UTF_8);
            else
                //CAML query for All Events
                se = new StringEntity( String.format("&amp;lt;?xml version=\"1.0\" encoding=\"utf-8\"?&amp;gt;&amp;lt;soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\"&amp;gt;&amp;lt;soap:Body&amp;gt;&amp;lt;GetListItems xmlns=\"http://schemas.microsoft.com/sharepoint/soap/\"&amp;gt;&amp;lt;listName&amp;gt;eventsCal&amp;lt;/listName&amp;gt;&amp;lt;rowLimit&amp;gt;%s&amp;lt;/rowLimit&amp;gt;&amp;lt;viewName&amp;gt;&amp;lt;/viewName&amp;gt;&amp;lt;query&amp;gt;&amp;lt;Query&amp;gt;&amp;lt;OrderBy&amp;gt;&amp;lt;FieldRef Name='Title' /&amp;gt;&amp;lt;/OrderBy&amp;gt;&amp;lt;/Query&amp;gt;&amp;lt;/query&amp;gt;&amp;lt;/GetListItems&amp;gt;&amp;lt;/soap:Body&amp;gt;&amp;lt;/soap:Envelope&amp;gt;", rowLimit), HTTP.UTF_8);    
            se.setContentType("text/xml");
            httppost.setEntity(se);

            HttpResponse httpresponse = httpclient.execute(httppost);
            InputStream in = httpresponse.getEntity().getContent();
            String str = inputStreamToString(in).toString();
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
so then we are parsing the return XML or SOAP and add these retrun items or events to Android Calendar.&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtK5uz-ilOKLh2CgBWG6Pzj94pBl1hVsbaQ_D8pUxLU9bvcYYwq-oNB1HnDUyaq-4UJcBUOLGNtCZIxjLzNLBMWxuXOWBcsIH5sS9vzSFbytYH61Ato7bam2tdYqEaxO6hYGtZBsSp0Ho/s1600/04.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtK5uz-ilOKLh2CgBWG6Pzj94pBl1hVsbaQ_D8pUxLU9bvcYYwq-oNB1HnDUyaq-4UJcBUOLGNtCZIxjLzNLBMWxuXOWBcsIH5sS9vzSFbytYH61Ato7bam2tdYqEaxO6hYGtZBsSp0Ho/s1600/04.png" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3pZgJ_Eu97rREdS4seP6YpArs4hD3BXfXzsHG_ORFJmJeS7vRhwUvh0WrXYxSJ6cdzFxaC0NHw8C_uCwB4LRyzGQUTH6WUazZtqGkPfBDoDL61sRZrC4KuMG0QLPd2t3GM3Umf4FHShM/s1600/05.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3pZgJ_Eu97rREdS4seP6YpArs4hD3BXfXzsHG_ORFJmJeS7vRhwUvh0WrXYxSJ6cdzFxaC0NHw8C_uCwB4LRyzGQUTH6WUazZtqGkPfBDoDL61sRZrC4KuMG0QLPd2t3GM3Umf4FHShM/s1600/05.png" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
&lt;br /&gt;
&lt;ul style="text-align: left;"&gt;
&lt;li&gt;I have tested this application in my Android mobile (Samsung Ace) with version 2.3 (level 10)&lt;/li&gt;
&lt;li&gt;this sample as starter and need more&amp;nbsp;enchantments&amp;nbsp;and test&lt;/li&gt;
&lt;li&gt;you can't test add event calendar to android using&amp;nbsp;emulator&amp;nbsp;because does not has calendar application&lt;/li&gt;
&lt;li&gt;You can download the code from &lt;a href="https://skydrive.live.com/?cid=6B0B0C572811AD54&amp;amp;id=6B0B0C572811AD54%21159&amp;amp;sc=documents"&gt;here&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;</description><link>http://sqlgoogler.blogspot.com/2012/04/synchronization-sharepoint-2010-events.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiy-9a6n0QHlf4n1m9XhOtVkrEcG1Z5TUmDD77voB4QSr3SaR1YandzGdq97bRwVWmz2nsh-VxecmGnDoO-0GkxHs7VGd9cswda-SB_yezosebc_C17fGuAdFHb4lKiz9bAw0wKCzAGVH0/s72-c/02.png" width="72"/><thr:total>2</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5523374807549170026.post-4024015263097606675</guid><pubDate>Mon, 23 Apr 2012 10:30:00 +0000</pubDate><atom:updated>2012-04-23T13:30:13.670+03:00</atom:updated><title>Tips for SharePoint Administrators - 1</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;h3 style="text-align: left;"&gt;

&lt;span style="color: blue; font-family: Calibri, sans-serif; font-size: large; line-height: 115%;"&gt;1- Service account&lt;/span&gt;&lt;/h3&gt;
&lt;span style="font-family: Calibri, sans-serif;"&gt;&lt;span style="font-size: 15px; line-height: 17px;"&gt;SharePoint has many background services which required to run under service account with minimum privilege so how we can create a service account?&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;ol style="text-align: left;"&gt;&lt;/ol&gt;
&lt;span style="font-family: Calibri, sans-serif;"&gt;&lt;span style="font-size: 15px; line-height: 17px;"&gt;&amp;nbsp; &amp;nbsp;1- Open Active Directory Users and Groups&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&amp;nbsp; 2-&amp;nbsp;&lt;span style="font-family: Calibri, sans-serif;"&gt;&lt;span style="font-size: 15px; line-height: 17px;"&gt;Expand the node&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&amp;nbsp; 3-&amp;nbsp;&lt;span style="font-family: Calibri, sans-serif; font-size: 15px; line-height: 17px;"&gt;Right click under Users and choose New &amp;gt;&amp;gt; &lt;b&gt;User&lt;/b&gt;&lt;/span&gt;&lt;div&gt;
&lt;span style="font-family: Calibri, sans-serif;"&gt;&lt;span style="font-size: 15px; line-height: 17px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh71LraWGNrzzp6Q4HFtPKksxY0NCYWWnuZNIZtnAjBN8jkI5UCbyiHm63ggJiaAV3_SB1tfZVYHT5U99hvbzFUH_Jn3bbCfQmyoAveDy7vK68ShzzYmGIYQ6_rCXAXA3G1df-psnJ-WDI/s1600/01.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="252" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh71LraWGNrzzp6Q4HFtPKksxY0NCYWWnuZNIZtnAjBN8jkI5UCbyiHm63ggJiaAV3_SB1tfZVYHT5U99hvbzFUH_Jn3bbCfQmyoAveDy7vK68ShzzYmGIYQ6_rCXAXA3G1df-psnJ-WDI/s320/01.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Calibri, sans-serif;"&gt;&lt;span style="font-size: 15px; line-height: 17px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol style="text-align: left;"&gt;&lt;/ol&gt;
&lt;div style="text-align: center;"&gt;
&lt;span style="font-family: Calibri, sans-serif; font-size: 15px; line-height: 17px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Calibri, sans-serif; font-size: 15px; line-height: 17px;"&gt;&amp;nbsp; 4- Fill the fields and then press Ok (Uncheck all check boxes except &lt;b&gt;Password never expires&lt;/b&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Calibri, sans-serif; font-size: 15px; line-height: 17px;"&gt;&amp;nbsp; 5- Now we created a domain user account&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Calibri, sans-serif; font-size: 15px; line-height: 17px;"&gt;&amp;nbsp; 6- Right click on domain server name &amp;gt;&amp;gt; select &lt;b&gt;Delegate Control&lt;/b&gt;…&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Calibri, sans-serif; font-size: 15px; line-height: 17px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlkH1L3DWDWVkTq-BlGX_ZTw1eqgn0SSvuhrTCFR8skGMRirj_5YvltdLOzd_nVVORtsteuhfWMroy5QmskgMTOIQ-DTmTYYwpdO7aiizWxnBqzbRbG4C3DsapabKv2JqV7lcuvoZwCPc/s1600/02.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="133" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlkH1L3DWDWVkTq-BlGX_ZTw1eqgn0SSvuhrTCFR8skGMRirj_5YvltdLOzd_nVVORtsteuhfWMroy5QmskgMTOIQ-DTmTYYwpdO7aiizWxnBqzbRbG4C3DsapabKv2JqV7lcuvoZwCPc/s320/02.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Calibri, sans-serif; font-size: 15px; line-height: 17px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ol style="text-align: left;"&gt;&lt;/ol&gt;
&lt;span style="font-family: Calibri, sans-serif;"&gt;&lt;span style="font-size: 15px; line-height: 17px;"&gt;&amp;nbsp;7- Click Next than Add &amp;gt;&amp;gt; enter the previous domain account then OK &amp;gt;&amp;gt; Next&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&amp;nbsp;8-&lt;span style="font-family: Calibri, sans-serif;"&gt;&lt;span style="font-size: 15px; line-height: 17px;"&gt; Select Create a custom task to delegate &amp;gt;&amp;gt; Next&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&amp;nbsp;9-&amp;nbsp;&lt;span style="font-family: Calibri, sans-serif;"&gt;&lt;span style="font-size: 15px; line-height: 17px;"&gt;Keep first radio button selected and then Next&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&amp;nbsp;10-&amp;nbsp;&lt;span style="font-family: Calibri, sans-serif; font-size: 15px; line-height: 17px;"&gt;Now check “&lt;b&gt;General&lt;/b&gt;” and from the permission check “&lt;b&gt;Replicating directory changes&lt;/b&gt;” then Next&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Calibri, sans-serif; font-size: 15px; line-height: 17px;"&gt;&amp;nbsp; 11- Finish&lt;/span&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjiPb6Nmo9PWlHjDovBvpZMX1F5AQLIeZn7WzT9Siz7PA38oj8woEn1IpTtuqvMh3qXNI7NtbvdSTZBu3SgB9BkXYngZEYknNgSxmOO7NAcdmCs5OYAYlme2e7AnGB81l_6-axXVxMiRBg/s1600/03.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="143" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjiPb6Nmo9PWlHjDovBvpZMX1F5AQLIeZn7WzT9Siz7PA38oj8woEn1IpTtuqvMh3qXNI7NtbvdSTZBu3SgB9BkXYngZEYknNgSxmOO7NAcdmCs5OYAYlme2e7AnGB81l_6-axXVxMiRBg/s320/03.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;/div&gt;
&lt;h3 style="text-align: left;"&gt;
&lt;span style="font-family: Calibri, sans-serif; line-height: 115%;"&gt;&lt;span style="color: blue; font-size: large;"&gt;2- 64-bit compatible&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;div class="MsoNormal"&gt;
If you want to install SharePoint 2010 in your local system
you can install it using Windows 7 64 bit or using Virtual machine&amp;nbsp;software&amp;nbsp;but
if you want to install a Windows 2008 R2 your pc should support the following:&lt;/div&gt;
&lt;div class="MsoNormal" style="text-indent: 0px;"&gt;
&lt;span style="text-indent: -0.25in;"&gt;&amp;nbsp; &amp;nbsp;1- 64-bit compatible&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="text-indent: 0px;"&gt;
&lt;span style="text-indent: -0.25in;"&gt;&amp;nbsp; &amp;nbsp;2- Virtualization Technology
(VT) is enable from BIOS.&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="text-indent: 0px;"&gt;
You can use this tool to check if it’s
enable or not&lt;/div&gt;
&lt;div class="MsoListParagraphCxSpMiddle"&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class="MsoListParagraphCxSpLast"&gt;
&lt;a href="http://download3.vmware.com/software/wkst/VMware-guest64check-6.0.0-45731.exe"&gt;http://download3.vmware.com/software/wkst/VMware-guest64check-6.0.0-45731.exe&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-language: AR-SA; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;"&gt;&lt;a href="http://www.vikitech.com/8208/check-if-processor-supports-virtualization"&gt;http://www.vikitech.com/8208/check-if-processor-supports-virtualization&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style="text-align: left;"&gt;
&lt;span style="background-color: white; font-family: Calibri, sans-serif; line-height: 115%;"&gt;&lt;span style="color: blue; font-size: large;"&gt;3- Standalone farm&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;div class="MsoNormal"&gt;
Standalone farm suitable for testing or development environment
but you need to note the following :&lt;/div&gt;
&lt;div class="MsoNormal" style="text-indent: 0px;"&gt;
&lt;span style="text-indent: -0.25in;"&gt;&amp;nbsp; 1- You can’t scale this farm
so if you are planning to scale your farm in future don’t use standalone farm&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="text-indent: 0px;"&gt;
&lt;span style="text-indent: -0.25in;"&gt;&amp;nbsp; 2- It’s come by default with SQL
Server 2008 Express edition so you can’t insert your desired SQL Server
instance.&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="text-indent: 0px;"&gt;
&lt;span style="text-indent: -0.25in;"&gt;&amp;nbsp; 3- You can't select a &lt;b&gt;port &lt;/b&gt;for Central&amp;nbsp;administration site&amp;nbsp;because&amp;nbsp;by default the wizard select one for you.&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoListParagraphCxSpLast" style="mso-list: l0 level1 lfo1; text-indent: -.25in;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;/div&gt;
&lt;div style="font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</description><link>http://sqlgoogler.blogspot.com/2012/04/tips-for-sharepoint-administrators-1.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh71LraWGNrzzp6Q4HFtPKksxY0NCYWWnuZNIZtnAjBN8jkI5UCbyiHm63ggJiaAV3_SB1tfZVYHT5U99hvbzFUH_Jn3bbCfQmyoAveDy7vK68ShzzYmGIYQ6_rCXAXA3G1df-psnJ-WDI/s72-c/01.png" width="72"/><thr:total>0</thr:total><enclosure length="6144" type="application/x-octet-stream" url="http://download3.vmware.com/software/wkst/VMware-guest64check-6.0.0-45731.exe"/><itunes:explicit>no</itunes:explicit><itunes:subtitle>1- Service account SharePoint has many background services which required to run under service account with minimum privilege so how we can create a service account? &amp;nbsp; &amp;nbsp;1- Open Active Directory Users and Groups &amp;nbsp; 2-&amp;nbsp;Expand the node &amp;nbsp; 3-&amp;nbsp;Right click under Users and choose New &amp;gt;&amp;gt; User &amp;nbsp; 4- Fill the fields and then press Ok (Uncheck all check boxes except Password never expires) &amp;nbsp; 5- Now we created a domain user account &amp;nbsp; 6- Right click on domain server name &amp;gt;&amp;gt; select Delegate Control… &amp;nbsp;7- Click Next than Add &amp;gt;&amp;gt; enter the previous domain account then OK &amp;gt;&amp;gt; Next &amp;nbsp;8- Select Create a custom task to delegate &amp;gt;&amp;gt; Next &amp;nbsp;9-&amp;nbsp;Keep first radio button selected and then Next &amp;nbsp;10-&amp;nbsp;Now check “General” and from the permission check “Replicating directory changes” then Next &amp;nbsp; 11- Finish 2- 64-bit compatible If you want to install SharePoint 2010 in your local system you can install it using Windows 7 64 bit or using Virtual machine&amp;nbsp;software&amp;nbsp;but if you want to install a Windows 2008 R2 your pc should support the following: &amp;nbsp; &amp;nbsp;1- 64-bit compatible &amp;nbsp; &amp;nbsp;2- Virtualization Technology (VT) is enable from BIOS. You can use this tool to check if it’s enable or not http://download3.vmware.com/software/wkst/VMware-guest64check-6.0.0-45731.exe http://www.vikitech.com/8208/check-if-processor-supports-virtualization 3- Standalone farm Standalone farm suitable for testing or development environment but you need to note the following : &amp;nbsp; 1- You can’t scale this farm so if you are planning to scale your farm in future don’t use standalone farm &amp;nbsp; 2- It’s come by default with SQL Server 2008 Express edition so you can’t insert your desired SQL Server instance. &amp;nbsp; 3- You can't select a port for Central&amp;nbsp;administration site&amp;nbsp;because&amp;nbsp;by default the wizard select one for you.</itunes:subtitle><itunes:author>noreply@blogger.com (Unknown)</itunes:author><itunes:summary>1- Service account SharePoint has many background services which required to run under service account with minimum privilege so how we can create a service account? &amp;nbsp; &amp;nbsp;1- Open Active Directory Users and Groups &amp;nbsp; 2-&amp;nbsp;Expand the node &amp;nbsp; 3-&amp;nbsp;Right click under Users and choose New &amp;gt;&amp;gt; User &amp;nbsp; 4- Fill the fields and then press Ok (Uncheck all check boxes except Password never expires) &amp;nbsp; 5- Now we created a domain user account &amp;nbsp; 6- Right click on domain server name &amp;gt;&amp;gt; select Delegate Control… &amp;nbsp;7- Click Next than Add &amp;gt;&amp;gt; enter the previous domain account then OK &amp;gt;&amp;gt; Next &amp;nbsp;8- Select Create a custom task to delegate &amp;gt;&amp;gt; Next &amp;nbsp;9-&amp;nbsp;Keep first radio button selected and then Next &amp;nbsp;10-&amp;nbsp;Now check “General” and from the permission check “Replicating directory changes” then Next &amp;nbsp; 11- Finish 2- 64-bit compatible If you want to install SharePoint 2010 in your local system you can install it using Windows 7 64 bit or using Virtual machine&amp;nbsp;software&amp;nbsp;but if you want to install a Windows 2008 R2 your pc should support the following: &amp;nbsp; &amp;nbsp;1- 64-bit compatible &amp;nbsp; &amp;nbsp;2- Virtualization Technology (VT) is enable from BIOS. You can use this tool to check if it’s enable or not http://download3.vmware.com/software/wkst/VMware-guest64check-6.0.0-45731.exe http://www.vikitech.com/8208/check-if-processor-supports-virtualization 3- Standalone farm Standalone farm suitable for testing or development environment but you need to note the following : &amp;nbsp; 1- You can’t scale this farm so if you are planning to scale your farm in future don’t use standalone farm &amp;nbsp; 2- It’s come by default with SQL Server 2008 Express edition so you can’t insert your desired SQL Server instance. &amp;nbsp; 3- You can't select a port for Central&amp;nbsp;administration site&amp;nbsp;because&amp;nbsp;by default the wizard select one for you.</itunes:summary></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5523374807549170026.post-4881924518738293844</guid><pubDate>Mon, 16 Apr 2012 08:03:00 +0000</pubDate><atom:updated>2012-04-16T11:03:20.394+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">SPS 2010</category><title>Service Unavailable HTTP Error 503 - SharePoint Central Administration</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;br /&gt;
&lt;div class="MsoNormal"&gt;
Yesterday I installed fresh SharePoint 2010 Development server
Farm and then when I tried to open &lt;b&gt;Central administration&lt;/b&gt; I got the
following error “&lt;b&gt;Service Unavailable HTTP Error 503&lt;/b&gt;” so I checked the
IIS and I found that the application pool for Central administration is stopped
so I restarted again and then refresh the page and again I got the same error
and the application pool is stopped.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
I opened the Server Manager &amp;gt;&amp;gt; Roles &amp;gt;&amp;gt; &lt;b&gt;Web
Server (IIS)&lt;/b&gt; and I found errors and warning and these are the details:&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjK7weluNhK9Tz6QsTRW6sm5gCplYl7tylUWwhkPX22l2H2M02BUlzPkll9Cc-bE0DclUg07atw6WPZzoHGS3zaNrg3DkCXcJy5DXHuYGUAkdq-912P1KugAyVSBhvTVVpUgzIPKKFKP1U/s1600/01.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="232" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjK7weluNhK9Tz6QsTRW6sm5gCplYl7tylUWwhkPX22l2H2M02BUlzPkll9Cc-bE0DclUg07atw6WPZzoHGS3zaNrg3DkCXcJy5DXHuYGUAkdq-912P1KugAyVSBhvTVVpUgzIPKKFKP1U/s400/01.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3tMzDcUz_hYIceNKJjYVqG2ARDdd9mowmbaOElpbfuQx37Z9uZlfr-IucX46JZMV49RPpxCLlAxu2ShfgC4tsLwcPIoBLvMwBgfyqJyydXvMjFe7VD7UeAL57W4hypA793eP4ZuSXhKc/s1600/02.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="135" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3tMzDcUz_hYIceNKJjYVqG2ARDdd9mowmbaOElpbfuQx37Z9uZlfr-IucX46JZMV49RPpxCLlAxu2ShfgC4tsLwcPIoBLvMwBgfyqJyydXvMjFe7VD7UeAL57W4hypA793eP4ZuSXhKc/s400/02.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiA1JXV5D-6__ECYWPLlCgPuzRbobp1ZajC09-d8THDr-_exKkqJOxFsQoR0x7Xb2zxtpQK0onk3mDA_sTHRreth8_eAcBZr5LzGy8L1Mr5cnaFmuB_nGp1P-oB5UH2yME01SPYPIIxY2k/s1600/03.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="124" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiA1JXV5D-6__ECYWPLlCgPuzRbobp1ZajC09-d8THDr-_exKkqJOxFsQoR0x7Xb2zxtpQK0onk3mDA_sTHRreth8_eAcBZr5LzGy8L1Mr5cnaFmuB_nGp1P-oB5UH2yME01SPYPIIxY2k/s400/03.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
The main reasons for this error are:&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&amp;nbsp; &amp;nbsp; 1.Service account of application pool has invalid password or locked&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&amp;nbsp; &amp;nbsp; 2.The user has to added to Log on as a batch job policy&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
So my problem solved by adding the service account to &lt;b&gt;Log on as a batch job&lt;/b&gt; &amp;nbsp;local policy.&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
Steps:&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&amp;nbsp; &amp;nbsp; 1.Control Panel &amp;gt;&amp;gt; Administrative Tools &amp;gt;&amp;gt; Local Security Policy &amp;gt;&amp;gt; Security Settings &amp;gt;&amp;gt; Local Policies &amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; User Rights Assignment &amp;gt;&amp;gt; Log on as a batch job.&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&amp;nbsp; &amp;nbsp; 2.&amp;nbsp;Or ask the Network guy to add it from group policy of Active Directory.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;/div&gt;</description><link>http://sqlgoogler.blogspot.com/2012/04/service-unavailable-http-error-503.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjK7weluNhK9Tz6QsTRW6sm5gCplYl7tylUWwhkPX22l2H2M02BUlzPkll9Cc-bE0DclUg07atw6WPZzoHGS3zaNrg3DkCXcJy5DXHuYGUAkdq-912P1KugAyVSBhvTVVpUgzIPKKFKP1U/s72-c/01.png" width="72"/><thr:total>5</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5523374807549170026.post-3667231408007306043</guid><pubDate>Wed, 29 Feb 2012 08:18:00 +0000</pubDate><atom:updated>2012-02-29T11:18:05.078+03:00</atom:updated><title>Employee number 130 has Left the Building</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;br /&gt;
&lt;div style="line-height: 12.75pt; margin-bottom: .25in; margin-left: 0in; margin-right: 0in; margin-top: 0in;"&gt;
&lt;span style="color: #333333; font-family: Arial, sans-serif; font-size: 10pt;"&gt;This Wednesday,&lt;b&gt; 29-2-2012&lt;/b&gt;, will be my last day at &lt;b&gt;Sure Co&lt;/b&gt;. After
&lt;b&gt;5&lt;/b&gt; years of working for one of the best company in Arab world. I have decided to
accept another challenge in other place. I have so many great memories, experiences,
and friends. Having the opportunity to work with the smartest folks only made
me want to work that much harder and made me a bette&lt;/span&gt;&lt;span style="color: #333333; font-family: Arial, sans-serif; font-size: 10pt; line-height: 12.75pt;"&gt;r person.&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.25in; margin-left: 0in; margin-right: 0in; margin-top: 0in;"&gt;
&lt;span style="color: #333333; font-family: Arial, sans-serif;"&gt;&lt;span style="line-height: 17px;"&gt;I would like to thanks all my &lt;b&gt;managers &lt;/b&gt;and &lt;b&gt;colleagues &lt;/b&gt;and I apologize for all for any things&amp;nbsp;&lt;/span&gt;&lt;span style="line-height: 17px;"&gt;Was a troublesome&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333; font-family: Arial, sans-serif; line-height: 17px;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #333333; font-family: Arial, sans-serif; line-height: 12.75pt;"&gt;&lt;span style="font-size: x-small;"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="line-height: 12.75pt; margin-bottom: .25in; margin-left: 0in; margin-right: 0in; margin-top: 0in;"&gt;
&lt;span style="color: #333333; font-family: Arial, sans-serif; font-size: 10pt;"&gt;My contributions regarding to Microsoft SharePoint [Development | Administration] , .Net and SQL
Server will be continuo and any one have any Questions I’m ready to help him
until the end.&lt;/span&gt;&lt;/div&gt;
&lt;div align="center" style="line-height: 12.75pt; margin-bottom: .25in; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: center;"&gt;
&lt;span dir="RTL" lang="AR-SA" style="color: #333333; font-family: Arial, sans-serif;"&gt;&lt;span style="font-size: large;"&gt;"أستودع
الله دينكم وأماناتكم وخواتيم أعمالكم وأتمنى لكم التوفيق والسداد"&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333; font-family: Arial, sans-serif; font-size: 10pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="line-height: 12.75pt; margin-bottom: .25in; margin-left: 0in; margin-right: 0in; margin-top: 0in;"&gt;
&lt;span style="color: #333333; font-family: Arial, sans-serif; font-size: 10pt;"&gt;&lt;br /&gt;
Warm Regards&lt;span class="apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
Fadi Abdulwahab&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</description><link>http://sqlgoogler.blogspot.com/2012/02/employee-number-130-has-left-building.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>12</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5523374807549170026.post-3193501895663733054</guid><pubDate>Thu, 12 Jan 2012 10:03:00 +0000</pubDate><atom:updated>2012-01-12T13:03:53.555+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">SPS 2010</category><title>Extend Search Core Result Web part with FAST for SharePoint 2010</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;span style="font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;"&gt;&lt;i&gt;I have tried to
extend Search Core Result Web part with simple customization and deployed as
feature to FAST SharePoint 2010 Template as following:&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;pre style="background-color: #eeeeee; border: 1px dashed #999999; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;"&gt;&lt;code&gt;[ToolboxItemAttribute(false)]
    public class AppendCoreResultWebPart : CoreResultsWebPart
    {
protected override void ConfigureDataSourceProperties()
        {
        //Just Append Search Query with My Name
            this.AppendedQuery = "Fadi Abdulwahab";

            base.ConfigureDataSourceProperties();
        }
    }
}

&lt;/code&gt;&lt;/pre&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class="MsoNormal" style="direction: ltr; margin-bottom: 0.0001pt; unicode-bidi: embed;"&gt;
But the problem in this web part that did not
show any result by default but the rest controls like paging or Refinement web
parts returned results as the below image&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgeSi69VDBFz1WzXsUrZQMJu1mZL94DVvVpqGWns4tFg9DaaXSfcT9edgHqtxdWlyGWfpB__Wcj76a507IZw53-qzraEkHlCaX5cGpncAfr_Lrjh2e4WWFQ9uqBvnSBBQePgOdNs6tb1hI/s1600/download.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgeSi69VDBFz1WzXsUrZQMJu1mZL94DVvVpqGWns4tFg9DaaXSfcT9edgHqtxdWlyGWfpB__Wcj76a507IZw53-qzraEkHlCaX5cGpncAfr_Lrjh2e4WWFQ9uqBvnSBBQePgOdNs6tb1hI/s1600/download.png" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="direction: ltr; margin-bottom: 0.0001pt; unicode-bidi: embed;"&gt;
&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;span style="color: #222222; font-family: Arial, sans-serif; font-size: 10pt; line-height: 115%;"&gt;So to fix this problem as Mr. &lt;b&gt;Mikael Svenson&lt;/b&gt; [I asked him
to help me in this issue] said just "&lt;b&gt;Export the settings from the default
core results webpart.. And add those to the .webpart file of your custom webpart&lt;/b&gt;&lt;/span&gt;"&lt;/div&gt;
&lt;div class="MsoNormal" style="direction: ltr; margin-bottom: 0.0001pt; unicode-bidi: embed;"&gt;
&lt;i&gt;Note: I advice you to visit&amp;nbsp;
&lt;span style="color: #222222; font-family: Arial, sans-serif; font-size: 13px; line-height: 14px;"&gt;&lt;b&gt;Mr.&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;b style="color: #222222; font-family: Arial, sans-serif; font-size: 13px; line-height: 14px;"&gt;Mikael Svenson&lt;/b&gt;&amp;nbsp;&amp;nbsp;blog&amp;nbsp;
&lt;a href="http://techmikael.blogspot.com/"&gt;http://techmikael.blogspot.com/&lt;/a&gt;&amp;nbsp;&lt;/i&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="direction: ltr; unicode-bidi: embed;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="direction: ltr; unicode-bidi: embed;"&gt;
&lt;span style="color: #222222; font-family: Arial, sans-serif; font-size: 10pt; line-height: 115%;"&gt;So just go to &lt;b&gt;Web Parts page&lt;/b&gt; under Site Actions &amp;gt;&amp;gt; Site Settings &amp;gt;&amp;gt;
&lt;b&gt;Galleries&lt;/b&gt; and &lt;b&gt;export the .webpart file&lt;/b&gt; of Default Search Core Result web part
and then copy the below properties and then export your custom web part file and
add the below properties and then upload it again to web part galleries&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;pre style="background-color: #eeeeee; border: 1px dashed #999999; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;"&gt;&lt;code&gt;        &amp;lt;property name="ChromeType"&amp;gt;None&amp;lt;/property&amp;gt;
        &amp;lt;property name="AllowMinimize" type="bool"&amp;gt;true&amp;lt;/property&amp;gt;
        &amp;lt;property name="AllowClose" type="bool"&amp;gt;true&amp;lt;/property&amp;gt;
        &amp;lt;property name="Hidden" type="bool"&amp;gt;false&amp;lt;/property&amp;gt;
        &amp;lt;property name="ShowActionLinks" type="bool"&amp;gt;false&amp;lt;/property&amp;gt;
        &amp;lt;property name="ShowMessages" type="bool"&amp;gt;true&amp;lt;/property&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;div class="MsoNormal" style="direction: ltr; unicode-bidi: embed;"&gt;
&lt;span style="font-family: Calibri, sans-serif;"&gt;&lt;span style="font-size: 15px; line-height: 17px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;Finally
Go to SharePoint page and remove the old web part and add the new web part &lt;span style="font-family: Wingdings;"&gt;J&lt;/span&gt;.&lt;/div&gt;
&lt;div class="MsoNormal" style="direction: ltr; unicode-bidi: embed;"&gt;
&lt;/div&gt;
&lt;div class="MsoNormal" style="direction: ltr; unicode-bidi: embed;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class="MsoNormal" style="direction: ltr; unicode-bidi: embed;"&gt;
&lt;span style="color: #222222; font-family: Arial, sans-serif; font-size: 10pt; line-height: 115%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</description><link>http://sqlgoogler.blogspot.com/2012/01/extend-search-core-result-web-part-with.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgeSi69VDBFz1WzXsUrZQMJu1mZL94DVvVpqGWns4tFg9DaaXSfcT9edgHqtxdWlyGWfpB__Wcj76a507IZw53-qzraEkHlCaX5cGpncAfr_Lrjh2e4WWFQ9uqBvnSBBQePgOdNs6tb1hI/s72-c/download.png" width="72"/><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5523374807549170026.post-8831386059798020129</guid><pubDate>Sun, 02 Oct 2011 20:37:00 +0000</pubDate><atom:updated>2012-02-28T15:30:11.208+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">SQL Cluster</category><title>Microsoft® SQL Server® 2008 R2 Service Pack 1 and Cumulative Update package 1 for SQL Server 2008 R2</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;br /&gt;
&lt;div class="MsoNormal" style="direction: ltr; text-align: left; unicode-bidi: embed;"&gt;
&lt;span class="apple-style-span"&gt;&lt;span style="color: black; font-size: 13.5pt; line-height: 115%;"&gt;I will explain the steps how to install SQL Server R2 SP1 &amp;amp; its CU in Cluster environment&lt;/span&gt;&lt;/span&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="direction: ltr; text-align: left; unicode-bidi: embed;"&gt;
[Microsoft® SQL Server® 2008 R2 Service Pack 1]&lt;/div&gt;
&lt;div class="MsoNormal" style="direction: ltr; text-align: left; unicode-bidi: embed;"&gt;
&lt;a href="http://www.microsoft.com/download/en/details.aspx?id=26727"&gt;http://www.microsoft.com/download/en/details.aspx?id=26727&lt;/a&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="direction: ltr; text-align: left; unicode-bidi: embed;"&gt;
[Cumulative Update package 1 for SQL Server 2008 R2]&lt;/div&gt;
&lt;div class="MsoNormal" style="direction: ltr; text-align: left; unicode-bidi: embed;"&gt;
&lt;a href="http://support.microsoft.com/kb/2544793/en-us"&gt;http://support.microsoft.com/kb/2544793/en-us&lt;/a&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="direction: ltr; text-align: left; unicode-bidi: embed;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="direction: ltr; text-align: left; unicode-bidi: embed;"&gt;
&lt;/div&gt;
&lt;ol style="text-align: left;"&gt;
&lt;li&gt;First download the setup files.&lt;/li&gt;
&lt;li&gt;Take backup of your environment.&lt;/li&gt;
&lt;li&gt;Go to Passive Node.&lt;/li&gt;
&lt;li&gt;Install&amp;nbsp;Microsoft® SQL Server® 2008 R2 Service Pack 1 in Passive Node server.&lt;/li&gt;
&lt;li&gt;Install&amp;nbsp;Cumulative Update package 1 for SQL Server 2008 R2 in&amp;nbsp;Node server .&lt;/li&gt;
&lt;li&gt;Restart the server&lt;/li&gt;
&lt;li&gt;Move SQL Service to Upgraded Server and wait for 1 min until SQL Server finish from Upgrade mode&lt;/li&gt;
&lt;li&gt;then go to Second server and do the same steps&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
Note :&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;ol style="text-align: left;"&gt;
&lt;li&gt;before install SP 1 &amp;amp; CU make sure Integration Service is started&lt;/li&gt;
&lt;li&gt;if you get any error just reboot the system and rerun the setup file again&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class="MsoNormal" style="direction: ltr; text-align: left; unicode-bidi: embed;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</description><link>http://sqlgoogler.blogspot.com/2011/10/microsoft-sql-server-2008-r2-service.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5523374807549170026.post-5545946901980948537</guid><pubDate>Tue, 27 Sep 2011 13:57:00 +0000</pubDate><atom:updated>2011-09-27T16:59:34.522+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">SPS 2010</category><title>Exception from HRESULT: 0x80041054</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;The following error "Exception from HRESULT:  &lt;b&gt;0x80041054&lt;/b&gt;" related to ForeFront Protection 2010 for SharePoint and if you check the log [Windows Log] you will find the following error "&lt;b&gt;The SharePoint service is running but the Forefront VSAPI Library is not registered&lt;/b&gt;"&lt;br /&gt;
&lt;br /&gt;
so to fix this error from SharePoint Side just go to Central administration &amp;gt;&amp;gt; Security &amp;gt;&amp;gt; Manage antivirus settings &amp;gt;&amp;gt; then Uncheck all check boxex and then browse the site .&lt;br /&gt;
&lt;br /&gt;
To fix it from Forefront Protection production by follow the steps in this URL&lt;br /&gt;
&lt;a href="http://ikarstein.wordpress.com/2010/12/07/forefront-protection-2010-for-sharepointerror-the-sharepoint-service-is-running-but-the-forefront-vsapi-library-is-not-registered/"&gt;http://ikarstein.wordpress.com/2010/12/07/forefront-protection-2010-for-sharepointerror-the-sharepoint-service-is-running-but-the-forefront-vsapi-library-is-not-registered/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
then Re-Check the Settings in Manage antivirus settings to enable scan documents when upload or download.&lt;/div&gt;</description><link>http://sqlgoogler.blogspot.com/2011/09/exception-from-hresult-0x80041054.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5523374807549170026.post-7562479198536443921</guid><pubDate>Tue, 27 Sep 2011 13:21:00 +0000</pubDate><atom:updated>2011-09-27T16:26:33.993+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">SPS 2010</category><title>The BDC Service application ... is not accessible. The full exception text is: There are no addresses available for this application</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;i&gt;Today i have faced this problem "&lt;b&gt;The BDC Service application ... is not accessible. The full exception text is: There are no addresses available for this application"&lt;/b&gt; in sharePoint 2010&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;so to fix it do the following :&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;1-Delete the created BDC Service App&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;2- Make sure&amp;nbsp;&lt;b&gt;Business Data Connectivity Service started &lt;/b&gt;on the server&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;3- Re-Create BDC Service App.&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;br /&gt;
&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;Done.&lt;/i&gt;&lt;/div&gt;</description><link>http://sqlgoogler.blogspot.com/2011/09/bdc-service-application-is-not.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5523374807549170026.post-4564253950874247875</guid><pubDate>Fri, 05 Aug 2011 22:10:00 +0000</pubDate><atom:updated>2011-08-06T01:12:31.495+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">SPS 2010</category><title>Sandbox Solutions and Load Balancing schemes</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div closure_uid_gyvgdn="177" dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div closure_uid_gyvgdn="133"&gt;&lt;em closure_uid_gyvgdn="138"&gt;Sandbox solution or User Solution as Microsoft Definition "A sandbox is a restricted execution environment that enables programs to access only certain resources and keeps problems that occur in the sandbox from affecting the rest of the server environment".&lt;/em&gt;&lt;/div&gt;&lt;br /&gt;
&lt;em closure_uid_gyvgdn="209"&gt;So Sandbox solution more secure,safer and the user who deploy the solutions&amp;nbsp;has limitation to server resources for example you can't deploy a files to Servers like Visual Web Part, You can't execute SPWebApplication , SPSecurity , Reflection code (Connected Web Parts uses Reflection so you can't Implemented also)… and these solution deployed or stored at Site collection level .&lt;/em&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div closure_uid_gyvgdn="143"&gt;&lt;em&gt;Administrator Can monitors these solutions and gives them specific resources or can block these solutions.&lt;/em&gt;&lt;/div&gt;&lt;em&gt;These solutions run under specific process located under 14\UserCode\ folder not under w3c.exe process.&lt;/em&gt;&lt;br /&gt;
&lt;div closure_uid_gyvgdn="144"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhE8PnwMlpnaa0cyXnZSYJXKY16kEj_Nql-TjbUYScJi_sarYXDDx_Cmi787mCS8scHV84OKdE4ASBLbw5Rw9p-ZZATcs60XfB6rd1abjfIGWCl8SBC5waa-alZwKM_AAnLUmKtQ2_RrFY/s1600/sand_1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="114" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhE8PnwMlpnaa0cyXnZSYJXKY16kEj_Nql-TjbUYScJi_sarYXDDx_Cmi787mCS8scHV84OKdE4ASBLbw5Rw9p-ZZATcs60XfB6rd1abjfIGWCl8SBC5waa-alZwKM_AAnLUmKtQ2_RrFY/s320/sand_1.png" t$="true" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;em closure_uid_gyvgdn="157"&gt;In this article I will explain the Sandbox solution and Load Balancing schemes which affect the execution of code in the servers.&lt;/em&gt; &lt;br /&gt;
&lt;em&gt;&lt;/em&gt;&lt;br /&gt;
&lt;em&gt;If you go to Central Administration &amp;gt;&amp;gt; System Settings &amp;gt;&amp;gt; Manage user solutions&lt;/em&gt;&lt;br /&gt;
&lt;em closure_uid_45jypl="127"&gt;You will find the below options:&lt;/em&gt;&lt;br /&gt;
&lt;div closure_uid_gyvgdn="156"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7jJ_tQS4XSz3dU5yg88rQ2wWucNhralZh6zJ2cgXhKNBGRxjeACyQvcX7f2DRm4YDDzbdL10InuUzqpHT3Lw7dpIT1IlhHZhifxVg10H3mFZudnZwrI89GBag2dKnkFD-Yd5LFUk_ITE/s1600/sand_2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="99" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7jJ_tQS4XSz3dU5yg88rQ2wWucNhralZh6zJ2cgXhKNBGRxjeACyQvcX7f2DRm4YDDzbdL10InuUzqpHT3Lw7dpIT1IlhHZhifxVg10H3mFZudnZwrI89GBag2dKnkFD-Yd5LFUk_ITE/s320/sand_2.png" t$="true" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;em closure_uid_gyvgdn="160"&gt;The first option means:&lt;/em&gt;&lt;br /&gt;
&lt;div closure_uid_gyvgdn="161"&gt;&lt;em&gt;&lt;/em&gt;&lt;/div&gt;&lt;em&gt;If you have two frontend servers with Microsoft Load balance configuration (NLB) and the user request a page which run sandbox solution code; if the NLB routed the request to one these server the code run in the same server&amp;nbsp;which&lt;/em&gt; &lt;em&gt;r&lt;/em&gt;&lt;span closure_uid_gyvgdn="163" style="font-family: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 11pt; line-height: 115%; mso-ansi-language: EN-US; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-language: AR-SA; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin;"&gt;&lt;em closure_uid_gyvgdn="165"&gt;eceived the request&lt;/em&gt;&amp;nbsp;&lt;/span&gt;&lt;em closure_uid_gyvgdn="166"&gt;so in this case all frontend servers must started &lt;strong&gt;Microsoft SharePoint Foundation Sandboxed code Service&lt;/strong&gt; and if in case this service not started on the server which received the request; the code will not run and the user will get an error.&lt;/em&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6V8OEy4wLTjFveuZFcq0PcfJN2pzs1SzxzusTxzooxrv9owbLsKWNVZw_JrbiYeSyJ3qf8Z8il2pXM1bbKyeHfgeMm32KvqtodFcyqPleIyiKLmTiKLeAXnTCejceT2MwuowFDxv5NV4/s1600/sand_3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="10" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6V8OEy4wLTjFveuZFcq0PcfJN2pzs1SzxzusTxzooxrv9owbLsKWNVZw_JrbiYeSyJ3qf8Z8il2pXM1bbKyeHfgeMm32KvqtodFcyqPleIyiKLmTiKLeAXnTCejceT2MwuowFDxv5NV4/s320/sand_3.png" t$="true" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;em closure_uid_45jypl="128"&gt;Second option:&lt;/em&gt; &lt;br /&gt;
&lt;em&gt;&lt;/em&gt;&lt;br /&gt;
&lt;em closure_uid_gyvgdn="208"&gt;If in case the service started in &lt;strong&gt;Frontend 1&lt;/strong&gt; server only and&amp;nbsp;the NLB routed the request to &lt;strong&gt;Frontend 2&lt;/strong&gt;; here the Sandbox process will route this request again to &lt;strong&gt;Frontend 1&lt;/strong&gt; and then run this code and the user will get the&lt;/em&gt; &lt;em closure_uid_gyvgdn="206"&gt;Response (this is known as &lt;strong&gt;solution affinity&lt;/strong&gt;).&lt;/em&gt;&lt;br /&gt;
&lt;em&gt;&lt;br /&gt;
&lt;/em&gt;&lt;br /&gt;
&lt;div closure_uid_gyvgdn="170"&gt;&lt;em&gt;So for example I created a web part (not visual web part) with basic code like below:&lt;/em&gt;&lt;/div&gt;&lt;/div&gt;&lt;pre style="background-color: #eeeeee; border-bottom: #999999 1px dashed; border-left: #999999 1px dashed; border-right: #999999 1px dashed; border-top: #999999 1px dashed; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; width: 100%;"&gt;&lt;code&gt;public override void RenderControl(HtmlTextWriter writer)
        {
            base.RenderControl(writer);

            writer.Write("Hello Fadi From Sandbox Solution");
        }

&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;div closure_uid_gyvgdn="179"&gt;&lt;em closure_uid_gyvgdn="180"&gt;And then I uploaded this solution to Site Settings &amp;gt;&amp;gt; Solutions and then activated and then&amp;nbsp;I&amp;nbsp;add this web part to a&amp;nbsp;test page.&lt;/em&gt;&lt;/div&gt;&lt;em&gt;&lt;/em&gt;&lt;br /&gt;
&lt;em&gt;&lt;br /&gt;
&lt;/em&gt;&lt;br /&gt;
&lt;div closure_uid_gyvgdn="178"&gt;&lt;em closure_uid_gyvgdn="181"&gt;Now I stopped Frontend 1 from the NLB and then I requested the page which has sandbox solution code;&amp;nbsp;sandbox process route the request to Frontend 1 to run the code and get the Response.&lt;/em&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDEDsSsInRABmvy520XU4gCEl7vysl024MErFHOYvjmNt_-5Xnqn4m86b0d53NjvPVFxZS0yxaNc8Wic1KPB4wCZM-9Zd0xa7eygSAlwySncH0FnXE1kwxHh4LDdfgAKoQ86aHG64thVk/s1600/sand_4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDEDsSsInRABmvy520XU4gCEl7vysl024MErFHOYvjmNt_-5Xnqn4m86b0d53NjvPVFxZS0yxaNc8Wic1KPB4wCZM-9Zd0xa7eygSAlwySncH0FnXE1kwxHh4LDdfgAKoQ86aHG64thVk/s1600/sand_4.png" t$="true" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoNormal" closure_uid_gyvgdn="183" style="direction: ltr; margin: 0cm 0cm 10pt; text-align: left; unicode-bidi: embed;"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;em closure_uid_gyvgdn="184"&gt;Note: try the first option with this an example and you will get an error because when the NLB route the request to Frontend 2 which the service in this server not started so the code will not run.&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" closure_uid_gyvgdn="183" style="direction: ltr; margin: 0cm 0cm 10pt; text-align: left; unicode-bidi: embed;"&gt;&lt;em&gt;&lt;span closure_uid_45jypl="114" style="font-family: Calibri;"&gt;so the benifits with second option&amp;nbsp;as microsoft wrote : "&lt;/span&gt;&lt;span closure_uid_gyvgdn="207" style="font-family: Times New Roman;"&gt;The more you isolate sandboxed solutions, the better your ability to protect the main part of your SharePoint Server 2010 site from code that might consume too many resources. You can increase isolation by using remote load balancing and by running the sandboxed solution service only on specific servers."&lt;/span&gt;&lt;/em&gt;&lt;/div&gt;&lt;/div&gt;</description><link>http://sqlgoogler.blogspot.com/2011/08/sandbox-solutions-and-load-balancing.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhE8PnwMlpnaa0cyXnZSYJXKY16kEj_Nql-TjbUYScJi_sarYXDDx_Cmi787mCS8scHV84OKdE4ASBLbw5Rw9p-ZZATcs60XfB6rd1abjfIGWCl8SBC5waa-alZwKM_AAnLUmKtQ2_RrFY/s72-c/sand_1.png" width="72"/><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5523374807549170026.post-4754151915509634349</guid><pubDate>Wed, 27 Jul 2011 09:20:00 +0000</pubDate><atom:updated>2013-03-08T16:02:24.419+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">SPS 2010</category><title>Excel SpeardSheet can't be open in Sharepoint Server 2010 with Office Web Apps</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;i&gt;Today I came across an error with Excel service and Office web apps with that I make sure all features running and application service&amp;nbsp;associated&amp;nbsp;with my web application so I check the log and I found this error:&lt;/i&gt;&lt;br /&gt;
&lt;div class="MsoNormal" style="direction: ltr; text-align: left; unicode-bidi: embed;"&gt;
&lt;i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="direction: ltr; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-align: left; text-autospace: none; unicode-bidi: embed;"&gt;
&lt;span style="font-family: &amp;quot;Segoe UI&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;"&gt;&lt;i&gt;&lt;b&gt;SQL Database 'WSS_Content_SCTAIntranet_80' on SQL Server instance '[Instance Name]' not found. Additional error information from SQL Server is included below&lt;span dir="RTL"&gt;&lt;/span&gt;&lt;span dir="RTL"&gt;&lt;/span&gt;&lt;span dir="RTL" lang="AR-SA"&gt;&lt;span dir="RTL"&gt;&lt;/span&gt;&lt;span dir="RTL"&gt;&lt;/span&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="direction: ltr; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-align: left; text-autospace: none; unicode-bidi: embed;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="direction: ltr; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-align: left; text-autospace: none; unicode-bidi: embed;"&gt;
&lt;span style="font-family: &amp;quot;Segoe UI&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;"&gt;&lt;i&gt;&lt;b&gt;Cannot open database "WSS_Content_SCTAIntranet_80" requested by the login. The login failed&lt;span dir="RTL"&gt;&lt;/span&gt;&lt;span dir="RTL"&gt;&lt;/span&gt;&lt;span dir="RTL" lang="AR-SA"&gt;&lt;span dir="RTL"&gt;&lt;/span&gt;&lt;span dir="RTL"&gt;&lt;/span&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="direction: ltr; text-align: left; unicode-bidi: embed;"&gt;
&lt;i&gt;&lt;span style="font-family: &amp;quot;Segoe UI&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; line-height: 115%;"&gt;&lt;b&gt;Login failed for user '[DomainName]&lt;span dir="RTL"&gt;&lt;/span&gt;&lt;span dir="RTL"&gt;&lt;/span&gt;&lt;span dir="RTL" lang="AR-SA"&gt;&lt;span dir="RTL"&gt;&lt;/span&gt;&lt;span dir="RTL"&gt;&lt;/span&gt;\&lt;/span&gt;EPM_ExcelService&lt;/b&gt;&lt;span dir="RTL"&gt;&lt;/span&gt;&lt;span dir="RTL"&gt;&lt;/span&gt;&lt;span dir="RTL" lang="AR-SA"&gt;&lt;span dir="RTL"&gt;&lt;/span&gt;&lt;span dir="RTL"&gt;&lt;/span&gt;'.&lt;/span&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="direction: ltr; text-align: left; unicode-bidi: embed;"&gt;
&lt;i&gt;&lt;span style="font-family: &amp;quot;Segoe UI&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; line-height: 115%;"&gt;&lt;span dir="RTL" lang="AR-SA"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKAvW9QPFGFQFldm0LOXGLsFhRF6TVwWGT7PCqfIyWBla8xQl4wCiX97lcWuUD4KMmCVah0Wz8nNtjzMrgeijFYJ7GNBR41sKrvCciBQnfm3GKrG0Bzpn4Z1qdGs5hfOn_wNauBtejclE/s1600/01111.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="70" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKAvW9QPFGFQFldm0LOXGLsFhRF6TVwWGT7PCqfIyWBla8xQl4wCiX97lcWuUD4KMmCVah0Wz8nNtjzMrgeijFYJ7GNBR41sKrvCciBQnfm3GKrG0Bzpn4Z1qdGs5hfOn_wNauBtejclE/s320/01111.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="direction: ltr; text-align: left; unicode-bidi: embed;"&gt;
&lt;i&gt;&lt;span style="font-family: &amp;quot;Segoe UI&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; line-height: 115%;"&gt;&lt;span dir="RTL" lang="AR-SA"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="direction: ltr; text-align: left; unicode-bidi: embed;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="direction: ltr; text-align: left; unicode-bidi: embed;"&gt;
&lt;i&gt;So to fix this problem just go to SQL Server Management Studio &amp;gt; Security Folder &amp;gt; Logins &amp;gt;[DomainName]\EPM_ExcelService then Right click and Properties&lt;/i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="direction: ltr; text-align: left; unicode-bidi: embed;"&gt;
&lt;i&gt;&lt;br /&gt;
&lt;/i&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiyLm3sZyal1CxDmZ88SMgiBVWMl2SymTaXSJ_TOWa7JRDkzvEsQua2uGR9Ih_I8XKNesHo8awpJA7YEW9uKtARklMXWG1dO6I7QZW2g-lsVX0bQyXbqsIPLTRb8oIzBQHYhhyphenhyphenwkRCec74/s1600/02.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="269" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiyLm3sZyal1CxDmZ88SMgiBVWMl2SymTaXSJ_TOWa7JRDkzvEsQua2uGR9Ih_I8XKNesHo8awpJA7YEW9uKtARklMXWG1dO6I7QZW2g-lsVX0bQyXbqsIPLTRb8oIzBQHYhhyphenhyphenwkRCec74/s320/02.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="direction: ltr; text-align: left; unicode-bidi: embed;"&gt;
&lt;i&gt;&lt;br /&gt;
&lt;/i&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="direction: ltr; text-align: left; unicode-bidi: embed;"&gt;
&lt;i&gt;Select the database name (&lt;/i&gt;&lt;span class="Apple-style-span" style="font-family: 'Segoe UI', sans-serif; font-size: 12px;"&gt;&lt;i&gt;&lt;b&gt;WSS_Content_SCTAIntranet_80) and then in down part check [db_owner].&lt;/b&gt;&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Segoe UI', sans-serif; font-size: 12px;"&gt;&lt;i&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/i&gt;&lt;/span&gt;
&lt;span class="Apple-style-span" style="font-family: 'Segoe UI', sans-serif; font-size: 12px;"&gt;&lt;i&gt;&lt;b&gt;Note: the above solution apply to this error also [But you need also to run IISReset]&lt;/b&gt;&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Segoe UI', sans-serif; font-size: 12px;"&gt;&lt;i&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/i&gt;&lt;/span&gt;
&lt;span class="Apple-style-span" style="font-family: 'Segoe UI', sans-serif; font-size: 12px;"&gt;&lt;i&gt;&lt;b&gt;"&lt;/b&gt;&lt;/i&gt;&lt;/span&gt;&lt;span style="background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 13px;"&gt;There is a compatibility range mismatch between the Web server and database "WSS_Content_RecordCenter", and connections to the data have been blocked to due to this incompatibility. This can happen when a content database has not been upgraded to be within the compatibility range of the Web server, or if the database has been upgraded to a higher level than the web server.&lt;/span&gt;&lt;span style="background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 13px;"&gt;&amp;nbsp;"&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://sqlgoogler.blogspot.com/2011/07/excel-speardsheet-cant-be-open-in.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKAvW9QPFGFQFldm0LOXGLsFhRF6TVwWGT7PCqfIyWBla8xQl4wCiX97lcWuUD4KMmCVah0Wz8nNtjzMrgeijFYJ7GNBR41sKrvCciBQnfm3GKrG0Bzpn4Z1qdGs5hfOn_wNauBtejclE/s72-c/01111.png" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5523374807549170026.post-293843139580431001</guid><pubDate>Sun, 24 Jul 2011 20:45:00 +0000</pubDate><atom:updated>2011-07-24T23:45:01.804+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Asp.Net</category><category domain="http://www.blogger.com/atom/ns#">SPS 2010</category><title>How to encrypt the connection string in web.config in Asp.net Web Application or Site and SharePoint Web Application</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;i&gt;In order to encrypt sensitive information in the web.config of Asp.net Web application/Site or SharePoint Web application like connection String which include user name and password or any data in appSettings so to secure your data easily you can use .net 2.0 tool called (aspnet_regiis.exe).&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;br /&gt;
&lt;/i&gt;&lt;br /&gt;
&lt;div class="MsoNormal" style="direction: ltr; text-align: left; unicode-bidi: embed;"&gt;&lt;i&gt;In this post I will show you how to encrypt/decrypt appSettings data in Web.config using the aspnet_regiis tool.&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;br /&gt;
&lt;/i&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="direction: ltr; text-align: left; unicode-bidi: embed;"&gt;&lt;i&gt;So first go to command prompt of .net 2.0 which located in this path:&lt;/i&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="direction: ltr; text-align: left; unicode-bidi: embed;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;pre style="background-color: #eeeeee; border: 1px dashed #999999; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;"&gt;&lt;code&gt;C:\Windows\Microsoft.NET\Framework\v2.0.50727&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnDYhWl8WsYdKBcOkaGsWDlQHIsRWot7nVOq2eKaqQBj8I9z5-yO2XPX0TPerqkGfUlnblwlTuJBdIBSKfrlbBy2hKaeHY-HZmm16Fazislhph6zHCIdT7V6fo_FRa7XRH0jw1P_k_ST8/s1600/01.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="49" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnDYhWl8WsYdKBcOkaGsWDlQHIsRWot7nVOq2eKaqQBj8I9z5-yO2XPX0TPerqkGfUlnblwlTuJBdIBSKfrlbBy2hKaeHY-HZmm16Fazislhph6zHCIdT7V6fo_FRa7XRH0jw1P_k_ST8/s320/01.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;span style="font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;"&gt;&lt;i&gt;Then I have a Test Web application with this section in web.config&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;span class="Apple-style-span" style="font-family: Calibri, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 15px; line-height: 17px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;pre style="background-color: #eeeeee; border: 1px dashed #999999; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;"&gt;&lt;code&gt;&amp;lt;appSettings&amp;gt;
    &amp;lt;add key="MyPassword" value="1234"/&amp;gt;
&amp;lt;/appSettings&amp;gt;

&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;span style="font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;"&gt;&lt;i&gt;Now to encrypt this data, just run the following command:&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Calibri, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 15px; line-height: 17px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre style="background-color: #eeeeee; border: 1px dashed #999999; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;"&gt;&lt;code&gt;
aspnet_regiis -pef "appSettings" "D:\CustomFunctoids\TestWeb\TestWeb"&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;div class="MsoNormal" style="direction: ltr; text-align: left; unicode-bidi: embed;"&gt;&lt;i&gt;first parameter : name of section you want to encrypt it&lt;/i&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="direction: ltr; text-align: left; unicode-bidi: embed;"&gt;&lt;i&gt;&lt;span class="Apple-style-span"&gt;second&amp;nbsp;&lt;/span&gt;parameter&amp;nbsp;&lt;span class="Apple-style-span"&gt;: the folder directory of the web application which contains the web.config&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghBEOSErvZKmZQEQYCYfZaiUY8aZPo4sJtm_Awmmb4fPyxmo-gMxFXTV5JVNZ0nMKy1sSiaDfSELgryaakIAY7OHyP8rxQWaCQQLMkVfpRpPC_ZRkt8HfXNw-yCsM8ML-I5D3Zv6KVw60/s1600/02.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="57" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghBEOSErvZKmZQEQYCYfZaiUY8aZPo4sJtm_Awmmb4fPyxmo-gMxFXTV5JVNZ0nMKy1sSiaDfSELgryaakIAY7OHyP8rxQWaCQQLMkVfpRpPC_ZRkt8HfXNw-yCsM8ML-I5D3Zv6KVw60/s320/02.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;i&gt;So you will get a succeeded message tell you that the encryption done.&lt;/i&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="direction: ltr; text-align: left; unicode-bidi: embed;"&gt;&lt;i&gt;Now check your web.config /appSettings section and you will see something like this:&lt;/i&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;
&lt;pre style="background-color: #eeeeee; border: 1px dashed #999999; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;"&gt;&lt;code&gt;&amp;lt;appSettings configProtectionProvider="RsaProtectedConfigurationProvider"&amp;gt;
    &amp;lt;EncryptedData Type="http://www.w3.org/2001/04/xmlenc#Element"
      xmlns="http://www.w3.org/2001/04/xmlenc#"&amp;gt;
      &amp;lt;EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc" /&amp;gt;
      &amp;lt;KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"&amp;gt;
        &amp;lt;EncryptedKey xmlns="http://www.w3.org/2001/04/xmlenc#"&amp;gt;
          &amp;lt;EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5" /&amp;gt;
          &amp;lt;KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"&amp;gt;
            &amp;lt;KeyName&amp;gt;Rsa Key&amp;lt;/KeyName&amp;gt;
          &amp;lt;/KeyInfo&amp;gt;
          &amp;lt;CipherData&amp;gt;
            &amp;lt;CipherValue&amp;gt;BPLmgrIVZKTDerhKlyktxqnn5iybr8aO0IInylE8uT1Pe3zCB5y9DIHqlllH3e0sz6TtJaU/wS0oEiPIWMMO0BL/BPdj9E5Onq4nYiA2r/zBPCR6H0nYhk9/uMjao4YDcg6daask65Y8Mx1RBO/xM/IKzdNGXICpiF09Mrwrv1Q=&amp;lt;/CipherValue&amp;gt;
          &amp;lt;/CipherData&amp;gt;
        &amp;lt;/EncryptedKey&amp;gt;
      &amp;lt;/KeyInfo&amp;gt;
      &amp;lt;CipherData&amp;gt;
        &amp;lt;CipherValue&amp;gt;kziM2nK5Ej6kg7hxnN2shTB8EiMW/I5jrgQRJAIRD5gSV/KG6iYslstFz+r+6Wk9OKXKP2zUhDRl42++HOWbtjqJn5XjmHuzy3tHy+7YMvRL6CNY7lXQTQ==&amp;lt;/CipherValue&amp;gt;
      &amp;lt;/CipherData&amp;gt;
    &amp;lt;/EncryptedData&amp;gt;
  &amp;lt;/appSettings&amp;gt;

&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;i&gt;So it&amp;nbsp;encrypted&amp;nbsp;by using RsaProtectedConfigurationProvider algorithm&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;Now if your browse your site and you get this error :&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;"Failed to decrypt using provider 'RsaProtectedConfigurationProvider'. Error message from the provider: The RSA key container could not be opened"&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;i&gt;this means the user used by the Asp.Net web site does not have access to read this key container so to know what the name of user ?&amp;nbsp;&lt;/i&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;you &lt;i&gt;can create a simple .aspx page and place this code inside it&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;to determine the user account or identity under which ASP.NET runs by retrieving the current WindowsIdentity name.&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;pre style="background-color: #eeeeee; border: 1px dashed #999999; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;"&gt;&lt;code&gt;
&amp;lt;%@ Page Language="C#" %&amp;gt;
&amp;lt;%
Response.Write(System.Security.Principal.WindowsIdentity.GetCurrent().Name);
%&amp;gt;

&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;i&gt;So this page will print the current user used to run the web site so in my PC I got this result "VAIO-PC\VAIO"&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;now to grant this user ability to read this encrypted data run the following command&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;pre style="background-color: #eeeeee; border: 1px dashed #999999; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;"&gt;&lt;code&gt;
aspnet_regiis -pa "NetFrameworkConfigurationKey" "VAIO-PC\VAIO"
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJ1bwj_PGrzbcQpJjUaFYvfx50uNmx8OkGD9XNGGFmJEOfaWywCz4utPlnq6Pq8jmFxJ-hslaOsEZATPdoeuyvvMXsQqw7ocMrp1NsOq6toViKausf0zYz9XSMRnqbqgZffgEunFczKnI/s1600/03.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="41" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJ1bwj_PGrzbcQpJjUaFYvfx50uNmx8OkGD9XNGGFmJEOfaWywCz4utPlnq6Pq8jmFxJ-hslaOsEZATPdoeuyvvMXsQqw7ocMrp1NsOq6toViKausf0zYz9XSMRnqbqgZffgEunFczKnI/s320/03.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;i&gt;&lt;span class="Apple-style-span"&gt;Now what if you want to&amp;nbsp;&lt;/span&gt;decrypt&amp;nbsp;&lt;span class="Apple-style-span"&gt;the data to modify it so how to decrypt the appSettings section ?&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;span class="Apple-style-span"&gt;&lt;i&gt;run the&amp;nbsp;following&amp;nbsp;command to return to the normal status (Plan text)&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;
&lt;pre style="background-color: #eeeeee; border: 1px dashed #999999; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;"&gt;&lt;code&gt;aspnet_regiis -pdf "appSettings" "D:\CustomFunctoids\TestWeb\TestWeb"
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_OgjiiLFABjqT72exHOyrERBe9hyphenhyphenIoKsADuApyqYNmrVJt7xc6Wzs8i63uloRfEA5eoKn3K-4oc6oGqbaGWdq9kPk15rT89DN8n_oI9H80AFh8IBFgUAjnJpk3y1_mPfq_XwRwG3a9Uw/s1600/04.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="64" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_OgjiiLFABjqT72exHOyrERBe9hyphenhyphenIoKsADuApyqYNmrVJt7xc6Wzs8i63uloRfEA5eoKn3K-4oc6oGqbaGWdq9kPk15rT89DN8n_oI9H80AFh8IBFgUAjnJpk3y1_mPfq_XwRwG3a9Uw/s320/04.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="direction: ltr; text-align: left; unicode-bidi: embed;"&gt;Notes:&lt;/div&gt;&lt;div class="MsoListParagraphCxSpFirst" style="direction: ltr; margin-bottom: 10.0pt; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; mso-add-space: auto; mso-list: l0 level1 lfo1; text-align: left; text-indent: -18.0pt; unicode-bidi: embed;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;1.&lt;span style="font: 7.0pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span dir="LTR"&gt;&lt;/span&gt;You need to run this in all front end servers&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="direction: ltr; margin-bottom: 10.0pt; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; mso-add-space: auto; mso-list: l0 level1 lfo1; text-align: left; text-indent: -18.0pt; unicode-bidi: embed;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;2.&lt;span style="font: 7.0pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span dir="LTR"&gt;&lt;/span&gt;No need to any changes in your code because .net code can recognize this changes&lt;/div&gt;&lt;div class="MsoListParagraphCxSpLast" style="direction: ltr; margin-bottom: 10.0pt; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; mso-add-space: auto; mso-list: l0 level1 lfo1; text-align: left; text-indent: -18.0pt; unicode-bidi: embed;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;3.&lt;span style="font: 7.0pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span dir="LTR"&gt;&lt;/span&gt;You can do the above steps by .net code&lt;/div&gt;&lt;/div&gt;</description><link>http://sqlgoogler.blogspot.com/2011/07/how-to-encrypt-connection-string-in.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnDYhWl8WsYdKBcOkaGsWDlQHIsRWot7nVOq2eKaqQBj8I9z5-yO2XPX0TPerqkGfUlnblwlTuJBdIBSKfrlbBy2hKaeHY-HZmm16Fazislhph6zHCIdT7V6fo_FRa7XRH0jw1P_k_ST8/s72-c/01.png" width="72"/><thr:total>2</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5523374807549170026.post-7052082042083498424</guid><pubDate>Fri, 13 May 2011 17:42:00 +0000</pubDate><atom:updated>2013-01-02T16:24:59.742+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">SPS 2010</category><title>Tips for Anonymous site in SharePoint 2010</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;em&gt;These are some tips to publish your site with anonymous access.&lt;/em&gt;&lt;br /&gt;
&lt;ol style="text-align: left;"&gt;
&lt;li&gt;&lt;em&gt;From Central Administration &amp;gt;&amp;gt; Web Applications Management &amp;gt;&amp;gt; then select your web application &amp;gt;&amp;gt; Authentication Providers &amp;gt;&amp;gt; Select the zone which publish it to the&amp;nbsp;internet (In my case is Default Zone) &amp;gt;&amp;gt; Enable anonymous access&lt;/em&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMdxwLg_NFfZGv-pKFigbXDxuT7cNI1ScDjuAzta6JIFYahR0cjvQezhI4BtovV1Pp5oIULYmH5vFAIOEc4NgGaUQuUzUWEY5Jl28ch7jP2T9D2oBLDVUdlc6XQ3k8tuMHpMh9KLqEuDs/s1600/01.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="261" j8="true" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMdxwLg_NFfZGv-pKFigbXDxuT7cNI1ScDjuAzta6JIFYahR0cjvQezhI4BtovV1Pp5oIULYmH5vFAIOEc4NgGaUQuUzUWEY5Jl28ch7jP2T9D2oBLDVUdlc6XQ3k8tuMHpMh9KLqEuDs/s320/01.png" width="320" /&gt;&lt;/a&gt;&lt;span style="font-family: Calibri;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;span style="font-family: Calibri;"&gt;2.&amp;nbsp;&lt;em&gt; Then open your site collection and go to Site Settings &amp;gt;&amp;gt; Site Permissions &amp;gt;&amp;gt; Anonymous Access (top in Ribbon) &amp;gt;&amp;gt; Select Entire Web site&lt;/em&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUohLiQyWDnLGX16zs0IJ4kQS7u-SqCqeHXuZ0J4O9ANY-It64W6cIPpl8IoSIuIQUXl2ZN2F5pYuBZsRi3eesuQd4e6WXPOM8sPrDYflYEUGxlztar4EKefnsYFuPReAehFzWj3SAxFQ/s1600/02.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="268" j8="true" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUohLiQyWDnLGX16zs0IJ4kQS7u-SqCqeHXuZ0J4O9ANY-It64W6cIPpl8IoSIuIQUXl2ZN2F5pYuBZsRi3eesuQd4e6WXPOM8sPrDYflYEUGxlztar4EKefnsYFuPReAehFzWj3SAxFQ/s320/02.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;
&lt;em&gt;3.&amp;nbsp; Make sure all pages, master pages , layouts , images ,item style and css have published (Checked in and Published).&lt;/em&gt;&lt;/div&gt;
&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;
&lt;em&gt;4.&amp;nbsp;If you have a page in layouts folder (14-hive folder) then make sure the page inherence from &lt;strong&gt;System.Web.UI.Page&lt;/strong&gt; not other namespace and class (like LayoutsPageBase).&lt;/em&gt;&lt;/div&gt;
&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;
&lt;em&gt;5. If you have Client Object Model (ECMAScript) in your page make sure to run the following script to remove the striction from SharePoint 2010 with anonymous access (be careful when you are using Client Object with anonymous access to access any sensitive information )&lt;/em&gt;&lt;/div&gt;
&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;
&lt;pre style="background-color: #eeeeee; border-bottom: #999999 1px dashed; border-left: #999999 1px dashed; border-right: #999999 1px dashed; border-top: #999999 1px dashed; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; width: 100%;"&gt;&lt;code&gt;$wa = Get-SPWebApplication -Identity "http://SiteCollectionUrl"
$wa.ClientCallableSettings.AnonymousRestrictedTypes.Remove([Microsoft.SharePoint.SPList], "GetItems")
$wa.Update()

&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;
&lt;span style="font-family: Calibri;"&gt;&lt;em&gt;6. If you have for example a page which insert an item to custom list and you need to enable the user insert the item anonymously you have to break the permission of this list from list Settings &amp;gt;&amp;gt; &lt;/em&gt;&lt;/span&gt;&lt;a href="http://vaio-pc:25219/_layouts/user.aspx?obj=%7B57740440%2D266F%2D45D2%2D9798%2D75156F8D1AAF%7D,list&amp;amp;List=%7B57740440%2D266F%2D45D2%2D9798%2D75156F8D1AAF%7D"&gt;&lt;span style="color: windowtext; text-decoration: none;"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;em&gt;then Select Permissions for this list&lt;/em&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;em&gt;&lt;span style="color: #333333; font-family: Tahoma, sans-serif; font-size: 10pt; line-height: 115%;"&gt; and &lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;then Click on Anonymous Access and Select Add Items permission.&lt;/span&gt;&lt;/em&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpqQLrKOdSrf4az7mkggv4irx3oj0H_ws8MUGiFtR9jLsS1WArEFbRwY88qQF_rb2SvHvZLZSf-5zjRLJmPArYfOg1SehvA7cq8LT6pHge_c2F-OalksZDocDqFZ-tZpGWkSGYzegCFsY/s1600/03.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="167" j8="true" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpqQLrKOdSrf4az7mkggv4irx3oj0H_ws8MUGiFtR9jLsS1WArEFbRwY88qQF_rb2SvHvZLZSf-5zjRLJmPArYfOg1SehvA7cq8LT6pHge_c2F-OalksZDocDqFZ-tZpGWkSGYzegCFsY/s320/03.png" width="320" /&gt;&lt;/a&gt;&lt;span style="font-family: Calibri;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;span style="font-family: Calibri;"&gt;&lt;em&gt;7. Avoid Operation of attaching a workflow (ex. SharePoint Designer workflow) with the item insertion or uploading file because these functions not work properly in anonymous access.&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;span style="font-family: Calibri;"&gt;&lt;em&gt;&lt;br /&gt;
&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&lt;span class="Apple-style-span" style="font-family: Calibri;"&gt;&lt;i&gt;8.Finally to access the site via mobile device and avoid the unauthorized page error or to browse the site same as normal browser so just past this configuration in web.config of Web application under system.web section&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&lt;span class="Apple-style-span" style="font-family: Calibri;"&gt;&lt;i&gt;&lt;br /&gt;
&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;pre style="background-color: #eeeeee; border: 1px dashed #999999; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;"&gt;&lt;code&gt;&amp;lt;browserCaps&amp;gt;
  &amp;lt;result type="System.Web.Mobile.MobileCapabilities, System.Web.Mobile, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/&amp;gt;
  &amp;lt;filter&amp;gt;isMobileDevice=false&amp;lt;/filter&amp;gt;
&amp;lt;/browserCaps&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
</description><link>http://sqlgoogler.blogspot.com/2011/05/tips-for-anonymous-site-in-sharepoint.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMdxwLg_NFfZGv-pKFigbXDxuT7cNI1ScDjuAzta6JIFYahR0cjvQezhI4BtovV1Pp5oIULYmH5vFAIOEc4NgGaUQuUzUWEY5Jl28ch7jP2T9D2oBLDVUdlc6XQ3k8tuMHpMh9KLqEuDs/s72-c/01.png" width="72"/><thr:total>2</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5523374807549170026.post-5875426541515881131</guid><pubDate>Fri, 06 May 2011 20:59:00 +0000</pubDate><atom:updated>2011-05-07T01:21:53.850+03:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">DBA</category><category domain="http://www.blogger.com/atom/ns#">sql server</category><title>Some techniques Help you to test the connection of SQL Server between the Servers</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;em&gt;Sometimes I faced problems while installing SQL Server and Configuration the Farm and these problems happened between the connection of SQL Server and frontend servers. These problems sometimes related to ports , firewall or these server internally and the others in DMZ etc… so these are some techniques will help you to test the connection and find out which port is used by SQL server. &lt;/em&gt;&lt;br /&gt;
&lt;em&gt;&lt;/em&gt;&lt;br /&gt;
&lt;em&gt;&lt;br /&gt;
&lt;/em&gt;&lt;br /&gt;
&lt;em&gt;For example to check which port currently used by SQL Server you have many options:&lt;/em&gt;&lt;br /&gt;
&lt;ol style="text-align: left;"&gt;&lt;li&gt;&lt;strong&gt;&amp;nbsp;&lt;em&gt;Go to regedit and the registry key for SQL Server instance name&lt;/em&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL10_50.SQL2008R2\MSSQLServer\SuperSocketNetLib\Tcp\IPAll&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAZXhYE6HnfGBPZOG9N4AwBp7yDGEBjCbYhornOHKXyc8PPJ4ngNWJjyNxmwni5sKviSCKS3VrLhOKk5ayjO4LEgFbzhOGnX2mrFAIvkhl7QjpagTGKqO6hq4-zOuje9uLnvd4LIjeaIo/s1600/01.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="86" j8="true" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAZXhYE6HnfGBPZOG9N4AwBp7yDGEBjCbYhornOHKXyc8PPJ4ngNWJjyNxmwni5sKviSCKS3VrLhOKk5ayjO4LEgFbzhOGnX2mrFAIvkhl7QjpagTGKqO6hq4-zOuje9uLnvd4LIjeaIo/s320/01.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Note&lt;/strong&gt;: &lt;em&gt;there are two different type of ports in SQL server:&lt;/em&gt; &lt;br /&gt;
&lt;em&gt;&lt;/em&gt;&lt;br /&gt;
&lt;em&gt;a. Static port: by this option you select specific port and always SQL Server uses this port to listen to the connection.&lt;/em&gt;&lt;br /&gt;
&lt;em&gt;b. Dynamic port: by this option each time SQL Server restarted it will assign a new port if the last used port closed or not available.&lt;/em&gt;&lt;br /&gt;
&lt;br /&gt;
2.&lt;span style="font-family: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 11pt; line-height: 115%; mso-ansi-language: EN-US; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-language: AR-SA; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin;"&gt;&lt;strong&gt;&lt;em&gt;Go to SQL Server Configuration Manager &amp;gt;&amp;gt; SQL Server Network Configuration &amp;gt;&amp;gt; Protocols for [Instance Name] &amp;gt;&amp;gt; TCP/IP then right click and select properties&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiubPsb8JwP_JKs1gVgUM9aQ-y6aZEj7HibpSR_lfuARp4NAewrCyEUh68Ld_BYTcXyFZDi11h85Q7qKfe2w_skmRR_cQRbP5nhTAb_8J1O9JLjaRx2xm3030CBi6TvrnAnvMJo14PE1T8/s1600/02.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="138" j8="true" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiubPsb8JwP_JKs1gVgUM9aQ-y6aZEj7HibpSR_lfuARp4NAewrCyEUh68Ld_BYTcXyFZDi11h85Q7qKfe2w_skmRR_cQRbP5nhTAb_8J1O9JLjaRx2xm3030CBi6TvrnAnvMJo14PE1T8/s320/02.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 11pt; line-height: 115%; mso-ansi-language: EN-US; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-language: AR-SA; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin;"&gt;3.&lt;strong&gt;&lt;em&gt;Use this Query&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;em&gt;&lt;/em&gt;&lt;/div&gt;&lt;em&gt;&lt;br /&gt;
&lt;/em&gt;&lt;br /&gt;
&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;em&gt;use master&lt;/em&gt;&lt;/div&gt;&lt;em&gt;go&lt;/em&gt;&lt;br /&gt;
&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;em&gt;Xp_readerrorlog&lt;/em&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPTJ-BYdFBvroQ0nzPoO1kKq_OoL5BsdejmTCISg_1UUMVMPK0r7pmwia-ATDCJcrLKR42c9AnyLihQLKK-_dRhR1YPxiDje7r7lo3Uh08fqys4TV47l9U0b4IrOwiKtKFM0qTrYuMy1s/s1600/03.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="165" j8="true" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPTJ-BYdFBvroQ0nzPoO1kKq_OoL5BsdejmTCISg_1UUMVMPK0r7pmwia-ATDCJcrLKR42c9AnyLihQLKK-_dRhR1YPxiDje7r7lo3Uh08fqys4TV47l9U0b4IrOwiKtKFM0qTrYuMy1s/s320/03.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: left;"&gt;﻿4.&lt;strong&gt;&lt;em&gt;Use this Query (this query return information about the connection established to this instance of SQL Server)&lt;/em&gt;&lt;/strong&gt;&lt;/div&gt;&lt;em&gt;&lt;/em&gt;&lt;br /&gt;
&lt;em&gt;&lt;br /&gt;
&lt;/em&gt;&lt;br /&gt;
&lt;em&gt;select net_transport,local_tcp_port from sys.dm_exec_connections&lt;/em&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQiY9um__3uCyzLuBoLOGHeSJ_5j26oWNx3vowu5EQ3nZG97oKbY-EcGvRl27u4z8iM67HhmLumUrKttr_B19vMh7LAekz3t9wp46T5dRlCm3jsEuv3h0BAcUFtSK6okWi414Md8kmL30/s1600/04.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="134" j8="true" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQiY9um__3uCyzLuBoLOGHeSJ_5j26oWNx3vowu5EQ3nZG97oKbY-EcGvRl27u4z8iM67HhmLumUrKttr_B19vMh7LAekz3t9wp46T5dRlCm3jsEuv3h0BAcUFtSK6okWi414Md8kmL30/s320/04.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;em&gt;5.&lt;strong&gt;Go to command prompt and run this command which return the list of listened and established prots &lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;
&lt;strong&gt;&lt;br /&gt;
&lt;em&gt;&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;em&gt;netstat –a&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJX8eXKDGKETDqAXjI_qg0GxGQfGt8Kh7gWG5i2OafsshZ4nU11kUPg_b2uc_MOXR0NYfeMS3VDtXOU3uRDj33Cn7dWRwtDs_jtO1o3sy7tIMYZCayIjpnMXNXm9j0ocxahTKiviKzXZ4/s1600/05.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="150" j8="true" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJX8eXKDGKETDqAXjI_qg0GxGQfGt8Kh7gWG5i2OafsshZ4nU11kUPg_b2uc_MOXR0NYfeMS3VDtXOU3uRDj33Cn7dWRwtDs_jtO1o3sy7tIMYZCayIjpnMXNXm9j0ocxahTKiviKzXZ4/s320/05.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;6.&lt;span style="font-family: Calibri;"&gt;&lt;em&gt;To test the connection between the servers for example login to frontend server to see this server can connect to SQL server .Go to Control Panel\All Control Panel Items\&lt;strong&gt;Administrative Tools and click on Data Sources (ODBC)&lt;/strong&gt; and try to connect to the instance name.&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVjXEXePZ18BmjUMCRyXiXzeFWrOIyGyBxJYbpVCmlEZfI4hq4wgYNsePS86Lb3nbChzug8Hctnump0s_iYDE4PsFnmtVzMmvoTc7JkgEgsqVn3ywKgsZViB8Vtl4FE2rUwYIbx5ErzeQ/s1600/06.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="256" j8="true" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVjXEXePZ18BmjUMCRyXiXzeFWrOIyGyBxJYbpVCmlEZfI4hq4wgYNsePS86Lb3nbChzug8Hctnump0s_iYDE4PsFnmtVzMmvoTc7JkgEgsqVn3ywKgsZViB8Vtl4FE2rUwYIbx5ErzeQ/s320/06.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;7.&lt;em&gt;To test the connection also you can use the following steps:&lt;/em&gt; &lt;br /&gt;
&lt;em&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; a. Create abc.udl text file &lt;strong&gt;(extension .udl)&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;
&lt;em&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; b.&lt;/strong&gt;&lt;span style="font-family: Calibri;"&gt;Double click to this file and then select the provider and enter the connection information&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh39mi8tmnKO9-HIaEdn01A1sLE9N2YYYVochdMApKO48RAk73GGOBV5R9rA2rygBgRkkxOXqle4lMmEif08TP4Wwnru3x15mwYW8xZzgfwV268IQWey72UdmZ0NTXyK8YDHcQNKeJn3xc/s1600/07.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" j8="true" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh39mi8tmnKO9-HIaEdn01A1sLE9N2YYYVochdMApKO48RAk73GGOBV5R9rA2rygBgRkkxOXqle4lMmEif08TP4Wwnru3x15mwYW8xZzgfwV268IQWey72UdmZ0NTXyK8YDHcQNKeJn3xc/s1600/07.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUPt5DN2MNHd56cCO3pJcSwEABorZW0GHgLNr1lJ6pdk-aJaNdqiZ1bNh4h6Vmb_7Tr6mP_y9wzxLuSwJfa5-6POte5TBD4gxMHlKX0YWCN7bk76rJ1mmo3o7PX3RYRrzul5K3mOddg9Q/s1600/08.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" j8="true" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUPt5DN2MNHd56cCO3pJcSwEABorZW0GHgLNr1lJ6pdk-aJaNdqiZ1bNh4h6Vmb_7Tr6mP_y9wzxLuSwJfa5-6POte5TBD4gxMHlKX0YWCN7bk76rJ1mmo3o7PX3RYRrzul5K3mOddg9Q/s320/08.png" width="253" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: Calibri;"&gt;Last notes: &lt;/span&gt;&lt;br /&gt;
&lt;ol style="text-align: left;"&gt;&lt;li&gt;&lt;span style="font-family: Calibri;"&gt;when you test the connection, port... first check it locally in SQL Server server and make sure you can connect to SQL Server &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: Calibri;"&gt;when you install SQL Server the default port used is 1433.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: Calibri;"&gt;try to check if you can connect to SQL Server from other server internally or externally and if you face any problems always check the connectivity between the servers and the firewall.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: Calibri;"&gt;there are also other options to check the ports and the connection between the server like telnet ,look@me and other&amp;nbsp;third party tools.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;</description><link>http://sqlgoogler.blogspot.com/2011/05/some-techniques-help-you-to-test.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAZXhYE6HnfGBPZOG9N4AwBp7yDGEBjCbYhornOHKXyc8PPJ4ngNWJjyNxmwni5sKviSCKS3VrLhOKk5ayjO4LEgFbzhOGnX2mrFAIvkhl7QjpagTGKqO6hq4-zOuje9uLnvd4LIjeaIo/s72-c/01.png" width="72"/><thr:total>1</thr:total></item></channel></rss>