<?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:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>...Me Unplugged...</title><link>http://blogs.msdn.com/b/harsh/</link><description /><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/SharepointUnplugged" /><feedburner:info uri="sharepointunplugged" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item><title>Copying files from Desktop to a CE device</title><link>http://feedproxy.google.com/~r/SharepointUnplugged/~3/ipyUbTUsAuU/copying-files-from-desktop-to-a-ce-device.aspx</link><pubDate>Wed, 07 May 2008 23:10:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8466918</guid><dc:creator>Harsh Chiplonkar</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/harsh/rsscomments.aspx?WeblogPostID=8466918</wfw:commentRss><comments>http://blogs.msdn.com/b/harsh/archive/2008/05/08/copying-files-from-desktop-to-a-ce-device.aspx#comments</comments><description>&amp;nbsp; 
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;So I have this problem, where I need to create a tool that creates a folder with a bunch of files on the PC and then copies all these files over to a CE device. The method of choice here was via ActiveSync over USB.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;One of the design goals was to be able to copy these files to a number of devices simultaneously. However, research revealed that this is not really possible since, activesync only supports one active connection at a time. So much for the great idea. &lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;So now we are faced with this problem of copying files over to the device over ActiveSync. Since the app had a lot of GUI, I created that in C#. The .NET framework exposes excellent API for file manipulation based on paths. The problem with ActiveSync connections is when the device is cradled, there is no drive letter associated with the connection. So all device paths are then \My Documents\ or \Program Files\ etc.&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;This creates a problem as far as the File manipulation API in System.IO. Since these methods accept relative as well as fully qualified paths, any path like the above, would be treated as a relative path and not a fully qualified path, thereby causing a lot of grief.&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;The only way to get past this so far has been to use RAPI. &lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;RAPI stands for Remote Application Programming Interface, and was created ages ago with the first wave of activesync and windows mobile products.&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;RAPI has some documentation on MSDN at: &lt;A href="http://msdn.microsoft.com/en-us/library/aa458022.aspx" mce_href="http://msdn.microsoft.com/en-us/library/aa458022.aspx"&gt;http://msdn.microsoft.com/en-us/library/aa458022.aspx&lt;/A&gt; &lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;However since RAPI is a native API, almost all the documentation is geared towards native implementation.&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;After searching the intertubes for a suitable solution, I couldn’t find one that was recent, and that was guaranteed to work. &lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;Below is the solution:&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class=markupcode&gt;&lt;FONT color=blue&gt;using&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;System&lt;/FONT&gt;&lt;FONT color=blue&gt;;&lt;BR&gt;using&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;System.Threading&lt;/FONT&gt;&lt;FONT color=blue&gt;;&lt;BR&gt;using&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;System.Runtime.InteropServices&lt;/FONT&gt;&lt;FONT color=blue&gt;;&lt;BR&gt;using&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;COMTYPES&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;System.Runtime.InteropServices.ComTypes&lt;/FONT&gt;&lt;FONT color=blue&gt;;&lt;BR&gt;using&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;System.Collections.Generic&lt;/FONT&gt;&lt;FONT color=blue&gt;;&lt;BR&gt;using&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;System.Text&lt;/FONT&gt;&lt;FONT color=blue&gt;;&lt;BR&gt;using&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;System.IO&lt;/FONT&gt;&lt;FONT color=blue&gt;;&lt;BR&gt;using&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;Logger&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;Microsoft.MobileDevices.Tools.Utilities.Logger&lt;/FONT&gt;&lt;FONT color=blue&gt;;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;namespace&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;Microsoft.MobileDevices.Tools.RAPILibrary&lt;BR&gt;{&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;public&amp;nbsp;class&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;RAPILibrary&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;#&amp;nbsp;region&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;RAPI&amp;nbsp;EXTERN&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=darkgreen&gt;//&amp;nbsp;-------------------------------------------------------&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//&amp;nbsp;RAPI.DLL&amp;nbsp;Definitions&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//&amp;nbsp;-------------------------------------------------------&lt;BR&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;public&amp;nbsp;const&amp;nbsp;int&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;MAX_PATH&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=maroon&gt;260&lt;/FONT&gt;&lt;FONT color=blue&gt;;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;public&amp;nbsp;const&amp;nbsp;uint&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;MAXDWORD&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;0xFFFFFFFF&lt;/FONT&gt;&lt;FONT color=blue&gt;;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;public&amp;nbsp;const&amp;nbsp;uint&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;S_OK&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=maroon&gt;0&lt;/FONT&gt;&lt;FONT color=blue&gt;;&lt;BR&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;public&amp;nbsp;struct&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;RAPIINIT&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;public&amp;nbsp;int&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;cbSize&lt;/FONT&gt;&lt;FONT color=blue&gt;;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;public&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;IntPtr&amp;nbsp;heRapiInit&lt;/FONT&gt;&lt;FONT color=blue&gt;;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;public&amp;nbsp;int&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;hrRapiInit&lt;/FONT&gt;&lt;FONT color=blue&gt;;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;}&lt;/FONT&gt;&lt;FONT color=blue&gt;;&lt;BR&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=darkgreen&gt;//&amp;nbsp;From&amp;nbsp;WINBASE.H&amp;nbsp;--&amp;nbsp;for&amp;nbsp;CeCreateFile&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;public&amp;nbsp;enum&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;ACCESS&amp;nbsp;:&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;uint&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;{&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;READ&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;0x80000000,&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;WRITE&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;0x40000000,&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&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;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=darkgreen&gt;//&amp;nbsp;From&amp;nbsp;WINBASE.H&amp;nbsp;--&amp;nbsp;for&amp;nbsp;CeCreateFile&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;public&amp;nbsp;enum&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;SHARE&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;READ&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;0x00000001,&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;WRITE&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;0x00000002,&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&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;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=darkgreen&gt;//&amp;nbsp;From&amp;nbsp;WINBASE.H&amp;nbsp;--&amp;nbsp;for&amp;nbsp;CeCreateFile&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;public&amp;nbsp;enum&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;ACTION&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CREATE_NEW&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=maroon&gt;1&lt;/FONT&gt;&lt;FONT color=black&gt;,&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CREATE_ALWAYS&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=maroon&gt;2&lt;/FONT&gt;&lt;FONT color=black&gt;,&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;OPEN_EXISTING&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=maroon&gt;3&lt;/FONT&gt;&lt;FONT color=black&gt;,&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;OPEN_ALWAYS&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=maroon&gt;4&lt;/FONT&gt;&lt;FONT color=black&gt;,&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;TRUNCATE_EXISTING&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=maroon&gt;5&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;}&lt;BR&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=darkgreen&gt;//&amp;nbsp;From&amp;nbsp;WINBASE.H&amp;nbsp;--&amp;nbsp;for&amp;nbsp;CeCreateFile&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;public&amp;nbsp;enum&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;FILEFLAGATT&amp;nbsp;:&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;uint&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;{&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ATTRIBUTE_READONLY&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;0x00000001,&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ATTRIBUTE_HIDDEN&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;0x00000002,&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ATTRIBUTE_SYSTEM&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;0x00000004,&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ATTRIBUTE_DIRECTORY&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;0x00000010,&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ATTRIBUTE_ARCHIVE&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;0x00000020,&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ATTRIBUTE_INROM&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;0x00000040,&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ATTRIBUTE_ENCRYPTED&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;0x00000040,&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ATTRIBUTE_NORMAL&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;0x00000080,&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ATTRIBUTE_TEMPORARY&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;0x00000100,&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ATTRIBUTE_SPARSE_FILE&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;0x00000200,&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ATTRIBUTE_REPARSE_POINT&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;0x00000400,&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ATTRIBUTE_COMPRESSED&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;0x00000800,&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ATTRIBUTE_OFFLINE&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;0x00001000,&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ATTRIBUTE_ROMSTATICREF&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;0x00001000,&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ATTRIBUTE_NOT_CONTENT_INDEXED&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;0x00002000,&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ATTRIBUTE_ROMMODULE&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;0x00002000,&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;FLAG_WRITE_THROUGH&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;0x80000000,&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;FLAG_OVERLAPPED&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;0x40000000,&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;FLAG_NO_BUFFERING&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;0x20000000,&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;FLAG_RANDOM_ACCESS&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;0x10000000,&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;FLAG_SEQUENTIAL_SCAN&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;0x08000000,&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;FLAG_DELETE_ON_CLOSE&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;0x04000000,&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;FLAG_BACKUP_SEMANTICS&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;0x02000000,&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;FLAG_POSIX_SEMANTICS&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;0x01000000,&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=darkgreen&gt;///&amp;nbsp;&amp;lt;summary&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;///&amp;nbsp;Closes&amp;nbsp;handle&amp;nbsp;passed&amp;nbsp;in&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;///&amp;nbsp;&amp;lt;/summary&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;///&amp;nbsp;&amp;lt;param&amp;nbsp;name="hObject"&amp;gt;handle&amp;nbsp;to&amp;nbsp;be&amp;nbsp;closed&amp;lt;/param&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;///&amp;nbsp;&amp;lt;returns&amp;gt;&amp;lt;/returns&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;[DllImport(&lt;/FONT&gt;&lt;FONT color=#808080&gt;"rapi.DLL"&lt;/FONT&gt;&lt;FONT color=black&gt;,&amp;nbsp;CharSet&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;CharSet.Unicode)]&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;public&amp;nbsp;static&amp;nbsp;extern&amp;nbsp;int&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;CeCloseHandle(IntPtr&amp;nbsp;hObject)&lt;/FONT&gt;&lt;FONT color=blue&gt;;&lt;BR&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=darkgreen&gt;///&amp;nbsp;&amp;lt;summary&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;///&amp;nbsp;Creates&amp;nbsp;file&amp;nbsp;on&amp;nbsp;device&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;///&amp;nbsp;&amp;lt;/summary&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;///&amp;nbsp;&amp;lt;param&amp;nbsp;name="lpFileName"&amp;gt;path&amp;nbsp;of&amp;nbsp;file&amp;lt;/param&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;///&amp;nbsp;&amp;lt;param&amp;nbsp;name="dwDesiredAccess"&amp;gt;Read/Write&amp;lt;/param&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;///&amp;nbsp;&amp;lt;param&amp;nbsp;name="dwShareMode"&amp;gt;Share&amp;nbsp;mode&amp;lt;/param&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;///&amp;nbsp;&amp;lt;param&amp;nbsp;name="Res1"&amp;gt;&amp;lt;/param&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;///&amp;nbsp;&amp;lt;param&amp;nbsp;name="dwCreationDisposition"&amp;gt;File&amp;nbsp;creation&amp;nbsp;options&amp;lt;/param&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;///&amp;nbsp;&amp;lt;param&amp;nbsp;name="dwFlagsAndAttributes"&amp;gt;Flags&amp;nbsp;and&amp;nbsp;attributes&amp;lt;/param&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;///&amp;nbsp;&amp;lt;param&amp;nbsp;name="Res2"&amp;gt;&amp;lt;/param&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;///&amp;nbsp;&amp;lt;returns&amp;gt;pointer&amp;nbsp;to&amp;nbsp;the&amp;nbsp;created&amp;nbsp;file&amp;lt;/returns&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;[DllImport(&lt;/FONT&gt;&lt;FONT color=#808080&gt;"rapi.DLL"&lt;/FONT&gt;&lt;FONT color=black&gt;,&amp;nbsp;CharSet&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;CharSet.Unicode)]&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;public&amp;nbsp;static&amp;nbsp;extern&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;IntPtr&amp;nbsp;CeCreateFile(&lt;/FONT&gt;&lt;FONT color=blue&gt;string&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;lpFileName,&amp;nbsp;ACCESS&amp;nbsp;dwDesiredAccess,&amp;nbsp;SHARE&amp;nbsp;dwShareMode,&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;int&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;Res1,&amp;nbsp;ACTION&amp;nbsp;dwCreationDisposition,&amp;nbsp;FILEFLAGATT&amp;nbsp;dwFlagsAndAttributes,&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;int&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;Res2)&lt;/FONT&gt;&lt;FONT color=blue&gt;;&lt;BR&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=darkgreen&gt;///&amp;nbsp;&amp;lt;summary&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;///&amp;nbsp;Reads&amp;nbsp;the&amp;nbsp;file&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;///&amp;nbsp;&amp;lt;/summary&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;///&amp;nbsp;&amp;lt;param&amp;nbsp;name="hFile"&amp;gt;handle&amp;nbsp;to&amp;nbsp;the&amp;nbsp;file&amp;lt;/param&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;///&amp;nbsp;&amp;lt;param&amp;nbsp;name="lpBuffer"&amp;gt;buffer&amp;nbsp;to&amp;nbsp;copy&amp;nbsp;data&amp;nbsp;to&amp;lt;/param&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;///&amp;nbsp;&amp;lt;param&amp;nbsp;name="nNumberOfBytesToRead"&amp;gt;file&amp;nbsp;size&amp;nbsp;to&amp;nbsp;read&amp;lt;/param&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;///&amp;nbsp;&amp;lt;param&amp;nbsp;name="lpNumberOfBytesRead"&amp;gt;file&amp;nbsp;size&amp;nbsp;read&amp;lt;/param&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;///&amp;nbsp;&amp;lt;param&amp;nbsp;name="Reserved"&amp;gt;&amp;lt;/param&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;///&amp;nbsp;&amp;lt;returns&amp;gt;&amp;lt;/returns&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;[DllImport(&lt;/FONT&gt;&lt;FONT color=#808080&gt;"rapi.DLL"&lt;/FONT&gt;&lt;FONT color=black&gt;,&amp;nbsp;CharSet&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;CharSet.Unicode)]&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;public&amp;nbsp;static&amp;nbsp;extern&amp;nbsp;int&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;CeReadFile(IntPtr&amp;nbsp;hFile,&amp;nbsp;IntPtr&amp;nbsp;lpBuffer,&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;int&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;nNumberOfBytesToRead,&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;ref&amp;nbsp;int&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;lpNumberOfBytesRead,&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;int&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;Reserved)&lt;/FONT&gt;&lt;FONT color=blue&gt;;&lt;BR&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=darkgreen&gt;///&amp;nbsp;&amp;lt;summary&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;///&amp;nbsp;Writes&amp;nbsp;file&amp;nbsp;to&amp;nbsp;device&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;///&amp;nbsp;&amp;lt;/summary&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;///&amp;nbsp;&amp;lt;param&amp;nbsp;name="hFile"&amp;gt;handle&amp;nbsp;of&amp;nbsp;file&amp;nbsp;to&amp;nbsp;write&amp;nbsp;to&amp;lt;/param&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;///&amp;nbsp;&amp;lt;param&amp;nbsp;name="lpBuffer"&amp;gt;data&amp;nbsp;to&amp;nbsp;write&amp;lt;/param&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;///&amp;nbsp;&amp;lt;param&amp;nbsp;name="nNumberOfBytesToWrite"&amp;gt;length&amp;nbsp;of&amp;nbsp;buffer&amp;lt;/param&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;///&amp;nbsp;&amp;lt;param&amp;nbsp;name="lpNumberOfBytesWritten"&amp;gt;length&amp;nbsp;of&amp;nbsp;file&amp;nbsp;on&amp;nbsp;device&amp;lt;/param&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;///&amp;nbsp;&amp;lt;param&amp;nbsp;name="Reserved"&amp;gt;&amp;lt;/param&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;///&amp;nbsp;&amp;lt;returns&amp;gt;&amp;lt;/returns&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;[DllImport(&lt;/FONT&gt;&lt;FONT color=#808080&gt;"rapi.DLL"&lt;/FONT&gt;&lt;FONT color=black&gt;,&amp;nbsp;CharSet&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;CharSet.Unicode)]&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;public&amp;nbsp;static&amp;nbsp;extern&amp;nbsp;int&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;CeWriteFile(IntPtr&amp;nbsp;hFile,&amp;nbsp;IntPtr&amp;nbsp;lpBuffer,&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;int&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;nNumberOfBytesToWrite,&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;ref&amp;nbsp;int&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;lpNumberOfBytesWritten,&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;int&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;Reserved)&lt;/FONT&gt;&lt;FONT color=blue&gt;;&lt;BR&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=darkgreen&gt;///&amp;nbsp;&amp;lt;summary&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;///&amp;nbsp;Copies&amp;nbsp;file&amp;nbsp;from&amp;nbsp;desktop&amp;nbsp;to&amp;nbsp;device&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;///&amp;nbsp;&amp;lt;/summary&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;///&amp;nbsp;&amp;lt;param&amp;nbsp;name="deskFile"&amp;gt;Full&amp;nbsp;path&amp;nbsp;of&amp;nbsp;file&amp;nbsp;on&amp;nbsp;the&amp;nbsp;desktop&amp;nbsp;including&amp;nbsp;filename&amp;lt;/param&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;///&amp;nbsp;&amp;lt;param&amp;nbsp;name="devFilePath"&amp;gt;Path&amp;nbsp;of&amp;nbsp;file&amp;nbsp;name&amp;nbsp;on&amp;nbsp;the&amp;nbsp;device.&amp;nbsp;'\'&amp;nbsp;denotes&amp;nbsp;root&amp;nbsp;&amp;lt;/param&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;public&amp;nbsp;static&amp;nbsp;void&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;CopyFiletoDevice(&lt;/FONT&gt;&lt;FONT color=blue&gt;string&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;deskFile,&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;string&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;devFilePath)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;try&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;{&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;int&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;numTries&lt;/FONT&gt;&lt;FONT color=blue&gt;=&lt;/FONT&gt;&lt;FONT color=maroon&gt;0&lt;/FONT&gt;&lt;FONT color=blue&gt;;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=darkgreen&gt;//&amp;nbsp;Verify&amp;nbsp;file&amp;nbsp;exists&amp;nbsp;on&amp;nbsp;desktop&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;FileInfo&amp;nbsp;fInfo&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;new&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;FileInfo(deskFile)&lt;/FONT&gt;&lt;FONT color=blue&gt;;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;(fInfo.Exists)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;IntPtr&amp;nbsp;devFileHandle&lt;/FONT&gt;&lt;FONT color=blue&gt;;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=darkgreen&gt;//&amp;nbsp;create&amp;nbsp;a&amp;nbsp;file&amp;nbsp;on&amp;nbsp;the&amp;nbsp;device&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;do&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=darkgreen&gt;//&amp;nbsp;force&amp;nbsp;valid&amp;nbsp;handle&amp;nbsp;in&amp;nbsp;the&amp;nbsp;loop&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;{&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;devFileHandle&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;CeCreateFile(devFilePath,&amp;nbsp;ACCESS.READ&amp;nbsp;|&amp;nbsp;ACCESS.WRITE,&amp;nbsp;SHARE.READ&amp;nbsp;|&amp;nbsp;SHARE.WRITE,&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=maroon&gt;0&lt;/FONT&gt;&lt;FONT color=black&gt;,&amp;nbsp;ACTION.CREATE_ALWAYS,&amp;nbsp;FILEFLAGATT.ATTRIBUTE_NORMAL,&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=maroon&gt;0&lt;/FONT&gt;&lt;FONT color=black&gt;)&lt;/FONT&gt;&lt;FONT color=blue&gt;;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;(devFileHandle.ToInt32()&amp;nbsp;&amp;lt;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=maroon&gt;0&lt;/FONT&gt;&lt;FONT color=black&gt;)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CeCloseHandle(devFileHandle)&lt;/FONT&gt;&lt;FONT color=blue&gt;;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;}&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;while&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;(devFileHandle.ToInt32()&amp;nbsp;&amp;lt;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=maroon&gt;0&lt;/FONT&gt;&lt;FONT color=black&gt;)&lt;/FONT&gt;&lt;FONT color=blue&gt;;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=darkgreen&gt;//&amp;nbsp;read&amp;nbsp;file&amp;nbsp;from&amp;nbsp;desktop&amp;nbsp;into&amp;nbsp;a&amp;nbsp;byte&amp;nbsp;buffer&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;Byte[]&amp;nbsp;buffer&lt;/FONT&gt;&lt;FONT color=blue&gt;;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;ReadFileAsBinary(deskFile,&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;out&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;buffer)&lt;/FONT&gt;&lt;FONT color=blue&gt;;&lt;BR&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;int&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;numBytesWritten&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=maroon&gt;0&lt;/FONT&gt;&lt;FONT color=blue&gt;;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;unsafe&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;{&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;fixed&lt;/FONT&gt;&lt;FONT color=black&gt;(&lt;/FONT&gt;&lt;FONT color=blue&gt;byte&lt;/FONT&gt;&lt;FONT color=black&gt;*&amp;nbsp;bufferPtr&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;buffer)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;int&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;retVal&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;CeWriteFile(devFileHandle,&amp;nbsp;(IntPtr)(bufferPtr),&amp;nbsp;(&lt;/FONT&gt;&lt;FONT color=blue&gt;int&lt;/FONT&gt;&lt;FONT color=black&gt;)fInfo.Length,&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;ref&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;numBytesWritten,&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=maroon&gt;0&lt;/FONT&gt;&lt;FONT color=black&gt;)&lt;/FONT&gt;&lt;FONT color=blue&gt;;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;(retVal&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;==&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=maroon&gt;0&lt;/FONT&gt;&lt;FONT color=black&gt;)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;throw&amp;nbsp;new&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;IOException(&lt;/FONT&gt;&lt;FONT color=#808080&gt;"RAPILibrary:CopyFileToDevice()&amp;nbsp;Error&amp;nbsp;Writing&amp;nbsp;file&amp;nbsp;on&amp;nbsp;device.&amp;nbsp;"&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;+&amp;nbsp;CeGetLastError().ToString())&lt;/FONT&gt;&lt;FONT color=blue&gt;;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;}&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;BR&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=darkgreen&gt;//&amp;nbsp;close&amp;nbsp;handles&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;CeCloseHandle(devFileHandle)&lt;/FONT&gt;&lt;FONT color=blue&gt;;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;}&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;else&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;{&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Logger.WriteLog(&lt;/FONT&gt;&lt;FONT color=#808080&gt;"RAPILibrary:CopyFileToDevice()&amp;nbsp;File&amp;nbsp;does&amp;nbsp;not&amp;nbsp;exist&amp;nbsp;on&amp;nbsp;desktop:&amp;nbsp;"&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;+&amp;nbsp;deskFile)&lt;/FONT&gt;&lt;FONT color=blue&gt;;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;}&lt;BR&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;catch&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;(IOException&amp;nbsp;ioEx)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Logger.WriteLog(ioEx.Message)&lt;/FONT&gt;&lt;FONT color=blue&gt;;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;}&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;catch&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;(Exception&amp;nbsp;ex)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Logger.WriteLog(ex.ToString())&lt;/FONT&gt;&lt;FONT color=blue&gt;;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;}&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;BR&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=darkgreen&gt;///&amp;nbsp;&amp;lt;summary&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;///&amp;nbsp;Reads&amp;nbsp;file&amp;nbsp;and&amp;nbsp;returns&amp;nbsp;byte[]&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;///&amp;nbsp;&amp;lt;/summary&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;///&amp;nbsp;&amp;lt;param&amp;nbsp;name="path"&amp;gt;Full&amp;nbsp;path&amp;nbsp;of&amp;nbsp;file&amp;lt;/param&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;///&amp;nbsp;&amp;lt;param&amp;nbsp;name="buffer"&amp;gt;byte&amp;nbsp;array&amp;nbsp;for&amp;nbsp;file&amp;nbsp;data&amp;lt;/param&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;private&amp;nbsp;static&amp;nbsp;void&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;ReadFileAsBinary(&lt;/FONT&gt;&lt;FONT color=blue&gt;string&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;path,&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;out&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;Byte[]&amp;nbsp;buffer)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Logger.WriteLog(&lt;/FONT&gt;&lt;FONT color=#808080&gt;"RAPILibrary:ReadFileAsBinary()&amp;nbsp;Reading&amp;nbsp;the&amp;nbsp;file&amp;nbsp;"&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;+&amp;nbsp;path)&lt;/FONT&gt;&lt;FONT color=blue&gt;;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;FileInfo&amp;nbsp;fInfo&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;new&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;FileInfo(path)&lt;/FONT&gt;&lt;FONT color=blue&gt;;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;long&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;fileLength&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;fInfo.Length&lt;/FONT&gt;&lt;FONT color=blue&gt;;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;buffer&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;new&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;Byte[fileLength]&lt;/FONT&gt;&lt;FONT color=blue&gt;;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;FileStream&amp;nbsp;fs&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;fInfo.OpenRead()&lt;/FONT&gt;&lt;FONT color=blue&gt;;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;fs.Read(buffer,&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=maroon&gt;0&lt;/FONT&gt;&lt;FONT color=black&gt;,&amp;nbsp;(&lt;/FONT&gt;&lt;FONT color=blue&gt;int&lt;/FONT&gt;&lt;FONT color=black&gt;)fileLength)&lt;/FONT&gt;&lt;FONT color=blue&gt;;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;fs.Close()&lt;/FONT&gt;&lt;FONT color=blue&gt;;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;Logger.WriteLog(&lt;/FONT&gt;&lt;FONT color=#808080&gt;"RAPILibrary:ReadFileAsBinary()&amp;nbsp;Exit"&lt;/FONT&gt;&lt;FONT color=black&gt;)&lt;/FONT&gt;&lt;FONT color=blue&gt;;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;}&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;BR&gt;}&lt;BR&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8466918" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=ipyUbTUsAuU:MILA5UNX5-s:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=ipyUbTUsAuU:MILA5UNX5-s:wF9xT3WuBAs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?i=ipyUbTUsAuU:MILA5UNX5-s:wF9xT3WuBAs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=ipyUbTUsAuU:MILA5UNX5-s:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?i=ipyUbTUsAuU:MILA5UNX5-s:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=ipyUbTUsAuU:MILA5UNX5-s:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=ipyUbTUsAuU:MILA5UNX5-s:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?i=ipyUbTUsAuU:MILA5UNX5-s:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=ipyUbTUsAuU:MILA5UNX5-s:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?i=ipyUbTUsAuU:MILA5UNX5-s:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=ipyUbTUsAuU:MILA5UNX5-s:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=ipyUbTUsAuU:MILA5UNX5-s:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><category domain="http://blogs.msdn.com/b/harsh/archive/tags/Pocket+PC/">Pocket PC</category><category domain="http://blogs.msdn.com/b/harsh/archive/tags/FileIO/">FileIO</category><category domain="http://blogs.msdn.com/b/harsh/archive/tags/ActiveSync/">ActiveSync</category><category domain="http://blogs.msdn.com/b/harsh/archive/tags/Windows+Mobile/">Windows Mobile</category><category domain="http://blogs.msdn.com/b/harsh/archive/tags/CE/">CE</category><feedburner:origLink>http://blogs.msdn.com/b/harsh/archive/2008/05/08/copying-files-from-desktop-to-a-ce-device.aspx</feedburner:origLink></item><item><title>Shifting Gears</title><link>http://feedproxy.google.com/~r/SharepointUnplugged/~3/QnYMgZCHZPI/shifting-gears.aspx</link><pubDate>Tue, 12 Feb 2008 00:49:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7621791</guid><dc:creator>Harsh Chiplonkar</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/harsh/rsscomments.aspx?WeblogPostID=7621791</wfw:commentRss><comments>http://blogs.msdn.com/b/harsh/archive/2008/02/12/shifting-gears.aspx#comments</comments><description>&lt;p&gt;Last year I moved over from supporting developers on SharePoint to testing software for Windows Mobile. This was the driver for my move from India over to Redmond last July. There have been a lot of developments in both the Office Server space as well as the Windows Mobile space. For reasons of my sanity, I will be blogging more on Windows Mobile starting now. &lt;br/&gt;Windows Mobile 6.0 was the last release more than a year ago. Over the last year, there were a lot of developments and some interesting releases. Microsoft has a partnership with several operators and several OEMS. These two terms are very important to how Microsoft does business in the Windows Mobile space. From this perspective, operators are network service providers who maintain and operate cellular networks. In the US, the ones that we work with are T-Mobile, Verizon, AT&amp;amp;T and Sprint. Across the pond, in Europe, it is Vodaphone, Softphone etc. &lt;br/&gt;OEM's on the other hand, are the companies that actually build the phones themselves. For instance, we work closely with HTC, Samsung, Motorola, Toshiba, etc. These are the companies that build the phone and its hardware. The question then is, what does Microsoft do in terms of having the phone in the hands of the end consumer?&lt;br/&gt;There are two major groups within the Mobile division. One group is the OS team, and the other is the commercialization team. The OS team, works over a long cycle, that would involve market prediction, product planning etc, and chalk out and architect a strong platform, which for the purpose of this post, is analogous to cookie dough. These guys would work off of the latest Windows CE platform and create a extendible platform on top of that. Each of their releases is generally a major architectural change from the previous release. However, since the release is analogous to cookie dough, this is not what gets to the market. Of course, no one would want dough if they were shopping around for a cookie would they?&lt;br/&gt;The commercialization team on the other hand is responsible for ensuring that the cookie dough gets baked into a delicious cookie that can get to the market. So this team works with OEM's and operators in a triad to figure out the combination of the network and hardware that a particular release would be shipped on. For instance, the team could work with HTC and T-Mobile to chalk out the requirements that they have for T-Mobile to sell the device. This would generally require understanding the new hardware features the OEM has introduced, such as say GPS capabilities, touch capabilities, or 3G network capability etc and then plug that in with new services that the operator might be planning. This generally  translates into a new feature set which actually makes into the store. &lt;br/&gt;On a time line scale, there is a lag of 2-6 months between the OS team releasing a new platform to the device being in the store. Of course, the operators and OEM's keep coming back with more and more improvements or changes to their feature set, or with questions or report some problems that need to be fixed. These get fixed in incremental fixes that are then commercialized in varying timelines. This is a very iterative process. For instance if a version x.0 is released, then there would be some devices that would ship with x.0, there would be some that would ship with x.0.1, some with x.0.2, etc. These are generally minor fixes or tune ups that certain operators or OEM's need. Then there would be a major holiday/summer push with say a x.1.0, and so on. The process would then repeat, till the OS team would release the next major release.&lt;br/&gt;So as you see, there is a major emphasis on ensuring that we enable the OEM's and the operators to build and market their devices and services (enable being the keyword here). This is very easy considering that a lot of effort and planning is done to ensure that the platform is extensible and takes into account a variety of requirements that can be made at a later stage. For instance, the extensibility of the platform allowed HTC to convert the standard Windows Mobile 6.0 pocket PC interface and expand it to add Touch and gesture support via the HTC Touch that is available on Sprint networks. This extension was created by HTC and is now part of the new HTC Touchflo platform that is being targeted for a line of devices (&lt;a href="http://www.htctouch.com"&gt;www.htctouch.com&lt;/a&gt; ).&lt;br/&gt;More recently a targeted experience was created for T-Mobile with the Shadow device. This required creating a new Home screen, specifically targeted for T-Mobile, which had the T-Mobile branding and colors etc. Of course, this kind of work, exposes new requirements, and enables us to create application platforms that can be extended. As with the Shadow work, we were able to create a application platform, that could help us create better user experiences in the future. 
&lt;/p&gt;&lt;p&gt;When one looks at the process above, it is obvious that the drivers for improvements are based off the direct customer feedback that the operators receive from the users. This feedback is then channeled back to us via product bugs that are prioritized and then actioned. Of course, since the feedback we receive from the Operators is weighted by their urgency in commercial viability of future devices, some actual user scenarios or pain points get overlooked. I am hoping to make this blog a place where I can have some interaction on what scenarios are causing you pain.
&lt;/p&gt;&lt;p&gt;There is a lot of great work happening in the Windows Mobile space and with the recent announcements at the Mobile World Congress there is definitely a lot of interesting stuff lined up for this year.
&lt;/p&gt;&lt;p&gt;~Harsh&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7621791" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=QnYMgZCHZPI:Y57mbVs7YJk:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=QnYMgZCHZPI:Y57mbVs7YJk:wF9xT3WuBAs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?i=QnYMgZCHZPI:Y57mbVs7YJk:wF9xT3WuBAs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=QnYMgZCHZPI:Y57mbVs7YJk:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?i=QnYMgZCHZPI:Y57mbVs7YJk:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=QnYMgZCHZPI:Y57mbVs7YJk:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=QnYMgZCHZPI:Y57mbVs7YJk:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?i=QnYMgZCHZPI:Y57mbVs7YJk:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=QnYMgZCHZPI:Y57mbVs7YJk:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?i=QnYMgZCHZPI:Y57mbVs7YJk:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=QnYMgZCHZPI:Y57mbVs7YJk:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=QnYMgZCHZPI:Y57mbVs7YJk:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><feedburner:origLink>http://blogs.msdn.com/b/harsh/archive/2008/02/12/shifting-gears.aspx</feedburner:origLink></item><item><title>GlobeTrotter</title><link>http://feedproxy.google.com/~r/SharepointUnplugged/~3/qNsVwepQ7Ys/globetrotter.aspx</link><pubDate>Fri, 14 Sep 2007 23:56:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4916993</guid><dc:creator>Harsh Chiplonkar</dc:creator><slash:comments>1</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/harsh/rsscomments.aspx?WeblogPostID=4916993</wfw:commentRss><comments>http://blogs.msdn.com/b/harsh/archive/2007/09/15/globetrotter.aspx#comments</comments><description>&lt;p&gt;It's been quite a while since I have posted here. There have been lots of things going around. As some of you know, I was working in the SharePoint Developer Support team, and some amongst you, who have called in might know that there were huge volumes due to the never-before numbers of MOSS deployments. My team was completely swamped with what was happening due to this. In the midst of all of that, I was interviewing within Microsoft for a position in Redmond. There are a number of articles and discussions out there on the internet that talk about various experiences of people interviewing with Microsoft. Suffice to say that, being already an employee did not put me on a pedestal and I was put through the same rigors as anyone else while I was interviewing. This experience was something that I really liked about the company. It does not matter whether you are an existing employee or not, unless you have the required skills needed for the job you are applying for, there is no way they will let you in. &lt;br/&gt;During this process I interviewed with all the teams in the Office Server space as well as with some other teams and the experience was really an eye-opener. There is a standard format to these interviews. You (as in the candidate) searches for a job opening, looks at something that fits what he/she is looking for, and then sends out an email to the recruiter or the hiring manager with a resume and asking for an informational interview. An informational interview at this stage is a staging talk between the candidate and the hiring manager wherein the candidate gets a deep look at what exactly the job description said. Also, at this point, the hiring manager would generally schedule a technical screening, to take a look at whether or not it's worth the effort to schedule a full round of interviews. Of course once this is done, you are looking at the real deal - which is the actual interview process. Typically for the programming position that I was applying for, there would be anywhere between 4-8 different individual interviews in a full "loop" as they call it. Each interview is at least an hour long and has a set pattern too. There are a lot of instances when potential candidates are flown to Redmond for the interviews, however in my case, since I was already at a Microsoft site, we utilized the power of technology to work through the interviews. I would book a video conference room at my end and the recruiters would book a video conference room in Redmond. Once the connection would be established, each of the interviewers would walk-in and grill me over the course of the next hour and a half. One thing that really worked in my favor was having a conference room that had a white board facing the screen/camera. It really eased out a lot since, I could write out code or explain my thought process using figures/diagrams and they could actually see what I was writing compared to using a pen and notepad. The interviews would generally go over as, the first 15 minutes walking through my resume, then a programming problem which would take up about 40 minutes or so followed by more questions on why I did something or why I chose not to do something in the code. This would be followed up about 5-10 minutes for me to ask them questions on what they do and what potentially I would be doing.&lt;br/&gt;After about two or three months of interviewing I finally found a "mutual perfect fit" team that I was excited to work with. Then started the tedious process of paper work, going back and forth over the offer, working through the visa issues, the travel itinerary and then the actual relocation. It was quite enlightening to understand during this period that each of the individual verticals within Microsoft operated as independent organizations all being part of one parent company. So, while I was in India, I rolled up into Microsoft India R&amp;amp;D which encompassed Services, R&amp;amp;D, Engineering, Sales and Evangelism. However, once I accepted the offer, I realized that I would now be rolling into Microsoft Corp which kind of encompassed almost everything. However, since Microsoft India R&amp;amp;D was a independent subsidiary, all finances, accounts and in general everything was separate and apart from email address and employee number nothing was being transferred. So when I was making the move, the India organization treated this as an employee resigning and leaving, and the US organization treated this as a new employee joining. This definitely was a very interesting process. &lt;br/&gt;Back in March just after I had got back from my TechReady trip me and my wife Ketaki had found out that we were expecting our first child. So this was definitely something that we would have to factor in when we were relocating. There were obviously travel restrictions on how late into the pregnancy she would be allowed to travel and I wanted to make sure that we moved over to Redmond well in time to get ourselves settled in and with some time on our hands till the baby was due. She was working with HP at the time and decided to take time off from work to lend a hand with the whole relocation thingy. &lt;br/&gt;Going through the visa process was a fun experience since the legal had taken care of practically everything and all we had to do was to show up and answer some questions. Of course, with me, nothing can be smooth sailing for long. We landed in New Delhi on the morning of the visa interview and proceeded to the US consulate. The US consulate in New Delhi is heavily barricaded with a number of security checks before you actually enter the visa processing centre. On the outside they have this huge queue to check if all documents are in order. Most of the people are sent back from here. Once this is done you go through a huge security gate that makes airport security checks seem like a joke. Inside, there is another line for finger printing and then the last long wait for the actual interview at the window. When we got there at around 11:45 for a 12:00 PM interview, there was this huge line on the outside for the document check. I had just resigned to the fact of a long wait when out of nowhere, I tripped and fell while getting off the sidewalk. There was a small trench like gap between where the side walk ended and the road began, and I had somehow managed to get my foot trapped in that gap, twisted it violently and crashed on the tar in full view of everyone there. For a moment I was writhing with pain, and had no  sense of what was happening around me. From amongst the crowd this lady came up to us, and offered me some water, and actually ran back to her car parked some distance back to get me a pain reliever gel and a crepe bandage. Before we could ask her who she was, she had disappeared just as suddenly as she had appeared. Both me and Ketaki were just left wondering who she was – and also thinking there are indeed some kind hearted souls in this world. Thank you Mysterious Lady for helping us out during that brief moment. &lt;br/&gt;I was visibly limping after I got up, with my ankle looking like a soccer ball. The guards saw this and just let us through to the finger printing. Some good did come off the pain that I was in. Instead of waiting in line for an hour and a half we were just ushered in to the fingerprinting and then onward to the interview. We were out in a flat 30 minutes. We took a flight back the same evening. In a couple of days I had received my passport at my office and Ketaki had received hers at the home. We were all set, now we only needed the plane tickets. All of this was June. During the same period both of us were running about getting everything else done, we needed to close the rental agreement that we had for the place we were living in, sell the Opel Corsa we had, and get all our belongings packed and shipped. The relocation guys were tremendously helpful in arranging for a packing and moving company to just come over one day pack everything into neat boxes and send it out. After the packing was done, and the apartment was practically just four walls standing, we took the next flight out to Mumbai where we planned to spend a couple of days meeting our friends and family. The relocation specialist I was dealing with did an excellent job of getting us the flight itinerary that worked for us as well as getting us the temporary accommodation at such short notice. On the 19&lt;sup&gt;th&lt;/sup&gt; of July at about 3:00 AM we boarded a BA flight from Mumbai to Heathrow. A eight hour really taxing and boring halt at Heathrow and we were onward for our direct connection to Sea-Tac. We arrived at about 5:30 local time, completely exhausted. The total trip time from boarding to alighting was close to 26 hours. Under normal circumstances that would have been bearable, but with a 7 ½ months pregnant wife, it was really taxing. A friend had come over to receive us and take us to the temp housing. We just crashed on getting there. &lt;br/&gt;We had arrived in Bellevue/Redmond on the 20&lt;sup&gt;th&lt;/sup&gt; of July. 
&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;~Harsh&lt;br/&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=4916993" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=qNsVwepQ7Ys:aaNluCCWSN4:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=qNsVwepQ7Ys:aaNluCCWSN4:wF9xT3WuBAs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?i=qNsVwepQ7Ys:aaNluCCWSN4:wF9xT3WuBAs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=qNsVwepQ7Ys:aaNluCCWSN4:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?i=qNsVwepQ7Ys:aaNluCCWSN4:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=qNsVwepQ7Ys:aaNluCCWSN4:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=qNsVwepQ7Ys:aaNluCCWSN4:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?i=qNsVwepQ7Ys:aaNluCCWSN4:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=qNsVwepQ7Ys:aaNluCCWSN4:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?i=qNsVwepQ7Ys:aaNluCCWSN4:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=qNsVwepQ7Ys:aaNluCCWSN4:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=qNsVwepQ7Ys:aaNluCCWSN4:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><feedburner:origLink>http://blogs.msdn.com/b/harsh/archive/2007/09/15/globetrotter.aspx</feedburner:origLink></item><item><title>Single SignOn Error codes and what they mean</title><link>http://feedproxy.google.com/~r/SharepointUnplugged/~3/RhTAlfaO7_o/single-signon-error-codes-and-what-they-mean.aspx</link><pubDate>Wed, 21 Mar 2007 03:41:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1922408</guid><dc:creator>Harsh Chiplonkar</dc:creator><slash:comments>2</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/harsh/rsscomments.aspx?WeblogPostID=1922408</wfw:commentRss><comments>http://blogs.msdn.com/b/harsh/archive/2007/03/21/single-signon-error-codes-and-what-they-mean.aspx#comments</comments><description>&lt;div&gt;&lt;table style="border-collapse:collapse" border="0"&gt;&lt;colgroup&gt;&lt;col style="width:79px"/&gt;&lt;col style="width:88px"/&gt;&lt;col style="width:191px"/&gt;&lt;col style="width:68px"/&gt;&lt;col style="width:213px"/&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr&gt;&lt;td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid #4bacc6 1.0pt; border-bottom:  solid #4bacc6 1.0pt; border-right:  solid #4bacc6 0.75pt"&gt;&lt;p&gt;&lt;span style="color:#0000cc"&gt;&lt;strong&gt;Error Code&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid #4bacc6 1.0pt; border-right:  solid #4bacc6 0.75pt"&gt;&lt;p&gt;&lt;span style="color:#0000cc"&gt;&lt;strong&gt;Meaning&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid #4bacc6 1.0pt; border-right:  solid #4bacc6 0.75pt"&gt;&lt;p&gt;&lt;span style="color:#0000cc"&gt;&lt;strong&gt;When Thrown&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid #4bacc6 1.0pt; border-right:  solid #4bacc6 0.75pt"&gt;&lt;p&gt;&lt;span style="color:#0000cc"&gt;&lt;strong&gt;Bubbled Behavior&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid #4bacc6 1.0pt; border-right:  solid #4bacc6 1.0pt"&gt;&lt;p&gt;&lt;span style="color:#0000cc"&gt;&lt;strong&gt;How To Overcome&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="background: #d2eaf1"&gt;&lt;td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid #4bacc6 1.0pt; border-bottom:  solid #4bacc6 0.75pt; border-right:  solid #4bacc6 0.75pt"&gt;&lt;p&gt;&lt;span style="color:black; font-family:Courier New; font-size:10pt"&gt;&lt;strong&gt;-2140993974&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid #4bacc6 0.75pt; border-right:  solid #4bacc6 0.75pt"&gt;&lt;p&gt;&lt;span style="color:black"&gt;SSO is not configured&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid #4bacc6 0.75pt; border-right:  solid #4bacc6 0.75pt"&gt;&lt;p&gt;&lt;span style="color:black"&gt;Failure when SSO has not been setup via Central Administration&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid #4bacc6 0.75pt; border-right:  solid #4bacc6 0.75pt"&gt;&lt;p&gt;&lt;span style="color:black"&gt;Critical error logged in ULS with error code.&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid #4bacc6 0.75pt; border-right:  solid #4bacc6 1.0pt"&gt;&lt;p&gt;&lt;span style="color:black"&gt;If SSO is not configured then configure from Central Admin. &lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid #4bacc6 1.0pt; border-bottom:  solid #4bacc6 0.75pt; border-right:  solid #4bacc6 0.75pt"&gt;&lt;p&gt;&lt;span style="color:black; font-family:Courier New; font-size:10pt"&gt;&lt;strong&gt;-2140993973&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid #4bacc6 0.75pt; border-right:  solid #4bacc6 0.75pt"&gt;&lt;p&gt;&lt;span style="color:black"&gt;SSO Wrong Version&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid #4bacc6 0.75pt; border-right:  solid #4bacc6 0.75pt"&gt;&lt;p&gt;&lt;span style="color:black"&gt;SSO config setting or master secret has changed and change has not reflected.&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid #4bacc6 0.75pt; border-right:  solid #4bacc6 0.75pt"&gt;&lt;p&gt;&lt;span style="color:black"&gt;Critical error logged in ULS with error code.&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid #4bacc6 0.75pt; border-right:  solid #4bacc6 1.0pt"&gt;&lt;p&gt;&lt;span style="color:black"&gt;Not applicable. Self healing error.&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="background: #d2eaf1"&gt;&lt;td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid #4bacc6 1.0pt; border-bottom:  solid #4bacc6 0.75pt; border-right:  solid #4bacc6 0.75pt"&gt;&lt;p&gt;&lt;span style="color:black; font-family:Courier New; font-size:10pt"&gt;&lt;strong&gt;-2140995575&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid #4bacc6 0.75pt; border-right:  solid #4bacc6 0.75pt"&gt;&lt;p&gt;&lt;span style="color:black"&gt;Failed to connect to SQL Server&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid #4bacc6 0.75pt; border-right:  solid #4bacc6 0.75pt"&gt;&lt;p&gt;&lt;span style="color:black"&gt;Creation of the SSO database fails. &lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid #4bacc6 0.75pt; border-right:  solid #4bacc6 0.75pt"&gt;&lt;p&gt;&lt;span style="color:black"&gt;Critical error logged in ULS with error code.&lt;br/&gt;Error logged in application event log.&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid #4bacc6 0.75pt; border-right:  solid #4bacc6 1.0pt"&gt;&lt;p&gt;&lt;span style="color:black"&gt;Check SQL connectivity. &lt;br/&gt;Check permissions for the account running the MS SSO service.&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid #4bacc6 1.0pt; border-bottom:  solid #4bacc6 0.75pt; border-right:  solid #4bacc6 0.75pt"&gt;&lt;p&gt;&lt;span style="color:black; font-family:Courier New; font-size:10pt"&gt;&lt;strong&gt;-2140995576&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid #4bacc6 0.75pt; border-right:  solid #4bacc6 0.75pt"&gt;&lt;p&gt;&lt;span style="color:black"&gt;SharePoint Central administration virtual root not found&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid #4bacc6 0.75pt; border-right:  solid #4bacc6 0.75pt"&gt;&lt;p&gt;&lt;span style="color:black"&gt;The SSO folder under 12\Template\Admin\SSO does not exist. This check performed while configuring master secret server. Either a call into Configuration.ConfigureSecretServer via OM or the UI page to configure SSO can throw this error.&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid #4bacc6 0.75pt; border-right:  solid #4bacc6 0.75pt"&gt;&lt;p&gt;&lt;span style="color:black"&gt;Error logged in ULS with error code.
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:black"&gt;Or error returned to calling function&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid #4bacc6 0.75pt; border-right:  solid #4bacc6 1.0pt"&gt;&lt;p&gt;&lt;span style="color:black"&gt;Repair the product installation.&lt;br/&gt;Most likely the files were not copied properly&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="background: #d2eaf1"&gt;&lt;td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid #4bacc6 1.0pt; border-bottom:  solid #4bacc6 0.75pt; border-right:  solid #4bacc6 0.75pt"&gt;&lt;p&gt;&lt;span style="color:black; font-family:Courier New; font-size:10pt"&gt;&lt;strong&gt;-2140995588&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid #4bacc6 0.75pt; border-right:  solid #4bacc6 0.75pt"&gt;&lt;p&gt;&lt;span style="color:black"&gt;Web application not running with windows authentication.&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid #4bacc6 0.75pt; border-right:  solid #4bacc6 0.75pt"&gt;&lt;p&gt;&lt;span style="color:black"&gt;When a custom webpart is placed on a page in a non-windows auth web app. &lt;br/&gt;&lt;/span&gt;&lt;span style="color:red; font-size:10pt"&gt;&lt;strong&gt;SSO CANNOT WORK WITH FORMS AUTHENTICATION.&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid #4bacc6 0.75pt; border-right:  solid #4bacc6 0.75pt"&gt;&lt;p&gt;&lt;span style="color:black"&gt;Error logged in ULS with error code.
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:black"&gt;Or error returned to calling function.&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid #4bacc6 0.75pt; border-right:  solid #4bacc6 1.0pt"&gt;&lt;p&gt;&lt;span style="color:black"&gt;Check authentication providers for the web application. If you have a requirement to have the web app behind FBA, then SSO cannot work.&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid #4bacc6 1.0pt; border-bottom:  solid #4bacc6 0.75pt; border-right:  solid #4bacc6 0.75pt"&gt;&lt;p&gt;&lt;span style="color:black; font-family:Courier New; font-size:10pt"&gt;&lt;strong&gt;-2140995589&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid #4bacc6 0.75pt; border-right:  solid #4bacc6 0.75pt"&gt;&lt;p&gt;&lt;span style="color:black"&gt;SQL Server not supported.&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid #4bacc6 0.75pt; border-right:  solid #4bacc6 0.75pt"&gt;&lt;p&gt;&lt;span style="color:black"&gt;If the SQL server specified to host the SSO db is not greater than or equal to SQL Server 2000 SP3. &lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid #4bacc6 0.75pt; border-right:  solid #4bacc6 0.75pt"&gt;&lt;p&gt;&lt;span style="color:black"&gt;Error logged in ULS with error code.
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:black"&gt;Or error returned to calling function.&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid #4bacc6 0.75pt; border-right:  solid #4bacc6 1.0pt"&gt;&lt;p&gt;&lt;span style="color:black"&gt;Check SQL Server patching and version numbers.&lt;br/&gt;&lt;a href="http://support.microsoft.com/kb/321185"/&gt;&lt;/span&gt;http://support.microsoft.com/kb/321185&lt;span style="color:black"&gt;
								&lt;br/&gt;Minimum required is SQL Server 2000 SP3&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="background: #d2eaf1"&gt;&lt;td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid #4bacc6 1.0pt; border-bottom:  solid #4bacc6 1.0pt; border-right:  solid #4bacc6 0.75pt"&gt;&lt;p&gt;&lt;span style="color:black; font-family:Courier New; font-size:10pt"&gt;&lt;strong&gt;-2147023143&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid #4bacc6 1.0pt; border-right:  solid #4bacc6 0.75pt"&gt;&lt;p&gt;&lt;span style="color:black"&gt;Failure to connect to the Microsoft Single-SignOn Service.&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid #4bacc6 1.0pt; border-right:  solid #4bacc6 0.75pt"&gt;&lt;p&gt;&lt;span style="color:black"&gt;Failure to connect to the MS SingleSign On Service. Either when the service is not started or the service has a logon failure.&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid #4bacc6 1.0pt; border-right:  solid #4bacc6 0.75pt"&gt;&lt;p&gt;&lt;span style="color:black"&gt;Error logged in ULS with error code&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid #4bacc6 1.0pt; border-right:  solid #4bacc6 1.0pt"&gt;&lt;p&gt;&lt;span style="color:black"&gt;-&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;p&gt;&lt;br/&gt;The above information is indicative of the errors that you may encounter while working with Single SignOn on MOSS 2007. This is only for troubleshooting purposes.
&lt;/p&gt;&lt;p&gt;~harsh&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1922408" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=RhTAlfaO7_o:BOaZscfrlTQ:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=RhTAlfaO7_o:BOaZscfrlTQ:wF9xT3WuBAs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?i=RhTAlfaO7_o:BOaZscfrlTQ:wF9xT3WuBAs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=RhTAlfaO7_o:BOaZscfrlTQ:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?i=RhTAlfaO7_o:BOaZscfrlTQ:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=RhTAlfaO7_o:BOaZscfrlTQ:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=RhTAlfaO7_o:BOaZscfrlTQ:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?i=RhTAlfaO7_o:BOaZscfrlTQ:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=RhTAlfaO7_o:BOaZscfrlTQ:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?i=RhTAlfaO7_o:BOaZscfrlTQ:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=RhTAlfaO7_o:BOaZscfrlTQ:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=RhTAlfaO7_o:BOaZscfrlTQ:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><category domain="http://blogs.msdn.com/b/harsh/archive/tags/WSS/">WSS</category><category domain="http://blogs.msdn.com/b/harsh/archive/tags/MOSS+/">MOSS </category><category domain="http://blogs.msdn.com/b/harsh/archive/tags/SSO/">SSO</category><feedburner:origLink>http://blogs.msdn.com/b/harsh/archive/2007/03/21/single-signon-error-codes-and-what-they-mean.aspx</feedburner:origLink></item><item><title>MOSS, SSO, FBA</title><link>http://feedproxy.google.com/~r/SharepointUnplugged/~3/gW7G6BFvHyk/moss-sso-fba.aspx</link><pubDate>Sat, 17 Mar 2007 05:15:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1897612</guid><dc:creator>Harsh Chiplonkar</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/harsh/rsscomments.aspx?WeblogPostID=1897612</wfw:commentRss><comments>http://blogs.msdn.com/b/harsh/archive/2007/03/17/moss-sso-fba.aspx#comments</comments><description>&lt;P&gt;&lt;FONT face=verdana,geneva color=#cc0000 size=5&gt;&lt;STRONG&gt;Single Sign On does not work with Forms Based Authentication&lt;BR&gt;&lt;BR&gt;&lt;/STRONG&gt;&lt;FONT size=1&gt;&lt;FONT color=#000000 size=2&gt;SingleSignonException caught.&lt;BR&gt;Exception Code: 0x8062fffc&lt;BR&gt;Source: Microsoft.SharePoint.Portal.SingleSignon&lt;BR&gt;StackTrace: at Microsoft.SharePoint.Portal.SingleSignon.Credentials.SetUserCredentials(String strApplicationName, String strUserAccount, Object[] Args) at MethodName: SetUserCredentials&lt;BR&gt;Message: A call into SPS Single Sign-on failed. The error code returned was '-2140995588'.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana&gt;R.I.P&lt;FONT color=#cc0000 size=5&gt;&lt;FONT size=1&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1897612" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=gW7G6BFvHyk:ZNvVR30RbKg:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=gW7G6BFvHyk:ZNvVR30RbKg:wF9xT3WuBAs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?i=gW7G6BFvHyk:ZNvVR30RbKg:wF9xT3WuBAs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=gW7G6BFvHyk:ZNvVR30RbKg:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?i=gW7G6BFvHyk:ZNvVR30RbKg:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=gW7G6BFvHyk:ZNvVR30RbKg:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=gW7G6BFvHyk:ZNvVR30RbKg:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?i=gW7G6BFvHyk:ZNvVR30RbKg:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=gW7G6BFvHyk:ZNvVR30RbKg:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?i=gW7G6BFvHyk:ZNvVR30RbKg:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=gW7G6BFvHyk:ZNvVR30RbKg:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=gW7G6BFvHyk:ZNvVR30RbKg:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><category domain="http://blogs.msdn.com/b/harsh/archive/tags/MOSS+/">MOSS </category><category domain="http://blogs.msdn.com/b/harsh/archive/tags/FBA/">FBA</category><category domain="http://blogs.msdn.com/b/harsh/archive/tags/SSO/">SSO</category><feedburner:origLink>http://blogs.msdn.com/b/harsh/archive/2007/03/17/moss-sso-fba.aspx</feedburner:origLink></item><item><title>IRM and the Object Model</title><link>http://feedproxy.google.com/~r/SharepointUnplugged/~3/325IPR6YcXI/irm-and-the-object-model.aspx</link><pubDate>Fri, 09 Mar 2007 06:44:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1841551</guid><dc:creator>Harsh Chiplonkar</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/harsh/rsscomments.aspx?WeblogPostID=1841551</wfw:commentRss><comments>http://blogs.msdn.com/b/harsh/archive/2007/03/09/irm-and-the-object-model.aspx#comments</comments><description>&lt;P&gt;&lt;SPAN style="COLOR: #0000cc"&gt;A couple of weeks earlier, I saw an interesting issue. It was a normal day as far as days go in support and in comes this issue, where the person in question wants to investigate or rather should I say automate the process of creating IRM settings on document libraries. I wasn't working on this issue and a colleague took this over. But then somewhere it was lurking, how the hell do you do that? The natural starting point is getting a site/web context and going down to the list and then getting dirty with the properties exposed by the particular SPList object. So after finishing what I had on my plate, I dug into figuring out how exactly to set the IRM settings for a list using the object model. So here goes: &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="COLOR: #0000cc"&gt;&lt;STRONG&gt;Step 1 Enable IRM on the farm&lt;/STRONG&gt;&lt;BR&gt;&lt;BR&gt;
&lt;DIV class=markupcode&gt;&lt;FONT color=black&gt;SPWebService&amp;nbsp;svc&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;SPFarm.Local.Services.GetValue&amp;lt;SPWebService&amp;gt;()&lt;/FONT&gt;&lt;FONT color=blue&gt;;&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=black&gt;SPIrmSettings&amp;nbsp;irmSettings&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;svc.IrmSettings&lt;/FONT&gt;&lt;FONT color=blue&gt;;&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=black&gt;irmSettings.IrmRMSEnabled&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;true;&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=darkgreen&gt;//set&amp;nbsp;true&amp;nbsp;or&amp;nbsp;false&amp;nbsp;based&amp;nbsp;on&amp;nbsp;the&amp;nbsp;situation&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=black&gt;irmSettings.IrmRMSUseAD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;true;&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=black&gt;irmSettings.IrmRMSCertServer&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=#808080&gt;"certificate&amp;nbsp;server&amp;nbsp;here"&lt;/FONT&gt;&lt;FONT color=blue&gt;;&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=black&gt;irmSettings.IrmChanges&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;irmSettings.IrmChanges&amp;nbsp;+&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=maroon&gt;1&lt;/FONT&gt;&lt;FONT color=blue&gt;;&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=black&gt;svc.Update()&lt;/FONT&gt;&lt;FONT color=blue&gt;;&lt;/FONT&gt; &lt;/DIV&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;/SPAN&gt;
&lt;P&gt;&lt;SPAN style="COLOR: #0000cc"&gt;&lt;STRONG&gt;Step2 Set the IRM properties for a document library &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV class=markupcode&gt;&lt;FONT color=black&gt;SPSite&amp;nbsp;site&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;new&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;SPSite(&lt;/FONT&gt;&lt;FONT color=#808080&gt;"http:////"&lt;/FONT&gt;&lt;FONT color=black&gt;)&lt;/FONT&gt;&lt;FONT color=blue&gt;;&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=black&gt;SPList&amp;nbsp;spList&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;site.OpenWeb().Lists[&lt;/FONT&gt;&lt;FONT color=#808080&gt;"list_name"&lt;/FONT&gt;&lt;FONT color=black&gt;]&lt;/FONT&gt;&lt;FONT color=blue&gt;;&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=black&gt;SPFolder&amp;nbsp;folder&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;spList.RootFolder&lt;/FONT&gt;&lt;FONT color=blue&gt;;&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=black&gt;spList.IrmEnabled&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;true;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=darkgreen&gt;//corresponds&amp;nbsp;to&amp;nbsp;"Restrict&amp;nbsp;permission&amp;nbsp;to&amp;nbsp;documents&amp;nbsp;in&amp;nbsp;this&amp;nbsp;library&amp;nbsp;on&amp;nbsp;download"&lt;BR&gt;//&amp;nbsp;BELOW&amp;nbsp;SET=2,&amp;nbsp;RESET=0&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=black&gt;folder.Properties[&lt;/FONT&gt;&lt;FONT color=#808080&gt;"vti_irm_IrmPrint"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;]&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=maroon&gt;2&lt;/FONT&gt;&lt;FONT color=blue&gt;;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=darkgreen&gt;//&amp;nbsp;Allow&amp;nbsp;users&amp;nbsp;to&amp;nbsp;print&amp;nbsp;documents&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=black&gt;folder.Properties[&lt;/FONT&gt;&lt;FONT color=#808080&gt;"vti_irm_IrmVBA"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;]&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=maroon&gt;2&lt;/FONT&gt;&lt;FONT color=blue&gt;;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=darkgreen&gt;//&amp;nbsp;Allow&amp;nbsp;users&amp;nbsp;to&amp;nbsp;access&amp;nbsp;content&amp;nbsp;programmatically&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=black&gt;folder.Properties[&lt;/FONT&gt;&lt;FONT color=#808080&gt;"vti_irm_IrmOffline"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;]&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=maroon&gt;2&lt;/FONT&gt;&lt;FONT color=blue&gt;;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=darkgreen&gt;//&amp;nbsp;Users&amp;nbsp;must&amp;nbsp;verify&amp;nbsp;their&amp;nbsp;credentials&amp;nbsp;every&amp;nbsp;nOfflineDays&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=black&gt;spList.IrmReject&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;true;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=darkgreen&gt;//&amp;nbsp;do&amp;nbsp;not&amp;nbsp;allow&amp;nbsp;users&amp;nbsp;to&amp;nbsp;upload&amp;nbsp;documents&amp;nbsp;that&amp;nbsp;do&amp;nbsp;not&amp;nbsp;support&amp;nbsp;IRM&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=black&gt;spList.IrmExpire&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;true;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=darkgreen&gt;//sto[&amp;nbsp;restricting&amp;nbsp;permissions&amp;nbsp;to&amp;nbsp;documents&amp;nbsp;in&amp;nbsp;this&amp;nbsp;library&amp;nbsp;on&amp;nbsp;expiry&amp;nbsp;date&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=black&gt;folder.Properties[&lt;/FONT&gt;&lt;FONT color=#808080&gt;"vti_irm_IrmOfflineDays"&lt;/FONT&gt;&lt;FONT color=black&gt;]&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;nOfflineDays&lt;/FONT&gt;&lt;FONT color=blue&gt;;&amp;nbsp;&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=darkgreen&gt;//&amp;nbsp;integer&amp;nbsp;representing&amp;nbsp;number&amp;nbsp;of&amp;nbsp;days&amp;nbsp;after&amp;nbsp;which&amp;nbsp;user&amp;nbsp;needs&amp;nbsp;to&amp;nbsp;verify&amp;nbsp;credentials&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=black&gt;folder.Properties[&lt;/FONT&gt;&lt;FONT color=#808080&gt;"vti_irm_IrmExpireDate"&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;]&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;dtExpire.ToString(&lt;/FONT&gt;&lt;FONT color=#808080&gt;"r"&lt;/FONT&gt;&lt;FONT color=black&gt;,&amp;nbsp;CultureInfo.InvariantCulture)&lt;/FONT&gt;&lt;FONT color=blue&gt;;&amp;nbsp;&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=darkgreen&gt;//&amp;nbsp;date&amp;nbsp;on&amp;nbsp;which&amp;nbsp;to&amp;nbsp;stop&amp;nbsp;restricting&amp;nbsp;IRM&amp;nbsp;permissions&amp;nbsp;to&amp;nbsp;documents&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=black&gt;folder.Properties[&lt;/FONT&gt;&lt;FONT color=#808080&gt;"vti_irm_IrmTitle"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=black&gt;]&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=#808080&gt;"Permission&amp;nbsp;Policy&amp;nbsp;Title"&lt;/FONT&gt;&lt;FONT color=blue&gt;;&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=black&gt;folder.Properties[&lt;/FONT&gt;&lt;FONT color=#808080&gt;"vti_irm_IrmDescription"&lt;/FONT&gt;&lt;FONT color=black&gt;]&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;=&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=#808080&gt;"Permission&amp;nbsp;Policy&amp;nbsp;Description"&lt;/FONT&gt;&lt;FONT color=blue&gt;;&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=black&gt;folder.Update()&lt;/FONT&gt;&lt;FONT color=blue&gt;;&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=black&gt;spList.Update()&lt;/FONT&gt;&lt;FONT color=blue&gt;;&lt;/FONT&gt; &lt;/DIV&gt;&lt;BR&gt;
&lt;P&gt;&lt;SPAN style="COLOR: #0000cc"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="COLOR: #0000cc"&gt;Phew!&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="COLOR: #0000cc"&gt;~harsh&lt;/SPAN&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1841551" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=325IPR6YcXI:siUDuzIugZc:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=325IPR6YcXI:siUDuzIugZc:wF9xT3WuBAs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?i=325IPR6YcXI:siUDuzIugZc:wF9xT3WuBAs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=325IPR6YcXI:siUDuzIugZc:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?i=325IPR6YcXI:siUDuzIugZc:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=325IPR6YcXI:siUDuzIugZc:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=325IPR6YcXI:siUDuzIugZc:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?i=325IPR6YcXI:siUDuzIugZc:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=325IPR6YcXI:siUDuzIugZc:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?i=325IPR6YcXI:siUDuzIugZc:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=325IPR6YcXI:siUDuzIugZc:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=325IPR6YcXI:siUDuzIugZc:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><feedburner:origLink>http://blogs.msdn.com/b/harsh/archive/2007/03/09/irm-and-the-object-model.aspx</feedburner:origLink></item><item><title>TechReady4</title><link>http://feedproxy.google.com/~r/SharepointUnplugged/~3/CAz7lovkiwg/techready4.aspx</link><pubDate>Tue, 06 Feb 2007 02:44:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1607117</guid><dc:creator>Harsh Chiplonkar</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/harsh/rsscomments.aspx?WeblogPostID=1607117</wfw:commentRss><comments>http://blogs.msdn.com/b/harsh/archive/2007/02/06/techready4.aspx#comments</comments><description>&lt;p&gt;I am attending TechReady 4 at the moment. If you are there as well, I would really like meeting up with you. 
&lt;/p&gt;&lt;p&gt;Reaching Seattle from India, was one heck of a journey. With more than 30 hours spent looking at the insides of a plane, we were lucky we didn't lose it, by the time we landed in Sea-Tac at midnight on Friday. Sessions started today morning, with some great enthusiastic pitches by Norm Judah and Steve Balmer on where Microsoft is heading in the near future. &lt;br/&gt;As one would expect, the focus is on the new wave of products that's just been rolled out. With Vista and Office 2007 System, hitting retail a week ago, everyone's pretty excited about whats happening in the connected application platform space. &lt;br/&gt;Again, given that we are looking at LongHorn server just round the corner, the objective as such is pretty much geared up towards making sure, that we as an organization are well oiled and the machinery is all smooth, in order to ensure that we can get amazing next-gen solutions out the door to our customers. All these products that just went retail are so well created, to fit together like, pieces of a giant jigsaw, the amount of solutions that can be created out of this jigsaw is phenomenally enormous to say the least.&lt;br/&gt;TechReady by itself is a unique Microsoft platform, that brings together the entire gamut of people in customer facing environments together from sales, premier field engineers, MCS, product support, everyone is in here right now in Seattle. &lt;br/&gt;As we said a week ago, the 'WOW' starts now!&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1607117" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=CAz7lovkiwg:fRdy5MGZi9Q:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=CAz7lovkiwg:fRdy5MGZi9Q:wF9xT3WuBAs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?i=CAz7lovkiwg:fRdy5MGZi9Q:wF9xT3WuBAs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=CAz7lovkiwg:fRdy5MGZi9Q:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?i=CAz7lovkiwg:fRdy5MGZi9Q:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=CAz7lovkiwg:fRdy5MGZi9Q:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=CAz7lovkiwg:fRdy5MGZi9Q:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?i=CAz7lovkiwg:fRdy5MGZi9Q:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=CAz7lovkiwg:fRdy5MGZi9Q:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?i=CAz7lovkiwg:fRdy5MGZi9Q:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=CAz7lovkiwg:fRdy5MGZi9Q:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=CAz7lovkiwg:fRdy5MGZi9Q:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><feedburner:origLink>http://blogs.msdn.com/b/harsh/archive/2007/02/06/techready4.aspx</feedburner:origLink></item><item><title>Updates, updates, updates...</title><link>http://feedproxy.google.com/~r/SharepointUnplugged/~3/ZgDEhBZrMTk/updates-updates-updates.aspx</link><pubDate>Tue, 30 Jan 2007 20:40:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1557947</guid><dc:creator>Harsh Chiplonkar</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/harsh/rsscomments.aspx?WeblogPostID=1557947</wfw:commentRss><comments>http://blogs.msdn.com/b/harsh/archive/2007/01/30/updates-updates-updates.aspx#comments</comments><description>&lt;P&gt;Right of the bat! All SKU's of Office 2007 client and server have shipped. Also, at the same time, the greatest and bestest OS ever has been shipped as well. This is aptly enabled with the "WOW" campaign for both the Office2007 suite as well as Vista.&lt;BR&gt;Yaaayyyyy!&lt;BR&gt;&lt;EM&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;On another note, people with MSDN subscriptions can still download everything above from the downloads section. &lt;/P&gt;
&lt;P style="MARGIN-LEFT: 36pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;&lt;STRONG&gt;Servers + SharePoint + SharePoint Server 2007 &lt;/STRONG&gt;(617MB) &lt;/SPAN&gt;&lt;/P&gt;
&lt;UL style="MARGIN-LEFT: 100pt"&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;Office SharePoint Server 2007 Standard and Enterprise Editions (Arabic) &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;Office SharePoint Server 2007 Standard and Enterprise Editions (Dutch) &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;Office SharePoint Server 2007 Standard and Enterprise Editions (English) &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;Office SharePoint Server 2007 Standard and Enterprise Editions (French) &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;Office SharePoint Server 2007 Standard and Enterprise Editions (German) &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;Office SharePoint Server 2007 Standard and Enterprise Editions (Hebrew) &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;Office SharePoint Server 2007 Standard and Enterprise Editions (Italian) &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;Office SharePoint Server 2007 Standard and Enterprise Editions (Japanese) &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;Office SharePoint Server 2007 Standard and Enterprise Editions (Korean) &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;Office SharePoint Server 2007 Standard and Enterprise Editions (Polish) &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;Office SharePoint Server 2007 Standard and Enterprise Editions (Portuguese-Brazil) &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;Office SharePoint Server 2007 Standard and Enterprise Editions (Simplified Chinese) &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;Office SharePoint Server 2007 Standard and Enterprise Editions (Spanish) &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;Office SharePoint Server 2007 Standard and Enterprise Editions (Swedish) &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;Office SharePoint Server 2007 Standard and Enterprise Editions (Traditional Chinese) &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;Office SharePoint Server 2007 Standard and Enterprise Editions (Thai) &lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt"&gt;&lt;SPAN style="COLOR: black"&gt;The English 180 day trial&amp;nbsp;of Office SharePoint Server 2007 from download center is available &lt;A href="http://www.microsoft.com/downloads/info.aspx?na=22&amp;amp;p=5&amp;amp;SrcDisplayLang=en&amp;amp;SrcCategoryId=&amp;amp;SrcFamilyId=&amp;amp;u=%2fdownloads%2fdetails.aspx%3fFamilyID%3d2e6e5a9c-ebf6-4f7f-8467-f4de6bd6b831%26DisplayLang%3den" mce_href="http://www.microsoft.com/downloads/info.aspx?na=22&amp;amp;p=5&amp;amp;SrcDisplayLang=en&amp;amp;SrcCategoryId=&amp;amp;SrcFamilyId=&amp;amp;u=%2fdownloads%2fdetails.aspx%3fFamilyID%3d2e6e5a9c-ebf6-4f7f-8467-f4de6bd6b831%26DisplayLang%3den"&gt;&lt;/A&gt;&lt;/SPAN&gt;here&lt;SPAN style="COLOR: black"&gt;. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN-LEFT: 36pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;&lt;STRONG&gt;Office Forms Server 2007 (in Server)&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;/P&gt;
&lt;UL style="MARGIN-LEFT: 100pt"&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;Office Forms Server 2007 (Arabic) &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;Office Forms Server 2007 (Dutch) &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;Office Forms Server 2007 (English) &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;Office Forms Server 2007 (French) &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;Office Forms Server 2007 (German) &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;Office Forms Server 2007 (Hebrew) &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;Office Forms Server 2007 (Japanese) &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;Office Forms Server 2007 (Korean) &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;Office Forms Server 2007 (Italian) &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;Office Forms Server 2007 (Polish) &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;Office Forms Server 2007 (Portuguese-Brazil) &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;Office Forms Server 2007 (Swedish) &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;Office Forms Server 2007 (Thai) &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;Office Forms Server 2007 (Simplified Chinese) &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;Office Forms Server 2007 (Spanish) &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;Office Forms Server 2007 (Traditional Chinese) &lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt"&gt;&lt;SPAN style="COLOR: black"&gt;No trial is available.&amp;nbsp; Download&amp;nbsp;SharePoint Server&amp;nbsp;Enterprise Trial&amp;nbsp;&lt;A href="http://www.microsoft.com/downloads/info.aspx?na=22&amp;amp;p=5&amp;amp;SrcDisplayLang=en&amp;amp;SrcCategoryId=&amp;amp;SrcFamilyId=&amp;amp;u=%2fdownloads%2fdetails.aspx%3fFamilyID%3d2e6e5a9c-ebf6-4f7f-8467-f4de6bd6b831%26DisplayLang%3den" mce_href="http://www.microsoft.com/downloads/info.aspx?na=22&amp;amp;p=5&amp;amp;SrcDisplayLang=en&amp;amp;SrcCategoryId=&amp;amp;SrcFamilyId=&amp;amp;u=%2fdownloads%2fdetails.aspx%3fFamilyID%3d2e6e5a9c-ebf6-4f7f-8467-f4de6bd6b831%26DisplayLang%3den"&gt;&lt;/A&gt;&lt;/SPAN&gt;here&lt;SPAN style="COLOR: black"&gt;&amp;nbsp;to evaluate Forms functionality. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN-LEFT: 36pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;&lt;STRONG&gt;Office SharePoint Designer (in Applications)&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;/P&gt;
&lt;UL style="MARGIN-LEFT: 100pt"&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;Office SharePoint Designer 2007 (Arabic) &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;Office SharePoint Designer 2007 (Dutch) &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;Office SharePoint Designer 2007 (English) &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;Office SharePoint Designer 2007 (French) &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;Office SharePoint Designer 2007 (German) &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;Office SharePoint Designer 2007 (Hebrew) &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;Office SharePoint Designer 2007 (Japanese) &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;Office SharePoint Designer 2007 (Korean) &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;Office SharePoint Designer 2007 (Italian) &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;Office SharePoint Designer 2007 (Polish) &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;Office SharePoint Designer 2007 (Portuguese-Brazil) &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;Office SharePoint Designer 2007 (Swedish) &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;Office SharePoint Designer 2007 (Simplified Chinese) &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;Office SharePoint Designer 2007 (Spanish) &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;Office SharePoint Designer 2007 (Thai) &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;Office SharePoint Designer 2007 (Traditional Chinese-Taiwan) &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;Office SharePoint Designer 2007 - DVD (Traditional Chinese-Hong Kong SAR) &lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt"&gt;&lt;SPAN style="COLOR: black"&gt;The 180 day English trial of Office SharePoint Designer 2007&amp;nbsp;is available from download center&amp;nbsp;&lt;A href="http://www.microsoft.com/downloads/details.aspx?FamilyID=6bfa7447-a88d-4780-a981-b508a94ca120&amp;amp;DisplayLang=en" mce_href="http://www.microsoft.com/downloads/details.aspx?FamilyID=6bfa7447-a88d-4780-a981-b508a94ca120&amp;amp;DisplayLang=en"&gt;&lt;/A&gt;&lt;/SPAN&gt;here&lt;SPAN style="COLOR: black"&gt;. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN-LEFT: 36pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;&lt;BR&gt;&lt;STRONG&gt;Servers + SharePoint + SharePoint Server 2007 for Search &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL style="MARGIN-LEFT: 100pt"&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;Office SharePoint Server 2007 for Search Standard and Enterprise Editions (German) &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;Office SharePoint Server 2007 for Search Standard and Enterprise Editions (English) &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;Office SharePoint Server 2007 for Search Standard and Enterprise Editions (Japanese) &lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt"&gt;&lt;SPAN style="COLOR: black"&gt;No trial is available.&amp;nbsp; Download&amp;nbsp;SharePoint Server&amp;nbsp;Standard or Enterprise trial&amp;nbsp;&lt;A href="http://www.microsoft.com/downloads/info.aspx?na=22&amp;amp;p=5&amp;amp;SrcDisplayLang=en&amp;amp;SrcCategoryId=&amp;amp;SrcFamilyId=&amp;amp;u=%2fdownloads%2fdetails.aspx%3fFamilyID%3d2e6e5a9c-ebf6-4f7f-8467-f4de6bd6b831%26DisplayLang%3den" mce_href="http://www.microsoft.com/downloads/info.aspx?na=22&amp;amp;p=5&amp;amp;SrcDisplayLang=en&amp;amp;SrcCategoryId=&amp;amp;SrcFamilyId=&amp;amp;u=%2fdownloads%2fdetails.aspx%3fFamilyID%3d2e6e5a9c-ebf6-4f7f-8467-f4de6bd6b831%26DisplayLang%3den"&gt;&lt;/A&gt;&lt;/SPAN&gt;here&lt;SPAN style="COLOR: black"&gt;&amp;nbsp;to evaluate&amp;nbsp;Search functionality.&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN-LEFT: 36pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt"&gt;&lt;SPAN style="COLOR: black"&gt;&lt;STRONG&gt;ISO Instructions&amp;nbsp; &lt;BR&gt;&lt;/STRONG&gt;An ISO-9660 image file is an exact representation of the original installation media, including the content and the logical format. The most common use of an image file is to write it to a blank DVD Recordable disc resulting in an identical copy of the original DVD including file name and volume label information. ISO Images can also be extracted directly to a file location by many Recordable DVD utilities. For more information about image files, please visit the &lt;A href="http://go.microsoft.com/fwlink/?LinkID=65416&amp;amp;clcid=0x409" mce_href="http://go.microsoft.com/fwlink/?LinkID=65416&amp;amp;clcid=0x409"&gt;&lt;/A&gt;&lt;/SPAN&gt;MSDN FAQ&lt;SPAN style="COLOR: black"&gt;. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN-LEFT: 36pt"&gt;&lt;SPAN style="FONT-SIZE: 12pt; COLOR: #0070c0; FONT-FAMILY: Helvetica"&gt;&lt;STRONG&gt;MOSS AND MOM &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN-LEFT: 36pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;Also we have released MOM packs for Office 2007 &lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN-LEFT: 36pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt"&gt;&lt;SPAN style="COLOR: black"&gt;The MOSS 2007 MOM Pack is now RTM and you can download it &lt;A href="http://www.microsoft.com/downloads/details.aspx?FamilyID=247c06ba-c599-4b22-b2d3-7bf88c4d7811&amp;amp;displaylang=en" mce_href="http://www.microsoft.com/downloads/details.aspx?FamilyID=247c06ba-c599-4b22-b2d3-7bf88c4d7811&amp;amp;displaylang=en"&gt;&lt;/A&gt;&lt;/SPAN&gt;here&lt;SPAN style="COLOR: black"&gt;.&amp;nbsp; If you don't have it, we highly recommend the &lt;A href="http://www.microsoft.com/downloads/details.aspx?FamilyId=DB1CADF7-1A12-40F5-8EB5-820C343E48CA&amp;amp;displaylang=en" mce_href="http://www.microsoft.com/downloads/details.aspx?FamilyId=DB1CADF7-1A12-40F5-8EB5-820C343E48CA&amp;amp;displaylang=en"&gt;&lt;/A&gt;&lt;/SPAN&gt;WSS 3.0&amp;nbsp;MOM Pack&lt;SPAN style="COLOR: black"&gt; as well. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;H4&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;&lt;STRONG&gt;Overview &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H4&gt;
&lt;P style="MARGIN-LEFT: 36pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;&lt;A class="" title=Description name=Description&gt;&lt;/A&gt;This Management Pack quickly brings any failures or configuration problems to your attention, which increases the availability and performance of Office SharePoint Server 2007. This Management Pack also provides the knowledge and expertise you need to leverage MOM 2005 and get an immediate return on your investment. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN-LEFT: 36pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black"&gt;&lt;BR&gt;&lt;STRONG&gt;Feature Summary:&lt;/STRONG&gt; &lt;BR&gt;This Management Pack alerts you about the following critical conditions: &lt;BR&gt;• Shared Services Provider (SSP) provisioning failed &lt;BR&gt;• Site Directory scan job failed &lt;BR&gt;• Enabling features failed on some sites &lt;BR&gt;• Administration site for the SSP is missing &lt;BR&gt;• Enabling features on existing sites failed &lt;BR&gt;• The Office SharePoint Server Search service is not running &lt;BR&gt;• The Microsoft Single Sign-On service is not running &lt;BR&gt;• The Office Document Conversions Launcher service is not running &lt;BR&gt;• Failed to connect to parent server farm &lt;BR&gt;• SSP synchronization failed &lt;BR&gt;• The Office Document Conversions Load Balancer service is not running &lt;BR&gt;• Failures in content deployment jobs &lt;BR&gt;• Poor cache performance &lt;BR&gt;• Error during document copy or move operations &lt;BR&gt;• Errors with the Information Rights Management (IRM) features &lt;BR&gt;• Failures in the Document Conversion feature &lt;BR&gt;• Out of Memory exceptions coming from form business logic &lt;BR&gt;• Denial of Service scenarios &lt;BR&gt;• Failures during form processing or while loading business logic assemblies &lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN-LEFT: 36pt"&gt;&lt;SPAN style="FONT-SIZE: 16pt; COLOR: #0070c0; FONT-FAMILY: Helvetica"&gt;&lt;STRONG&gt;TELERIK R.A.D Cross Browser Rich Text Editor for SharePoint 2007 – public beta now available &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN-LEFT: 36pt"&gt;&lt;SPAN style="COLOR: black"&gt;Microsoft had earlier announced by way of the SharePoint product team blog that &lt;STRONG&gt;Telerik's &lt;/STRONG&gt;cross browser rich text editor is the official &lt;A href="http://www.sharepointcontrols.com/products/products-overview.aspx" mce_href="http://www.sharepointcontrols.com/products/products-overview.aspx"&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;STRONG&gt;r.a.d editor for SharePoint 2007&lt;SPAN style="COLOR: black"&gt; .&lt;/SPAN&gt;&lt;/STRONG&gt; &lt;SPAN style="COLOR: black"&gt;this Web-based rich text editor extends the web content authoring environment of Office SharePoint Server 2007 by providing cross-browser compatibility (i.e. with Netscape 7.1+ and Mozilla 1.3 browsers) and support for the Macintosh platform (i.e. Safari browser). This special edition of Telerik's &lt;A href="http://www.telerik.com/products/aspnet/controls/editor/overview.aspx" mce_href="http://www.telerik.com/products/aspnet/controls/editor/overview.aspx"&gt;&lt;/A&gt;&lt;/SPAN&gt;market leading editor&lt;SPAN style="COLOR: black"&gt; offers the same functionality as SharePoint's native rich text editor and is provided by Telerik &lt;STRONG&gt;at no cost to all registered customers of Office SharePoint Server 2007&lt;/STRONG&gt;.&lt;BR&gt;This r.a.d.editor&lt;STRONG&gt; &lt;/STRONG&gt;can be used in the following scenarios: &lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN-LEFT: 72pt"&gt;&lt;SPAN style="COLOR: black"&gt;·&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Rich text field control in a SharePoint List &lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN-LEFT: 72pt"&gt;&lt;SPAN style="COLOR: black"&gt;·&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Rich text editor Web Part &lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN-LEFT: 72pt"&gt;&lt;SPAN style="COLOR: black"&gt;·&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Web Content Management page&lt;BR&gt;&lt;BR&gt;To get the public beta, go to &lt;A href="http://www.telerik.com/sharepoint" target=_blank mce_href="http://www.telerik.com/sharepoint"&gt;&lt;/A&gt;&lt;/SPAN&gt;http://www.telerik.com/sharepoint&lt;SPAN style="COLOR: black"&gt;.&lt;BR&gt;For online Q&amp;amp;A and discussion, go to &lt;A href="http://www.sharepointcontrols.com/support/forums/forum/b3041S-btc.aspx" target=_blank mce_href="http://www.sharepointcontrols.com/support/forums/forum/b3041S-btc.aspx"&gt;&lt;/A&gt;&lt;/SPAN&gt;http://www.sharepointcontrols.com/support/forums/forum/b3041S-btc.aspx&lt;SPAN style="COLOR: black"&gt;.&lt;BR&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 16pt; COLOR: #0070c0; FONT-FAMILY: Arial"&gt;&lt;STRONG&gt;Upgrade ToolKit for WSS2.0 Sites and Templates final release is now available &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN-LEFT: 36pt"&gt;The upgrade toolkit for WSS2.0 Sites and Templates is finally out the door, and can be found &lt;A href="http://go.microsoft.com/?linkid=6013824" mce_href="http://go.microsoft.com/?linkid=6013824"&gt;here&lt;/A&gt;. &lt;SPAN style="COLOR: black"&gt;This solution accelerator combines three components that will help you effectively plan and upgrade your custom sites and templates to function in a Windows SharePoint Services 3.0 environment.&amp;nbsp;The first is a prescriptive guide that will walk you through the common steps of the upgrade process; the second, a set of scripts that will help you perform common Stsadm tasks in batch and sequential manner; and the third, a set of 63 upgraded 2.0 application templates for Windows SharePoint Services 3.0. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN-LEFT: 36pt"&gt;&lt;SPAN style="FONT-SIZE: 18pt; COLOR: #0070c0"&gt;&lt;STRONG&gt;SharePoint Test Data Load tool &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN-LEFT: 51pt"&gt;The SharePoint product team has just sanitized and posted a tool to help push sample data into SharePoint 2007 for load testing scenarios.&lt;BR&gt;You can get it here : &lt;A href="http://technet2.microsoft.com/Office/en-us/library/301ed832-95da-4251-b266-7be6288f7ea01033.mspx?mfr=true" mce_href="http://technet2.microsoft.com/Office/en-us/library/301ed832-95da-4251-b266-7be6288f7ea01033.mspx?mfr=true"&gt;http://technet2.microsoft.com/Office/en-us/library/301ed832-95da-4251-b266-7be6288f7ea01033.mspx?mfr=true&lt;/A&gt; or&lt;BR&gt;here: &lt;A href="http://www.codeplex.com/sptdatapop" mce_href="http://www.codeplex.com/sptdatapop"&gt;http://www.codeplex.com/sptdatapop&lt;/A&gt; or&lt;BR&gt;here: &lt;A href="http://www.codeplex.com/sptdatapop/Project/FileDownload.aspx?DownloadId=4702" mce_href="http://www.codeplex.com/sptdatapop/Project/FileDownload.aspx?DownloadId=4702"&gt;http://www.codeplex.com/sptdatapop/Project/FileDownload.aspx?DownloadId=4702&lt;/A&gt; &lt;BR&gt;&lt;BR&gt;&lt;SPAN style="COLOR: red"&gt;&lt;STRONG&gt;Bear in mind that this is not an officially Microsoft released product and is a community supported tool. Please don't contact product support with any issues you may experience using the tool.&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: black"&gt; &lt;BR&gt;This is the tool referred to on TechNet as the tool that was used for load testing by the SharePoint Performance test team at Microsoft.&lt;BR&gt;From Codeplex workspace:&lt;BR&gt;"The SharePoint test data population tool (WSSDW.exe) is a capacity planning and performance testing tool that populates data for testing SharePoint deployments. The SharePoint test data population tool is available as a command-line executable program that extracts information about how to populate the server from an XML configuration file, and calls Microsoft .NET assembly: WSSDWLib.dll. "&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: Times New Roman"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: Arial"&gt;More updates as and when I receive them. Keep watching this space. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: Arial"&gt;~Harsh &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1557947" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=ZgDEhBZrMTk:YNPmdqqCwlY:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=ZgDEhBZrMTk:YNPmdqqCwlY:wF9xT3WuBAs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?i=ZgDEhBZrMTk:YNPmdqqCwlY:wF9xT3WuBAs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=ZgDEhBZrMTk:YNPmdqqCwlY:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?i=ZgDEhBZrMTk:YNPmdqqCwlY:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=ZgDEhBZrMTk:YNPmdqqCwlY:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=ZgDEhBZrMTk:YNPmdqqCwlY:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?i=ZgDEhBZrMTk:YNPmdqqCwlY:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=ZgDEhBZrMTk:YNPmdqqCwlY:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?i=ZgDEhBZrMTk:YNPmdqqCwlY:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=ZgDEhBZrMTk:YNPmdqqCwlY:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=ZgDEhBZrMTk:YNPmdqqCwlY:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><feedburner:origLink>http://blogs.msdn.com/b/harsh/archive/2007/01/30/updates-updates-updates.aspx</feedburner:origLink></item><item><title>Custom Search and URL zones</title><link>http://feedproxy.google.com/~r/SharepointUnplugged/~3/_JLwyGH-ros/custom-search-and-url-zones.aspx</link><pubDate>Wed, 17 Jan 2007 21:57:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1484571</guid><dc:creator>Harsh Chiplonkar</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/harsh/rsscomments.aspx?WeblogPostID=1484571</wfw:commentRss><comments>http://blogs.msdn.com/b/harsh/archive/2007/01/17/custom-search-and-url-zones.aspx#comments</comments><description>&lt;P&gt;&lt;SPAN style="FONT-FAMILY: Candara"&gt;It's a very common task with SharePoint to create a custom Search web part. The objective ranges from the very intuitive – need to change the search results display - to the very complex perform some complex queries that are not possible Out of the Box. For a large part, customizing the search behavior in Microsoft Office SharePoint Server 2007 is very similar to how it was done in SharePoint Portal Server 2003. The major difference however is how the Search behaves. Since a great deal of time and energy has been spent in completely rewriting the underlying search engine, the results are very obvious. If you have not yet seen the MOSS search behavior, I will suffice it to say that it's pretty close to SharePoint 2003 search on steroids.&lt;BR&gt;For a large part, here's how a typical custom search would look like:&lt;BR&gt;&lt;BR&gt;referencing Microsoft.Office.Server.Search and Microsoft.SharePoint.Search depending on whether its OSS or WSS. &lt;/SPAN&gt;&lt;/P&gt;&lt;CODE&gt;
&lt;P style="MARGIN-LEFT: 36pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Consolas"&gt;&lt;SPAN style="COLOR: #76923c"&gt;//typical initalisation&lt;/SPAN&gt;&lt;BR&gt;Microsoft.Office.Server.Search.Query.&lt;SPAN style="COLOR: #4f81bd"&gt;Query&lt;/SPAN&gt; query;&lt;BR&gt;query = new Microsoft.Office.Server.Search.Query.&lt;SPAN style="COLOR: #4f81bd"&gt;FullTextSqlQuery&lt;/SPAN&gt;(ServerContext.Current);&lt;BR&gt;Microsoft.Office.Server.Search.Query.&lt;SPAN style="COLOR: #4f81bd"&gt;ResultTableCollection&lt;/SPAN&gt; rsltTableColl;&lt;BR&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN-LEFT: 36pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Consolas"&gt;&lt;SPAN style="COLOR: #76923c"&gt;//set some properties for the FullTextSqlQuery instance&lt;BR&gt;&lt;/SPAN&gt;query.ResultTypes |= Microsoft.Office.Server.Search.Query.&lt;SPAN style="COLOR: #4f81bd"&gt;ResultType&lt;/SPAN&gt;.RelevantResultsl;&lt;BR&gt;query.QueryText = "some query";&lt;SPAN style="COLOR: #76923c"&gt;&lt;BR&gt;//and then execute the query&lt;BR&gt;&lt;/SPAN&gt;query.Execute(); &lt;BR&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/CODE&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: Candara"&gt;This is a typical lab scenario. But something interesting happens when you execute this on an actual farm deployment. Consider a deployment architecture as follows:&lt;BR&gt;You have web application on port 80 as &lt;EM&gt;contoso.com&lt;/EM&gt;. So the root site collection on that web application will be &lt;A href="http://contoso.com/" mce_href="http://contoso.com"&gt;http://contoso.com&lt;/A&gt;. Contoso decides that they want to expose the same web application on the intranet, extranet as well as internet zones. So the admin goes ahead and creates extended web applications on port 80 for different URL zones. &lt;BR&gt;So now you have &lt;BR&gt;&lt;SPAN style="COLOR: #0070c0"&gt;contoso.com on the default zone &lt;BR&gt;contoso-intra.com on the intranet zone&lt;BR&gt;contoso-extra.com on the extranet zone. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: Candara"&gt;Note that the root site collections will now be identified as &lt;BR&gt;&lt;A href="http://contoso.com/" mce_href="http://contoso.com"&gt;http://contoso.com&lt;/A&gt;&lt;BR&gt;&lt;A href="http://contoso-intra.com/" mce_href="http://contoso-intra.com"&gt;http://contoso-intra.com&lt;/A&gt;&lt;BR&gt;&lt;A href="http://contoso-extra.com/" mce_href="http://contoso-extra.com"&gt;http://contoso-extra.com&lt;/A&gt; &lt;BR&gt;respectively. &lt;BR&gt;Since it's an extended web application, the content is the same across all URL's though the URL's accessed would be different for each. The implicit advantage this offers is the ability to expose the same content to different sets of users that are authenticated using different authentication mechanisms. Now consider say that the custom search web part that you created earlier is deployed in such a scenario. &lt;BR&gt;When a user fires a query on this custom query part, the query executes etc. No problems at all there. But look closer. If you hover over the hyperlinks for the individual items in the search results the URL's will actually be pointing to the URL corresponding to the default URL zone. This is not such a cool thing, since the user on the extranet does not need to know, what the actual content URL is.&lt;BR&gt;Now, just to cover all bases, execute a similar query from the Search box that ships with SharePoint. Irrespective of the zone you are browsing from, the URL's for the search result items are properly structured. What is it that SharePoint is doing but we are not in our code?&lt;BR&gt;PSS actually received a couple of calls on how to get past this seeming bug. For one, there are no articles online or even in the SDK at the moment that explain how this can be done. The answer popped up from a relatively uncanny place – how, SharePoint implements Search. &lt;BR&gt;&lt;BR&gt;Solution: Internally, there is a seemingly incongruous property that's being set to get past this weird problem. Now, for the record, the SDK does not glorify this property at all and if you use your favorite web search engine, there would be just a couple of lines describing what this does. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN-LEFT: 36pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: #595959; FONT-FAMILY: Consolas"&gt;//typical initalisation&lt;BR&gt;Microsoft.Office.Server.Search.Query.Query query;&lt;BR&gt;query = new Microsoft.Office.Server.Search.Query.FullTextSqlQuery(ServerContext.Current);&lt;BR&gt;Microsoft.Office.Server.Search.Query.ResultTableCollection rsltTableColl;&lt;BR&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN-LEFT: 36pt"&gt;&lt;SPAN style="FONT-FAMILY: Consolas"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: #595959"&gt;//set some properties for the FullTextSqlQuery instance&lt;BR&gt;query.ResultTypes |= Microsoft.Office.Server.Search.Query.ResultType.RelevantResultsl;&lt;BR&gt;query.QueryText = "some query";&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: black"&gt;&lt;STRONG&gt;SPSite site = SPControl.GetContextSite(HTTPContext.Current);&lt;BR&gt;query.SiteContext = new Uri(site.Url);&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: #595959"&gt;&lt;BR&gt;//and then execute the query&lt;BR&gt;query.Execute(); &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: Candara"&gt;What is this doing? In essence it fetches the current site context from the HTTPContext and then specifies that the query executes under that specific context. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: Candara"&gt;Solution delivered and issue resolved.&lt;BR&gt;&lt;BR&gt;~harsh &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: Consolas"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1484571" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=_JLwyGH-ros:CRAe_c9zxsk:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=_JLwyGH-ros:CRAe_c9zxsk:wF9xT3WuBAs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?i=_JLwyGH-ros:CRAe_c9zxsk:wF9xT3WuBAs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=_JLwyGH-ros:CRAe_c9zxsk:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?i=_JLwyGH-ros:CRAe_c9zxsk:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=_JLwyGH-ros:CRAe_c9zxsk:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=_JLwyGH-ros:CRAe_c9zxsk:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?i=_JLwyGH-ros:CRAe_c9zxsk:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=_JLwyGH-ros:CRAe_c9zxsk:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?i=_JLwyGH-ros:CRAe_c9zxsk:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=_JLwyGH-ros:CRAe_c9zxsk:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=_JLwyGH-ros:CRAe_c9zxsk:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><category domain="http://blogs.msdn.com/b/harsh/archive/tags/MOSS+/">MOSS </category><feedburner:origLink>http://blogs.msdn.com/b/harsh/archive/2007/01/17/custom-search-and-url-zones.aspx</feedburner:origLink></item><item><title>Forms Based Authentication in MOSS</title><link>http://feedproxy.google.com/~r/SharepointUnplugged/~3/A9UNrO5ijIg/forms-based-authentication-in-moss.aspx</link><pubDate>Tue, 09 Jan 2007 22:36:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1440104</guid><dc:creator>Harsh Chiplonkar</dc:creator><slash:comments>17</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/harsh/rsscomments.aspx?WeblogPostID=1440104</wfw:commentRss><comments>http://blogs.msdn.com/b/harsh/archive/2007/01/10/forms-based-authentication-in-moss.aspx#comments</comments><description>&lt;P&gt;There have been a lot of great posts in the blogosphere on how to setup forms based authentication. Some of them:&lt;BR&gt;&lt;A href="http://blogs.msdn.com/sharepoint/archive/2006/08/16/702010.aspx" mce_href="http://blogs.msdn.com/sharepoint/archive/2006/08/16/702010.aspx"&gt;SharePoint Product Group Blog by Steve Peschka&lt;/A&gt;&lt;BR&gt;&lt;A href="http://weblog.vb-tech/nick/archive/2006/06/14/1617.aspx" mce_href="http://weblog.vb-tech/nick/archive/2006/06/14/1617.aspx"&gt;Nick Swan [non-MS]&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;What I want to put forth in this post, is a reference on the web.config changes that are required for various types of providers plus some tips on how to troubleshoot failures. &lt;BR&gt;&lt;BR&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-SIZE: 12pt; COLOR: blue"&gt;ASPNET SQL PROVIDER&lt;/SPAN&gt; &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;- &lt;SPAN style="COLOR: #006600"&gt;Connection String for local SQL&lt;/SPAN&gt;&lt;BR&gt;&lt;/STRONG&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Consolas"&gt;&amp;lt;membership defaultProvider="AspNetSqlMembershipProvider" /&amp;gt;&lt;BR&gt;&amp;lt;connectionStrings&amp;gt;&lt;BR&gt;&amp;lt;remove name="LocalSqlServer" /&amp;gt;&lt;BR&gt;&amp;lt;add name="LocalSqlServer" connectionString="data source=127.0.0.1;Integrated Security=SSPI;Initial Catalog=aspnetdb" /&amp;gt;&lt;BR&gt;&amp;lt;/connectionStrings&amp;gt;&lt;/SPAN&gt; &lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;- &lt;SPAN style="COLOR: #006600"&gt;Connection String for Remote SQL&lt;/SPAN&gt;&lt;BR&gt;&lt;/STRONG&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Consolas"&gt;&amp;lt;connectionStrings&amp;gt;&lt;BR&gt;&amp;lt;add name="SqlProviderConnection" connectionString="server=SQLSERVERMACHINE;database=aspnetdb;Trusted_Connection=True" /&amp;gt;&lt;BR&gt;&amp;lt;/connectionStrings&amp;gt;&lt;/SPAN&gt; &lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;- &lt;SPAN style="COLOR: #006600"&gt;Role Provider XML&lt;/SPAN&gt;&lt;BR&gt;&lt;/STRONG&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Consolas"&gt;&amp;lt;roleManager enabled="true" defaultProvider="AspNetSqlRoleProvider"&amp;gt;&lt;BR&gt;&amp;lt;providers&amp;gt;&lt;BR&gt;&amp;lt;remove name="AspNetSqlRoleProvider" /&amp;gt;&lt;BR&gt;&amp;lt;add connectionStringName="LocalSqlServer" applicationName="/"&lt;BR&gt;description="Stores and retrieves roles data from the local Microsoft SQL Server database" name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /&amp;gt;&lt;BR&gt;&amp;lt;/providers&amp;gt;&lt;BR&gt;&amp;lt;/roleManager&amp;gt;&lt;/SPAN&gt; &lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;- &lt;SPAN style="COLOR: #006600"&gt;Membership Provider XML&lt;/SPAN&gt;&lt;BR&gt;&lt;/STRONG&gt;&lt;SPAN style="FONT-FAMILY: Consolas"&gt;&lt;SPAN style="FONT-SIZE: 10pt"&gt;&amp;lt;membership defaultProvider="AspNetSqlMembershipProvider"&amp;gt;&lt;BR&gt;&amp;lt;providers&amp;gt;&lt;BR&gt;&amp;lt;remove name="AspNetSqlMembershipProvider" /&amp;gt;&lt;BR&gt;&amp;lt;add connectionStringName="SqlProviderConnection" passwordAttemptWindow="10" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="true" applicationName="/" requiresUniqueEmail="false" passwordFormat="Hashed" description="Stores and retrieves membership data from the Microsoft SQL Server database" name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /&amp;gt;&lt;BR&gt;&amp;lt;/providers&amp;gt;&lt;BR&gt;&amp;lt;/membership&amp;gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 12pt; COLOR: blue"&gt;&lt;STRONG&gt;Office Server LDAP &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="COLOR: #006600"&gt;&lt;STRONG&gt;Membershipprovider XML &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Consolas"&gt;&amp;lt;membership defaultProvider="PeopleDCLDAPMembership"&amp;gt;&lt;BR&gt;&amp;lt;providers&amp;gt;&lt;BR&gt;&amp;lt;add name="PeopleDCLDAPMembership" type="Microsoft.Office.Server.Security.LDAPMembershipProvider, Microsoft.Office.Server.LDAPProvider, Version=12.0.0.0, Culture=neutral, PublicKeyToken=94de0004b6e3fcc5" server=&lt;EM&gt;[server name as string]&lt;/EM&gt; port="389" useSSL="false" userDNAttribute="distinguishedName" userNameAttribute="sAMAccountName" userContainer="OU=UserAccounts,DC=&lt;EM&gt;[fqdnstringpart]&lt;/EM&gt;,DC=&lt;EM&gt;[fqdnstringpart]&lt;/EM&gt;,DC=&lt;EM&gt;[fqdnstringpart]&lt;/EM&gt;,DC=com" userObjectClass="person" userFilter="(&amp;amp;amp;(ObjectClass=person))" scope="Subtree" otherRequiredUserAttributes="sn,givenname,cn" /&amp;gt;&lt;BR&gt;&amp;lt;/providers&amp;gt;&lt;BR&gt;&amp;lt;/membership&amp;gt; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="COLOR: #006600"&gt;&lt;STRONG&gt;Roleprovider XML &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Consolas"&gt;&amp;lt;roleManager defaultProvider="PeopleDCLDAPRole" enabled="true" cacheRolesInCookie="true" cookieName=".PeopleDCRole"&amp;gt;&lt;BR&gt;&amp;lt;providers&amp;gt;&lt;BR&gt;&amp;lt;add name="PeopleDCLDAPRole" type="Microsoft.SharePoint.Security.LDAPRoleProvider, Microsoft.SharePoint.LDAPProvider, Version=12.0.0.0, Culture=neutral, PublicKeyToken=94de0004b6e3fcc5" server=&lt;EM&gt;[server name as string]&lt;/EM&gt; port="389" useSSL="false" groupContainer="OU=UserAccounts, DC=&lt;EM&gt;[fqdnstringpart]&lt;/EM&gt;,DC=&lt;EM&gt;[fqdnstringpart]&lt;/EM&gt;,DC=&lt;EM&gt;[fqdnstringpart]&lt;/EM&gt;,DC=com" groupNameAttribute="sAMAccountName" groupMemberAttribute="uniquemember" userNameAttribute="sAMAccountName" dnAttribute="CN" groupFilter="(&amp;amp;amp;(ObjectClass=group))" scope="Subtree" /&amp;gt;&lt;BR&gt;&amp;lt;/providers&amp;gt;&lt;BR&gt;&amp;lt;/roleManager&amp;gt; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-SIZE: 12pt; COLOR: blue"&gt;WebSSO (ADFS)&lt;/SPAN&gt;&lt;SPAN style="TEXT-DECORATION: underline"&gt;&lt;BR&gt;&lt;/SPAN&gt;- &lt;SPAN style="COLOR: #006600"&gt;Modification to the Web Application Web.config&lt;/SPAN&gt;&lt;SPAN style="TEXT-DECORATION: underline"&gt; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Consolas"&gt;&amp;lt;sectionGroup name="system.web"&amp;gt;&lt;BR&gt;&amp;lt;section name="websso" type="System.Web.Security.SingleSignOn.WebSsoConfigurationHandler, System.Web.Security.SingleSignOn, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, Custom=null" /&amp;gt;&lt;BR&gt;&amp;lt;/sectionGroup&amp;gt; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Consolas"&gt;&amp;lt;add key="SingleSignOnMembershipProvider" value="" /&amp;gt; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Consolas"&gt;&amp;lt;add name="Identity Federation Services Application Authentication Module" type="System.Web.Security.SingleSignOn.WebSsoAuthenticationModule, System.Web.Security.SingleSignOn, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, Custom=null" /&amp;gt; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Consolas"&gt;&amp;lt;trust level="Full" originUrl="" /&amp;gt; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="COLOR: #006600"&gt;&lt;STRONG&gt;Membership provider &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Consolas"&gt;&amp;lt;membership defaultProvider="SingleSignOnMembershipProvider"&amp;gt;&lt;BR&gt;&amp;lt;providers&amp;gt;&lt;BR&gt;&amp;lt;add name="SingleSignOnMembershipProvider" type="System.Web.Security.SingleSignOn.SingleSignOnMembershipProvider, System.Web.Security.SingleSignOn, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" fs="https://fs-server/adfs/fs/federationserverservice.asmx" /&amp;gt;&lt;BR&gt;&amp;lt;/providers&amp;gt;&lt;BR&gt;&amp;lt;/membership&amp;gt; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="COLOR: #006600"&gt;&lt;STRONG&gt;Role provider &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Consolas"&gt;&amp;lt;roleManager enabled="true" defaultProvider="SingleSignOnRoleProvider"&amp;gt;&lt;BR&gt;&amp;lt;providers&amp;gt;&lt;BR&gt;&amp;lt;add name="SingleSignOnRoleProvider" type="System.Web.Security.SingleSignOn.SingleSignOnRoleProvider, System.Web.Security.SingleSignOn, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" fs="https://fs-server/adfs/fs/federationserverservice.asmx" /&amp;gt;&lt;BR&gt;&amp;lt;/providers&amp;gt;&lt;BR&gt;&amp;lt;/roleManager&amp;gt;&lt;BR&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Consolas"&gt;&amp;lt;websso&amp;gt;&lt;BR&gt;&amp;lt;authenticationrequired /&amp;gt;&lt;BR&gt;&amp;lt;auditlevel&amp;gt;55&amp;lt;/auditlevel&amp;gt;&lt;BR&gt;&amp;lt;urls&amp;gt;&lt;BR&gt;&amp;lt;returnurl&amp;gt;https://servername&amp;lt;/returnurl&amp;gt;&lt;BR&gt;&amp;lt;/urls&amp;gt; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Consolas"&gt;&amp;lt;cookies Persistent="True"&amp;gt;&lt;BR&gt;&amp;lt;path&amp;gt;/&amp;lt;/path&amp;gt;&lt;BR&gt;&amp;lt;/cookies&amp;gt; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Consolas"&gt;&amp;lt;fs&amp;gt;https://fs-server/adfs/fs/federationserverservice.asmx&amp;lt;/fs&amp;gt;&lt;BR&gt;&amp;lt;!-- usettp / --&amp;gt;&lt;BR&gt;&amp;lt;isSharePoint /&amp;gt;&lt;BR&gt;&amp;lt;/websso&amp;gt; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="COLOR: #006600"&gt;- Modification to the Central Administration web application web.config&lt;/SPAN&gt;&lt;BR&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="COLOR: #006600"&gt;&lt;STRONG&gt;Membership Provider&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Consolas"&gt;&lt;BR&gt;&amp;lt;membership&amp;gt;&lt;BR&gt;&amp;lt;providers&amp;gt;&lt;BR&gt;&amp;lt;add name="SingleSignOnMembershipProvider" type="System.Web.Security.SingleSignOn.SingleSignOnMembershipProvider, System.Web.Security.SingleSignOn, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" fs="https://fs-server/adfs/fs/federationserverservice.asmx" /&amp;gt;&lt;BR&gt;&amp;lt;/providers&amp;gt;&lt;BR&gt;&amp;lt;/membership&amp;gt; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Consolas"&gt;&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #006600"&gt;&lt;STRONG&gt;Role Provider&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Consolas"&gt;&lt;BR&gt;&amp;lt;roleManager enabled="true" defaultProvider="AspNetWindowsTokenRoleProvider" &amp;gt;&lt;BR&gt;&amp;lt;providers&amp;gt;&lt;BR&gt;&amp;lt;remove name="AspNetSqlRoleProvider"/&amp;gt;&lt;BR&gt;&amp;lt;add name="SingleSignOnRoleProvider" type="System.Web.Security.SingleSignOn.SingleSignOnRoleProvider, System.Web.Security.SingleSignOn, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" fs="https://fs-server/adfs/fs/federationserverservice.asmx" /&amp;gt;&lt;BR&gt;&amp;lt;/providers&amp;gt;&lt;BR&gt;&amp;lt;/roleManager&amp;gt; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 12pt; COLOR: blue"&gt;&lt;STRONG&gt;ASPNET Active Directory Provider &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="COLOR: #006600"&gt;Connection string&lt;/SPAN&gt;&lt;BR&gt;&lt;/STRONG&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Consolas"&gt;&amp;lt;connectionStrings&amp;gt;&lt;BR&gt;&amp;lt;add name="ADConnectionString" connectionString="LDAP://&lt;EM&gt;[domainname]&lt;/EM&gt;/OU=UserAccounts, DC=&lt;EM&gt;[fqdnstringpart]&lt;/EM&gt;,DC=&lt;EM&gt;[fqdnstringpart]&lt;/EM&gt;,DC=com" /&amp;gt;&lt;BR&gt;&amp;lt;/connectionStrings&amp;gt; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="COLOR: #006600"&gt;Membership Provider&lt;/SPAN&gt;&lt;BR&gt;&lt;/STRONG&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Consolas"&gt;&amp;lt;membership defaultProvider="AspNetActiveDirectoryMembershipProvider"&amp;gt;&lt;BR&gt;&amp;lt;providers&amp;gt;&lt;BR&gt;&amp;lt;add name="AspNetActiveDirectoryMembershipProvider" type="System.Web.Security.ActiveDirectoryMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="ADConnectionString" enableSearchMethods="true" attributeMapUsername="sAMAccountName" /&amp;gt;&lt;BR&gt;&amp;lt;/providers&amp;gt;&lt;BR&gt;&amp;lt;/membership&amp;gt;&lt;/SPAN&gt; &lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Thanks to DW for compiling this list &lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 14pt; COLOR: #006600"&gt;&lt;STRONG&gt;OVERVIEW AND TROUBLESHOOTING &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;A lot of us who have played with Forms based Authentication with Microsoft Office SharePoint Server 2007 would know, that the steps for setting it up are fairly simple, however, if and when something does go wrong, finding it out is really a mess. Here's something that can help do so some basic troubleshooting:&lt;BR&gt;A thumb rule to look for is, when you browse to the Login page, and the page loads without the CSS, then &lt;STRONG&gt;&lt;EM&gt;definitely&lt;/EM&gt;&lt;/STRONG&gt; something has gone amiss. That's the first clue. After this, it is many a times a mind game. The question that comes up is why is it so difficult to figure it out? A lot of people have asked me as to why there wasn't any logging or error handling implemented from within SharePoint to make it easier to troubleshoot Forms Based Authentication? The answer lies in understanding how SharePoint implements FBA. &lt;BR&gt;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://blogs.msdn.com/photos/harsh/images/1440183/original.aspx" mce_src="http://blogs.msdn.com/photos/harsh/images/1440183/original.aspx"&gt;&lt;/P&gt;
&lt;P&gt;As you can see from the flow diagram above, the bulk of the action happens within .NET Framework. From a SharePoint perspective the request to login (when you click the Login button) just sends the user credentials entered in the Login web control (yeah, we use that on the default login page!) to the Provider. Obviously, prior to this, the framework has already swung into action and prepped the environment by loading the Provider assembly based on the entries made in the web.config file. There are a whole bunch of problems that you can run into at this level. Let's take them one by one:&lt;BR&gt;&lt;/P&gt;
&lt;P&gt;1. The assembly does not get loaded. The page displays File Not Found.&lt;BR&gt;This is a classic in itself. There are multiple reasons for this to occur. The manifestation of this problem is a simple "File Not Found" string displayed in the browser window. By itself this does not tell much. If you do venture out and enable call stacks and turn on the debug flags in the web.config (refer the debugging explanation @ &lt;A href="http://msdn2.microsoft.com/en-us/library/ms916837.aspx" mce_href="http://msdn2.microsoft.com/en-us/library/ms916837.aspx"&gt;http://msdn2.microsoft.com/en-us/library/ms916837.aspx&lt;/A&gt; ), then you will see the error being generally thrown from a System.Reflection call on the provider assembly. &lt;BR&gt;One solution that works is to check the name of the provider that is registered in the web.config. If you are using OOB providers, then obviously this does not apply. This solution works for custom providers. Why this causes a problem, is the reflection makes a call to the provider for loading. There is a overridden property within the provider called Name. If this has not been implemented properly to get/set the value specified in the web.config, then the framework keeps looking for the provider with a different name than the one that is actually returned from within the assembly. &lt;BR&gt;Another solution that works, is running the Fusion Log Viewer, to make a note of the location the framework is looking for the provider assembly. &lt;BR&gt;&lt;A href="http://msdn2.microsoft.com/en-us/library/e74a18c4(VS.80).aspx" mce_href="http://msdn2.microsoft.com/en-us/library/e74a18c4(VS.80).aspx"&gt;http://msdn2.microsoft.com/en-us/library/e74a18c4(VS.80).aspx&lt;/A&gt; &lt;BR&gt;Closely looking at the log, generally reveals the location of the ASP.NET cache. Clearing this cache, will most likely solve the problem. &lt;BR&gt;&lt;/P&gt;
&lt;P&gt;2. The browser displays the message "Default membership provider could not be found"&lt;BR&gt;To solve this, check the web.config, for the value of the defaultProvider there. Then browse to the IIS manager, and open the property sheet for the web site corresponding to the web application throwing the error. Crack open the ASP.NET configuration settings. Under Authentication, take a look at the default provider. Due to some weird framework calls, the default provider gets reset to AspNetSqlMembershipProvider. Change it back to the correct one. &lt;/P&gt;
&lt;P&gt;If you have seen these errors and have a solution that you vouch by, then I would like to hear about it. More interestingly, if you have seen errors other than these, I would like to hear about those too.&lt;BR&gt;For others, if these don't solve the problem, contact your friendly neighborhood MS support guy. &lt;/P&gt;
&lt;P&gt;~harsh&lt;BR&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1440104" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=A9UNrO5ijIg:sQpBdQC8ccA:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=A9UNrO5ijIg:sQpBdQC8ccA:wF9xT3WuBAs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?i=A9UNrO5ijIg:sQpBdQC8ccA:wF9xT3WuBAs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=A9UNrO5ijIg:sQpBdQC8ccA:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?i=A9UNrO5ijIg:sQpBdQC8ccA:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=A9UNrO5ijIg:sQpBdQC8ccA:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=A9UNrO5ijIg:sQpBdQC8ccA:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?i=A9UNrO5ijIg:sQpBdQC8ccA:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=A9UNrO5ijIg:sQpBdQC8ccA:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?i=A9UNrO5ijIg:sQpBdQC8ccA:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=A9UNrO5ijIg:sQpBdQC8ccA:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SharepointUnplugged?a=A9UNrO5ijIg:sQpBdQC8ccA:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SharepointUnplugged?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><category domain="http://blogs.msdn.com/b/harsh/archive/tags/MOSS+/">MOSS </category><category domain="http://blogs.msdn.com/b/harsh/archive/tags/FBA/">FBA</category><feedburner:origLink>http://blogs.msdn.com/b/harsh/archive/2007/01/10/forms-based-authentication-in-moss.aspx</feedburner:origLink></item></channel></rss>
