<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6139750569375630907</id><updated>2011-11-27T16:19:31.033-08:00</updated><category term='C#'/><category term='Steve Jobs'/><category term='MacBook'/><category term='XQuery'/><category term='File'/><category term='SharePoint 2007'/><category term='Microsoft'/><category term='MOSS 2007'/><category term='DataSet'/><category term='SharePoint'/><category term='Stream'/><category term='Presentation'/><category term='MOSS'/><category term='SharePoint 2003'/><category term='XML'/><category term='Query'/><category term='Techniques'/><category term='Air'/><category term='BLOB'/><category term='.NET'/><category term='ADO.NET'/><title type='text'>Hello World !!</title><subtitle type='html'>In my blog site you will often find my ASP.NET, C# codes that I find useful. I`m planning to create my own C# classes which my visitors will be able to download and use in their projects.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://cankansu.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6139750569375630907/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://cankansu.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Can Atuf Kansu</name><uri>http://www.blogger.com/profile/07659734701709026963</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://1.bp.blogspot.com/_CvxU_KPfSJw/SRD2jluYO-I/AAAAAAAAAAo/W5qbVfZHUGA/S220/IMG_7872.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>8</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6139750569375630907.post-2027255176613111549</id><published>2010-05-18T09:21:00.000-07:00</published><updated>2010-05-18T09:30:14.177-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ADO.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='BLOB'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2003'/><category scheme='http://www.blogger.com/atom/ns#' term='Stream'/><category scheme='http://www.blogger.com/atom/ns#' term='File'/><title type='text'>Retrieving Large Data with ADO.NET (BLOB)</title><content type='html'>For couple of days, I was working on an issue occurring while I`m trying to download files from Sharepoint 2003 document library. The problem was some of the files were too big (more than 256mb) so when I try to open binary visual studio was giving SystemOutOfMemory Exception. Later I understood that it was hitting the limit of the byte[]. So I thought there should be a way of streaming big files, I searched on internet for 5 hours and when most of my fate lost, my colligue found out about BLOB`s. Then we found the following article that explains how to stream a big binary file from SQL database.&lt;br /&gt;&lt;br /&gt;MSDN Article:&lt;br /&gt;http://msdn.microsoft.com/en-us/library/87z0hy49.aspx&lt;br /&gt;&lt;br /&gt;C# Version: (In case link breaks)&lt;br /&gt;&lt;br /&gt;// Assumes that connection is a valid SqlConnection object.&lt;br /&gt;SqlCommand command = new SqlCommand(&lt;br /&gt;  "SELECT pub_id, logo FROM pub_info", connection);&lt;br /&gt;&lt;br /&gt;// Writes the BLOB to a file (*.bmp).&lt;br /&gt;FileStream stream;                          &lt;br /&gt;// Streams the BLOB to the FileStream object.&lt;br /&gt;BinaryWriter writer;                        &lt;br /&gt;&lt;br /&gt;// Size of the BLOB buffer.&lt;br /&gt;int bufferSize = 100;                   &lt;br /&gt;// The BLOB byte[] buffer to be filled by GetBytes.&lt;br /&gt;byte[] outByte = new byte[bufferSize];  &lt;br /&gt;// The bytes returned from GetBytes.&lt;br /&gt;long retval;                            &lt;br /&gt;// The starting position in the BLOB output.&lt;br /&gt;long startIndex = 0;                    &lt;br /&gt;&lt;br /&gt;// The publisher id to use in the file name.&lt;br /&gt;string pubID = "";                     &lt;br /&gt;&lt;br /&gt;// Open the connection and read data into the DataReader.&lt;br /&gt;connection.Open();&lt;br /&gt;SqlDataReader reader = command.ExecuteReader(CommandBehavior.SequentialAccess);&lt;br /&gt;&lt;br /&gt;while (reader.Read())&lt;br /&gt;{&lt;br /&gt;  // Get the publisher id, which must occur before getting the logo.&lt;br /&gt;  pubID = reader.GetString(0);  &lt;br /&gt;&lt;br /&gt;  // Create a file to hold the output.&lt;br /&gt;  stream = new FileStream(&lt;br /&gt;    "logo" + pubID + ".bmp", FileMode.OpenOrCreate, FileAccess.Write);&lt;br /&gt;  writer = new BinaryWriter(stream);&lt;br /&gt;&lt;br /&gt;  // Reset the starting byte for the new BLOB.&lt;br /&gt;  startIndex = 0;&lt;br /&gt;&lt;br /&gt;  // Read bytes into outByte[] and retain the number of bytes returned.&lt;br /&gt;  retval = reader.GetBytes(1, startIndex, outByte, 0, bufferSize);&lt;br /&gt;&lt;br /&gt;  // Continue while there are bytes beyond the size of the buffer.&lt;br /&gt;  while (retval == bufferSize)&lt;br /&gt;  {&lt;br /&gt;    writer.Write(outByte);&lt;br /&gt;    writer.Flush();&lt;br /&gt;&lt;br /&gt;    // Reposition start index to end of last buffer and fill buffer.&lt;br /&gt;    startIndex += bufferSize;&lt;br /&gt;    retval = reader.GetBytes(1, startIndex, outByte, 0, bufferSize);&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;  // Write the remaining buffer.&lt;br /&gt;  writer.Write(outByte, 0, (int)retval - 1);&lt;br /&gt;  writer.Flush();&lt;br /&gt;&lt;br /&gt;  // Close the output file.&lt;br /&gt;  writer.Close();&lt;br /&gt;  stream.Close();&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;// Close the reader and the connection.&lt;br /&gt;reader.Close();&lt;br /&gt;connection.Close();&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6139750569375630907-2027255176613111549?l=cankansu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cankansu.blogspot.com/feeds/2027255176613111549/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6139750569375630907&amp;postID=2027255176613111549' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6139750569375630907/posts/default/2027255176613111549'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6139750569375630907/posts/default/2027255176613111549'/><link rel='alternate' type='text/html' href='http://cankansu.blogspot.com/2010/05/retrieving-large-data-with-adonet-blob.html' title='Retrieving Large Data with ADO.NET (BLOB)'/><author><name>Can Atuf Kansu</name><uri>http://www.blogger.com/profile/07659734701709026963</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://1.bp.blogspot.com/_CvxU_KPfSJw/SRD2jluYO-I/AAAAAAAAAAo/W5qbVfZHUGA/S220/IMG_7872.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6139750569375630907.post-8418745508640999352</id><published>2009-11-25T12:58:00.000-08:00</published><updated>2009-11-25T13:12:09.683-08:00</updated><title type='text'>SharePoint Branding Issues: Edit In Datasheet View</title><content type='html'>&lt;meta equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;meta name="ProgId" content="Word.Document"&gt;&lt;meta name="Generator" content="Microsoft Word 12"&gt;&lt;meta name="Originator" content="Microsoft Word 12"&gt;&lt;link rel="File-List" href="file:///C:%5CDOCUME%7E1%5CCkansu%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml"&gt;&lt;link rel="themeData" href="file:///C:%5CDOCUME%7E1%5CCkansu%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx"&gt;&lt;link rel="colorSchemeMapping" href="file:///C:%5CDOCUME%7E1%5CCkansu%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml"&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:trackmoves/&gt;   &lt;w:trackformatting/&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:donotpromoteqf/&gt;   &lt;w:lidthemeother&gt;EN-US&lt;/w:LidThemeOther&gt;   &lt;w:lidthemeasian&gt;X-NONE&lt;/w:LidThemeAsian&gt;   &lt;w:lidthemecomplexscript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;    &lt;w:splitpgbreakandparamark/&gt;    &lt;w:dontvertaligncellwithsp/&gt;    &lt;w:dontbreakconstrainedforcedtables/&gt;    &lt;w:dontvertalignintxbx/&gt;    &lt;w:word11kerningpairs/&gt;    &lt;w:cachedcolbalance/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;   &lt;m:mathpr&gt;    &lt;m:mathfont val="Cambria Math"&gt;    &lt;m:brkbin val="before"&gt;    &lt;m:brkbinsub val="&amp;#45;-"&gt;    &lt;m:smallfrac val="off"&gt;    &lt;m:dispdef/&gt;    &lt;m:lmargin val="0"&gt;    &lt;m:rmargin val="0"&gt;    &lt;m:defjc val="centerGroup"&gt;    &lt;m:wrapindent val="1440"&gt;    &lt;m:intlim val="subSup"&gt;    &lt;m:narylim val="undOvr"&gt;   &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate="false" defunhidewhenused="true" defsemihidden="true" defqformat="false" defpriority="99" latentstylecount="267"&gt;   &lt;w:lsdexception locked="false" priority="0" semihidden="false" unhidewhenused="false" qformat="true" name="Normal"&gt;   &lt;w:lsdexception locked="false" priority="9" semihidden="false" unhidewhenused="false" qformat="true" name="heading 1"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 2"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 3"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 4"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 5"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 6"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 7"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 8"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 9"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 1"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 2"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 3"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 4"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 5"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 6"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 7"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 8"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 9"&gt;   &lt;w:lsdexception locked="false" priority="35" qformat="true" name="caption"&gt;   &lt;w:lsdexception locked="false" priority="10" semihidden="false" unhidewhenused="false" qformat="true" name="Title"&gt;   &lt;w:lsdexception locked="false" priority="1" name="Default Paragraph Font"&gt;   &lt;w:lsdexception locked="false" priority="11" semihidden="false" unhidewhenused="false" qformat="true" name="Subtitle"&gt;   &lt;w:lsdexception locked="false" priority="22" semihidden="false" unhidewhenused="false" qformat="true" name="Strong"&gt;   &lt;w:lsdexception locked="false" priority="20" semihidden="false" unhidewhenused="false" qformat="true" name="Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="0" name="Normal (Web)"&gt;   &lt;w:lsdexception locked="false" priority="0" name="HTML Code"&gt;   &lt;w:lsdexception locked="false" priority="59" semihidden="false" unhidewhenused="false" name="Table Grid"&gt;   &lt;w:lsdexception locked="false" unhidewhenused="false" name="Placeholder Text"&gt;   &lt;w:lsdexception locked="false" priority="1" semihidden="false" unhidewhenused="false" qformat="true" name="No Spacing"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" unhidewhenused="false" name="Revision"&gt;   &lt;w:lsdexception locked="false" priority="34" semihidden="false" unhidewhenused="false" qformat="true" name="List Paragraph"&gt;   &lt;w:lsdexception locked="false" priority="29" semihidden="false" unhidewhenused="false" qformat="true" name="Quote"&gt;   &lt;w:lsdexception locked="false" priority="30" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Quote"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="19" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="21" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="31" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Reference"&gt;   &lt;w:lsdexception locked="false" priority="32" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Reference"&gt;   &lt;w:lsdexception locked="false" priority="33" semihidden="false" unhidewhenused="false" qformat="true" name="Book Title"&gt;   &lt;w:lsdexception locked="false" priority="37" name="Bibliography"&gt;   &lt;w:lsdexception locked="false" priority="39" qformat="true" name="TOC Heading"&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Font Definitions */  @font-face 	{font-family:"Cambria Math"; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:roman; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1107304683 0 0 159 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman","serif"; 	mso-fareast-font-family:"Times New Roman";} p 	{mso-style-unhide:no; 	mso-margin-top-alt:auto; 	margin-right:0in; 	mso-margin-bottom-alt:auto; 	margin-left:0in; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman","serif"; 	mso-fareast-font-family:"Times New Roman";} code 	{mso-style-unhide:no; 	font-family:"Courier New"; 	mso-ascii-font-family:"Courier New"; 	mso-fareast-font-family:"Times New Roman"; 	mso-hansi-font-family:"Courier New"; 	mso-bidi-font-family:"Courier New";} .MsoChpDefault 	{mso-style-type:export-only; 	mso-default-props:yes; 	font-size:10.0pt; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt;} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.0in 1.0in 1.0in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-qformat:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:"Times New Roman"; 	mso-fareast-theme-font:minor-fareast; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} &lt;/style&gt; &lt;![endif]--&gt;After you customized your MOSS page, when you tried to open a document library in datasheet view Internet Explorer freezes.&lt;br /&gt;&lt;br /&gt;To solve this problem, find and replace this line in core.js&lt;br /&gt; &lt;p&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;var lGCWindowHeight=document.documentElement.scrollHeight;&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;with&lt;/p&gt;  &lt;code&gt;&lt;span style="font-size: 10pt;"&gt;var lGCWindowHeight=(document.documentElement.scrollHeight&gt;document.documentElement.clientHeight) ? document.documentElement.clientHeight : document.documentElement.scrollHeight;&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size: 12pt; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6139750569375630907-8418745508640999352?l=cankansu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cankansu.blogspot.com/feeds/8418745508640999352/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6139750569375630907&amp;postID=8418745508640999352' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6139750569375630907/posts/default/8418745508640999352'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6139750569375630907/posts/default/8418745508640999352'/><link rel='alternate' type='text/html' href='http://cankansu.blogspot.com/2009/11/sharepoint-branding-issues-edit-in.html' title='SharePoint Branding Issues: Edit In Datasheet View'/><author><name>Can Atuf Kansu</name><uri>http://www.blogger.com/profile/07659734701709026963</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://1.bp.blogspot.com/_CvxU_KPfSJw/SRD2jluYO-I/AAAAAAAAAAo/W5qbVfZHUGA/S220/IMG_7872.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6139750569375630907.post-3322418628893860200</id><published>2009-11-25T09:19:00.001-08:00</published><updated>2009-11-25T09:21:45.346-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2007'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><category scheme='http://www.blogger.com/atom/ns#' term='Microsoft'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS 2007'/><title type='text'>Extending Web Application for extranet HTTPS enabled.</title><content type='html'>&lt;span xmlns=''&gt;&lt;ol style='margin-left: 72pt'&gt;&lt;li&gt;Go to Central Administration&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Go to Application Management&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Under Create or Extend Web Application&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Select &lt;a href='http://mossdev/'&gt;http://mossdev/&lt;/a&gt; as web application&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;Change Description: Sharepoint – Extranet&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Port: 443 (HTTPS Port)&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Host Header: extranet&lt;br /&gt;&lt;/li&gt;&lt;li&gt;User SSL: YES&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Zone: Extranet&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li&gt;Also don't forget to add &lt;a href='http://extranet'&gt;http://extranet&lt;/a&gt; to DNS Server.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;Install IIS 6.0 Resource Kit Tools from Microsoft`s web site.&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Install just SelfSSL if wanted or do complete installation.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;After installing RKT, from start menu strat SelfSSL console app.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;On the console write:&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Selfssl /T /N:CN=extranet (press enter)&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Write exit to exit from console.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;Go to IIS go to Default Web Site go to Properties&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Select Directory Security&lt;br /&gt;&lt;/li&gt;&lt;li&gt;See if View Certificate button is enabled if it is certificate is created.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Go to Sharepoint – Extranet we site on IIS&lt;br /&gt;&lt;/li&gt;&lt;li&gt;From properties go to Directory Security&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Go to Server Certificate from wizard select Assign an Existing Certificate&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Select the certificate that was create&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Leave port number as 443&lt;br /&gt;&lt;/li&gt;&lt;li&gt;After adding the certificate to the extranet web site&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Go to Edit enable Require secure channel (SSL)&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Enable Require 128-bit encryption.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li&gt;Go to command line to reset IIS, write iisreset /noforce&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Open Internet explorer to try the sure write https://extranet/&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6139750569375630907-3322418628893860200?l=cankansu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cankansu.blogspot.com/feeds/3322418628893860200/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6139750569375630907&amp;postID=3322418628893860200' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6139750569375630907/posts/default/3322418628893860200'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6139750569375630907/posts/default/3322418628893860200'/><link rel='alternate' type='text/html' href='http://cankansu.blogspot.com/2009/11/extending-web-application-sharepoint-80.html' title='Extending Web Application for extranet HTTPS enabled.'/><author><name>Can Atuf Kansu</name><uri>http://www.blogger.com/profile/07659734701709026963</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://1.bp.blogspot.com/_CvxU_KPfSJw/SRD2jluYO-I/AAAAAAAAAAo/W5qbVfZHUGA/S220/IMG_7872.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6139750569375630907.post-8686556685187828339</id><published>2009-11-25T09:18:00.001-08:00</published><updated>2009-11-25T09:22:15.101-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2007'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><category scheme='http://www.blogger.com/atom/ns#' term='Microsoft'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS 2007'/><title type='text'>Turning On Self Service Site Management</title><content type='html'>&lt;span xmlns=''&gt;&lt;ol style='margin-left: 72pt'&gt;&lt;li&gt;Go to Application Management from Central Administration&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Under the Application Security&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Go to Self Service site management&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Select Require secondary contact&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Select On from the radio box&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Click OK&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;Go to MOSS 2007 Home&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;You will see new announcement&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Go to Site Actions -&amp;gt; Site Settings&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Under Site Collection Administration, select Site Directory Settings&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Select "Create new site collections from Site Directory"&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Click OK, this will enable to users can add new sites from the site directory.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6139750569375630907-8686556685187828339?l=cankansu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cankansu.blogspot.com/feeds/8686556685187828339/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6139750569375630907&amp;postID=8686556685187828339' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6139750569375630907/posts/default/8686556685187828339'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6139750569375630907/posts/default/8686556685187828339'/><link rel='alternate' type='text/html' href='http://cankansu.blogspot.com/2009/11/turning-on-self-service-site-management.html' title='Turning On Self Service Site Management'/><author><name>Can Atuf Kansu</name><uri>http://www.blogger.com/profile/07659734701709026963</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://1.bp.blogspot.com/_CvxU_KPfSJw/SRD2jluYO-I/AAAAAAAAAAo/W5qbVfZHUGA/S220/IMG_7872.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6139750569375630907.post-642729550828291043</id><published>2009-11-25T09:16:00.001-08:00</published><updated>2009-11-25T09:30:28.756-08:00</updated><title type='text'>SharePoint 2007 Installation Walkthrough</title><content type='html'>&lt;span xmlns=""&gt;&lt;ol&gt;&lt;li&gt;&lt;div&gt;&lt;strong&gt;Create a Service Account&lt;br /&gt;&lt;/strong&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Create a group named "SharePoint" by using Computer Management or from Active Directory.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Create a user named "spservice" and assign it to the group.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;Add that service account to SQL Server users.&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Open SQL Server Management Studio&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Got to Security Tab from tree view&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Expand Logins and right click to Logins, select New Login&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Enter spservice to login name.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;Unser Server Roles select:&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;dbcreator&lt;br /&gt;&lt;/li&gt;&lt;li&gt;securityadmin&lt;br /&gt;&lt;/li&gt;&lt;li&gt;public&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;&lt;strong&gt;Run Setup of SharePoint 2007:&lt;br /&gt;&lt;/strong&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Enter the License Key, accept terms and conditions.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;Select Advanced installation&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Select Complete installation&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li&gt;Select Install&lt;br /&gt;&lt;/li&gt;&lt;li&gt;After installation run configuration wizard.&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;&lt;strong&gt;Configuration Wizard Setup:&lt;br /&gt;&lt;/strong&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;On the welcome screen click Next&lt;br /&gt;&lt;/li&gt;&lt;li&gt;On window click Yes to restart services listed.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;If this computer is the first computer in the farm select No&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;On the specify configuration database settings&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Database Server: MOSSDEV&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Database Name: SharepointFarm_Config&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;Database Access Account&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Username: MOSSDEV\spservice&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Password: &amp;lt;password&amp;gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;Configure SharePoint Central Administration Web App&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Check and specify port number: Port 1984 or other.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Default Authentication Provider : NTLM&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Click Next&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li&gt;You will see all the settings and be sure they are ok. Click Next.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;After Configuration successful click Finish.&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;&lt;strong&gt;Central Administration Setup:&lt;br /&gt;&lt;/strong&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Login to central administration as an &lt;span style="text-decoration: underline;"&gt;administrator&lt;/span&gt; role user.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;After logging in on the list Administrator Tasks&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Select Initial Deployment: Assign services to server&lt;br /&gt;&lt;/li&gt;&lt;li&gt;On the task description, there is Action column, click to the link which is given in Action column.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li&gt;That link takes you to Operations&amp;gt; Services on the server where you can observe all the services that is running on the server.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;Click the start button for Office SharePoint Server Search Service&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;div&gt;On Query and Indexing&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Check – Use this server for indexing content.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Check – Use this server for serving search queries.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Contact Email Address: &lt;a href="mailto:ckansu@techlawholdings.com"&gt;&amp;lt;email&lt;/a&gt; address&amp;gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;Farm Search Service Account&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Username: MOSSDEV\spservice&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Password: &amp;lt;password&amp;gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li&gt;Leave Index Server Default File Location as it is.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;Indexer Performance&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Select Reduced&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;Web Front End and Crawling&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Select; use all web front end computers for crawling.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li&gt;After starting the service, go to Excel Calculation services and start that one also.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;As last one click start for Windows SharePoint Service search.&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;div&gt;In the settings, for Service Account&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Username: MOSSDEV\spservice&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Password: &amp;lt;password&amp;gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;Content Access Account:&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Username: MOSSDEV\spservice&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Password: &amp;lt;password&amp;gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;Search Database:&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Database Server: MOSSDEV&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;Database Name: MOSS_Search_DB&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Windows Authentication&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;Index Scheduling&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Every 15 minutes.&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;&lt;strong&gt;Create a web application:&lt;br /&gt;&lt;/strong&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Under the Application Management&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Go to Create or Extend Web Application&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Click Create a new web application.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;First we will create a web application for SSP (Shared Services Provider)&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;IIS Web Site:&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;div&gt;Create a new IIS Web Site&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Description: SSP – 8080&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Port : 8080&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li&gt;Leave Host header and Path as they are&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;Security Configuration&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Authentication Provider: NTLM&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Allow Anonymous: No&lt;br /&gt;&lt;/li&gt;&lt;li&gt;User SSL: No&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li&gt;Leave Load Balanced URL as it is&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;Application Pool&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;div&gt;Create new Application Pool&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Application pool name: SSP – 8080&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;Configurable&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Username: MOSSDEV\spservice&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Password: &amp;lt;password&amp;gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;Reset IIS:&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Select restart IIS automatically.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;Database Name and Authentication&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Database Server: MOSSDEV&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Database Name: SSP_Content&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Windows Authentication – Click OK&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;&lt;strong&gt;Create New Web Application for SharePoint Web Site:&lt;br /&gt;&lt;/strong&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;div&gt;IIS Web Site&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Select Create a new IIS web site&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Description: Sharepoint – 80&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Port: 80&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;Security Configuration&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Authenticator Provider: NTLM&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Allow Anonymous: No&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Use SSL: No&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;Load Balanced URL&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;URL: &lt;a href="http://mossdev/"&gt;http://MOSSDEV:80&lt;/a&gt;&lt;br /&gt;        &lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;Application Pool&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;div&gt;Select Create new application pool&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Application pool name: Sharepoint – 80&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;Select Configurable for security account for this app pool.&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Username: MOSSDEV\spservice&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Password: &amp;lt;password&amp;gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;Reset IIS&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Reset IIS Manually&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;Database Name and Authentication&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Database Server: MOSSDEV&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Database Name: Sharepoint80_Content&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Database Authentication: Windows Authentication&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li&gt;Click OK&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;&lt;strong&gt;Create Site Collection:&lt;br /&gt;&lt;/strong&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;This site collection will be the main site.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Web Application: &lt;a href="http://mossdev/"&gt;http://mossdev/&lt;/a&gt;&lt;br /&gt;      &lt;/li&gt;&lt;li&gt;Title: TechLaw Companies&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Description: Intranet Portal for TechLaw, Inc.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Website Address: &lt;a href="http://mossdev/"&gt;http://mossdev/&lt;/a&gt;&lt;br /&gt;      &lt;/li&gt;&lt;li&gt;Template Selection: Team Site&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Primary Site Collection Admin: MOSSDEV\&amp;lt;username&amp;gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;After creating the site open it on a new tab to test.&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;&lt;strong&gt;New Shared Service Provider:&lt;br /&gt;&lt;/strong&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Go to Application Management&lt;br /&gt;&lt;/li&gt;&lt;li&gt; Click Manage This Farm's Shared Services&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;Click New SSP&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;SSP Name: Select SSP – 8080 from web application dropdown.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Copy SSP Administration Site URL to clipboard.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;My Site Location&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Click to create new web app.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;Create a new IIS web site&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Description: MySite – 2009&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;Security Account – Configurable&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;User Name: MOSSDEV\spservice&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Password: &amp;lt;password&amp;gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;Database Name and Authentication&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Database Name: MySite_Content&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Click OK&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;&lt;strong&gt;New Shared Services Provider:&lt;br /&gt;&lt;/strong&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;When new page came after clicking OK, SharePoint will want more configurations.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;The only thing that needs to be changed here is SSP Service Credentials&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Username: MOSSDEV\spservice&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Password: &amp;lt;password&amp;gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li&gt;After SSP is successfully created, by clicking the given link go to SSP. Enter spservice credentials to log in.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Return to Central Administration.&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;&lt;strong&gt;Setting up the Top-Level Site:&lt;br /&gt;&lt;/strong&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Go to &lt;a href="http://mossdev/"&gt;http://mossdev/&lt;/a&gt;&lt;br /&gt;      &lt;/li&gt;&lt;li&gt;From Site Actions -&amp;gt; Site Settings  -&amp;gt; People and Groups&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Add Users group to Members&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;&lt;strong&gt;Creating the 12 Hive Shortcut:&lt;br /&gt;&lt;/strong&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Go to C:\ProgramFiles\CommonFiles\Microsoft Shared\we server extensions&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Create a shortcut of "12" named folder to desktop. Name it "12 Hive".&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;&lt;strong&gt;Activating Office SharePoint Server Publishing Infrastructure:&lt;br /&gt;&lt;/strong&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Go to Home&lt;br /&gt;&lt;/li&gt;&lt;li&gt;From Site Actions -&amp;gt; Site Settings&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;From Site Collection Administration&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Select Site Collection Features&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Click Activate to turn on office SP server publishing infrastructure.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;&lt;strong&gt;Email Server Configuration:&lt;/strong&gt;&lt;br /&gt;     &lt;/div&gt;&lt;ol&gt;&lt;li&gt;Go to Central Administration&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;Go to Operations -&amp;gt; Outgoing E-Mail Settings&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Outbound SMTP Server: &amp;lt;IP Address&amp;gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;From Address: &amp;lt;email address&amp;gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Reply To: &lt;a href="mailto:ckansu@techlawholdings.com"&gt;&amp;lt;email&lt;/a&gt; address&amp;gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;&lt;strong&gt;Alternate Access Mappings:&lt;br /&gt;&lt;/strong&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Go to DNS and map &lt;a href="http://intranet/"&gt;http://intranet&lt;/a&gt; to &amp;lt;IP address&amp;gt;  the SharePoint server&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;Go to Central Administration under Operations&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Select Alternate Access Mappings&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Change Alternate Access Mapping Collection and select Sharepoint – 80&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Click Edit Public URLS&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Write &lt;a href="http://intranet/"&gt;http://intranet&lt;/a&gt; to Intranet box and Save.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6139750569375630907-642729550828291043?l=cankansu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cankansu.blogspot.com/feeds/642729550828291043/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6139750569375630907&amp;postID=642729550828291043' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6139750569375630907/posts/default/642729550828291043'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6139750569375630907/posts/default/642729550828291043'/><link rel='alternate' type='text/html' href='http://cankansu.blogspot.com/2009/11/sharepoint-2007-installation.html' title='SharePoint 2007 Installation Walkthrough'/><author><name>Can Atuf Kansu</name><uri>http://www.blogger.com/profile/07659734701709026963</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://1.bp.blogspot.com/_CvxU_KPfSJw/SRD2jluYO-I/AAAAAAAAAAo/W5qbVfZHUGA/S220/IMG_7872.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6139750569375630907.post-5490414286957887666</id><published>2009-10-06T05:55:00.000-07:00</published><updated>2009-10-06T06:05:19.284-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Air'/><category scheme='http://www.blogger.com/atom/ns#' term='Steve Jobs'/><category scheme='http://www.blogger.com/atom/ns#' term='Presentation'/><category scheme='http://www.blogger.com/atom/ns#' term='Techniques'/><category scheme='http://www.blogger.com/atom/ns#' term='MacBook'/><title type='text'>Presenation Power of Steve Jobs</title><content type='html'>&lt;meta equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;meta name="ProgId" content="Word.Document"&gt;&lt;meta name="Generator" content="Microsoft Word 11"&gt;&lt;meta name="Originator" content="Microsoft Word 11"&gt;&lt;link rel="File-List" href="file:///C:%5CDOCUME%7E1%5CCkansu%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml"&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate="false" latentstylecount="156"&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} span.EmailStyle15 	{mso-style-type:personal; 	mso-style-noshow:yes; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:Arial; 	mso-ascii-font-family:Arial; 	mso-hansi-font-family:Arial; 	mso-bidi-font-family:Arial; 	color:windowtext;} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.25in 1.0in 1.25in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=";font-family:Arial;font-size:10pt;"  &gt;  This is the Kansu Consulting daily newsletter, I’m Can Kansu your “IT guru”, today I want to talk about presentation techniques. This morning while I was browsing my daily mails as usual, &lt;a href="http://www.cio.com/article/503993/Q_A_with_Author_of_The_Presentation_Secrets_of_Steve_Jobs_?source=CIONLE_nlt_insider_2009-10-06"&gt;one of them&lt;/a&gt; took my attention; it was about Steve Jobs` presentation techniques. The man behind these techniques is Carmine Gallo who is the founder of &lt;a href="http://carminegallo.com/stevejobsbook/"&gt;Gallo Communications&lt;/a&gt;. He recently published a book about presentation secrets of Steve Jobs.&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style=";font-family:Arial;font-size:10pt;"  &gt;  I strongly recommend taking a look at his web site and watch a YouTube video of Steve Jobs while presenting Mac Book Air for the first time.&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;This is the video:&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/kvfrVrh76Mk&amp;amp;color1=0xb1b1b1&amp;amp;color2=0xcfcfcf&amp;amp;hl=en&amp;amp;feature=player_embedded&amp;amp;fs=1"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowScriptAccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/kvfrVrh76Mk&amp;amp;color1=0xb1b1b1&amp;amp;color2=0xcfcfcf&amp;amp;hl=en&amp;amp;feature=player_embedded&amp;amp;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;span style=";font-family:Arial;font-size:10pt;"  &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6139750569375630907-5490414286957887666?l=cankansu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cankansu.blogspot.com/feeds/5490414286957887666/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6139750569375630907&amp;postID=5490414286957887666' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6139750569375630907/posts/default/5490414286957887666'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6139750569375630907/posts/default/5490414286957887666'/><link rel='alternate' type='text/html' href='http://cankansu.blogspot.com/2009/10/presenation-power-of-steve-jobs.html' title='Presenation Power of Steve Jobs'/><author><name>Can Atuf Kansu</name><uri>http://www.blogger.com/profile/07659734701709026963</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://1.bp.blogspot.com/_CvxU_KPfSJw/SRD2jluYO-I/AAAAAAAAAAo/W5qbVfZHUGA/S220/IMG_7872.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6139750569375630907.post-606170186576647922</id><published>2008-11-05T14:40:00.000-08:00</published><updated>2008-11-05T17:08:58.825-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='XQuery'/><category scheme='http://www.blogger.com/atom/ns#' term='XML'/><category scheme='http://www.blogger.com/atom/ns#' term='DataSet'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>How to bind XQuery result string to a DataSet</title><content type='html'>In my previous blog I explained how to use XQuery in .NET platform. You can see it from &lt;a href="http://cankansu.blogspot.com/2008/11/using-xquery-in-c.html"&gt;here&lt;/a&gt;. In this blog I will explain how to display the result of a XQuery by using DataGrid in .NET.&lt;br /&gt;&lt;br /&gt;As a beginning we have a string value which has a format like XML and holds the result of our XQuery like:&lt;br /&gt;&lt;br /&gt;Example of string value:&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_CvxU_KPfSJw/SRIvJKnBYiI/AAAAAAAAABc/sI884oFqbtQ/s1600-h/untitled.bmp"&gt;&lt;img id="BLOGGER_PHOTO_ID_5265322748862882338" style="WIDTH: 200px; CURSOR: hand; HEIGHT: 75px" alt="" src="http://2.bp.blogspot.com/_CvxU_KPfSJw/SRIvJKnBYiI/AAAAAAAAABc/sI884oFqbtQ/s200/untitled.bmp" border="0" /&gt;&lt;/a&gt;&lt;/bookstore&gt;&lt;br /&gt;&lt;br /&gt;Our main concern is to use DataSet.ReadXML() method but the problem is this method does not take String value as an input. It takes one of the File, Stream, XMLReader or TextReader typed objects. So how can we use it ?&lt;br /&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;First we can write our String value to a new file which we can create on fly then give it to method.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;We can create either of XMLReader and TextReader objects and assign our file to these objects the put the output to out method.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;I think these solutions are to complicated and there are too much steps on them. While I was looking for any neat solution, I found using Stream isn`t a bad idea to be used here. Also it was my only choice left.&lt;/p&gt;&lt;p&gt;So let`s start;&lt;/p&gt;&lt;ol&gt;&lt;li&gt;First we need to create a MemoryStream object, because ReadXML() takes Stream typed objects.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Constructor of the MemoryStream class is accepting byte[] that we can easily cast our String value.&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;This is how we cast our String value:&lt;br /&gt;System.Text.ASCIIEncoding.ASCII.GetBytes(result)&lt;/p&gt;&lt;p&gt;As a result we are getting our Stream value like:&lt;/p&gt;&lt;p&gt;MemoryStream mstream = new MemoryStream(System.Text.ASCIIEncoding.ASCII.GetBytes(result));&lt;/p&gt;&lt;p&gt;After we filled up our Stream object, we need to put it into ReadXML() method of our DataSet;&lt;/p&gt;&lt;p&gt;DataSet ds = new DataSet();&lt;br /&gt;ds.ReadXml(mstream);&lt;/p&gt;&lt;p&gt;Now we can use this DataSet where ever we want, for example we can easily bind it to a DataGrid.&lt;/p&gt;&lt;p&gt;If you want to learn how to bind this DataSet to a DataGrid, look for my post about it..&lt;/p&gt;&lt;p&gt;Cya..&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6139750569375630907-606170186576647922?l=cankansu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cankansu.blogspot.com/feeds/606170186576647922/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6139750569375630907&amp;postID=606170186576647922' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6139750569375630907/posts/default/606170186576647922'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6139750569375630907/posts/default/606170186576647922'/><link rel='alternate' type='text/html' href='http://cankansu.blogspot.com/2008/11/how-bind-xml-as-string-to-datagrid.html' title='How to bind XQuery result string to a DataSet'/><author><name>Can Atuf Kansu</name><uri>http://www.blogger.com/profile/07659734701709026963</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://1.bp.blogspot.com/_CvxU_KPfSJw/SRD2jluYO-I/AAAAAAAAAAo/W5qbVfZHUGA/S220/IMG_7872.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_CvxU_KPfSJw/SRIvJKnBYiI/AAAAAAAAABc/sI884oFqbtQ/s72-c/untitled.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6139750569375630907.post-5027539049752514999</id><published>2008-11-04T18:06:00.000-08:00</published><updated>2008-11-04T18:43:28.838-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='XQuery'/><category scheme='http://www.blogger.com/atom/ns#' term='XML'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='Query'/><title type='text'>Using XQuery in C#</title><content type='html'>Last week I was working on fetching data over XML to be used in ASP.NET project. I had been studying XQuery for a while and I realized it is easy and neat language to query on XML document. There also some other technologies that are able to do same things but I chose to use XQuery because it`s logic is very similar to common programming languages. While I`m trying to find how to use XQuery in .NET platform, I couldn't`t find any built in library in .NET framework but I found a library that was created by third party.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;You can download the class library from &lt;a href="http://aspnet.4guysfromrolla.com/code/XQueryStuff.zip"&gt;here&lt;/a&gt;.&lt;/li&gt;&lt;li&gt;After downloading the file just move .dll file to your project`s bin folder.&lt;/li&gt;&lt;li&gt;As last step you need to add this .dll file as reference to your project.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;After doing all these steps you will be able to use this library in your project. Also you should attach it to your code like:&lt;br /&gt;&lt;span style="color:#6633ff;"&gt;using Microsoft.Xml.XQuery;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;First, we need to create XQueryNavigatorCollection instance:&lt;/p&gt;&lt;p&gt;XQueryNavigatorCollection col = new XQueryNavigatorCollection();&lt;/p&gt;&lt;p&gt;Then we need to link the xml data file to our instance, AddNavigator method`s first input will be the path of the data file and second one is the alias of that file. This alias will be useful while writing our XQuery to point out our data file.&lt;/p&gt;&lt;p&gt;col.AddNavigator(Server.MapPath("Data.xml"), "doc");&lt;/p&gt;&lt;p&gt;We are writing our XQuery and assign it to a string value, as you can see I used "doc" alias that points Data.xml file:&lt;br /&gt;string query = "for $row in document(\"doc\")/Import/Row " +&lt;br /&gt;                          "return " +&lt;br /&gt;                          "$row";&lt;/p&gt;&lt;p&gt;After assigning our query to a string we give this string to XQueryExpression class`s constructor, by doing this step our query will be ready to be executed:&lt;/p&gt;&lt;p&gt;XQueryExpression xepr = new XQueryExpression(query);&lt;/p&gt;&lt;p&gt;To execute our query and get the output from it we are just writing:&lt;/p&gt;&lt;p&gt;string result = xepr.Execute(col).ToXml();&lt;/p&gt;&lt;p&gt;and getting the result to string result variable. By getting the result you can do whatever you want with it. You can just display it as it is or by assigning it to a DataSet you can give to it more usable scope in your project.&lt;/p&gt;&lt;p&gt;After a while I will post how can you assign it to a DataSet...&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6139750569375630907-5027539049752514999?l=cankansu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cankansu.blogspot.com/feeds/5027539049752514999/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6139750569375630907&amp;postID=5027539049752514999' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6139750569375630907/posts/default/5027539049752514999'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6139750569375630907/posts/default/5027539049752514999'/><link rel='alternate' type='text/html' href='http://cankansu.blogspot.com/2008/11/using-xquery-in-c.html' title='Using XQuery in C#'/><author><name>Can Atuf Kansu</name><uri>http://www.blogger.com/profile/07659734701709026963</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://1.bp.blogspot.com/_CvxU_KPfSJw/SRD2jluYO-I/AAAAAAAAAAo/W5qbVfZHUGA/S220/IMG_7872.jpg'/></author><thr:total>5</thr:total></entry></feed>
