<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-25545748</atom:id><lastBuildDate>Fri, 27 Jan 2012 19:10:29 +0000</lastBuildDate><category>Vista</category><category>IIS 7.0</category><category>MVC</category><category>MOSS 2007</category><category>DotNet Nuke</category><category>SQL 2008</category><category>BCS</category><category>ASP.Net 2.0</category><category>Arabic</category><category>MS SQL 2000</category><category>SilverLight</category><category>Outlook</category><category>Secure Store Service</category><category>SQL 2005</category><category>Integration</category><category>Azure</category><category>Business Intelligence</category><category>Ajax</category><category>Administration</category><category>Performance Point Server</category><category>CRM 4.0</category><category>SaaS</category><category>Groove</category><category>PPS</category><category>SQL Azure</category><category>surface</category><category>Events</category><category>Facebook</category><category>LINQ</category><category>Developer Tools</category><category>Architecture Design</category><category>jQuery</category><category>SFM</category><category>Office</category><category>TFS</category><category>SharePoint</category><category>Jobs</category><category>Project Server</category><category>Java</category><category>Web 2.0</category><category>WSS 3.0</category><category>SDK</category><category>LDAP</category><category>C#</category><category>Team System</category><category>DNN Migration 4.x</category><category>Bing</category><category>Telerik</category><category>WCF</category><category>Biztalk</category><category>events interview</category><category>SSRS</category><category>Tools</category><category>asp.net</category><category>Migrate to DNN</category><category>VS</category><category>JavaScript</category><category>WPF</category><title>Mostafa Elzoghbi - C# MVP</title><description>M.Sc. of Computer Science.
I'm INETA User group lead, Speaker, DotNet Boom community Co-Founder www.dotnetboom.net.
I'm a Software Engineer with passion to share my expertise to the community. Follow me on twitter for quick updates: @mostafaelzoghbi</description><link>http://moustafa-arafa.blogspot.com/</link><managingEditor>noreply@blogger.com (Mostafa Elzoghbi)</managingEditor><generator>Blogger</generator><openSearch:totalResults>435</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/MoustafaArafa" /><feedburner:info uri="moustafaarafa" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:browserFriendly></feedburner:browserFriendly><item><guid isPermaLink="false">tag:blogger.com,1999:blog-25545748.post-2925163450655004168</guid><pubDate>Thu, 01 Dec 2011 19:05:00 +0000</pubDate><atom:updated>2011-12-01T14:26:16.148-05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Facebook</category><category domain="http://www.blogger.com/atom/ns#">C#</category><category domain="http://www.blogger.com/atom/ns#">SDK</category><title>How to create test accounts in Facebook</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
Hi All,&lt;br /&gt;
&lt;br /&gt;
Facebook now doesn't allow you to test your facebook application without creating test accounts. When you try to test your non published Facebook application and try to post any update you will get this error message:&lt;br /&gt;
&lt;br /&gt;
oAuthException #100 can only call this method on valid test users for your app&lt;br /&gt;
&lt;br /&gt;
To create a test account in Facebook, here is the steps:&lt;br /&gt;
1) Copy and paste the following url in your browser:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
https://graph.facebook.com/151284171604933/accounts/test-users?&lt;br /&gt;
&amp;nbsp; installed=true&lt;br /&gt;
&amp;nbsp; &amp;amp;name=&lt;span class="Apple-style-span" style="background-color: yellow;"&gt;MYNAME&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;amp;permissions=read_stream&lt;br /&gt;
&amp;nbsp; &amp;amp;method=post&lt;br /&gt;
&amp;nbsp; &amp;amp;access_token=&lt;span class="Apple-style-span" style="background-color: yellow;"&gt;YOUR_FB_APP_ACCESS_TOKEN&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Before hit enter, do the following:&lt;br /&gt;
a) Get the access token for your facebook application, to get it paste the following url in the browser:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style="font-family: Calibri; font-size: 11.0pt; margin: 0in;"&gt;
&lt;a href="https://graph.facebook.com/oauth/access_token?client_id=151284171604933&amp;amp;client_secret=5d794b180695b93fec4b63f529df776c&amp;amp;grant_type=client_credentials"&gt;https://graph.facebook.com/oauth/access_token?client_id=&lt;span class="Apple-style-span" style="background-color: yellow;"&gt;APPID&lt;/span&gt;&amp;amp;client_secret=&lt;span class="Apple-style-span" style="background-color: yellow;"&gt;APPSECRET&lt;/span&gt;&amp;amp;grant_type=client_credentials&lt;/a&gt;&lt;/div&gt;
&lt;div style="font-family: Calibri; font-size: 11.0pt; margin: 0in;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="font-family: Calibri; font-size: 11.0pt; margin: 0in;"&gt;
b) Permissions: To grant certain permissions to the test account, read the full extended permissions from below link:&lt;/div&gt;
&lt;div style="margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;"&gt;
&lt;span class="Apple-style-span" style="font-family: Calibri;"&gt;&lt;span class="Apple-style-span" style="font-size: 15px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;"&gt;
&lt;span class="Apple-style-span" style="font-family: Calibri;"&gt;&lt;span class="Apple-style-span" style="font-size: 15px;"&gt;https://developers.facebook.com/docs/reference/api/permissions/&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;"&gt;
&lt;span class="Apple-style-span" style="font-family: Calibri;"&gt;&lt;span class="Apple-style-span" style="font-size: 15px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;"&gt;
&lt;span class="Apple-style-span" style="font-family: Calibri;"&gt;&lt;span class="Apple-style-span" style="font-size: 15px;"&gt;If you get an error when you specify a name, you can omit the name parameters and in this case FB will create a name for your test account.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;"&gt;
&lt;span class="Apple-style-span" style="font-family: Calibri;"&gt;&lt;span class="Apple-style-span" style="font-size: 15px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;"&gt;
&lt;span class="Apple-style-span" style="font-family: Calibri;"&gt;&lt;span class="Apple-style-span" style="font-size: 15px;"&gt;Once you edit above parameters and hit enter in the browser, you will get a message like this showing that your test account has been created successfully.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;"&gt;
&lt;span class="Apple-style-span" style="font-family: Calibri;"&gt;&lt;span class="Apple-style-span" style="font-size: 15px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;"&gt;
&lt;span class="Apple-style-span" style="font-family: Calibri;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;"&gt;
&lt;span class="Apple-style-span" style="font-family: Calibri;"&gt;&lt;span class="Apple-style-span" style="font-size: 15px;"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;"&gt;
&lt;span class="Apple-style-span" style="font-family: Calibri;"&gt;&lt;span class="Apple-style-span" style="font-size: 15px;"&gt;&amp;nbsp; &amp;nbsp;"id": "XXXXXXXXXXX",&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;"&gt;
&lt;span class="Apple-style-span" style="font-family: Calibri;"&gt;&lt;span class="Apple-style-span" style="font-size: 15px;"&gt;&amp;nbsp; &amp;nbsp;"access_token": "XCEWWEE#######EEEEEU8ffOT3VYD70ld0nYCiNlZB5Flmh59yfPksO5XfUdVxnZAhi0oEKvpJxACywhxsNgwGWfe6gH2B1DaxVUSXy2mCfo1jzf3TUk7",&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;"&gt;
&lt;span class="Apple-style-span" style="font-family: Calibri;"&gt;&lt;span class="Apple-style-span" style="font-size: 15px;"&gt;&amp;nbsp; &amp;nbsp;"login_url": "https://www.facebook.com/platform/test_account_login.php?user_id=3232334444444449&amp;amp;n=oWKUdwdw5xdLx0a2CBW",&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;"&gt;
&lt;span class="Apple-style-span" style="font-family: Calibri;"&gt;&lt;span class="Apple-style-span" style="font-size: 15px;"&gt;&amp;nbsp; &amp;nbsp;"email": "cqszpqv_smithwwwqitz_133222765997\u0040tfbnw.net",&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;"&gt;
&lt;span class="Apple-style-span" style="font-family: Calibri;"&gt;&lt;span class="Apple-style-span" style="font-size: 15px;"&gt;&amp;nbsp; &amp;nbsp;"password": "211212121233"&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;"&gt;
&lt;span class="Apple-style-span" style="font-family: Calibri;"&gt;&lt;span class="Apple-style-span" style="font-size: 15px;"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-size: 15px;"&gt;
&lt;span class="Apple-style-span" style="font-family: Calibri;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-size: 15px;"&gt;
&lt;span class="Apple-style-span" style="font-family: Calibri;"&gt;Try to log in with the username and password before run your application.&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-size: 15px;"&gt;
&lt;span class="Apple-style-span" style="font-family: Calibri;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;span class="Apple-style-span" style="font-family: Calibri;"&gt;&lt;a href="http://1.bp.blogspot.com/-FrhW-81NxNE/TtfSGQXgbGI/AAAAAAAAA7Y/ZyCIxUXJmvE/s1600/FBTestUser.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="203" src="http://1.bp.blogspot.com/-FrhW-81NxNE/TtfSGQXgbGI/AAAAAAAAA7Y/ZyCIxUXJmvE/s320/FBTestUser.PNG" width="320" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-size: 15px;"&gt;
&lt;span class="Apple-style-span" style="font-family: Calibri;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style="font-family: Calibri; font-size: 11.0pt; margin: 0in;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="font-family: Calibri; font-size: 11.0pt; margin: 0in;"&gt;
Hope this helps.&lt;/div&gt;
&lt;div style="font-family: Calibri; font-size: 11.0pt; margin: 0in;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="font-family: Calibri; font-size: 11.0pt; margin: 0in;"&gt;
* References:&lt;/div&gt;
&lt;div style="font-family: Calibri; font-size: 11.0pt; margin: 0in;"&gt;
- How to create test users in Facebook:&lt;/div&gt;
&lt;div style="margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;"&gt;
&lt;span class="Apple-style-span" style="font-family: Calibri;"&gt;&lt;span class="Apple-style-span" style="font-size: 15px;"&gt;https://developers.facebook.com/docs/test_users/&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 0in;"&gt;
&lt;span class="Apple-style-span" style="font-family: Calibri;"&gt;&lt;span class="Apple-style-span" style="font-size: 15px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: Calibri; font-size: 11.0pt; margin: 0in;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25545748-2925163450655004168?l=moustafa-arafa.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://moustafa-arafa.blogspot.com/2011/12/how-to-create-test-accounts-in-facebook.html</link><author>noreply@blogger.com (Mostafa Elzoghbi)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-FrhW-81NxNE/TtfSGQXgbGI/AAAAAAAAA7Y/ZyCIxUXJmvE/s72-c/FBTestUser.PNG" height="72" width="72" /><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-25545748.post-8640031164085488706</guid><pubDate>Wed, 30 Nov 2011 15:53:00 +0000</pubDate><atom:updated>2011-11-30T10:55:37.110-05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">SQL Azure</category><category domain="http://www.blogger.com/atom/ns#">Azure</category><title>Change Sql Azure DB Size</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
Hi All,&lt;br /&gt;
&lt;br /&gt;
I was trying to change my business edition DB to web edition in SQL Azure and i didn't find a sample TSQL to run to shrink the DB file size from 20 GB (Business) to 1 GB (Web) Edition.&lt;br /&gt;
&lt;br /&gt;
Here is the TSQL you want to run after deleting the unnecessary data in your DB and make sure its size under the required new DB size.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Alter database YOURDBNAME&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;modify ( &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;maxsize=1 GB,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Edition='Web'&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; )&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Hope this helps.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25545748-8640031164085488706?l=moustafa-arafa.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://moustafa-arafa.blogspot.com/2011/11/change-sql-azure-db-size.html</link><author>noreply@blogger.com (Mostafa Elzoghbi)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-25545748.post-6710745807985719417</guid><pubDate>Fri, 11 Nov 2011 00:59:00 +0000</pubDate><atom:updated>2011-11-10T20:16:57.857-05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Administration</category><category domain="http://www.blogger.com/atom/ns#">SharePoint</category><title>SharePoint Restore Error: Your backup is from a different version of Microsoft SharePoint Foundation and cannot be restored to a server running the current version. The backup file should be restored to a server with version '14.0.0.5050' or later</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
Hi Folks,&lt;br /&gt;
&lt;br /&gt;
I was deploying a new release for a SharePoint project that i'm working on with my team, when i was try to backup and restore a site collection from my development to staging environment, I got this error:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h3 class="post-title entry-title" style="background-color: #f6f6f6; font: normal normal bold 160%/normal Verdana, sans-serif; letter-spacing: -1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: -webkit-auto;"&gt;


SharePoint Restore Error: Your backup is from a different version of Microsoft SharePoint Foundation and cannot be restored to a server running the current version. The backup file should be restored to a server with version '14.0.0.5050' or later.&lt;/h3&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;u&gt;&lt;b&gt;To fix this problem, follow these steps:&lt;/b&gt;&lt;/u&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
1) Make sure that both environments have the same updates and CUs. To do so, Open Central Administration and click on Upgrade and Migration link and click on "Check product and patch installation &amp;nbsp;status".&lt;/div&gt;
&lt;div&gt;
You will have list of updates and CUs that have been installed on your environment, make sure those updates are identical. Any missing updates, download and install it on the new&amp;nbsp;environment&amp;nbsp;if you haven't document this as a part of your release process that you have in place.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
2) Then click on "Review database status" under upgrade and migration section and make sure you don't have "need upgrade" to any of your content databases.The status should be "&lt;span class="Apple-style-span" style="color: red;"&gt;No action required&lt;/span&gt;". If you have any upgrade required and specially if you have SP1 installed, this means you didn't run the SPConfig command post to your SP1 installation. To do so, follow these steps:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
a) Launch an elevated (Run as Administrator) SharePoint 2010 Management shell :&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;(get-spserver $env:computername).NeedsUpgrade&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
If the result of this command is True, then you need to complete step (b) below. If the result is False then no further action (b) is needed.&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
b) In order to update the SharePoint databases, you must manually run the PSconfig utility. To run the utility:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; - Open an Administrative command prompt.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; - Change directory to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; - Run:&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &lt;b&gt;PSConfig.exe -cmd upgrade -inplace b2b -force -cmd applicationcontent -install -cmd installfeatures&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Wait till the configuration wizard finishes all updates and then you will be able to backup and restore your site collection with no issues...&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Hope this helps.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25545748-6710745807985719417?l=moustafa-arafa.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://moustafa-arafa.blogspot.com/2011/11/sharepoint-restore-error-your-backup-is.html</link><author>noreply@blogger.com (Mostafa Elzoghbi)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-25545748.post-2007134657911330501</guid><pubDate>Wed, 02 Nov 2011 17:35:00 +0000</pubDate><atom:updated>2011-11-02T13:35:16.505-04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Secure Store Service</category><category domain="http://www.blogger.com/atom/ns#">SharePoint</category><category domain="http://www.blogger.com/atom/ns#">BCS</category><title>Secure Store Service Error in SharePoint 2010 : Secure Store Service is not accessible</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
Hi All,&lt;br /&gt;
&lt;br /&gt;
I have been noticed that one of our SharePoint 2010 installation has a problem when trying to click on Secure Store Service in central administration.&lt;br /&gt;
&lt;br /&gt;
The problem is : Try to click on SSS service in Central Administration and you will get an error page.&lt;br /&gt;
&lt;br /&gt;
How to check the exact problem: I checked the event log in my server and i found the following error:&lt;br /&gt;
&lt;br /&gt;
The Secure Store Service application Secure Store Service is not accessible. The full exception text is: The HTTP service located at https://PORTALURL/b04c52908ae5479596745e86b13875d4/SecureStoreService.svc/https &lt;span style="font-weight: bold;"&gt;is too busy. &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
To cause of the problem: the SSS service is not provisioned correctly, and to fix it:&lt;br /&gt;
Select the secure store service  and from the ribbon click on properties. Verify the information that you have and click on OK. this action will provision the required DB and other service application configuration for this service.&lt;br /&gt;
&lt;br /&gt;
This action will take around 5 minutes or depends on the performance of your server.&lt;br /&gt;
&lt;br /&gt;
You don't need to re-install or run the configuration wizard for this fix.&lt;br /&gt;
&lt;br /&gt;
Hope this helps :) Happy SharePointing...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25545748-2007134657911330501?l=moustafa-arafa.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://moustafa-arafa.blogspot.com/2011/11/secure-store-service-error-in.html</link><author>noreply@blogger.com (Mostafa Elzoghbi)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-25545748.post-7575311154417005684</guid><pubDate>Wed, 02 Nov 2011 17:32:00 +0000</pubDate><atom:updated>2011-11-02T13:32:33.266-04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Administration</category><category domain="http://www.blogger.com/atom/ns#">Architecture Design</category><category domain="http://www.blogger.com/atom/ns#">SharePoint</category><category domain="http://www.blogger.com/atom/ns#">BCS</category><title>User Profile Synchronization in SharePoint 2010 Facts</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
Hi Folks,&lt;br /&gt;
&lt;br /&gt;
I'd like to share with you some important facts about User Profile synchronization in SharePoint 2010. SharePoint 2010 has User Profile Service application which provides a two-way&amp;nbsp;synchronization&amp;nbsp;for users/groups from your directory services or any external system in sync with SharePoint 2010 users and groups profiles.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Terms used in this post:&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
* UP: User Profile.&lt;br /&gt;
* UP&lt;b&gt;SSA&lt;/b&gt;: User Profile &lt;span class="Apple-style-span" style="color: red;"&gt;Synchronization Service Application&lt;/span&gt;.&lt;br /&gt;
* UP&lt;b&gt;SS&lt;/b&gt;: User Profile &lt;span class="Apple-style-span" style="color: red;"&gt;Synchronization Service&lt;/span&gt;.&lt;br /&gt;
&lt;br /&gt;
Here are some facts you should be aware when you start planning for user profiles in SharePoint:&lt;br /&gt;
1) SharePoint 2010 has User Profile Service Application which manage the&amp;nbsp;synchronization&amp;nbsp;process between SP and AD or any external system that contains users &amp;amp; groups.&lt;br /&gt;
&lt;br /&gt;
2) SP 2010 provisions a version of Microsoft Forefront Identity Manager to participate in synchronization.&lt;br /&gt;
&lt;br /&gt;
3) UPSSA can only have one user profile synchronization service.&lt;br /&gt;
&lt;br /&gt;
4) A UPSS is associated with connections and mappings.&lt;br /&gt;
&lt;br /&gt;
5) We divide connections in UPSS into two types: connections to directory services, and connections to business systems.&lt;br /&gt;
&lt;br /&gt;
6) When you setup a connection in UPSS to connect to directory services, You specify which containers to be included in the synchronization. You can specify filters to exclude service or disabled accounts.&lt;br /&gt;
&lt;br /&gt;
7) Mapping is a step to map SharePoint user profile fields to directory services/external system user profile master data fields.&lt;br /&gt;
&lt;br /&gt;
8) Upon each synchronization, SharePoint deletes SP users who have been deleted from Directory services.&lt;br /&gt;
&lt;br /&gt;
9) Upon each synchronization, SharePoint add and updates SP user profile's fields as configured in the UPSS.&lt;br /&gt;
&lt;br /&gt;
10) &lt;span class="Apple-style-span" style="color: red;"&gt;IMPORTANT&lt;/span&gt;: If you have multiple directory services, each directory services &lt;b&gt;&lt;u&gt;MUST &lt;/u&gt;&lt;/b&gt;provide unique users. You can't synchronize a single user with multiple directory services.&lt;br /&gt;
&lt;br /&gt;
11) &lt;span class="Apple-style-span" style="color: red;"&gt;IMPORTANT&lt;/span&gt;: You can populate properties from any existing business system. You can't create new user profiles from an external system, and you can't write data back to a business system.&lt;br /&gt;
&lt;br /&gt;
12) To synchronize properties from external system, First you should create an external content type to bring data from the business system into SP 2010. Then you will be able to synchronize these users into SP.&lt;br /&gt;
&lt;br /&gt;
13) You should have a key field to be used for mapping between SP user profiles and your external system. You can use employee's work email as the identifier of your external content type. In this case, SP will synchronize information which matches employee's email to be captured in your synchronization records.&lt;br /&gt;
&lt;br /&gt;
14) You can build a custom solution using SP object model to create user profiles in SharePoint.&lt;br /&gt;
&lt;br /&gt;
Hope this helps.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
References:&lt;br /&gt;
1) Profile Synchronization overview in SP 2010:&lt;br /&gt;
http://technet.microsoft.com/en-us/library/gg188041.aspx&lt;br /&gt;
2) BCS Overview in SP 2010:&lt;br /&gt;
http://technet.microsoft.com/en-us/library/ee661740.aspx&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25545748-7575311154417005684?l=moustafa-arafa.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://moustafa-arafa.blogspot.com/2011/11/user-profile-synchronization-in.html</link><author>noreply@blogger.com (Mostafa Elzoghbi)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-25545748.post-4584778510831320277</guid><pubDate>Wed, 02 Nov 2011 17:17:00 +0000</pubDate><atom:updated>2011-11-02T13:17:59.747-04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">asp.net</category><category domain="http://www.blogger.com/atom/ns#">SQL 2008</category><title>Unable to use SQL Server because ASP.NET version 2.0 Session State is not installed on the SQL server. Please install ASP.NET Session State SQL Server version 2.0 or above.</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
Hi Folks,&lt;br /&gt;
&lt;br /&gt;
I was deploying an asp.net website which configured to store session data in a custom databases in SQL Server 2008. After i scripted the whole DB and moved it to a new server and after deploying the website and try to run the application, I was getting this error:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;
&lt;i&gt;Unable to use
SQL Server because ASP.NET version 2.0 Session State is not installed on the
SQL server. Please install ASP.NET Session State SQL Server version 2.0 or
above.&lt;/i&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/h2&gt;
&lt;div&gt;
&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div&gt;
&lt;i&gt;My web.config configurations:&lt;/i&gt;&lt;/div&gt;
&lt;div&gt;
&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div&gt;
&lt;pre style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; font-family: Consolas; font-size: 13px;"&gt;&lt;span style="background-color: white; color: blue;"&gt;&amp;nbsp;&amp;lt;&lt;/span&gt;&lt;span style="background-color: white; color: #a31515;"&gt;system.web&lt;/span&gt;&lt;span style="background-color: white; color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;
 
&lt;/span&gt;&lt;span style="background-color: white; color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;!--&lt;/span&gt;&lt;span style="background-color: white; color: green; "&gt;&amp;nbsp;START:&amp;nbsp;Application&amp;nbsp;is&amp;nbsp;configured&amp;nbsp;to&amp;nbsp;store&amp;nbsp;session&amp;nbsp;data&amp;nbsp;in&amp;nbsp;a&amp;nbsp;custom&amp;nbsp;db&amp;nbsp;,&amp;nbsp;To&amp;nbsp;remove&amp;nbsp;this&amp;nbsp;configuration&amp;nbsp;comment&amp;nbsp;this&amp;nbsp;section&amp;nbsp;and&amp;nbsp;will&amp;nbsp;be&amp;nbsp;InProc&amp;nbsp;default&amp;nbsp;&lt;/span&gt;&lt;span style="background-color: white; color: blue; "&gt;--&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;
&lt;/span&gt;&lt;span style="background-color: white; color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;&lt;/span&gt;&lt;span style="background-color: white; color: #a31515;"&gt;sessionState&lt;/span&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;
&lt;/span&gt;&lt;span style="background-color: white; color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="background-color: white; color: red;"&gt;mode&lt;/span&gt;&lt;span style="background-color: white; color: blue;"&gt;=&lt;/span&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;"&lt;/span&gt;&lt;span style="background-color: white; color: blue;"&gt;SQLServer&lt;/span&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;"
&lt;/span&gt;&lt;span style="background-color: white; color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="background-color: white; color: red;"&gt;cookieless&lt;/span&gt;&lt;span style="background-color: white; color: blue;"&gt;=&lt;/span&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;"&lt;/span&gt;&lt;span style="background-color: white; color: blue;"&gt;false&lt;/span&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;"
&lt;/span&gt;&lt;span style="background-color: white; color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="background-color: white; color: red;"&gt;timeout&lt;/span&gt;&lt;span style="background-color: white; color: blue;"&gt;=&lt;/span&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;"&lt;/span&gt;&lt;span style="background-color: white; color: blue;"&gt;20&lt;/span&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;"
&lt;/span&gt;&lt;span style="background-color: white; color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="background-color: white; color: red;"&gt;sqlConnectionString&lt;/span&gt;&lt;span style="background-color: white; color: blue;"&gt;=&lt;/span&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;"&lt;/span&gt;&lt;span style="background-color: white; color: blue;"&gt;data&amp;nbsp;source=SERVERNAME;&amp;nbsp;initial&amp;nbsp;catalog=MYDB;&amp;nbsp;user&amp;nbsp;id=mostafa;&amp;nbsp;password=mostafaelzoghbi&lt;/span&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;"&lt;/span&gt;&lt;span style="background-color: white; color: blue;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;
&lt;/span&gt;&lt;span style="background-color: white; color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="background-color: yellow;"&gt;&lt;span style="color: red;"&gt;allowCustomSqlDatabase&lt;/span&gt;&lt;span style="color: blue;"&gt;=&lt;/span&gt;"&lt;span style="color: blue;"&gt;true&lt;/span&gt;"&lt;/span&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;
&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;/&amp;gt;&lt;/span&gt;
&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;!--&lt;/span&gt;&lt;span style="color:green;"&gt;&amp;nbsp;END:&amp;nbsp;Application&amp;nbsp;is&amp;nbsp;configured&amp;nbsp;to&amp;nbsp;store&amp;nbsp;session&amp;nbsp;data&amp;nbsp;in&amp;nbsp;a&amp;nbsp;custom&amp;nbsp;db&amp;nbsp;,&amp;nbsp;To&amp;nbsp;remove&amp;nbsp;this&amp;nbsp;configuration&amp;nbsp;comment&amp;nbsp;this&amp;nbsp;section&amp;nbsp;and&amp;nbsp;will&amp;nbsp;be&amp;nbsp;InProc&amp;nbsp;default&amp;nbsp;&lt;/span&gt;&lt;span style="color:blue;"&gt;--&gt;&lt;/span&gt;
&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;!--&lt;/span--&gt;&lt;span style="color: #a31515;"&gt;system.web&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div&gt;
&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div&gt;
&lt;i&gt;Since this error message is misleading, you don't need to run aspnet_regsql command since i was using a custom database and all stored procedures, tables, custom user data types and DB objects have been scripted and deployed too. &lt;b&gt;the cause of this error if you didn't give enough permission to the user that accesses the database. User should have execute permissions or grant dbo.owner to it&lt;/b&gt;.&lt;/i&gt;&lt;/div&gt;
&lt;div&gt;
&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div&gt;
&lt;i&gt;Hope this helps.&lt;/i&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25545748-4584778510831320277?l=moustafa-arafa.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://moustafa-arafa.blogspot.com/2011/11/unable-to-use-sql-server-because-aspnet.html</link><author>noreply@blogger.com (Mostafa Elzoghbi)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-25545748.post-3799615146466232120</guid><pubDate>Fri, 28 Oct 2011 14:19:00 +0000</pubDate><atom:updated>2011-10-28T10:19:45.318-04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">SharePoint</category><category domain="http://www.blogger.com/atom/ns#">SQL 2008</category><title>Best Practices for SQL 2008 in SharePoint 2010 Farm</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Hi All,&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;In this post i'd like to share with you best practices for SQL 2008 R2 in SharePoint 2010 farm and the operations and configuration that need to be taken in place when installing, configuring and administrating SharePoint 2010.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;1) Designing SQL 2008 servers in your SharePoint 2010 farm: When you decide which topology you will have in your SharePoint 2010 farm, the SQL Server 2008 should be in a dedicated server and shouldn't be having any other role in your SP 2010 farm.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;2) After installing SQL 2008 R2, you shouldn't go and start SP 2010 installation with SQL 2008 R2 Default configuration, here is what you need to revise:&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; a) Don't enable auto-create statistics on SQL Server that's supporting SharePoint farm. You can enable/disable this feature on the DB level, here is the command you need to execute in your DB:&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="background-color: white; color: #333333; font-size: 12px; line-height: 18px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre class="codeSample"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ALTER DATABASE dbname SET AUTO_CREATE_STATISTICS OFF&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="codeSample"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;b) Set Maximum degree of parallelism to 1 for all SQL server instances that host SP 2010 DBs. &lt;u&gt;The value behind this is that each request is served by a single SQL Server Process&lt;/u&gt;.&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: 11px; line-height: 15px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Segoe UI', Verdana, Arial; font-size: 13px;"&gt;&lt;pre style="font-family: Consolas, Courier, monospace; font-style: normal; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; word-break: break-all; word-wrap: break-word;"&gt;sp_configure 'show advanced options', 1;
GO
RECONFIGURE WITH OVERRIDE;
GO
sp_configure 'max degree of parallelism', 1;
GO
RECONFIGURE WITH OVERRIDE;
GO&lt;/pre&gt;
&lt;/span&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;pre class="codeSample" style="color: #333333; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px;"&gt;
&lt;/pre&gt;
&lt;pre class="codeSample" style="color: #333333; line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;3) Secure and harden your SQL 2008 server DB by blocking the default ports and block default SQL server default ports. Check Out ref #3.&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="codeSample" style="color: #333333; line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="codeSample"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="color: #333333;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;4) Use SQL Server 2008 backup compression feature to speed up the SharePoint backup. This feature is available in SQL 2008 Ent. edition and SQL 2008 R2 standard edition too. This feature &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #333333;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;significantly&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #333333;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt; reduces the backup file size and shipped logs. The only consideration you should know that this feature consumes more processing time that might affect the performance of your DB server if the server doesn't properly planned to have enough processing power. This feature you enable it on the server level under Database settings, you will find a check box to use DB compression.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="codeSample"&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 18px;"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://3.bp.blogspot.com/-xSI3f8pJmK4/Tqq5jcuNqsI/AAAAAAAAA7I/TUGJA1Sxios/s1600/Sql2008Compression.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="286" src="http://3.bp.blogspot.com/-xSI3f8pJmK4/Tqq5jcuNqsI/AAAAAAAAA7I/TUGJA1Sxios/s320/Sql2008Compression.PNG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;pre class="codeSample" style="color: #333333; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px;"&gt;
&lt;/pre&gt;
&lt;pre class="codeSample" style="color: #333333; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px;"&gt;
&lt;/pre&gt;
&lt;pre class="codeSample" style="color: #333333; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 18px;"&gt;Hope this helps and let me know if you have any additional notes or concerns.&lt;/pre&gt;
&lt;pre class="codeSample" style="color: #333333; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px;"&gt;
&lt;/pre&gt;
&lt;pre class="codeSample" style="color: #333333; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px;"&gt;
&lt;/pre&gt;
&lt;pre class="codeSample" style="color: #333333; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px;"&gt;Refereces:&lt;/pre&gt;
&lt;pre class="codeSample" style="color: #333333; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px;"&gt;1) Auto-Create Feature in SQL 2008:&lt;/pre&gt;
&lt;pre class="codeSample" style="color: #333333; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px;"&gt;&lt;a href="http://blogs.technet.com/b/rob/archive/2008/05/16/sql-server-statistics.aspx"&gt;http://blogs.technet.com/b/rob/archive/2008/05/16/sql-server-statistics.aspx&lt;/a&gt;&lt;/pre&gt;
&lt;pre class="codeSample" style="color: #333333; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px;"&gt;2) Set the maximum degree of parallelism in SQL 2008:&lt;/pre&gt;
&lt;pre class="codeSample" style="color: #333333; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px;"&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ms181007.aspx"&gt;http://msdn.microsoft.com/en-us/library/ms181007.aspx&lt;/a&gt;&lt;/pre&gt;
&lt;pre class="codeSample" style="color: #333333; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px;"&gt;3) Harden &amp;amp; Secure SQL 2008 server DBs:&lt;/pre&gt;
&lt;pre class="codeSample" style="color: #333333; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px;"&gt;&lt;a href="http://technet.microsoft.com/en-us/library/ff607733.aspx"&gt;http://technet.microsoft.com/en-us/library/ff607733.aspx&lt;/a&gt;&lt;/pre&gt;
&lt;pre class="codeSample" style="color: #333333; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px;"&gt;&lt;a href="http://technet.microsoft.com/en-us/library/cc262849.aspx"&gt;http://technet.microsoft.com/en-us/library/cc262849.aspx&lt;/a&gt;&lt;/pre&gt;
&lt;pre class="codeSample" style="color: #333333; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px;"&gt;5) SQL 2008 Best practices in SharePoint 2010 Farm:&lt;/pre&gt;
&lt;pre class="codeSample" style="color: #333333; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px;"&gt;&lt;a href="http://technet.microsoft.com/en-us/library/hh292622.aspx"&gt;http://technet.microsoft.com/en-us/library/hh292622.aspx&lt;/a&gt;&lt;/pre&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Regards,&lt;br /&gt;
Mostafa Arafa&lt;br /&gt;
http://twitter.com/mostafaelzoghbi&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25545748-3799615146466232120?l=moustafa-arafa.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://moustafa-arafa.blogspot.com/2011/10/best-practices-for-sql-2008-in.html</link><author>noreply@blogger.com (Mostafa Elzoghbi)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-xSI3f8pJmK4/Tqq5jcuNqsI/AAAAAAAAA7I/TUGJA1Sxios/s72-c/Sql2008Compression.PNG" height="72" width="72" /><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-25545748.post-6365927934606404905</guid><pubDate>Wed, 05 Oct 2011 17:50:00 +0000</pubDate><atom:updated>2011-10-05T14:32:59.392-04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">SilverLight</category><category domain="http://www.blogger.com/atom/ns#">IIS 7.0</category><title>Fix it: IIS Manager doesn't update web.config when you add HTTP Response headers in Azure</title><description>&lt;div&gt;Hi All,&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I was trying to disable Silverlight caching in IIS 7, and when i deployed my solution to Windows 2008 Ent. in Windows Azure. Every time you  click on the xap file that i need to disable caching on it by checking expire web content immediately after i clicked on Set Common Headers link on the right pane, the web.config is not being updated at all. but this works on my local IIS. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I ended up with adding this attribute that has been added my local IIS to web.config and deploy it so i don't need to do this every time i perform a deployment.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt;&lt;span style="color:blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;system.webServer&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt; &lt;/pre&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt;&lt;span style="color:blue;"&gt;  &lt;/span&gt;&lt;span style="color:blue;"&gt;   &lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;staticContent&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt; &lt;/pre&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt;&lt;span style="color:blue;"&gt;      &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;clientCache&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;cacheControlMode&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;"&lt;span style="color:blue;"&gt;DisableCache&lt;/span&gt;"&lt;span style="color:blue;"&gt; /&amp;gt;&lt;/span&gt; &lt;/pre&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt;&lt;span style="color:blue;"&gt;    &lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 255); "&gt;&amp;lt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 255); "&gt;&lt;span style="color:#a31515;"&gt;staticContent&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color:blue;"&gt;    &lt;/span&gt; &lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 255); "&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;&lt;span style="color:#a31515;"&gt;system.webServer&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;To disable caching in Silverlight "xap" file from IIS, Here is the article that i'm referring to:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://www.silverlightshow.net/items/Caching-of-in-and-around-your-Silverlight-application-part-1.aspx"&gt;http://www.silverlightshow.net/items/Caching-of-in-and-around-your-Silverlight-application-part-1.aspx&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Hope this tip helps.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;Regards,Mostafa Arafatwitter.com/mostafaelzoghbi&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25545748-6365927934606404905?l=moustafa-arafa.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://moustafa-arafa.blogspot.com/2011/10/fix-it-iis-manager-doesnt-update.html</link><author>noreply@blogger.com (Mostafa Elzoghbi)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-25545748.post-1713840630613958973</guid><pubDate>Fri, 26 Aug 2011 18:42:00 +0000</pubDate><atom:updated>2011-08-26T14:50:18.203-04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">SharePoint</category><title>Error occurred in deployment step 'Activate Features': 0x800700570 0</title><description>&lt;div&gt;Hi Folks,&lt;/div&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div&gt;While i was developing a feature receiver in SharePoint 2010, I was trying to deploy my solution using VS 2010 and i was getting this error:&lt;/div&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Error occurred in deployment step 'Activate Features': &lt;nativehr&gt;0x80070057&lt;/nativehr&gt;&lt;nativestack&gt;&lt;/nativestack&gt;0 0 &lt;/div&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div&gt;And this happens actually when VS 2010 was trying to activate the feature, So i expected the problem from the Feature receiver i have that has code in "FeatureActivated" method. so, to be able to debug your feature receiver and exactly point the problem which throws the error while activating your feature, Do the following:&lt;/div&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div&gt;On your SharePoint Project, From Solution Explorer, Open project properties and change the following:&lt;/div&gt;&lt;div&gt;Active Deployment Configuration from Default to &lt;b&gt;No Activation&lt;/b&gt;.&lt;/div&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The point behind this, the feature will be deployed but&lt;b&gt; not activated&lt;/b&gt;. So, you will be able to deploy and the debugger process is attached in VS then when you start activating the feature you will start debugging your feature receiver and fix the issue that you have in your code.&lt;/div&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Hope this helps.&lt;/div&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;Regards,&lt;div&gt;Mostafa Arafatwitter.com/mostafaelzoghbi&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25545748-1713840630613958973?l=moustafa-arafa.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://moustafa-arafa.blogspot.com/2011/08/error-occurred-in-deployment-step.html</link><author>noreply@blogger.com (Mostafa Elzoghbi)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-25545748.post-3230084787449943560</guid><pubDate>Wed, 24 Aug 2011 19:13:00 +0000</pubDate><atom:updated>2011-08-24T15:48:48.757-04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">JavaScript</category><category domain="http://www.blogger.com/atom/ns#">SharePoint</category><title>How to Open/Close Modal Dialogs in SharePoint 2010</title><description>&lt;div&gt;SharePoint 2010 comes with a new modal dialogs feature that allows you to Open Modal windows from you application pages or ribbons. In this post i will highlight on how to open and close Modal Dialogs in SharePoint 2010.&lt;/div&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div&gt;If you have an Application page and you want to open up a modal dialog this is what you want to write in JavaScript using COM (Client Object Model) :&lt;/div&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div&gt;In your page, Add the following button to open modal dialog:&lt;/div&gt;&lt;div&gt;&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;input&lt;b&gt; onclick="openPopup();"&lt;/b&gt;  title="Open Modal" type="button" value="Open Modal Dialog" &lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div&gt;On you Page Head "PlaceHolderAdditionalPageHead" content add the following JavaScript function implementation "openPopup":&lt;/div&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt; function openPopup() {&lt;/div&gt;&lt;div&gt;        var options = {&lt;/div&gt;&lt;div&gt;            url: '/_layouts/MYSPDemo/DialogPage.aspx',&lt;/div&gt;&lt;div&gt;            title: 'Modal Dialog',&lt;/div&gt;&lt;div&gt;            allowMaximize: false,&lt;/div&gt;&lt;div&gt;            showClose: true,&lt;/div&gt;&lt;div&gt;            width: 600,&lt;/div&gt;&lt;div&gt;            height: 500&lt;/div&gt;&lt;div&gt;        }&lt;/div&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;        SP.UI.ModalDialog.showModalDialog(options);&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;asp:content id="PageHead" contentplaceholderid="PlaceHolderAdditionalPageHead" runat="server"&gt;&lt;/asp:content&gt;&lt;/div&gt;&lt;div&gt;&lt;script language="javascript"&gt;&lt;/div&gt;&lt;div&gt;    &lt;/div&gt;&lt;div&gt;    function openPopup() {&lt;/div&gt;&lt;div&gt;        var options = {&lt;/div&gt;&lt;div&gt;            url: '/_layouts/MYPROJECT/DialogPage.aspx',&lt;/div&gt;&lt;div&gt;            title: 'Modal Dialog',&lt;/div&gt;&lt;div&gt;            allowMaximize: false,&lt;/div&gt;&lt;div&gt;            showClose: true,&lt;/div&gt;&lt;div&gt;            width: 600,&lt;/div&gt;&lt;div&gt;            height: 500&lt;/div&gt;&lt;div&gt;        }&lt;/div&gt;&lt;div&gt;       // Open Modal Dialog&lt;/div&gt;&lt;div&gt;        SP.UI.ModalDialog.showModalDialog(options);&lt;/div&gt;&lt;div&gt;    }   &lt;/div&gt;&lt;div&gt;&lt;/script&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div&gt;DialogPage is an application Page in your solution as specified above, Now try to deploy you solution and click on your button, your application page is showing as modal dialog... THIS IS AWESOME !!&lt;/div&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div&gt;To close you modal window, this is the line you need to add on you cancel or close button on your page:&lt;/div&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;b&gt;SP.UI.ModalDialog.commonModalDialogClose(SP.UI.DialogResult.cancel,  "Cancelled"); &lt;/b&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/-1twUrImGnhY/TlVUCDtsNKI/AAAAAAAAA4c/g142pjihLgQ/s1600/TestPage_ModalDialog.PNG" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 56px;" src="http://4.bp.blogspot.com/-1twUrImGnhY/TlVUCDtsNKI/AAAAAAAAA4c/g142pjihLgQ/s320/TestPage_ModalDialog.PNG" border="0" alt="" id="BLOGGER_PHOTO_ID_5644510102312203426" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Hope this helps, To get the full documentation for ModalDialog using Client Object model, here is the KB url:&lt;/div&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ff408909.aspx"&gt;http://msdn.microsoft.com/en-us/library/ff408909.aspx&lt;/a&gt;&lt;/div&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;Regards,&lt;div&gt;Mostafa Arafa&lt;/div&gt;&lt;div&gt;twitter.com/mostafaelzoghbi&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25545748-3230084787449943560?l=moustafa-arafa.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://moustafa-arafa.blogspot.com/2011/08/how-to-openclose-modal-dialogs-in.html</link><author>noreply@blogger.com (Mostafa Elzoghbi)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-1twUrImGnhY/TlVUCDtsNKI/AAAAAAAAA4c/g142pjihLgQ/s72-c/TestPage_ModalDialog.PNG" height="72" width="72" /><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-25545748.post-4681886943544790278</guid><pubDate>Sun, 14 Aug 2011 21:56:00 +0000</pubDate><atom:updated>2011-08-14T18:49:43.607-04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Business Intelligence</category><category domain="http://www.blogger.com/atom/ns#">Events</category><category domain="http://www.blogger.com/atom/ns#">SharePoint</category><category domain="http://www.blogger.com/atom/ns#">SQL 2008</category><title>Building PPS solutions in SharePoint 2010</title><description>&lt;div&gt;Hi All, &lt;/div&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div&gt;During giving my session in SharePoint "The Conference" in DC, I provided some few links for my attendees that helps them to start working with PerformancePoint Services in SharePoint 2010.&lt;/div&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div&gt;To start working with SharePoint 2010 that has SP 2010, Office 2010, SQL 2008 &amp;amp; Project Server 2010. &lt;/div&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div&gt;There is an Information Worker VM to start working with PPS in SharePoint 2010:&lt;/div&gt;&lt;div&gt;&lt;a href="http://www.microsoft.com/download/en/details.aspx?id=21099"&gt;http://www.microsoft.com/download/en/details.aspx?id=21099&lt;/a&gt;&lt;/div&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div&gt;To get a started with SQL2008 experience and BI, here is a training kit to start working with BI:&lt;/div&gt;&lt;div&gt;&lt;a href="http://www.microsoft.com/download/en/details.aspx?id=16281"&gt;http://www.microsoft.com/download/en/details.aspx?id=16281&lt;/a&gt;&lt;/div&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="width:425px;text-align:left"&gt;&lt;object style="margin:0px" width="425" height="355"&gt;&lt;param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=buildingppssolutionsinsharepoint2010public-13122930065182-phpapp01-110802085255-phpapp01&amp;amp;stripped_title=building-pps-solutions-in-sharepoint-2010"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowScriptAccess" value="always"&gt;&lt;embed src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=buildingppssolutionsinsharepoint2010public-13122930065182-phpapp01-110802085255-phpapp01&amp;amp;stripped_title=building-pps-solutions-in-sharepoint-2010" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;Regards,&lt;div&gt;Mostafa Arafa&lt;div&gt;twitter.com/mostafaelzoghbi&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25545748-4681886943544790278?l=moustafa-arafa.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://moustafa-arafa.blogspot.com/2011/08/building-pps-solutions-in-sharepoint.html</link><author>noreply@blogger.com (Mostafa Elzoghbi)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-25545748.post-203139361699231735</guid><pubDate>Tue, 02 Aug 2011 19:30:00 +0000</pubDate><atom:updated>2011-09-02T14:27:07.061-04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">SharePoint</category><category domain="http://www.blogger.com/atom/ns#">Performance Point Server</category><title>Fix It: The query could not complete because the data source is not in a performancePoint trusted location</title><description>&lt;div&gt;Hi Folks,&lt;/div&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div&gt;If you are running PPS Dashboards and reports in your BI center site and when you are trying to view your dashboard/scorecards/reports and you have got this error:&lt;/div&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div&gt;" The query could not complete because the data source is not in a performancePoint trusted location"&lt;/div&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/-D1qrB2nvY0s/TjhSVt9lpoI/AAAAAAAAA38/AyC68ULTUjE/s1600/PPS_DataSourcesError.JPG" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 58px;" src="http://2.bp.blogspot.com/-D1qrB2nvY0s/TjhSVt9lpoI/AAAAAAAAA38/AyC68ULTUjE/s320/PPS_DataSourcesError.JPG" border="0" alt="" id="BLOGGER_PHOTO_ID_5636345466722821762" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The cause of this error is:&lt;/div&gt;&lt;div&gt;1) You system admin only listed specific trusted data sources in your farm. &lt;/div&gt;&lt;div&gt;To adjust this by adding your data connection library that is being used by your dashboard, do the following:&lt;/div&gt;&lt;div&gt;- Open central adminstration.&lt;/div&gt;&lt;div&gt;- Click on Manage service applications.&lt;/div&gt;&lt;div&gt;- Click on PerformancePoint service Application.&lt;/div&gt;&lt;div&gt;- Click on Trusted Data Source Locations, You will see "Only Specific Location" is selected and your data connection library is not listed&lt;/div&gt;&lt;div&gt;- Add your Data Connection library to the list, for example:&lt;/div&gt;&lt;div&gt;http://MESP2010:17949/Data%20Connections%20for%20PerformancePoint/&lt;/div&gt;&lt;div&gt;- Click on validate icon to make sure that you are putting a valid path.&lt;/div&gt;&lt;div&gt;- Click on Ok.&lt;/div&gt;&lt;div&gt;- Refresh your dashboard,scorecards or reports and everything will start working again.&lt;/div&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Hope this helps.&lt;/div&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Regards,&lt;/div&gt;&lt;div&gt;Mostafa Arafa&lt;/div&gt;&lt;div&gt;twitter.com/mostafaelzoghbi&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25545748-203139361699231735?l=moustafa-arafa.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://moustafa-arafa.blogspot.com/2011/08/fix-it-query-could-not-complete-because.html</link><author>noreply@blogger.com (Mostafa Elzoghbi)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-D1qrB2nvY0s/TjhSVt9lpoI/AAAAAAAAA38/AyC68ULTUjE/s72-c/PPS_DataSourcesError.JPG" height="72" width="72" /><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-25545748.post-7763429467670492112</guid><pubDate>Tue, 02 Aug 2011 18:26:00 +0000</pubDate><atom:updated>2011-09-02T14:22:03.057-04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">SharePoint</category><title>Enable Non-Business Intelligence Center Sites with BI capabilities in SharePoint 2010</title><description>&lt;div&gt;Hi Folks,&lt;/div&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I'm getting questions about how to enable BI PerformancePoint features on Non-Business Intelligence Center Sites in SharePoint 2010. To enable PPS BI features in other SharePoint 2010 site templates, please do the followings:&lt;/div&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1) Navigate to the site you would like to add PPS BI features to it.&lt;/div&gt;&lt;div&gt;2) From Site Settings --&amp;gt; Click on Site Settings.&lt;/div&gt;&lt;div&gt;3) Under Site Collection Administration, Click on Site Collection features.&lt;/div&gt;&lt;div&gt;4) Enable the following features:&lt;/div&gt;&lt;div&gt;     a) PerformancePoint services Site Collection Features.&lt;/div&gt;&lt;div&gt;     b) SharePoint Server Publishing Infrastructure.&lt;/div&gt;&lt;div&gt;     c) SharePoint Server Enterprise Site Collection Features.&lt;/div&gt;&lt;div&gt;       &lt;/div&gt;&lt;div&gt;Note: &lt;i&gt;You should have Enterprise SharePoint License to enable PPS BI Features in your     farm, These features are not available in Standard or SPF editions&lt;/i&gt;.&lt;/div&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Now, you prepared your site to use PPS features in SharePoint 2010.&lt;/div&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Navigate to SharePoint home page and click on libraries, and click on create you will be able to see/select "PerformancePoint Data Connection" library that you use to store PPS data connections.&lt;/div&gt;&lt;div&gt;After creating the library, do the following:&lt;/div&gt;&lt;div&gt;1) Select library settings.&lt;/div&gt;&lt;div&gt;2) Click on Add from existing site content types and select "PeformancePoint Data Source" from the list under PerformancePoint Group.&lt;/div&gt;&lt;div&gt;3) We want to set PP data source to be the default content type for this library, so on library settings page click on "Change new button order and default content type" link and select PP DS.&lt;/div&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div&gt;4) Navigate to the list and click on New Document, select "PP Data Connection", PPS designer will be launched and you will be able to configure your data source and store it in the library.&lt;/div&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Tip: Just notice that the items in data connection library has an approval workflow, Make sure to approve newly created data connections.&lt;/div&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Happy SharePointing !!&lt;/div&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;Regards,&lt;div&gt;Mostafa Arafa&lt;div&gt;twitter.com/mostafaelzoghbi&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25545748-7763429467670492112?l=moustafa-arafa.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://moustafa-arafa.blogspot.com/2011/08/enable-non-business-intelligence-center.html</link><author>noreply@blogger.com (Mostafa Elzoghbi)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-25545748.post-3550546176853497683</guid><pubDate>Tue, 02 Aug 2011 16:25:00 +0000</pubDate><atom:updated>2011-08-02T12:35:35.239-04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Events</category><category domain="http://www.blogger.com/atom/ns#">SharePoint</category><title>SharePoint Saturday "The Conference" DC 2011</title><description>&lt;div&gt;Hi Folks,&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;We would like to share with all SharePointers who are willing to attend the SharePoint Saturday The Conference DC from 11th-13th August 2011 please register right now and check out the list of all sessions by SharePoint Experts, MCM, MVPs and Industry Information Worker (IW) &lt;/div&gt;&lt;div&gt;experts.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;This is the biggest SharePoint Saturday event; In addition to the lineup of great speakers/sessions; the event will have workshops that deliver hands-on experience to the attendees.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;What's different about SPSTC DC :&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; color: rgb(102, 102, 102); font-family: Helvetica, Arial, sans-serif; font-size: 14px; line-height: 16px; "&gt;&lt;b style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 14px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 14pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; line-height: 22px; font-family: cambria, serif; background-position: initial initial; background-repeat: initial initial; "&gt;A community-focused, educational event filled with sessions from respected SharePoint professionals and executives covering a wide range of technical and business topics.&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-size: 19px; line-height: 22px;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-size: 19px; line-height: 22px;"&gt;&lt;b&gt;Where ?&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; color: rgb(102, 102, 102); font-family: Helvetica, Arial, sans-serif; font-size: 14px; "&gt;&lt;p align="center" class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0pt; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 14px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; text-align: center; line-height: 16px; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;b style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 14px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 14pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; line-height: 22px; font-family: cambria, serif; background-position: initial initial; background-repeat: initial initial; "&gt;Northern Virginia Community College&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p align="center" class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0pt; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 14px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; text-align: center; line-height: 16px; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;b style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 14px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 14pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; line-height: 22px; font-family: cambria, serif; background-position: initial initial; background-repeat: initial initial; "&gt;Annandale Campus, Annandale, VA&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p align="center" class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0pt; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 14px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; text-align: center; line-height: 16px; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;b style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 14px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 14pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; line-height: 22px; font-family: cambria, serif; background-position: initial initial; background-repeat: initial initial; "&gt;(Visit the website &lt;/span&gt;&lt;/b&gt;&lt;a href="http://www.nvcc.edu/wdce/annandale/facilities/cultural/" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 14px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; color: rgb(210, 64, 41); text-decoration: none; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;b style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 14px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 14pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; line-height: 22px; font-family: cambria, serif; background-position: initial initial; background-repeat: initial initial; "&gt;here.&lt;/span&gt;&lt;/b&gt;&lt;/a&gt;&lt;b style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 14px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 14pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; line-height: 22px; font-family: cambria, serif; background-position: initial initial; background-repeat: initial initial; "&gt;)&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p align="center" class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0pt; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 14px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; text-align: center; line-height: 16px; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;b style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 14px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 14pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; line-height: 22px; font-family: cambria, serif; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p align="center" class="MsoNormal" style="text-align: left;margin-top: 0px; margin-right: 0px; margin-bottom: 0pt; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 14px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; line-height: 16px; "&gt;&lt;b style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 14px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 14pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; line-height: 22px; font-family: cambria, serif; background-position: initial initial; background-repeat: initial initial; "&gt;I will deliver a session under Dev/ITPro track with title : &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(103, 103, 103); font-family: Helvetica, Arial, sans-serif; font-size: 14px; "&gt;&lt;table class="spstc-sessions" border="0" cellpadding="2" cellspacing="0" x="http://www.w3.org/2001/XMLSchema" d="http://schemas.microsoft.com/sharepoint/dsp" asp="http://schemas.microsoft.com/ASPNET/20" __designer="http://schemas.microsoft.com/WebParts/v2/DataView/designer" sharepoint="Microsoft.SharePoint.WebControls" ddwrt2="urn:frontpage:internal" style="text-align: left;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 100px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 12px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; color: rgb(79, 78, 78); "&gt;&lt;tbody style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 12px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 12px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;td class="spstc-session-title" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 5px; padding-right: 0px; padding-bottom: 5px; padding-left: 10px; border-top-width: 5px; border-right-width: 0px; border-bottom-width: 5px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 12px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(79, 78, 78); line-height: 18px; border-bottom-color: rgb(255, 255, 255); border-bottom-style: solid; border-top-color: rgb(255, 255, 255); border-top-style: solid; font-weight: bold; color: rgb(255, 255, 255); background-position: initial initial; background-repeat: initial initial; "&gt;Building BI solutions using Performance Point Services in SharePoint 2010&lt;/td&gt;&lt;/tr&gt;&lt;tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 12px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 5px; padding-right: 0px; padding-bottom: 5px; padding-left: 10px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 12px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;span class="spstc-sessions-label" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 12px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; font-weight: bold; background-position: initial initial; background-repeat: initial initial; "&gt;Speaker(s): &lt;/span&gt;&lt;a href="http://www.spstc.org/SitePages/Speakers.aspx?SpeakerID=97" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 12px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; color: rgb(210, 64, 41); text-decoration: none; background-position: initial initial; background-repeat: initial initial; "&gt;Mostafa Elzoghbi&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 12px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 5px; padding-right: 0px; padding-bottom: 5px; padding-left: 10px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 12px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;span class="spstc-sessions-label" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 12px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; font-weight: bold; background-position: initial initial; background-repeat: initial initial; "&gt;Session Level: &lt;/span&gt;300&lt;/td&gt;&lt;/tr&gt;&lt;tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 12px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 5px; padding-right: 0px; padding-bottom: 5px; padding-left: 10px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 12px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;span class="spstc-sessions-label" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 12px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; font-weight: bold; background-position: initial initial; background-repeat: initial initial; "&gt;Session Type: &lt;/span&gt;IT Pro / Developer&lt;/td&gt;&lt;/tr&gt;&lt;tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 12px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;td class="spstc-session-description" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 5px; padding-right: 0px; padding-bottom: 5px; padding-left: 10px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 12px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; background-position: initial initial; background-repeat: initial initial; "&gt;In this session I will cover PPS architecture &amp;amp; design fundamentals in SP 2010 and how to build BI solutions using SharePoint 2010 BI Center, BIDS, and Report Builder 3.0 with different data sources using DBs and Cubes. In addition to build, design, deploy Custom SSRS Reports within SharePoint. Tips in Configuring PPS application service in SharePoint 2010 and Reporting Services in SharePoint 2010.&lt;br /&gt;A demo driven session to create custom KPIs, Scorecards, Custom Reports and Dashboards. &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; color: rgb(102, 102, 102); font-family: Helvetica, Arial, sans-serif; font-size: 14px; "&gt;&lt;p align="center" class="MsoNormal" style="text-align: left;margin-top: 0px; margin-right: 0px; margin-bottom: 0pt; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 14px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; line-height: 16px; "&gt;&lt;b style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 14px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 14pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; line-height: 22px; font-family: cambria, serif; background-position: initial initial; background-repeat: initial initial; "&gt;For more information, check out the website: &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://www.spstc.org/"&gt;http://www.spstc.org/&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;See you all there !!&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;Regards,&lt;div&gt;Mostafa Arafa&lt;/div&gt;&lt;div&gt;twitter.com/mostafaelzoghbi&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25545748-3550546176853497683?l=moustafa-arafa.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://moustafa-arafa.blogspot.com/2011/08/sharepoint-saturday-conference-dc-2011.html</link><author>noreply@blogger.com (Mostafa Elzoghbi)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-25545748.post-8650676898166939320</guid><pubDate>Fri, 15 Jul 2011 15:29:00 +0000</pubDate><atom:updated>2011-08-02T12:25:45.473-04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Events</category><category domain="http://www.blogger.com/atom/ns#">SharePoint</category><title>SharePoint Saturday NYC: PPS solutions in SharePoint 2010</title><description>&lt;div&gt;Hi All,&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;On 30th of July 2011, We will have SharePoint Saturday Event in New York City at Microsoft-Manhattan Office. Don't miss this opportunity to meet with SPS NYC speakers line up with very informative sessions.  Please check out the event website:&lt;/div&gt;&lt;div&gt;&lt;a href="http://www.sharepointsaturday.org/ny/"&gt;http://www.sharepointsaturday.org/ny/&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I will present in this event with a session name : Building PerformancePoint Services Solutions in SharePoint 2010. &lt;/div&gt;&lt;div&gt;&lt;p class="MsoPlainText"&gt;In this session I will cover PPS architecture &amp;amp; design fundamentals in SP 2010 and how to build BI solutions using SharePoint 2010 BI Center, BIDS, and Report Builder 3.0 with different data sources using DBs and Cubes. In addition to build, design, deploy Custom SSRS Reports within SharePoint. Tips in Configuring PPS application service in SharePoint 2010 and Reporting Services in SharePoint 2010.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoPlainText"&gt;A demo driven session to create custom KPIs, Scorecards, Custom Reports and Dashboards.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class="MsoPlainText"&gt;&lt;b&gt;Session Details page:&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoPlainText"&gt;&lt;a href="http://www.sharepointsaturday.org/ny/meetings/106/BuildingPerformancePointServicessolutionsPPSinSharePoint2010.aspx"&gt;http://www.sharepointsaturday.org/ny/meetings/106/BuildingPerformancePointServicessolutionsPPSinSharePoint2010.aspx&lt;/a&gt;&lt;/p&gt;&lt;p class="MsoPlainText"&gt;Don't miss this event and see you all there...&lt;/p&gt;&lt;p class="MsoPlainText"&gt;Download Presentation Url:&lt;/p&gt;&lt;p class="MsoPlainText"&gt;&lt;a href="https://skydrive.live.com/?cid=4BC94054914A6469&amp;amp;id=4BC94054914A6469%213331&amp;amp;sc=documents"&gt;https://skydrive.live.com/?cid=4BC94054914A6469&amp;amp;id=4BC94054914A6469%213331&amp;amp;sc=documents&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="width:425px;text-align:left"&gt;&lt;object style="margin:0px" width="425" height="355"&gt;&lt;param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=buildingppssolutionsinsharepoint2010public-13122930065182-phpapp01-110802085255-phpapp01&amp;amp;stripped_title=building-pps-solutions-in-sharepoint-2010"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowScriptAccess" value="always"&gt;&lt;embed src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=buildingppssolutionsinsharepoint2010public-13122930065182-phpapp01-110802085255-phpapp01&amp;amp;stripped_title=building-pps-solutions-in-sharepoint-2010" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;Regards,&lt;div&gt;Mostafa Arafa&lt;/div&gt;&lt;div&gt;twitter.com/mostafaelzoghbi&lt;/div&gt;&lt;script src="http://b.scorecardresearch.com/beacon.js?c1=7&amp;amp;c2=7400849&amp;amp;c3=1&amp;amp;c4=&amp;amp;c5=&amp;amp;c6="&gt;&lt;/script&gt;&lt;script src="http://b.scorecardresearch.com/beacon.js?c1=7&amp;amp;c2=7400849&amp;amp;c3=1&amp;amp;c4=&amp;amp;c5=&amp;amp;c6="&gt;&lt;/script&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25545748-8650676898166939320?l=moustafa-arafa.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://moustafa-arafa.blogspot.com/2011/07/sharepoint-saturday-nyc-pps-solutions.html</link><author>noreply@blogger.com (Mostafa Elzoghbi)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-25545748.post-7531184182575967117</guid><pubDate>Thu, 02 Jun 2011 20:52:00 +0000</pubDate><atom:updated>2011-06-02T17:02:02.693-04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">asp.net</category><category domain="http://www.blogger.com/atom/ns#">C#</category><title>Export ASP.NET Form to PDF</title><description>&lt;div&gt;Hi All,&lt;/div&gt;&lt;div&gt;I was trying to export the content of an ASP.NET page in my project to PDF, and after i spent few hours to figure out how to achieve this using standard Resposnse.Output() with pdf format, I ended up having different errors &amp;amp; bugs without successfully export a simple html page to pdf.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Having complex asp.net page with complex controls, you need simply to install iTextSharp PDF tool, easy and free tool to export your page to pdf.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Here is the steps:&lt;/div&gt;&lt;div&gt;1) Install iTextSharp tool : &lt;a href="http://sourceforge.net/projects/itextsharp/"&gt;http://sourceforge.net/projects/itextsharp/&lt;/a&gt;&lt;/div&gt;&lt;div&gt;2) Add itextsharp.dll in your project.&lt;/div&gt;&lt;div&gt;3) Create your function to export to PDF as follows:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt;        &lt;span style="color:blue;"&gt;protected&lt;/span&gt; &lt;span style="color:blue;"&gt;void&lt;/span&gt; ExportToPDF()  &lt;/pre&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt;       {        &lt;/pre&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt;                &lt;span style="color:green;"&gt;// Start exporting page content&lt;/span&gt;&lt;/pre&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt;&lt;span style="color:green;"&gt;&lt;/span&gt;                &lt;span style="color:blue;"&gt;string&lt;/span&gt; attachment = &lt;span style="color:#a31515;"&gt;"attachment; filename=MostafaElzoghbi.pdf"&lt;/span&gt;; &lt;/pre&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt;                Response.ClearContent();       &lt;/pre&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt;                Response.AddHeader(&lt;span style="color:#a31515;"&gt;"content-disposition"&lt;/span&gt;, attachment); &lt;/pre&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt;                Response.ContentType = &lt;span style="color:#a31515;"&gt;"application/pdf"&lt;/span&gt;;    &lt;/pre&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt;                &lt;span style="color:#2b91af;"&gt;StringWriter&lt;/span&gt; stw = &lt;span style="color:blue;"&gt;new&lt;/span&gt; &lt;span style="color:#2b91af;"&gt;StringWriter&lt;/span&gt;();   &lt;/pre&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt;                &lt;span style="color:#2b91af;"&gt;HtmlTextWriter&lt;/span&gt; htextw = &lt;span style="color:blue;"&gt;new&lt;/span&gt; &lt;span style="color:#2b91af;"&gt;HtmlTextWriter&lt;/span&gt;(stw); &lt;/pre&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt;                &lt;span style="color:green;"&gt;// We want to render the whole page, you can change this with the control name or portion you want to export.&lt;/span&gt; &lt;/pre&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt;                myDiv.RenderControl(htextw);      &lt;/pre&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt;                &lt;span style="color:#2b91af;"&gt;Document&lt;/span&gt; document = &lt;span style="color:blue;"&gt;new&lt;/span&gt; &lt;span style="color:#2b91af;"&gt;Document&lt;/span&gt;();       &lt;/pre&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt;                &lt;span style="color:#2b91af;"&gt;PdfWriter&lt;/span&gt;.GetInstance(document, Response.OutputStream);   &lt;/pre&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt;                document.Open();         &lt;/pre&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt;                &lt;span style="color:#2b91af;"&gt;StringReader&lt;/span&gt; str = &lt;span style="color:blue;"&gt;new&lt;/span&gt; &lt;span style="color:#2b91af;"&gt;StringReader&lt;/span&gt;(stw.ToString()); &lt;/pre&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt;                &lt;span style="color:#2b91af;"&gt;HTMLWorker&lt;/span&gt; htmlworker = &lt;span style="color:blue;"&gt;new&lt;/span&gt; &lt;span style="color:#2b91af;"&gt;HTMLWorker&lt;/span&gt;(document);  &lt;/pre&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt;               htmlworker.Parse(str);       &lt;/pre&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt;               document.Close();        &lt;/pre&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt;               Response.Write(document);  &lt;/pre&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt;               Response.End();   &lt;/pre&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt;         }&lt;/pre&gt;&lt;/div&gt;&lt;div&gt;If you get this error: &lt;b&gt;A control has to be placed inside a form tag with runat=server attribute&lt;/b&gt;.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Just add this function in your code to override the pre render validation step in asp.net forms:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt;&lt;span style="color:blue;"&gt;public&lt;/span&gt; &lt;span style="color:blue;"&gt;override&lt;/span&gt; &lt;span style="color:blue;"&gt;void&lt;/span&gt; VerifyRenderingInServerForm(&lt;span style="color:#2b91af;"&gt;Control&lt;/span&gt; control)&lt;/pre&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt; { &lt;span style="color:green;"&gt;/* Do nothing */&lt;/span&gt; }&lt;/pre&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Hope this helps.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;Regards,&lt;div&gt;Mostafa Arafa&lt;div&gt;twitter.com/mostafaelzoghbi&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25545748-7531184182575967117?l=moustafa-arafa.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://moustafa-arafa.blogspot.com/2011/06/export-aspnet-form-to-pdf.html</link><author>noreply@blogger.com (Mostafa Elzoghbi)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-25545748.post-3089307531835414606</guid><pubDate>Mon, 23 May 2011 14:29:00 +0000</pubDate><atom:updated>2011-05-23T10:37:03.211-04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Facebook</category><category domain="http://www.blogger.com/atom/ns#">C#</category><category domain="http://www.blogger.com/atom/ns#">SDK</category><title>Upload Video to Facebook in C#</title><description>&lt;div&gt;HI Folks,&lt;/div&gt;&lt;div&gt;If you tried to upload a video to facebook using facebook sdk in C#, You will face a problem that the provided method UploadVideo in LegacyRestApi.cs file accepts the full physical path of the file to be uploaded. For ASP.NET developers and since we are using AsyncFileUpload Control to select your files, this control provides only the file name and not the full physical path because of security constraints applied on all browsers. I have updated the source code and ask the codeplex product facebook sdk team to include this in the future release. and I'd like to share the updated code for this method in my blog for all facebook .NET Developers, Hope this helps.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;C# Code:&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Consolas; font-size: 13px; white-space: pre; "&gt;&lt;span style="color:blue;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Consolas; font-size: 13px; white-space: pre; "&gt;&lt;span style="color:blue;"&gt;public&lt;/span&gt; &lt;span style="color:blue;"&gt;static&lt;/span&gt; &lt;span style="color:blue;"&gt;string&lt;/span&gt; UploadVideo(&lt;span style="color:blue;"&gt;string&lt;/span&gt; accessToken,&lt;span style="color:blue;"&gt;string&lt;/span&gt; fileName, &lt;span style="color:blue;"&gt;byte&lt;/span&gt;[] fileBytes)    &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt; {          &lt;/pre&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt;   &lt;span style="color:blue;"&gt;var&lt;/span&gt; mediaObject = &lt;span style="color:blue;"&gt;new&lt;/span&gt; &lt;span style="color:#2b91af;"&gt;FacebookMediaObject&lt;/span&gt; &lt;/pre&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt;    {    &lt;/pre&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt;       FileName = fileName,     &lt;/pre&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt;       ContentType = &lt;span style="color:#a31515;"&gt;"video/3gpp"&lt;/span&gt; &lt;/pre&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt;    };     &lt;/pre&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt;    mediaObject.SetValue(fileBytes);         &lt;/pre&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt;    &lt;span style="color:blue;"&gt;try&lt;/span&gt; {         &lt;/pre&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt;              &lt;span style="color:blue;"&gt;var&lt;/span&gt; fb = &lt;span style="color:blue;"&gt;new&lt;/span&gt; &lt;span style="color:#2b91af;"&gt;FacebookClient&lt;/span&gt;(accessToken);     &lt;/pre&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt;              &lt;span style="color:blue;"&gt;var&lt;/span&gt; parameters = &lt;span style="color:blue;"&gt;new&lt;/span&gt; &lt;span style="color:#2b91af;"&gt;Dictionary&lt;/span&gt;&amp;lt;&lt;span style="color:blue;"&gt;string&lt;/span&gt;, &lt;span style="color:blue;"&gt;object&lt;/span&gt;&amp;gt;();   &lt;/pre&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt;              parameters[&lt;span style="color:#a31515;"&gt;"method"&lt;/span&gt;] = &lt;span style="color:#a31515;"&gt;"video.upload"&lt;/span&gt;;       &lt;/pre&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt;              parameters[&lt;span style="color:#a31515;"&gt;"caption"&lt;/span&gt;] = &lt;span style="color:#a31515;"&gt;"video upload using rest api"&lt;/span&gt;;   &lt;/pre&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt;              parameters[&lt;span style="color:#a31515;"&gt;"source"&lt;/span&gt;] = mediaObject;          &lt;/pre&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt;              &lt;span style="color:blue;"&gt;var&lt;/span&gt; result = (&lt;span style="color:#2b91af;"&gt;IDictionary&lt;/span&gt;&amp;lt;&lt;span style="color:blue;"&gt;string&lt;/span&gt;, &lt;span style="color:blue;"&gt;object&lt;/span&gt;&amp;gt;)fb.Post(parameters);   &lt;/pre&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt;              &lt;span style="color:blue;"&gt;var&lt;/span&gt; videoId = (&lt;span style="color:blue;"&gt;string&lt;/span&gt;)result[&lt;span style="color:#a31515;"&gt;"vid"&lt;/span&gt;];        &lt;/pre&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt;              &lt;span style="color:#2b91af;"&gt;Console&lt;/span&gt;.WriteLine(&lt;span style="color:#a31515;"&gt;"Video Id: {0}"&lt;/span&gt;, videoId);   &lt;/pre&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt;              &lt;span style="color:green;"&gt;// Note: This json result is not the orginal json string as returned by Facebook.&lt;/span&gt;    &lt;/pre&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt;              &lt;span style="color:#2b91af;"&gt;Console&lt;/span&gt;.WriteLine(&lt;span style="color:#a31515;"&gt;"Json: {0}"&lt;/span&gt;, result.ToString());     &lt;/pre&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt;              &lt;span style="color:blue;"&gt;return&lt;/span&gt; videoId;      &lt;/pre&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt;       }           &lt;/pre&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt;       &lt;span style="color:blue;"&gt;catch&lt;/span&gt; (&lt;span style="color:#2b91af;"&gt;FacebookApiException&lt;/span&gt; ex) {     &lt;/pre&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt;            &lt;span style="color:green;"&gt;// Note: make sure to handle this exception.&lt;/span&gt;       &lt;/pre&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt;          &lt;span style="color:blue;"&gt;throw&lt;/span&gt;;           &lt;/pre&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt;      }        &lt;/pre&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt; }    &lt;/pre&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, serif; font-size: 16px; white-space: normal; "&gt;Codeplex discussion entry:&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://facebooksdk.codeplex.com/discussions/258645"&gt;http://facebooksdk.codeplex.com/discussions/258645&lt;/a&gt; &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;Regards,&lt;div&gt;Mostafa Arafatwitter.com/mostafaelzoghbi&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25545748-3089307531835414606?l=moustafa-arafa.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://moustafa-arafa.blogspot.com/2011/05/upload-video-to-facebook-in-c.html</link><author>noreply@blogger.com (Mostafa Elzoghbi)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-25545748.post-3475991001182392462</guid><pubDate>Tue, 17 May 2011 20:17:00 +0000</pubDate><atom:updated>2011-05-17T16:52:12.794-04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">JavaScript</category><category domain="http://www.blogger.com/atom/ns#">Facebook</category><category domain="http://www.blogger.com/atom/ns#">Ajax</category><category domain="http://www.blogger.com/atom/ns#">C#</category><title>Fix It: Sys.WebForms.PageRequestManagerParserErrorException when using update Panel in Facebook Apps</title><description>&lt;div&gt;&lt;span class="Apple-style-span" &gt;Hi All,&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;I was developing a Facebook application using Facebook C# SDK and i have an update panel in my page i'd like it to update a grid in it based on selected index changed event for a drop down list.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;The problem is that i have the update panel was throwing an exception when i was trying to change the selected index of a drop down list, the error is :&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(58, 62, 67); font-weight: bold; line-height: 31px; "  &gt;Sys.WebForms.PageRequestManagerParserErrorException when using update Panel&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="color: rgb(51, 51, 51); line-height: 16px; "&gt;&lt;span name="subject" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; font-weight: inherit; font-style: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "  &gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="color: rgb(51, 51, 51); line-height: 16px; "&gt;&lt;span name="subject" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; font-weight: inherit; font-style: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "  &gt;This error is vague, to know exactly what is the problem of the update panel, Install &lt;a href="http://www.fiddlertool.com/fiddler/version.asp"&gt;Fiddler &lt;/a&gt;which is the best tool for any web developer should have to inspect http requests/responses.&lt;/span&gt;&lt;/div&gt;&lt;div style="color: rgb(51, 51, 51); line-height: 16px; "&gt;&lt;span name="subject" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; font-weight: inherit; font-style: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "  &gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span name="subject" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "  &gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-style: inherit; line-height: 16px;"&gt;After installing and open Fiddler to inspect all http &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;round trips&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-style: inherit; line-height: 16px;"&gt; on my development machine, I found the actual error that was returned from the server is:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="color: rgb(51, 51, 51); font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 16px; font-size: 13px; "&gt;&lt;span name="subject" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; font-weight: inherit; font-style: inherit; font-family: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 18px; color: rgb(0, 0, 0); "&gt;&lt;pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(238, 238, 238); font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; overflow-x: auto; overflow-y: auto; width: auto; max-height: 600px; background-position: initial initial; background-repeat: initial initial; "&gt;&lt;code style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(238, 238, 238); font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-position: initial initial; background-repeat: initial initial; "&gt;Given URL is not allowed by the Application configuration.&lt;/code&gt;&lt;/pre&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="color: rgb(51, 51, 51); line-height: 16px; "&gt;&lt;span class="Apple-style-span"  &gt;So the solution for this problem is a missing or incorrect configuration in your Facebook application. Open the configuration of your Facebook application and select website tab and set the website url for your local Facebook application is running:&lt;/span&gt;&lt;/div&gt;&lt;div style="line-height: 16px; "&gt;&lt;span class="Apple-style-span"  &gt;Site URL :   http://localhost/&lt;/span&gt;&lt;/div&gt;&lt;div style="color: rgb(51, 51, 51); font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 16px; font-size: 13px; "&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: rgb(51, 51, 51); font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 16px; font-size: 13px; "&gt;&lt;b&gt;Tips: &lt;/b&gt;&lt;/div&gt;&lt;div style="color: rgb(51, 51, 51); line-height: 16px; "&gt;&lt;span class="Apple-style-span"  &gt;&lt;b&gt;1) If you set the port number in the site url this won't fix the problem, Just set the localhost without any ports and this will fix the update panel problem is not updating because of the javascript error&lt;/b&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div style="line-height: 16px; "&gt;&lt;b&gt;&lt;span class="Apple-style-span"  &gt;2) You can have &lt;span class="Apple-style-span" style="white-space: pre; line-height: normal; "&gt;SelectedIndexChanged event as &lt;/span&gt;&lt;span class="Apple-style-span" style="white-space: pre; line-height: normal; "&gt;AsyncPostBackTrigger in the update &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="line-height: 16px; "&gt;&lt;span class="Apple-style-span"  &gt;&lt;b&gt;&lt;span class="Apple-style-span" style="white-space: pre; line-height: normal; "&gt;panel and no issues &lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="white-space: pre; line-height: normal; "&gt;&lt;b&gt;with this because i read some posts were saying it has to be SyncPostBack&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="line-height: 16px; "&gt;&lt;span class="Apple-style-span"  &gt;&lt;span class="Apple-style-span" style="white-space: pre; line-height: normal; "&gt;&lt;b&gt;which is &lt;/b&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="white-space: pre; line-height: normal; "&gt;&lt;b&gt;not actually right.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 16px; white-space: normal; "&gt;Hope this helps.&lt;/span&gt;&lt;/pre&gt;&lt;div style="color: rgb(51, 51, 51); font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 16px; font-size: 13px; "&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;Regards,&lt;div&gt;Mostafa Arafa&lt;/div&gt;&lt;div&gt;twitter.com/mostafaelzoghbi&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25545748-3475991001182392462?l=moustafa-arafa.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://moustafa-arafa.blogspot.com/2011/05/fix-it-syswebformspagerequestmanagerpar.html</link><author>noreply@blogger.com (Mostafa Elzoghbi)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-25545748.post-2423005795128418296</guid><pubDate>Mon, 16 May 2011 21:41:00 +0000</pubDate><atom:updated>2011-05-16T18:02:20.075-04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Facebook</category><category domain="http://www.blogger.com/atom/ns#">IIS 7.0</category><category domain="http://www.blogger.com/atom/ns#">ASP.Net 2.0</category><title>Automatic HTTPS redirect in Windows 2008 R2</title><description>&lt;div&gt;Hi All,&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I was trying to setup automatic redirect from HTTP to HTTPS for my hosted web application in IIS 7.0/7.5 Windows 2008 R2. I spent good time trying to find out a working solution for this problem.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;If you tried a solution with custom error pages 403 in IIS to redirect the http to https, this won't work in windows 2008 R2 IIS 7.0/7.5 server, as stated here:&lt;/div&gt;&lt;div&gt;&lt;a href="http://www.jppinto.com/2009/04/automatically-redirect-http-requests-to-https-iis-7/"&gt;http://www.jppinto.com/2009/04/automatically-redirect-http-requests-to-https-iis-7/&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Please follow these steps to have a working solution:&lt;/div&gt;&lt;div&gt;1) Install URL Rewrite 2.0 on your webserver, download url:&lt;/div&gt;&lt;div&gt;&lt;a href="http://www.iis.net/download/URLRewrite"&gt;http://www.iis.net/download/URLRewrite&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;2) After installing url rewrite module in IIS, Open IIS Manager and select your website, you will find a newly added icon "Url Rewirte"&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;3) Make sure to install SSL certificate on your site and site has https binding on port 443.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;4) on SSL settings in IIS, un check Require SSL check - IMPORTANT, because this will overwrite the settings you will configure on URL Rewrite and will throw http 403.4 error.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;5)  Don't add any custom error pages for 403 as mentioned on some blog posts, if you have please remove it.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;6) double click on URL rewrite and click on add rule.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;7) Select Blank rule and click on ok.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;8) On Name field give name to the rule: Redirect to HTTPS&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;9) Set the following values on the form:&lt;/div&gt;&lt;div&gt;- Requested URL: Select Matches the pattern&lt;/div&gt;&lt;div&gt;- Using: Regular Expression&lt;/div&gt;&lt;div&gt;- Pattern: (.*)&lt;/div&gt;&lt;div&gt;- Under Conditions, Click on Add and type: &lt;/div&gt;&lt;div&gt;   &lt;b&gt;Condition Input: {HTTPS}&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;   Check if input string: Matches the pattern&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;   Pattern: ^OFF$&lt;/b&gt;&lt;/div&gt;&lt;div&gt;- Under Action section:&lt;/div&gt;&lt;div&gt;   Action Type: select Redirect&lt;/div&gt;&lt;div&gt;   Redirect URL: &lt;b&gt;https://{HTTP_HOST}{REQUEST_URI}&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;   If you tried this url: &lt;/b&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; color: rgb(53, 63, 72); font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 16px; "&gt;&lt;a href="https://%7Bhttp_host%7D/%7BR:1" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-decoration: underline; color: rgb(53, 63, 72); "&gt;https://{HTTP_HOST}/{R:1&lt;/a&gt;} as stated in some blogs, this won't work as well.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;   Redirect Type: See Other (303)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;And then click on Apply.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;From IIS Manager, Try to browse the application using HTTP, The IIS will direct you to HTTPS automatically.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Hope this helps.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Resources:&lt;/div&gt;&lt;div&gt;&lt;a href="http://www.jppinto.com/2010/03/automatically-redirect-http-requests-to-https-on-iis7-using-url-rewrite-2-0/"&gt;http://www.jppinto.com/2010/03/automatically-redirect-http-requests-to-https-on-iis7-using-url-rewrite-2-0/&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;Regards,&lt;div&gt;Mostafa Arafa&lt;/div&gt;&lt;div&gt;twitter.com/mostafaelzoghbi&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25545748-2423005795128418296?l=moustafa-arafa.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://moustafa-arafa.blogspot.com/2011/05/automatic-https-redirect-in-windows.html</link><author>noreply@blogger.com (Mostafa Elzoghbi)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-25545748.post-6003662110223036769</guid><pubDate>Tue, 10 May 2011 14:03:00 +0000</pubDate><atom:updated>2011-05-10T10:34:39.669-04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Facebook</category><category domain="http://www.blogger.com/atom/ns#">C#</category><category domain="http://www.blogger.com/atom/ns#">SDK</category><title>How to install NuGet Facebook Samples Package in VS 2010</title><description>&lt;div&gt;Hi All,&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I was trying to develop a functionality to upload a video on facebook, To achieve this, you have to include Facebook NuGet Package in your project.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The question was for me ? What's NuGet ? What's the concept of a Package ? Is it different than VS 2010 Extensions ? and how to add this to my project?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;After reading few blogs and experiment this by myself, I wrote this blog post to clarify these points to any developer who hear these terms for the first time as it was for me.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;What's NuGet ?&lt;/b&gt; &lt;/div&gt;&lt;div&gt;It is a VS 2010 Extension to manage third party and open source libraries in your VS 2010 project, it simplifies the process of installing/uninstalling packages in your projects without worrying about the dependencies dlls and associated files to each packages and so after uninstalling any of these packages on your project there is no clutter.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;How to install it NuGet Package Manager:&lt;/div&gt;&lt;div&gt;&lt;a href="http://visualstudiogallery.msdn.microsoft.com/27077b70-9dad-4c64-adcf-c7cf6bc9970c"&gt;http://visualstudiogallery.msdn.microsoft.com/27077b70-9dad-4c64-adcf-c7cf6bc9970c&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://nuget.codeplex.com/"&gt;http://nuget.codeplex.com/&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Once you install this, Please restart your VS 2010.&lt;/div&gt;&lt;div&gt;Once you re-open your VS 2010, You will notice new menu items under tools called: Library Package Manager.&lt;/div&gt;&lt;div&gt;This is how you can install/uninstall packages in your solution with command line window called "&lt;b&gt;Package Manager Console&lt;/b&gt;".&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;In my case, I was trying to install Facebook Sample Package in my project, How would i do that ?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Here is the steps that you need to follow:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1) Open your VS 2o1o as administrator, &lt;i&gt;if you didn't do that, you might get an error when connecting to your TFS as i got Access denied&lt;/i&gt;.&lt;/div&gt;&lt;div&gt;2) Open your project and set the startup project you would like to add Facebook samples package to it. It is recommended if this is the first time, Open a new empty project and try these steps so you know exactly the added files when you install any package.&lt;/div&gt;&lt;div&gt;3) To explore NuGet Gallery Packages, here is the website:&lt;/div&gt;&lt;div&gt;&lt;a href="http://www.nuget.org/List/Packages"&gt;http://www.nuget.org/List/Packages&lt;/a&gt;&lt;/div&gt;&lt;div&gt;For Facebook Package, here is the command you should type it in "Package manager Console":&lt;/div&gt;&lt;div&gt;&lt;a href="http://www.nuget.org/List/Packages/Facebook.Sample"&gt;http://www.nuget.org/List/Packages/Facebook.Sample&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;PM&amp;gt; &lt;b&gt;install-package facebook.sample&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/-XOPQJZHg6PU/TclMxrwKEiI/AAAAAAAAAz0/OeG2TktoYeM/s1600/PackageConsole.JPG" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 162px;" src="http://4.bp.blogspot.com/-XOPQJZHg6PU/TclMxrwKEiI/AAAAAAAAAz0/OeG2TktoYeM/s320/PackageConsole.JPG" border="0" alt="" id="BLOGGER_PHOTO_ID_5605095627681305122" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Now the facebook sample package has been installed successfully and you can see this in the package manager console.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Open your solution and you will find Samples Folder has been added and Facebook folder underneath it.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;You can explore the code and use any of these functions in your project since all dlls and files required have been added to you.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;To upload a video to facebook, Check &lt;b&gt;LegacyRestApi.CS&lt;/b&gt; in your project and you will find a function called "Upload Video".&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Enjoy and have fun with Facebook C# Development.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Let me know if you have any questions following these steps.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;Regards,&lt;div&gt;Mostafa Arafa&lt;/div&gt;&lt;div&gt;twitter.com/mostafaelzoghbi&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25545748-6003662110223036769?l=moustafa-arafa.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://moustafa-arafa.blogspot.com/2011/05/how-to-install-facebook-samples-in-vs.html</link><author>noreply@blogger.com (Mostafa Elzoghbi)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-XOPQJZHg6PU/TclMxrwKEiI/AAAAAAAAAz0/OeG2TktoYeM/s72-c/PackageConsole.JPG" height="72" width="72" /><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-25545748.post-1198487015965535326</guid><pubDate>Mon, 09 May 2011 20:09:00 +0000</pubDate><atom:updated>2011-05-09T16:28:31.784-04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">SQL 2008</category><title>Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding</title><description>&lt;div&gt;Hi All,&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;If you are experiencing a problem connecting to your SQL Server 2008 R2 DB server from any remote machine in your network, Please make sure of the following:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1) You are able to ping the machine from the remote server.&lt;/div&gt;&lt;div&gt;2) Try to connect make sure that the SQL Server Engine service is up and running, You can open "SQL Server Configuration Manager" and make sure that the service is up and running.&lt;/div&gt;&lt;div&gt;3) Make sure that you have at least one protocol TCP/IP,Named Piper or Shared Memory is allowed on both your client and your DB Server and this you can check it from SQL Configuration Manager.&lt;/div&gt;&lt;div&gt;4)&lt;b&gt; THIS FIXED MY PROBLEM&lt;/b&gt;: Disable the Domain firewall in the DB machine that blocks all inbound connections to your DB Server. To do this:&lt;/div&gt;&lt;div&gt;a) From Server Manager.&lt;/div&gt;&lt;div&gt;b) Under Configuration - &amp;gt; Select Windows Firewall.&lt;/div&gt;&lt;div&gt;c) Click on Windows Firewall Properties and disable your domain profile firewall.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Try to refresh your page and you will be able to connect to your DB.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Hope this helps.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;Regards,&lt;div&gt;Mostafa Arafa&lt;/div&gt;&lt;div&gt;twitter.com/mostafaelzoghbi&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25545748-1198487015965535326?l=moustafa-arafa.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://moustafa-arafa.blogspot.com/2011/05/timeout-expired-timeout-period-elapsed.html</link><author>noreply@blogger.com (Mostafa Elzoghbi)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-25545748.post-4463901908086979850</guid><pubDate>Mon, 09 May 2011 15:54:00 +0000</pubDate><atom:updated>2011-05-09T12:01:47.744-04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">asp.net</category><category domain="http://www.blogger.com/atom/ns#">IIS 7.0</category><title>Unrecognized attribute 'targetFramework' 4.0</title><description>&lt;div&gt;Hi Folks,&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;If you tried to deploy your asp.net application on Win 08 - IIS7 and you were getting this error:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; "&gt;Unrecognized attribute 'targetFramework' 4.0&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: 25px; "&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;This means the application pool that runs your website is not configured to run under .NET Framework 4.0.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;On IIS 7:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;1) Click on your application pool.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;2) Click on the right pane, Advanced settings.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;3) Under General Tab, Select .NET Framework Version.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;4) Select v 4.0.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;5) Recycle your application pool by right click on it.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;6) Refresh your page.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;Refresh your page and it works :)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;Hope this helps...&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: 25px; "&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(68, 82, 94); font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 16px; "&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;Regards,&lt;div&gt;Mostafa Arafatwitter.com/mostafaelzoghbi&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25545748-4463901908086979850?l=moustafa-arafa.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://moustafa-arafa.blogspot.com/2011/05/unrecognized-attribute-targetframework.html</link><author>noreply@blogger.com (Mostafa Elzoghbi)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-25545748.post-1321446593501624046</guid><pubDate>Mon, 25 Apr 2011 12:33:00 +0000</pubDate><atom:updated>2011-04-25T08:49:47.441-04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">SharePoint</category><title>SharePoint Diagnostic Studio 2010</title><description>&lt;div&gt;&lt;div&gt;Hi Folks,&lt;/div&gt;&lt;div&gt;SharePoint Product team announced a new tool for SharePoint 2010 that helps SharePoint Architects, Professionals, Developers and IW Group to maintain a health state of your SharePoiont 2010 Farm by giving your the tools and processes to monitor: Event Logs, ULS Logs, Performance counters, Performance of SQL Queries along with the events associated for SP actions/events in your farm.&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;We were looking long time to have this tool along with the reporting capabilites that is provided, Read more about it: &lt;a href="http://sharepoint.microsoft.com/blog/Lists/Posts/Post.aspx?ID=971"&gt;http://sharepoint.microsoft.com/blog/Lists/Posts/Post.aspx?ID=971&lt;/a&gt;&lt;/div&gt;&lt;div&gt;SharePoint Diagnostic Studio Documentation:&lt;/div&gt;&lt;div&gt; &lt;a href="http://technet.microsoft.com/en-us/library/hh144782.aspx"&gt;http://technet.microsoft.com/en-us/library/hh144782.aspx&lt;/a&gt;&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;Hope this helps.&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;Regards,&lt;/div&gt;&lt;div&gt;Mostafa Arafa&lt;/div&gt;&lt;div&gt;twitter.com/mostafaelzoghbi&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25545748-1321446593501624046?l=moustafa-arafa.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://moustafa-arafa.blogspot.com/2011/04/sharepoint-diagnostic-studio-2010.html</link><author>noreply@blogger.com (Mostafa Elzoghbi)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-25545748.post-1284772439713040261</guid><pubDate>Wed, 30 Mar 2011 14:18:00 +0000</pubDate><atom:updated>2011-03-30T10:33:50.895-04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">asp.net</category><category domain="http://www.blogger.com/atom/ns#">C#</category><category domain="http://www.blogger.com/atom/ns#">Web 2.0</category><title>CSS is not applied on login page in ASP.NET</title><description>Hi All,&lt;br /&gt;If you are working with asp.net and you tried to apply css classes on your web application which is linked in your master page. You might face a problem that the css classes doesn't show on your login page but it shows properly after you logged in to your application by clicking on sign out link.&lt;br /&gt;&lt;br /&gt;The problem is a security permission problem, since by default the asp.net application has a rule that doesn't allow all users to access folder within your project, to fix this problem, you want to allow all users to access your css file in your folder, So let's say you have css files in your &lt;b&gt;Styles&lt;/b&gt; folder in your web project; You need to allow &lt;b&gt;all users&lt;/b&gt; in web.config to access these files, so this fixes this problem in login.aspx page.&lt;br /&gt;&lt;br /&gt;Add the following in your web.config to fix this issue:&lt;br /&gt;&lt;br /&gt;&amp;lt;location path="Styles"&amp;gt;&lt;br /&gt;&amp;lt;system.web&amp;gt;&lt;br /&gt; &amp;lt;authorization&amp;gt;     &lt;br /&gt;  &amp;lt;allow users="*" /&amp;gt;&lt;br /&gt; &amp;lt;/authorization&amp;gt;&lt;br /&gt;&amp;lt;/system.web&amp;gt;&lt;br /&gt;&amp;lt;/location&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;After applying this, try to run your application and you will see the css classes are applied in your login page before signing in or after signing out.&lt;br /&gt;&lt;br /&gt;Hope this helps.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Mostafa Arafa&lt;br /&gt;twitter.com/mostafaelzoghbi&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25545748-1284772439713040261?l=moustafa-arafa.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://moustafa-arafa.blogspot.com/2011/03/css-is-not-applied-on-login-page-in.html</link><author>noreply@blogger.com (Mostafa Elzoghbi)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-25545748.post-6689297203982929347</guid><pubDate>Mon, 21 Mar 2011 20:16:00 +0000</pubDate><atom:updated>2011-03-21T16:36:21.536-04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Facebook</category><category domain="http://www.blogger.com/atom/ns#">Azure</category><category domain="http://www.blogger.com/atom/ns#">C#</category><title>Deploy Your Facebook Application in Azure</title><description>&lt;div&gt;Hi All,&lt;/div&gt;&lt;div&gt;If you trying to get started developing Facebook Applications in C#, Then you need to download  facebook SDK in C#, and you can get the latest build from below link:&lt;br /&gt;&lt;a href="http://msdn.microsoft.com/en-us/windows/ee388574"&gt;http://msdn.microsoft.com/en-us/windows/ee388574&lt;/a&gt;&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;After you install Facebook SDK, You will have good samples to get started and configure your application to be integrated with Facebook. After you will be able to successfully configure the first application. Then, If you want to deploy this application on Windows Azure, The question will be: How Can i deploy a sample website into Azure ? All samples provided in FB SDK are ASP.NET websites. As you might know, To deploy any web role in Azure you need to have a Web Application and Not a website. So the question how can i do this ? Please follow these steps:&lt;/div&gt;&lt;div&gt;1) Create a new Web Application in your solution.&lt;/div&gt;&lt;div&gt;2) Copy the Web.Config that you have in FB website and paste it in your web application.&lt;/div&gt;&lt;div&gt;3) Copy the code in Global.asax in FB Web site and paste it in your web application Global.asax.&lt;/div&gt;&lt;div&gt;4) You need to copy the code in FB web site master page and have it in your web application master page with updates to couple of controls.&lt;/div&gt;&lt;div&gt;5) Copy the code in web site default.aspx and paste it in your web application default.aspx.&lt;/div&gt;&lt;div&gt;6) Make sure to add latest Facebook.dll and Facebook.web.dll in your ASP.NET web application.&lt;/div&gt;&lt;div&gt;7) You need Facebook.MVC.dll if your application is a MVC ASP.NET application.&lt;/div&gt;&lt;div&gt;8) Make sure to update your web application web.config with the Facebook configuration.&lt;/div&gt;&lt;div&gt;9) Try to build and run your web application. You will be directed to facebook canvas page as configured in your web application.&lt;/div&gt;&lt;div&gt;10) Add a cloud service in your solution.&lt;/div&gt;&lt;div&gt;11) Add this web application as a web role and try to set the cloud service as a startup project.&lt;/div&gt;&lt;div&gt;Note: Make sure to target 4.0 .NET Framework.&lt;/div&gt;&lt;div&gt;Build &amp;amp; Test it out !&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;Hope this helps.&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;Regards,&lt;br /&gt;Mostafa Arafa&lt;br /&gt;twitter.com/mostafaelzoghbi&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25545748-6689297203982929347?l=moustafa-arafa.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://moustafa-arafa.blogspot.com/2011/03/deploy-your-facebook-application-in.html</link><author>noreply@blogger.com (Mostafa Elzoghbi)</author><thr:total>0</thr:total></item></channel></rss>

