<?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:blogger='http://schemas.google.com/blogger/2008' 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-1840960129897099809</id><updated>2024-10-20T00:37:13.450-04:00</updated><category term="SharePoint"/><category term="SP2010"/><category term="Search"/><category term="JavaScript"/><category term="Refinement Panel"/><category term="SPField"/><category term="Visual Studio"/><category term="2010"/><category term="6482"/><category term="AsemblyFileName"/><category term="CSS"/><category term="Class"/><category term="Client Object Model"/><category term="Configuration Failed"/><category term="Console Applications; Visual Studio; Debug"/><category term="Count"/><category term="Dialog"/><category term="ECMAScript"/><category term="Error"/><category term="Export WSP"/><category term="Forms"/><category term="Import"/><category term="List View Threshold"/><category term="SPD"/><category term="Scheme.xml"/><category term="SharePoint 2010 Products Configuration Wizard"/><category term="SharePoint Designer"/><category term="Site Content Types"/><category term="StoneShare"/><category term="Version"/><category term="jQuery"/><category term="noindex"/><category term="psconfig"/><category term="s4-notdlg"/><category term="sharebrad"/><title type='text'>@sharebrad</title><subtitle type='html'>As if the world needs another SharePoint Blog</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://sharebrad.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1840960129897099809/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://sharebrad.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15704585382643076805</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>19</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1840960129897099809.post-9107834222744887312</id><published>2013-02-19T10:32:00.000-05:00</published><updated>2013-02-19T10:32:19.379-05:00</updated><title type='text'>The Problem Steps Recorder is the solution to the problem</title><content type='html'>&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;So, my blog has been very quite lately...The reason is simple, I have been buried under mountains of documentation in the planning phase of a new project and didn&#39;t feel the need to blog about how to create a PowerPoint presentation or how to properly apply  Headings and Citations to a Word document.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;With that being said, this project is very exciting and I can&#39;t wait to get my hands on a Dev server and go nuts!  &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;So with the beginning of any new project there is excitement, but there is also that little voice in the back of your head that says, &quot;The documentation isn&#39;t over! You owe me a  &quot;Configuration/Install Guide&quot;.  Call it what you will, but this jewel of a document is probably every Developers worst nightmare on any project.  Inevitably, there is always someone who wants you to record your every move and make sure that there is a document (that no one will likely ever crack open) that they can refer to if they need to build the environment from the ground up.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;Now, just because you don&#39;t like it or think it is silly, there is some merit to having this document and I can see how it can be important for auditing and supportability in the future.&amp;nbsp; So enough of the ranting...the real reason I am writing this post is to tell you about something that was just brought to my attention that makes building a Configuration Guide a lot easier.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS;&quot;&gt;So, first lets talk about the way we usually do this...open up Word or OneNote and type out, Open this.... (insert Screenshot) Then Click on this (insert Screenshot) then click on this (insert Screenshot) then type this (insert Screenshot)&amp;nbsp; then....blah blah blah....there has got to be an easier way! &lt;/span&gt;&lt;span style=&quot;font-family: Trebuchet MS;&quot;&gt;Have you ever wish there was a way to record your clicks in screenshots and documented steps? Well here it is...a (very) hidden jem of the Windows 7 operating system! the &lt;a href=&quot;http://technet.microsoft.com/en-us/windows/problem-steps-recorder-overview.aspx&quot; target=&quot;_blank&quot;&gt;Problem Steps&amp;nbsp;Recorder!&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://res1.windows.microsoft.com/resbox/en/Windows%207/Main/d09024cd-1462-4d58-8ff0-9dafdd398f3d_8.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://res1.windows.microsoft.com/resbox/en/Windows%207/Main/d09024cd-1462-4d58-8ff0-9dafdd398f3d_8.jpg&quot; height=&quot;192&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;The Problem Steps Recorder in the Windows 7 operating system is a feature that enables users to record their interactions with an application and provide a detailed screen-by-screen view with accompanying information.&amp;nbsp; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS;&quot;&gt;Since this tool is so hard to find i used it to show you how to find it, here is the &lt;/span&gt;&lt;a href=&quot;https://docs.google.com/file/d/0B8AbzvE3gsgQSWtsSWVySWZTUEE/edit?usp=sharing&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;font-family: Trebuchet MS;&quot;&gt;result&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Trebuchet MS;&quot;&gt; (you may have to download a copy)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS;&quot;&gt;If you would rather the short answer just use the search in Windows 7 Start menu to find it by searching for &quot;Record Steps&quot;&lt;/span&gt;&lt;br /&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; id=&quot;ProblemStep4&quot; name=&quot;ProblemStep4&quot; style=&quot;mso-cellspacing: 0in; mso-padding-alt: 0in 0in 0in 0in; mso-yfti-tbllook: 1184;&quot; title=&quot;User left click on &amp;quot;OK (push button)&amp;quot; in &amp;quot;Problem Steps Recorder Error&amp;quot;&quot;&gt;
&lt;tbody&gt;
&lt;tr style=&quot;mso-yfti-firstrow: yes; mso-yfti-irow: 0;&quot;&gt;
&lt;td style=&quot;padding: 0in; width: 570pt;&quot; width=&quot;760&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;color: #575757; font-family: &amp;quot;Segoe UI&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;a href=&quot;mhtml:file://C:\Users\garnerb\Desktop\problem\Problem_20130219_0959.mht#ProblemStep3&quot; title=&quot;Previous&quot;&gt;&lt;id id=&quot;PreviousStepL&quot;&gt;&lt;/id&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sharebrad.blogspot.com/feeds/9107834222744887312/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharebrad.blogspot.com/2013/02/the-problem-steps-recorder-is-solution.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1840960129897099809/posts/default/9107834222744887312'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1840960129897099809/posts/default/9107834222744887312'/><link rel='alternate' type='text/html' href='http://sharebrad.blogspot.com/2013/02/the-problem-steps-recorder-is-solution.html' title='The Problem Steps Recorder is the solution to the problem'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15704585382643076805</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1840960129897099809.post-1026774684405282427</id><published>2012-09-15T00:41:00.000-04:00</published><updated>2012-09-15T00:41:22.953-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AsemblyFileName"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint"/><category scheme="http://www.blogger.com/atom/ns#" term="Version"/><title type='text'>How to: Insert AsemblyFileName in C# Code</title><content type='html'>Ever get burned by a&amp;nbsp;cached&amp;nbsp;assembly? I just did recently and it was no fun. &lt;br /&gt;
&lt;br /&gt;
There is nothing worse than troubleshooting an issue you have already resolved. In my case I was working on a Custom Retention Policy and after troubleshooting for far longer than I would like to admit, I realized that when I initiated the retention policy date calculation it would work fine (this uses the W3WP.exe process) but when the Expiration Policy Timer Job ran it didn&#39;t work as expected (that timer job runs under the context of the OWSTimer.exe) so the OWSTimer had cached my code and was running old code. &amp;nbsp;I restarted the OWSTimer and just like magic all was well.&lt;br /&gt;
&lt;br /&gt;
So I posed a question to myself, how can I know exactly what version of your code I am running? Sure you can right click on the assembly and check the properties there but that doesn&#39;t mean that is what the timer service is running for example. Entering a version number in your code can be a great way of ensuring that you are running the latest and (hopefully greatest) version of your code.&lt;br /&gt;
&lt;br /&gt;
This is what I ended up with...this will take the AssemblyFileVersion from the AssemblyInfo.cs file:&lt;br /&gt;
&lt;div id=&quot;codeSnippetWrapper&quot; style=&quot;background-color: #f4f4f4; border-bottom: silver 1px solid; border-left: silver 1px solid; border-right: silver 1px solid; border-top: silver 1px solid; cursor: text; direction: ltr; font-family: &#39;Courier New&#39;, courier, monospace; font-size: 8pt; line-height: 12pt; margin: 20px 0px 10px; max-height: 200px; overflow: auto; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px; text-align: left; width: 97.5%;&quot;&gt;
&lt;span id=&quot;lnum1&quot; style=&quot;color: #606060; font-size: 8pt; line-height: 12pt;&quot;&gt;&amp;nbsp; &amp;nbsp;1:&lt;/span&gt;&lt;span style=&quot;background-color: white; font-size: 8pt; line-height: 12pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-size: 8pt; line-height: 12pt;&quot;&gt;using&lt;/span&gt;&lt;span style=&quot;background-color: white; font-size: 8pt; line-height: 12pt;&quot;&gt; System.Reflection;&lt;/span&gt;&lt;br /&gt;
&lt;div id=&quot;codeSnippet&quot; style=&quot;background-color: #f4f4f4; border-bottom-style: none; border-left-style: none; border-right-style: none; border-top-style: none; color: black; direction: ltr; font-family: &#39;Courier New&#39;, courier, monospace; font-size: 8pt; line-height: 12pt; overflow: visible; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 100%;&quot;&gt;
&lt;pre style=&quot;background-color: #f4f4f4; border-bottom-style: none; border-left-style: none; border-right-style: none; border-top-style: none; color: black; direction: ltr; font-family: &#39;Courier New&#39;, courier, monospace; font-size: 8pt; line-height: 12pt; margin: 0em; overflow: visible; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 100%;&quot;&gt;&lt;span id=&quot;lnum2&quot; style=&quot;color: #606060;&quot;&gt;   2:&lt;/span&gt; ...&lt;/pre&gt;
&lt;pre style=&quot;background-color: white; border-bottom-style: none; border-left-style: none; border-right-style: none; border-top-style: none; color: black; direction: ltr; font-family: &#39;Courier New&#39;, courier, monospace; font-size: 8pt; line-height: 12pt; margin: 0em; overflow: visible; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 100%;&quot;&gt;&lt;span id=&quot;lnum3&quot; style=&quot;color: #606060;&quot;&gt;   3:&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #f4f4f4; border-bottom-style: none; border-left-style: none; border-right-style: none; border-top-style: none; color: black; direction: ltr; font-family: &#39;Courier New&#39;, courier, monospace; font-size: 8pt; line-height: 12pt; margin: 0em; overflow: visible; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 100%;&quot;&gt;&lt;span id=&quot;lnum4&quot; style=&quot;color: #606060;&quot;&gt;   4:&lt;/span&gt; Version fileVersion = &lt;span style=&quot;color: blue;&quot;&gt;new&lt;/span&gt; Version(&lt;span style=&quot;color: #006080;&quot;&gt;&quot;0.0.0.0&quot;&lt;/span&gt;);&lt;/pre&gt;
&lt;pre style=&quot;background-color: white; border-bottom-style: none; border-left-style: none; border-right-style: none; border-top-style: none; color: black; direction: ltr; font-family: &#39;Courier New&#39;, courier, monospace; font-size: 8pt; line-height: 12pt; margin: 0em; overflow: visible; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 100%;&quot;&gt;&lt;span id=&quot;lnum5&quot; style=&quot;color: #606060;&quot;&gt;   5:&lt;/span&gt; AssemblyFileVersionAttribute[] fileVersionAttributes = (AssemblyFileVersionAttribute[])Assembly.GetExecutingAssembly().GetCustomAttributes(&lt;span style=&quot;color: blue;&quot;&gt;typeof&lt;/span&gt;(AssemblyFileVersionAttribute), &lt;span style=&quot;color: blue;&quot;&gt;true&lt;/span&gt;);&lt;/pre&gt;
&lt;pre style=&quot;background-color: #f4f4f4; border-bottom-style: none; border-left-style: none; border-right-style: none; border-top-style: none; color: black; direction: ltr; font-family: &#39;Courier New&#39;, courier, monospace; font-size: 8pt; line-height: 12pt; margin: 0em; overflow: visible; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 100%;&quot;&gt;&lt;span id=&quot;lnum6&quot; style=&quot;color: #606060;&quot;&gt;   6:&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;if&lt;/span&gt; (fileVersionAttributes != &lt;span style=&quot;color: blue;&quot;&gt;null&lt;/span&gt; &amp;amp;&amp;amp; fileVersionAttributes.Length &amp;gt; 0)&lt;/pre&gt;
&lt;pre style=&quot;background-color: white; border-bottom-style: none; border-left-style: none; border-right-style: none; border-top-style: none; color: black; direction: ltr; font-family: &#39;Courier New&#39;, courier, monospace; font-size: 8pt; line-height: 12pt; margin: 0em; overflow: visible; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 100%;&quot;&gt;&lt;span id=&quot;lnum7&quot; style=&quot;color: #606060;&quot;&gt;   7:&lt;/span&gt; {&lt;/pre&gt;
&lt;pre style=&quot;background-color: #f4f4f4; border-bottom-style: none; border-left-style: none; border-right-style: none; border-top-style: none; color: black; direction: ltr; font-family: &#39;Courier New&#39;, courier, monospace; font-size: 8pt; line-height: 12pt; margin: 0em; overflow: visible; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 100%;&quot;&gt;&lt;span id=&quot;lnum8&quot; style=&quot;color: #606060;&quot;&gt;   8:&lt;/span&gt;     fileVersion = &lt;span style=&quot;color: blue;&quot;&gt;new&lt;/span&gt; Version(fileVersionAttributes[0].Version);&lt;/pre&gt;
&lt;pre style=&quot;background-color: white; border-bottom-style: none; border-left-style: none; border-right-style: none; border-top-style: none; color: black; direction: ltr; font-family: &#39;Courier New&#39;, courier, monospace; font-size: 8pt; line-height: 12pt; margin: 0em; overflow: visible; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 100%;&quot;&gt;&lt;span id=&quot;lnum9&quot; style=&quot;color: #606060;&quot;&gt;   9:&lt;/span&gt; }&lt;/pre&gt;
&lt;pre style=&quot;background-color: #f4f4f4; border-bottom-style: none; border-left-style: none; border-right-style: none; border-top-style: none; color: black; direction: ltr; font-family: &#39;Courier New&#39;, courier, monospace; font-size: 8pt; line-height: 12pt; margin: 0em; overflow: visible; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 100%;&quot;&gt;&lt;span id=&quot;lnum10&quot; style=&quot;color: #606060;&quot;&gt;  10:&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;string&lt;/span&gt; workflowVersion = &lt;span style=&quot;color: #006080;&quot;&gt;&quot;Workflow Version: &quot;&lt;/span&gt; + fileVersion;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
You can then take that string and output it in a ULS Log entry for example.&lt;br /&gt;
&lt;br /&gt;
Next step...Use TFS to increment the AssemblyFileVersion durring the build ;)</content><link rel='replies' type='application/atom+xml' href='http://sharebrad.blogspot.com/feeds/1026774684405282427/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharebrad.blogspot.com/2012/09/how-to-insert-asemblyfilename-in-c-code.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1840960129897099809/posts/default/1026774684405282427'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1840960129897099809/posts/default/1026774684405282427'/><link rel='alternate' type='text/html' href='http://sharebrad.blogspot.com/2012/09/how-to-insert-asemblyfilename-in-c-code.html' title='How to: Insert AsemblyFileName in C# Code'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15704585382643076805</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1840960129897099809.post-4552983077891973051</id><published>2012-08-29T21:30:00.000-04:00</published><updated>2012-08-29T21:30:00.445-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Export WSP"/><category scheme="http://www.blogger.com/atom/ns#" term="Forms"/><category scheme="http://www.blogger.com/atom/ns#" term="Import"/><category scheme="http://www.blogger.com/atom/ns#" term="Scheme.xml"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint"/><category scheme="http://www.blogger.com/atom/ns#" term="Visual Studio"/><title type='text'>Unable to find the default edit form for list...</title><content type='html'>So Exporting a Site as a Template and Importing it into Visual Studio can be very useful but only if it works!&lt;br /&gt;
&lt;br /&gt;
I was trying to use this method to create a List and a Library Instance so I could include it into my existing solution. &amp;nbsp;I did this and it appeared as though everything worked well until I tried to upload a document in the library or create a new list item...then I would get a nasty error about&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&quot;Unable to find the default edit form for list My List&quot;&lt;/blockquote&gt;
So I looked back in the definition and for the list there was this SharePoint Module inside that was named &#39;Listslist_name_here_pages&#39;and had a Elements.xml inside it with some information about the DispForm, NewForm and EditForm...&lt;br /&gt;
&lt;br /&gt;
Perfect, so for the list I included this module just as it was in the other solution and low and behold it worked...but then the&amp;nbsp;Library&amp;nbsp;didn&#39;t have a module inside it...WTF!!! Then some more snooping lead me to see that there was a Modules folder that had 4 Modules with the&amp;nbsp;corresponding&amp;nbsp;names each with their own different Elements.xml files!&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
LibraryNameForms_1033_STS_doctemp_word&lt;br /&gt;LibraryNameForms_Features_DocumentLibrary_doclib&lt;br /&gt;LibraryNameForms_pages&lt;br /&gt;LibraryNameFormsMy Custom ContentType_1033_STS_doctemp_word&lt;/blockquote&gt;
NASTY!!!&lt;br /&gt;&lt;br /&gt;
So, being a slave to SharePoint I set out to duplicate these four modules just as they were in the imported solution...no dice...but then I got to thinking about how this works and I snooped into the Scheme.xml of the list instance and found this....&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;lt;Forms /&amp;gt;&lt;/blockquote&gt;
What?!?&amp;nbsp;that&#39;s&amp;nbsp;not right...so I blew away all my&amp;nbsp;precious&amp;nbsp;modules I worked so hard on and switched the above one line in the Scheme.xml for this...&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;lt;Forms&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;Form Type=&quot;DisplayForm&quot; Url=&quot;DispForm.aspx&quot; SetupPath=&quot;pages\form.aspx&quot; WebPartZoneID=&quot;Main&quot; /&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;Form Type=&quot;EditForm&quot; Url=&quot;EditForm.aspx&quot; SetupPath=&quot;pages\form.aspx&quot; WebPartZoneID=&quot;Main&quot; /&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;Form Type=&quot;NewForm&quot; Url=&quot;NewForm.aspx&quot; SetupPath=&quot;pages\form.aspx&quot; WebPartZoneID=&quot;Main&quot; /&amp;gt;&lt;br /&gt;&amp;lt;/Forms&amp;gt;&lt;/blockquote&gt;
WOW! Its magic! just like It should be...and a much nicer, cleaner solution.&lt;br /&gt;
&lt;br /&gt;
More information about the Scheme.xml can be found &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms459356.aspx&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharebrad.blogspot.com/feeds/4552983077891973051/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharebrad.blogspot.com/2012/08/unable-to-find-default-edit-form-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1840960129897099809/posts/default/4552983077891973051'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1840960129897099809/posts/default/4552983077891973051'/><link rel='alternate' type='text/html' href='http://sharebrad.blogspot.com/2012/08/unable-to-find-default-edit-form-for.html' title='Unable to find the default edit form for list...'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15704585382643076805</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1840960129897099809.post-8216917528253931197</id><published>2012-08-21T20:58:00.000-04:00</published><updated>2012-08-21T20:58:00.107-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Configuration Failed"/><category scheme="http://www.blogger.com/atom/ns#" term="psconfig"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2010 Products Configuration Wizard"/><title type='text'>SharePoint 2010 Products Configuration Wizard &quot;Configuration Failed&quot;</title><content type='html'>Ever spent a full day (or more) trying to get SharePoint 2010 Products&amp;nbsp;Configuration Wizard to work properly?&lt;br /&gt;
&lt;br /&gt;
It seems like every time I have to run this thing it fails with that lovely &quot;Configuration Failed&quot; error message...and this is of course after 15-20 min and 92.57% or whatever random percentage it pulls out of the air.&lt;br /&gt;
&lt;br /&gt;
You can dig through the logs,&amp;nbsp;the &quot;Upgrade-datestamp-timestamp-randomnumber-error.log&quot; log file often has much more informative information in it that the &quot;PCDiagnostics_datestamp_timestamp_randomnumber.log&quot; that the wizard recommends.&lt;br /&gt;
&lt;br /&gt;
So, after that then what?&lt;br /&gt;
&lt;br /&gt;
Never fear, Command Prompt is here!&lt;br /&gt;
&lt;br /&gt;
Run this command from a SharePoint 2010&amp;nbsp;Management&amp;nbsp;Shell prompt and 9 times out of 10 it will work...I don&#39;t know why i don&#39;t just do this to start with.&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;PSCONFIG.EXE -cmd upgrade -inplace b2b -force&lt;/span&gt;&lt;/blockquote&gt;
there are many different switches you can add to this command all of which may or may not help but this is the one that i use the most.</content><link rel='replies' type='application/atom+xml' href='http://sharebrad.blogspot.com/feeds/8216917528253931197/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharebrad.blogspot.com/2012/08/sharepoint-2010-products-configuration.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1840960129897099809/posts/default/8216917528253931197'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1840960129897099809/posts/default/8216917528253931197'/><link rel='alternate' type='text/html' href='http://sharebrad.blogspot.com/2012/08/sharepoint-2010-products-configuration.html' title='SharePoint 2010 Products Configuration Wizard &quot;Configuration Failed&quot;'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1840960129897099809.post-5999417338059359464</id><published>2012-07-31T23:32:00.000-04:00</published><updated>2012-07-31T23:32:00.345-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Class"/><category scheme="http://www.blogger.com/atom/ns#" term="Visual Studio"/><title type='text'>HEY!!! Who changed my Helper.dll?</title><content type='html'>Ever want to share a class in Visual Studio without having the overhead of the good &#39;ol &quot;Helper.dll&quot;?&lt;br /&gt;
&lt;br /&gt;
Try this instead...&lt;br /&gt;
&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/9f4t9t92(v=vs.100).aspx&quot;&gt;Adding an Existing Item &lt;b&gt;as a Link&lt;/b&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
It is a very rarely used and under appreciated feature of Visual Studio that I didn&#39;t know existed until recently.&lt;br /&gt;
&lt;br /&gt;
Here is why this is good:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;You have less DLL&#39;s&lt;/li&gt;
&lt;li&gt;You still have the ability to share classes.&lt;/li&gt;
&lt;li&gt;When you compile your code you always have the latest version of the class unlike a copy of the class.&lt;/li&gt;
&lt;li&gt;Once you compile, that build will always have that version of the class until you build again.&lt;/li&gt;
&lt;li&gt;Sharing Is Caring...OK, OK, I am done&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;br /&gt;
Downfalls:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;I can&#39;t think of one can you?&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
Thanks to my coworker and &lt;a href=&quot;http://www.blackwasp.co.uk/VSSharedFiles.aspx&quot;&gt;this blog post&lt;/a&gt; for helping me realize this possibility.</content><link rel='replies' type='application/atom+xml' href='http://sharebrad.blogspot.com/feeds/5999417338059359464/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharebrad.blogspot.com/2012/07/hey-who-changed-my-helperdll.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1840960129897099809/posts/default/5999417338059359464'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1840960129897099809/posts/default/5999417338059359464'/><link rel='alternate' type='text/html' href='http://sharebrad.blogspot.com/2012/07/hey-who-changed-my-helperdll.html' title='HEY!!! Who changed my Helper.dll?'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15704585382643076805</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1840960129897099809.post-2478788078480289061</id><published>2012-07-27T21:01:00.000-04:00</published><updated>2012-08-02T00:30:40.211-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint Designer"/><category scheme="http://www.blogger.com/atom/ns#" term="SPD"/><title type='text'>Ode to SharePoint Designer</title><content type='html'>&lt;span style=&quot;font-family: &#39;Segoe UI Light&#39;, &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif;&quot;&gt;Just a little fun here...&lt;/span&gt;&lt;br /&gt;
&lt;blockquote&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://images1.wikia.nocookie.net/logopedia/images/3/35/SharePoint_Designer.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;http://images1.wikia.nocookie.net/logopedia/images/3/35/SharePoint_Designer.png&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &#39;Segoe UI Light&#39;, &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif;&quot;&gt;You have the right to use SharePoint Designer,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Segoe UI Light&#39;, &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif;&quot;&gt;Anything you save or modify will not be backed up.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Segoe UI Light&#39;, &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif;&quot;&gt;Some unexpected results are to be expected.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Segoe UI Light&#39;, &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif;&quot;&gt;If you cannot afford a Developer, then you may not wish to proceed.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Segoe UI Light&#39;, &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif;&quot;&gt;Do you understand these flaws as I have described them  to you?&lt;/span&gt;&lt;/blockquote&gt;
&lt;span style=&quot;font-family: &#39;Segoe UI Light&#39;, &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif;&quot;&gt;Just kidding SPD...but seriously, stop trying to help...if I wanted your silly __designer:Preview tags then i would ask for them.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Segoe UI Light&#39;, &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Segoe UI Light&#39;, &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif;&quot;&gt;If you got here via search looking for answers I am sorry...try these sites:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Segoe UI Light&#39;, &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif;&quot;&gt;&lt;a href=&quot;http://social.technet.microsoft.com/Forums/en-US/sharepoint2010customization/thread/d821e612-eedb-40f8-824a-9d358f269d1a/&quot; target=&quot;_blank&quot;&gt;SharePoint Designer 2010 inserts &quot;__designer:Preview&quot; and &quot;__designer:Values&quot; attributes upon reopening of Master Pages&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Segoe UI Light&#39;, &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif;&quot;&gt;&lt;a href=&quot;http://vyeung.wordpress.com/2011/06/01/sharepoint-designer-2010-addinggenerating-__designer-preview-tags-a-fix-to-solve-this-issue/&quot; target=&quot;_blank&quot;&gt;Sharepoint Designer 2010 adding/generating __designer preview tags – a fix to solve this issue&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Segoe UI Light&#39;, &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharebrad.blogspot.com/feeds/2478788078480289061/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharebrad.blogspot.com/2012/07/ode-to-sharepoint-designer.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1840960129897099809/posts/default/2478788078480289061'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1840960129897099809/posts/default/2478788078480289061'/><link rel='alternate' type='text/html' href='http://sharebrad.blogspot.com/2012/07/ode-to-sharepoint-designer.html' title='Ode to SharePoint Designer'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15704585382643076805</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1840960129897099809.post-3417233252444743599</id><published>2012-07-27T20:53:00.000-04:00</published><updated>2012-08-21T15:14:54.669-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="6482"/><category scheme="http://www.blogger.com/atom/ns#" term="Error"/><category scheme="http://www.blogger.com/atom/ns#" term="Search"/><category scheme="http://www.blogger.com/atom/ns#" term="SP2010"/><title type='text'>SharePoint 2010 Event ID 6482 Application Server Administration job failed for service instance Microsoft.Office.Server.Search.Administration.SearchServiceInstance</title><content type='html'>&lt;span style=&quot;font-family: &#39;Segoe UI Light&#39;, &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif;&quot;&gt;Have you ever seen this error in your ULS and wondered what it was?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Segoe UI Light&#39;, &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;SharePoint 2010 Event ID 6482 Application Server Administration job failed for service instance Microsoft.Office.Server.Search.Administration.SearchServiceInstance&lt;/span&gt;&lt;/blockquote&gt;
&lt;span style=&quot;font-family: &#39;Segoe UI Light&#39;, &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif;&quot;&gt;I used to always ignore it because although it showed up once a minute in the logs SharePoint Search worked fine.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Segoe UI Light&#39;, &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Segoe UI Light&#39;, &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif;&quot;&gt;I got curious about it and decided to do some digging which lead me to &lt;a href=&quot;http://www.social-point.com/sharepoint-2010-event-id-6482-application-server-administration-job-failed-for-service-instance-microsoft-office-server-search-administration-searchserviceinstance&quot;&gt;this great article by Jeff DeVerter&lt;/a&gt; that explained what the issue was and how to resolve it.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Segoe UI Light&#39;, &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Segoe UI Light&#39;, &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif;&quot;&gt;And now thanks to Jeff, my ULS has been error free for 3 days!&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharebrad.blogspot.com/feeds/3417233252444743599/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharebrad.blogspot.com/2012/07/sharepoint-2010-event-id-6482.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1840960129897099809/posts/default/3417233252444743599'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1840960129897099809/posts/default/3417233252444743599'/><link rel='alternate' type='text/html' href='http://sharebrad.blogspot.com/2012/07/sharepoint-2010-event-id-6482.html' title='SharePoint 2010 Event ID 6482 Application Server Administration job failed for service instance Microsoft.Office.Server.Search.Administration.SearchServiceInstance'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15704585382643076805</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1840960129897099809.post-1299795019135979085</id><published>2012-07-27T20:43:00.000-04:00</published><updated>2012-07-27T20:43:00.099-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Console Applications; Visual Studio; Debug"/><title type='text'>Visual Studio build fails: unable to copy exe-file from obj\debug to bin\debug</title><content type='html'>&lt;span style=&quot;font-family: &#39;Segoe UI Light&#39;, &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif;&quot;&gt;My colleague fought this error for 2 days and finally found out what was causing this issue.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Segoe UI Light&#39;, &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Segoe UI Light&#39;, &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif;&quot;&gt;A little background is he was building a Console Application in Visual Studio to interact with SharePoint 2010.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Segoe UI Light&#39;, &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Segoe UI Light&#39;, &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif;&quot;&gt;He could rebuild this project many times over and work with it, debug it with no problems.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Segoe UI Light&#39;, &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Segoe UI Light&#39;, &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif;&quot;&gt;But, if he tried to run the .exe from windows explorer and then try to rebuild he would get the following error:&lt;/span&gt;&lt;br /&gt;
&lt;blockquote&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: &#39;Segoe UI Light&#39;, &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif;&quot;&gt;Error 4
Unable to copy file &quot;obj\x64\Debug\Program.exe&quot; to &quot;bin\x64\Debug\Program.exe&quot;. 
Access to the path &#39;bin\x64\Debug\Program.exe&#39; is denied.
&lt;/span&gt;&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;span style=&quot;font-family: &#39;Segoe UI Light&#39;, &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Segoe UI Light&#39;, &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif;&quot;&gt;After many failed attempts to narrow down the issue and trying many different solutions without avail finally he found a working solution.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Segoe UI Light&#39;, &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Segoe UI Light&#39;, &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif;&quot;&gt;It all has to do with a tiny little Windows Service called &lt;b&gt;Application Experience&lt;/b&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Segoe UI Light&#39;, &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif;&quot;&gt;The description of this service helps you understand why this service is important to what our issue is:&lt;/span&gt;&lt;br /&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: &#39;Segoe UI Light&#39;, &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif;&quot;&gt;Processes application compatibility cache requests for applications as they are launched
&lt;/span&gt;&lt;/pre&gt;
&lt;span style=&quot;font-family: &#39;Segoe UI Light&#39;, &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif;&quot;&gt;Make its Startup Type &lt;b&gt;Automatic&lt;/b&gt; and &lt;b&gt;Start&lt;/b&gt; this service and you should be good to go.&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharebrad.blogspot.com/feeds/1299795019135979085/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharebrad.blogspot.com/2012/07/visual-studio-build-fails-unable-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1840960129897099809/posts/default/1299795019135979085'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1840960129897099809/posts/default/1299795019135979085'/><link rel='alternate' type='text/html' href='http://sharebrad.blogspot.com/2012/07/visual-studio-build-fails-unable-to.html' title='Visual Studio build fails: unable to copy exe-file from obj\debug to bin\debug'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15704585382643076805</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1840960129897099809.post-941077052428484991</id><published>2012-07-16T21:16:00.000-04:00</published><updated>2013-07-30T11:30:04.926-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint"/><category scheme="http://www.blogger.com/atom/ns#" term="Site Content Types"/><category scheme="http://www.blogger.com/atom/ns#" term="SP2010"/><title type='text'>SharePoint 2010: No Site Content Types Link</title><content type='html'>One of the most discuraging issues you will find when working with Content Types in SharePoint is a very simple issue. The Site Content Types link in the breadcrumb is not a link at all. Instead it is some grayed out text that&amp;nbsp;irritates&amp;nbsp;you every time you try an click on it.&lt;br /&gt;
&lt;br /&gt;
So I got tired of trying to do this and thought I would take matters into my own hands.&lt;br /&gt;
&lt;br /&gt;
Here is what I came up with:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
function AddContentTypeLink() {&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp; var spans = document.getElementsByTagName(&#39;h2&#39;);&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp; var stringToMatch = &#39; Site Content Types &#39;;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp; for (var i = 0; i &amp;amp;lt; spans.length; ++i) {&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (spans[i].innerHTML.indexOf(stringToMatch) != -1) {&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; spans[i].innerHTML = spans[i].innerHTML.replace(stringToMatch ,&quot;&amp;lt;a href=&#39;/_layouts/mngctype.aspx&#39;&amp;gt;&quot; + stringToMatch + &quot;&amp;lt;/a&amp;gt;&quot;);&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;}&lt;br /&gt;
&amp;nbsp;_spBodyOnLoadFunctionNames.push(&#39;AddContentTypeLink&#39;);&lt;/blockquote&gt;
&lt;br /&gt;
Add this to an existing JavaScript file you have on the go (or in a CEWP on the settings pages where it exists if you are desperate)&lt;br /&gt;
&lt;br /&gt;
If all worked properly you should be left with this:&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPn_NqwR3CFPiX_fYvrfeoYJBBr6w3KdKNKzaWiuLyX0zUqCBtEXDOLrgQCbPA0nlN8-_yO7ktbn2bkrSS2W2ftTIjjcBTvVpn90-VfV89pv7GFz9VIU5SYSs9Aw3ywzgF19JzOM-5-pZh/s1600/SiteContentTypesLink.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;32&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPn_NqwR3CFPiX_fYvrfeoYJBBr6w3KdKNKzaWiuLyX0zUqCBtEXDOLrgQCbPA0nlN8-_yO7ktbn2bkrSS2W2ftTIjjcBTvVpn90-VfV89pv7GFz9VIU5SYSs9Aw3ywzgF19JzOM-5-pZh/s400/SiteContentTypesLink.PNG&quot; width=&quot;287&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
It may not be pretty but it works well...&lt;br /&gt;
&lt;br /&gt;
If you are working in a different language you can change the string variable to whatever it translates to (French for example is &quot; Types de contenu de site &quot; (don&#39;t forget the leading and trailing space!)</content><link rel='replies' type='application/atom+xml' href='http://sharebrad.blogspot.com/feeds/941077052428484991/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharebrad.blogspot.com/2012/07/sharepoint-2010-no-site-content-types.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1840960129897099809/posts/default/941077052428484991'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1840960129897099809/posts/default/941077052428484991'/><link rel='alternate' type='text/html' href='http://sharebrad.blogspot.com/2012/07/sharepoint-2010-no-site-content-types.html' title='SharePoint 2010: No Site Content Types Link'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15704585382643076805</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPn_NqwR3CFPiX_fYvrfeoYJBBr6w3KdKNKzaWiuLyX0zUqCBtEXDOLrgQCbPA0nlN8-_yO7ktbn2bkrSS2W2ftTIjjcBTvVpn90-VfV89pv7GFz9VIU5SYSs9Aw3ywzgF19JzOM-5-pZh/s72-c/SiteContentTypesLink.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1840960129897099809.post-7838043152484006525</id><published>2012-07-07T00:37:00.000-04:00</published><updated>2012-07-07T00:37:00.421-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><category scheme="http://www.blogger.com/atom/ns#" term="jQuery"/><category scheme="http://www.blogger.com/atom/ns#" term="Refinement Panel"/><category scheme="http://www.blogger.com/atom/ns#" term="Search"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint"/><category scheme="http://www.blogger.com/atom/ns#" term="SP2010"/><title type='text'>SharePoint 2010 Search Refinement Panel - Bad Border</title><content type='html'>If you have ever spent time customizing or even just using SharePoint&#39;s Search Center then i am sure you have seen this annoying little box that shows up when you have no refinements. It also shows up when you get no results back from a query like this:&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIjs9kIh06qhWuqJfbrLKXR4H46xhyphenhyphenxkx1mzt0WbTYyyTba3o8qvl6dWnIWmTyh74HOhY37e8WiUYkE857S_t_c5LypScLei-OS5CoLrjutNz8ZByO3EECE7J3ET0WDet3PeYpMCj3YuiC/s1600/searchbefore.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left:1em; margin-right:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;124&quot; width=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIjs9kIh06qhWuqJfbrLKXR4H46xhyphenhyphenxkx1mzt0WbTYyyTba3o8qvl6dWnIWmTyh74HOhY37e8WiUYkE857S_t_c5LypScLei-OS5CoLrjutNz8ZByO3EECE7J3ET0WDet3PeYpMCj3YuiC/s400/searchbefore.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
So, what is this? You may ask...Well it is the border of the Refinement Panel DIV which has padding-bottom: 5px and padding-top: 7px and it looks good when there are refinement items but not so much when it is empty...&lt;br /&gt;
&lt;br /&gt;
Well that&#39;s great but what can we do?&lt;br /&gt;
Well, if you already have a JavaScript file and a jQuery refference, then throw this in there and it will hide it when it is blank...&lt;br /&gt;
&lt;pre  style=&quot;font-family:arial;font-size:12px;border:1px dashed #CCCCCC;width:99%;height:auto;overflow:auto;background:#f0f0f0;;background-image:URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiffoisiwRPOrVxB-4bLAhHLoUSjVcUL7UvmnL2u7Bej_K8fbAb_1x2k_bCxo7taYxmdGwxFL5BFCa_9rAxBGGw6oz0eMDZgO6MwdinyADu-d-iVFJSYSztK6B24Zwz4tUMn9TG5KgEnRY1/s320/codebg.gif);padding:0px;color:#000000;text-align:left;line-height:20px;&quot;&gt;&lt;code style=&quot;color:#000000;word-wrap:normal;&quot;&gt; function HideEmptyRefiner() {  
      if ( $(&#39;.ms-searchref-main&#39;).children().length == 0 ) {    
        $(&#39;.ms-searchref-main&#39;).hide();   
      }  
 }  
_spBodyOnLoadFunctionNames.push(&#39;HideEmptyRefiner&#39;);  
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
So, what if you don&#39;t want to run jQuery on your site? Well don&#39;t worry i won&#39;t leave you hanging...you can achieve the same result with plain old JavaScript but as always it is 10 times harder!&lt;br /&gt;
&lt;br /&gt;
I am not going to go into the details (you can find those &lt;a href=&quot;http://blog.tegneblokken.net/2009/08/counting-childnodes-with-javascript-the-whitespace-incident/&quot;&gt;here on this great blog about the issue&lt;/a&gt;) but you have to be careful on how you look to see if there are any childNodes. You can&#39;t just do a simple parent.childNodes.length because SharePoint was so kind as to leave a nice little XML comment in this DIV:&lt;br /&gt;
&lt;pre  style=&quot;font-family:arial;font-size:12px;border:1px dashed #CCCCCC;width:99%;height:auto;overflow:auto;background:#f0f0f0;;background-image:URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiffoisiwRPOrVxB-4bLAhHLoUSjVcUL7UvmnL2u7Bej_K8fbAb_1x2k_bCxo7taYxmdGwxFL5BFCa_9rAxBGGw6oz0eMDZgO6MwdinyADu-d-iVFJSYSztK6B24Zwz4tUMn9TG5KgEnRY1/s320/codebg.gif);padding:0px;color:#000000;text-align:left;line-height:20px;&quot;&gt;&lt;code style=&quot;color:#000000;word-wrap:normal;&quot;&gt; &amp;lt;!-- l version=&quot;1.0&quot; encoding=&quot;utf-8 --&amp;gt;  
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
Further more, the childNodes length count is not always consistent cross-browser&lt;br /&gt;
&lt;br /&gt;
So, by using the knowledge gained from the blog above and his example as a starting point this is what i came up with...&lt;br /&gt;
&lt;pre  style=&quot;font-family:arial;font-size:12px;border:1px dashed #CCCCCC;width:99%;height:auto;overflow:auto;background:#f0f0f0;;background-image:URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiffoisiwRPOrVxB-4bLAhHLoUSjVcUL7UvmnL2u7Bej_K8fbAb_1x2k_bCxo7taYxmdGwxFL5BFCa_9rAxBGGw6oz0eMDZgO6MwdinyADu-d-iVFJSYSztK6B24Zwz4tUMn9TG5KgEnRY1/s320/codebg.gif);padding:0px;color:#000000;text-align:left;line-height:20px;&quot;&gt;&lt;code style=&quot;color:#000000;word-wrap:normal;&quot;&gt; var kids;  
 var realKids;  
 var parent;  
 var i = 0;  
 function hideEmptySearchDiv() {  
   realKids = 0;  
   parent = document.getElementById(&quot;SRCHREF&quot;);  
   kids = parent.childNodes.length;  
   while (i &amp;lt; kids) {  
     if (parent.childNodes[i].nodeType != 3 &amp;amp;&amp;amp; parent.childNodes[i].nodeType != 8) {  
       realKids++;  
     }  
     i++;  
   }  
   if (realKids == 0) {  
     parent.style.display = &#39;none&#39;;  
   }  
 }  
 _spBodyOnLoadFunctionNames.push(&#39;hideEmptySearchDiv&#39;);  
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
I found that the nodeType of the comment was 8 so I excluded that, then applied the same &quot;if none found hide the div&quot; logic as I used in my jQuery example above.&lt;br /&gt;
&lt;br /&gt;
Enjoy! I hope this helps some one.</content><link rel='replies' type='application/atom+xml' href='http://sharebrad.blogspot.com/feeds/7838043152484006525/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharebrad.blogspot.com/2012/07/sharepoint-2010-search-refinement-panel.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1840960129897099809/posts/default/7838043152484006525'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1840960129897099809/posts/default/7838043152484006525'/><link rel='alternate' type='text/html' href='http://sharebrad.blogspot.com/2012/07/sharepoint-2010-search-refinement-panel.html' title='SharePoint 2010 Search Refinement Panel - Bad Border'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15704585382643076805</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIjs9kIh06qhWuqJfbrLKXR4H46xhyphenhyphenxkx1mzt0WbTYyyTba3o8qvl6dWnIWmTyh74HOhY37e8WiUYkE857S_t_c5LypScLei-OS5CoLrjutNz8ZByO3EECE7J3ET0WDet3PeYpMCj3YuiC/s72-c/searchbefore.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1840960129897099809.post-6693166813365994490</id><published>2012-07-04T13:06:00.002-04:00</published><updated>2012-07-04T13:06:12.630-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="List View Threshold"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint"/><category scheme="http://www.blogger.com/atom/ns#" term="SP2010"/><category scheme="http://www.blogger.com/atom/ns#" term="SPField"/><title type='text'>SharePoint 2010: Value does not fall within the expected range</title><content type='html'>&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;Today I was working on a very&amp;nbsp;annoying&amp;nbsp;issue related to some custom code we are using to look-up information from a list.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;All of a sudden when logged in as a non-Site Collection Administrator (Site Owner) our code was erroring out on this line:&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;background-color: #f0f0f0; background-position: initial initial; background-repeat: initial initial; border: 1px dashed rgb(204, 204, 204); color: black; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt; SPFieldUserValueCollection siteContacts = new SPFieldUserValueCollection(web, item[&quot;Site Contacts&quot;].ToString());  
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;The error was basically saying that the &#39;Site Contacts&#39; field did not exist in the list even tough it did.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;Come to find out that this issue was not related to the list at all but rather the way that SharePoint gets list items.  It does it in a CAML Query type of way thus the list item threshold of 8 columns applies and this column was magic number 9.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;So because the list item threshold does not apply to Site Collection Admins the look-up worked fine for them but not for anyone else.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;Lesson learned, increase the List View Threshold, perform a specific query on the list using SPQuery and specify less than 8 ViewFields something like &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spquery.viewfields.aspx&quot;&gt;this&lt;/a&gt;&amp;nbsp;or override the limit like this:&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiffoisiwRPOrVxB-4bLAhHLoUSjVcUL7UvmnL2u7Bej_K8fbAb_1x2k_bCxo7taYxmdGwxFL5BFCa_9rAxBGGw6oz0eMDZgO6MwdinyADu-d-iVFJSYSztK6B24Zwz4tUMn9TG5KgEnRY1/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; query.QueryThrottleMode = SPQueryThrottleOption.Override  
&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;Or, in our case, we took a different (3rd) approach.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;You can disable the throttling on a list by list basis so we opted for this PowerShell script:&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;background-color: #f0f0f0; background-position: initial initial; background-repeat: initial initial; border: 1px dashed rgb(204, 204, 204); color: black; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt; $web = Get-SPWeb http://your.site.com  
 $list = $web.Lists[&quot;My List&quot;]   
 $list.EnableThrottling = $false  
 $list.Update()  &lt;/span&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #f0f0f0; background-position: initial initial; background-repeat: initial initial; border: 1px dashed rgb(204, 204, 204); color: black; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;/pre&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;We knew this &#39;special&#39; list is not going to get out of hand and we didn&#39;t want to change the threshold for the whole web application.&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharebrad.blogspot.com/feeds/6693166813365994490/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharebrad.blogspot.com/2012/07/sharepoint-2010-value-does-not-fall.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1840960129897099809/posts/default/6693166813365994490'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1840960129897099809/posts/default/6693166813365994490'/><link rel='alternate' type='text/html' href='http://sharebrad.blogspot.com/2012/07/sharepoint-2010-value-does-not-fall.html' title='SharePoint 2010: Value does not fall within the expected range'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15704585382643076805</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1840960129897099809.post-512925837844792017</id><published>2012-06-28T16:32:00.003-04:00</published><updated>2012-06-28T16:34:07.712-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CSS"/><category scheme="http://www.blogger.com/atom/ns#" term="Dialog"/><category scheme="http://www.blogger.com/atom/ns#" term="noindex"/><category scheme="http://www.blogger.com/atom/ns#" term="s4-notdlg"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint"/><title type='text'>Hide something from the SharePoint Dialog Box</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif; text-align: -webkit-auto;&quot;&gt;Today I went onto a SharePoint site to Upload A file and saw this in the Dialog Box to upload a file.&lt;/span&gt; &lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0mofL5C74n-tTxY1e_rFxBGfUC2AXuz-HsRxII8JiAUvdyJOat2dtXPuIzT43UxVWHvjp-IZ63uAi9fC16CeEl0z0vgTAlg1YQtWgcdY4qpaecCWk-rEQnelceIywfVA_LbYgamrZakS-/s1600/s4-notdlg.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;185&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0mofL5C74n-tTxY1e_rFxBGfUC2AXuz-HsRxII8JiAUvdyJOat2dtXPuIzT43UxVWHvjp-IZ63uAi9fC16CeEl0z0vgTAlg1YQtWgcdY4qpaecCWk-rEQnelceIywfVA_LbYgamrZakS-/s640/s4-notdlg.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;Notice the Support Div That is floating on the Right of the page but then is also on the Dialog Box.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;SharePoint uses the same Master Page for Dialog Boxes as it does for your site so if you add something to the master page it will most likely show up in your dialog boxes as well.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;To resolve this issue you need to know about a &quot;special&quot; CSS class SharePoint uses.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;It is s4-notdlg Any item in the&amp;nbsp;master page&amp;nbsp;that has this class is stripped out of the dialog boxes&amp;nbsp;automatically&amp;nbsp;by SharePoint.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;So instead of like this:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiffoisiwRPOrVxB-4bLAhHLoUSjVcUL7UvmnL2u7Bej_K8fbAb_1x2k_bCxo7taYxmdGwxFL5BFCa_9rAxBGGw6oz0eMDZgO6MwdinyADu-d-iVFJSYSztK6B24Zwz4tUMn9TG5KgEnRY1/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; &amp;lt;div title=&quot;Support&quot; class=&quot;supportTab &quot; id=&quot;supportTab&quot;&amp;gt;  
 Support  
 &amp;lt;/div&amp;gt;  
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;It should be like this:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #f0f0f0; background-position: initial initial; background-repeat: initial initial; border: 1px dashed rgb(204, 204, 204); font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; &amp;lt;div title=&quot;Support&quot; class=&quot;supportTab &lt;/code&gt;&lt;code style=&quot;word-wrap: normal;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;s4-notdlg&lt;/span&gt;&lt;/code&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;&quot; id=&quot;supportTab&quot;&amp;gt;  
 Support  
 &amp;lt;/div&amp;gt;  
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;Extra credit if you add the noindex so search doesn&#39;t find the word Support on every page in your Site:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #f0f0f0; background-position: initial initial; background-repeat: initial initial; border: 1px dashed rgb(204, 204, 204); font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; &amp;lt;div title=&quot;Support&quot; class=&quot;supportTab s4-notdlg &lt;/code&gt;&lt;code style=&quot;word-wrap: normal;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;noindex&lt;/span&gt;&lt;/code&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;&quot; id=&quot;supportTab&quot;&amp;gt;  
 Support  
 &amp;lt;/div&amp;gt;  
&lt;/code&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharebrad.blogspot.com/feeds/512925837844792017/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharebrad.blogspot.com/2012/06/hide-something-from-sharepoint-dialog.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1840960129897099809/posts/default/512925837844792017'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1840960129897099809/posts/default/512925837844792017'/><link rel='alternate' type='text/html' href='http://sharebrad.blogspot.com/2012/06/hide-something-from-sharepoint-dialog.html' title='Hide something from the SharePoint Dialog Box'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15704585382643076805</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0mofL5C74n-tTxY1e_rFxBGfUC2AXuz-HsRxII8JiAUvdyJOat2dtXPuIzT43UxVWHvjp-IZ63uAi9fC16CeEl0z0vgTAlg1YQtWgcdY4qpaecCWk-rEQnelceIywfVA_LbYgamrZakS-/s72-c/s4-notdlg.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1840960129897099809.post-4869920091242745591</id><published>2012-06-27T15:54:00.001-04:00</published><updated>2012-06-27T16:07:32.087-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint"/><category scheme="http://www.blogger.com/atom/ns#" term="SP2010"/><category scheme="http://www.blogger.com/atom/ns#" term="SPField"/><title type='text'>list.Fields[&quot;Internal Name&quot;] does not exist</title><content type='html'>Got a quick and dirty one for you.&lt;br /&gt;
&lt;br /&gt;
A co-worker of mine came to me with a simple but weird issue.&lt;br /&gt;
This chunk of code wasn&#39;t working:&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiffoisiwRPOrVxB-4bLAhHLoUSjVcUL7UvmnL2u7Bej_K8fbAb_1x2k_bCxo7taYxmdGwxFL5BFCa_9rAxBGGw6oz0eMDZgO6MwdinyADu-d-iVFJSYSztK6B24Zwz4tUMn9TG5KgEnRY1/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; string property = &quot;DocumentSetDescription&quot;;  
 if (list.Fields.ContainsField(property))  
 {  
   if (list.Fields[property].Type == SPFieldType.Invalid)  
   {  
     //Code Here  
   }  
 }  
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
But it was throwing an error on the second &#39;if&#39; statement basically saying the Field did not exist.&lt;br /&gt;
&lt;br /&gt;
So you would think that if the first if statement was true then the second must be OK as well but it wasn&#39;t.&lt;br /&gt;
&lt;br /&gt;
Come to find out it has to do with the way that the SPList.Fields Property looks up fields.&lt;br /&gt;
&lt;br /&gt;
if you use .Fields.ContainsField(value) it looks it up by the internal name of the field (which were had) but if you use .Fields[value] it tries to look it up by either the GUID, DisplayName or the iIndex.&lt;br /&gt;
&lt;br /&gt;
So if you try to look up a column by the Internal Name and it isn&#39;t the same as the Display Name then it will fail.&lt;br /&gt;
&lt;br /&gt;
In order to avoid this we refined the if statement to be more like this:&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #f0f0f0; background-position: initial initial; background-repeat: initial initial; border: 1px dashed rgb(204, 204, 204); font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; string property = &quot;DocumentSetDescription&quot;;  
 if (list.Fields.ContainsField(property))  
 {  
   if (list.Fields&lt;/code&gt;&lt;code style=&quot;word-wrap: normal;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;.GetFieldByInternalName&lt;/span&gt;&lt;/code&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;(property).Type == SPFieldType.Invalid)  
   {  
     //Code Here  
   }  
 }  
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
You learn something new every day...</content><link rel='replies' type='application/atom+xml' href='http://sharebrad.blogspot.com/feeds/4869920091242745591/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharebrad.blogspot.com/2012/06/listfieldsinternal-name-does-not-exist.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1840960129897099809/posts/default/4869920091242745591'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1840960129897099809/posts/default/4869920091242745591'/><link rel='alternate' type='text/html' href='http://sharebrad.blogspot.com/2012/06/listfieldsinternal-name-does-not-exist.html' title='list.Fields[&quot;Internal Name&quot;] does not exist'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15704585382643076805</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1840960129897099809.post-2396287120993920713</id><published>2012-06-14T11:30:00.000-04:00</published><updated>2012-06-27T16:01:08.840-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="2010"/><category scheme="http://www.blogger.com/atom/ns#" term="Client Object Model"/><category scheme="http://www.blogger.com/atom/ns#" term="ECMAScript"/><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint"/><title type='text'>Use SharePoint 2010 JavaScript (ECMAScript) Client Object Model to check current users permissions</title><content type='html'>&lt;div&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The JavaScript Object Model is a very powerful tool to a SharePoint Developer if you know how to use it properly. Unfortunately there isn&#39;t that much information out there about it and searching for examples often leads you to C# style SharePoint Object Model code which is similar but not the same...&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;If you are new to it and want to learn more or play around with some working examples &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/hh185015.aspx&quot; target=&quot;_blank&quot;&gt;check these out&lt;/a&gt;!&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;I struggled to get this to work for longer than I would like to admit so I thought I would post it here to&amp;nbsp;alleviate&amp;nbsp;future headaches and in hopes that it helps someone else.&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;My requirement was to check the permission of the current user using The JavaScript Client Object Model and do &quot;something&quot;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;So here is what I ended up with.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;pre  style=&quot;font-family:arial;font-size:12px;border:1px dashed #CCCCCC;width:99%;height:auto;overflow:auto;background:#f0f0f0;;background-image:URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiffoisiwRPOrVxB-4bLAhHLoUSjVcUL7UvmnL2u7Bej_K8fbAb_1x2k_bCxo7taYxmdGwxFL5BFCa_9rAxBGGw6oz0eMDZgO6MwdinyADu-d-iVFJSYSztK6B24Zwz4tUMn9TG5KgEnRY1/s320/codebg.gif);padding:0px;color:#000000;text-align:left;line-height:20px;&quot;&gt;&lt;code style=&quot;color:#000000;word-wrap:normal;&quot;&gt; &amp;lt;script type=&#39;text/javascript&#39;&amp;gt;  
  ExecuteOrDelayUntilScriptLoaded(checkifUserHasEditListItems, &quot;sp.js&quot;);  
 function checkifUserHasEditListItems ()   
 {  
  context = new SP.ClientContext.get_current();  
  web = context.get_web();  
  this._currentUser = web.get_currentUser();  
  context.load(this._currentUser);  
  context.load(web,&#39;EffectiveBasePermissions&#39;);  
  context.executeQueryAsync(Function.createDelegate(this, this.onSuccessMethod), Function.createDelegate(this, this.onFailureMethod));  
 }  
 function onSuccessMethod(sender, args)   
 {  
  if (web.get_effectiveBasePermissions().has(SP.PermissionKind.editListItems))  
  alert(&#39;User has editListItems&#39;);  
  else  
  alert(&#39;no dice&#39;);  
 }  
 &amp;lt;/script&amp;gt;  
&lt;/code&gt;&lt;/pre&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span style=&quot;color: #666666; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana, sans-serif;&quot;&gt;You can dump this in a CEWP or include it in a .js file that you already have...either way it will prompt you with an alert (obviously the alert is just a placeholder for wonderful things to come)&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharebrad.blogspot.com/feeds/2396287120993920713/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharebrad.blogspot.com/2012/06/use-sharepoint-2010-javascript.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1840960129897099809/posts/default/2396287120993920713'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1840960129897099809/posts/default/2396287120993920713'/><link rel='alternate' type='text/html' href='http://sharebrad.blogspot.com/2012/06/use-sharepoint-2010-javascript.html' title='Use SharePoint 2010 JavaScript (ECMAScript) Client Object Model to check current users permissions'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15704585382643076805</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1840960129897099809.post-4244590962264668911</id><published>2012-06-12T15:39:00.001-04:00</published><updated>2012-06-12T15:39:31.595-04:00</updated><title type='text'>Visual Studio Post-Build GacUtil.exe with error handling</title><content type='html'>&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;If you have ever had to deploy a solution to the GAC then you will love this Post-Build Command.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;I found the original &lt;a href=&quot;http://geekswithblogs.net/dchestnutt/archive/2006/05/30/80113.aspx&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;&amp;nbsp;by Dave Chestnutt and made it work for me:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;echo POSTBUILDSTEP for $(ProjectName)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;xcopy &quot;$(TargetPath)&quot; &quot;$(SolutionDir)$(OutDir)&quot; /i /d /y&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;if errorlevel 1 goto BuildEventFailed&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;xcopy &quot;$(TargetDir)$(TargetName).pdb&quot; &quot;$(SolutionDir)$(OutDir)&quot; /i /d /y&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;if errorlevel 1 goto BuildEventFailed&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;echo GAC of: &quot;$(SolutionDir)$(OutDir)$(TargetFileName)&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&quot;C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\NETFX 4.0 Tools\x64\gacutil.exe&quot; /i $(TargetPath)&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;if errorlevel 1 goto BuildEventFailed&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;REM Exit properly because the build will not fail&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;REM unless the final step exits with an error code&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;goto BuildEventOK&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;:BuildEventFailed&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;echo POSTBUILDSTEP for $(ProjectName) FAILED&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;exit 1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;:BuildEventOK&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;echo POSTBUILDSTEP for $(ProjectName) COMPLETED OK&lt;/span&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharebrad.blogspot.com/feeds/4244590962264668911/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharebrad.blogspot.com/2012/06/visual-studio-post-build-gacutilexe.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1840960129897099809/posts/default/4244590962264668911'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1840960129897099809/posts/default/4244590962264668911'/><link rel='alternate' type='text/html' href='http://sharebrad.blogspot.com/2012/06/visual-studio-post-build-gacutilexe.html' title='Visual Studio Post-Build GacUtil.exe with error handling'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15704585382643076805</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1840960129897099809.post-6331032917806270558</id><published>2012-06-08T01:21:00.000-04:00</published><updated>2012-06-08T01:21:26.885-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Search"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint"/><title type='text'>Debugging and Troubleshooting the Search UI</title><content type='html'>&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Here is a great article by&amp;nbsp;Agnes Molnar&amp;nbsp;that would have helped me out today had I known about it earlier! This article goes into great detail about the moving parts to a SharePoint 2010 Search Results page and how to make it your own.&lt;/span&gt;&lt;div&gt;
&lt;a href=&quot;http://www.sharepointblog.co.uk/2012/06/debugging-and-troubleshooting-the-search-ui&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;http://www.sharepointblog.co.uk/2012/06/debugging-and-troubleshooting-the-search-ui&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharebrad.blogspot.com/feeds/6331032917806270558/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharebrad.blogspot.com/2012/06/debugging-and-troubleshooting-search-ui.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1840960129897099809/posts/default/6331032917806270558'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1840960129897099809/posts/default/6331032917806270558'/><link rel='alternate' type='text/html' href='http://sharebrad.blogspot.com/2012/06/debugging-and-troubleshooting-search-ui.html' title='Debugging and Troubleshooting the Search UI'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15704585382643076805</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1840960129897099809.post-2002769904152085748</id><published>2012-06-07T01:02:00.001-04:00</published><updated>2012-06-07T01:02:48.731-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Count"/><category scheme="http://www.blogger.com/atom/ns#" term="Refinement Panel"/><category scheme="http://www.blogger.com/atom/ns#" term="Search"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint"/><title type='text'>Add Search Refinement Item Count</title><content type='html'>&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;A quick and impressive&amp;nbsp;enhancement&amp;nbsp;to the SharePoint Search Refinement Panel is to allow it to show the item count next to each of the refiners.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;You can follow &lt;a href=&quot;http://social.technet.microsoft.com/wiki/contents/articles/8203.add-an-item-count-to-the-sharepoint-2010-refinement-panel.aspx&quot; target=&quot;_blank&quot;&gt;this TechNet article&lt;/a&gt; on how to&amp;nbsp;achieve&amp;nbsp;this solution.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;This is what you will end up with:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://sharepointbloggin.com/wp-content/uploads/2010/10/image_thumb.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;640&quot; src=&quot;http://sharepointbloggin.com/wp-content/uploads/2010/10/image_thumb.png&quot; width=&quot;323&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharebrad.blogspot.com/feeds/2002769904152085748/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharebrad.blogspot.com/2012/06/add-search-refinement-item-count.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1840960129897099809/posts/default/2002769904152085748'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1840960129897099809/posts/default/2002769904152085748'/><link rel='alternate' type='text/html' href='http://sharebrad.blogspot.com/2012/06/add-search-refinement-item-count.html' title='Add Search Refinement Item Count'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1840960129897099809.post-2891900776066093056</id><published>2012-06-07T00:52:00.002-04:00</published><updated>2012-06-07T00:55:30.515-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Refinement Panel"/><category scheme="http://www.blogger.com/atom/ns#" term="Search"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint"/><category scheme="http://www.blogger.com/atom/ns#" term="SP2010"/><title type='text'>SharePoint 2010 Custom Search Refiner for Contentclass</title><content type='html'>&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;My client pointed out&amp;nbsp;&lt;a href=&quot;http://www.sharemuch.com/2012/05/30/custom-sharepoint-2010-search-refiner-displaying-range-of-choices/&quot; target=&quot;_blank&quot;&gt;Yaroslav Pentsarskyy&#39;s post on Search Refiners&lt;/a&gt; last week and asked me to look into it.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;So I implemented his solution and although it worked well, my client and I wanted more granularity for this search refiner, so I got to thinking that one thing that would work well would be the ContentClass property that holds such values as STS_Site and STS_ListItem_Announcement etc.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;So I dusted off my XML Editor, cracked open the FilterCategories from the Refinement Panel (don&#39;t forget to un-check use default configuration, and went to work and here is what I ended up with:&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;font-size: 12px; padding: 3px 0px 0px;&quot;&gt;&lt;span style=&quot;color: #666666;&quot;&gt;&amp;lt;Category
   Title=&quot;Content Class&quot;
   Description=&quot;Filter by contentclass&quot;
   Type=&quot;Microsoft.Office.Server.Search.WebControls.ManagedPropertyFilterGenerator&quot;
   MetadataThreshold=&quot;0&quot;
   NumberOfFiltersToDisplay=&quot;2&quot;
   MaxNumberOfFilters=&quot;0&quot;
   SortBy=&quot;Custom&quot;
   ShowMoreLink=&quot;True&quot;
   MappedProperty=&quot;contentclass&quot;
   MoreLinkText=&quot;show more&quot;
   LessLinkText=&quot;show fewer&quot; &amp;gt;
   &amp;lt;CustomFilters MappingType=&quot;ValueMapping&quot;
     DataType=&quot;String&quot;
     ValueReference=&quot;Absolute&quot;
     ShowAllInMore=&quot;False&quot;&amp;gt;
     &amp;lt;CustomFilter CustomValue=&quot;Web Pages&quot;&amp;gt;
       &amp;lt;OriginalValue&amp;gt;STS_ListItem_WebPageLibrary&amp;lt;/OriginalValue&amp;gt;
     &amp;lt;/CustomFilter&amp;gt;
     &amp;lt;CustomFilter CustomValue=&quot;Announcements&quot;&amp;gt;
       &amp;lt;OriginalValue&amp;gt;STS_ListItem_Announcements&amp;lt;/OriginalValue&amp;gt;
     &amp;lt;/CustomFilter&amp;gt;
     &amp;lt;CustomFilter CustomValue=&quot;Contacts&quot;&amp;gt;
       &amp;lt;OriginalValue&amp;gt;STS_ListItem_Contacts&amp;lt;/OriginalValue&amp;gt;
     &amp;lt;/CustomFilter&amp;gt;
     &amp;lt;CustomFilter CustomValue=&quot;Disucssions&quot;&amp;gt;
       &amp;lt;OriginalValue&amp;gt;STS_ListItem_DiscussionBoard&amp;lt;/OriginalValue&amp;gt;
     &amp;lt;/CustomFilter&amp;gt;
     &amp;lt;CustomFilter CustomValue=&quot;Documents&quot;&amp;gt;
       &amp;lt;OriginalValue&amp;gt;STS_ListItem_DocumentLibrary&amp;lt;/OriginalValue&amp;gt;
     &amp;lt;/CustomFilter&amp;gt;
     &amp;lt;CustomFilter CustomValue=&quot;Events&quot;&amp;gt;
       &amp;lt;OriginalValue&amp;gt;STS_ListItem_Events&amp;lt;/OriginalValue&amp;gt;
     &amp;lt;/CustomFilter&amp;gt;
     &amp;lt;CustomFilter CustomValue=&quot;Gantt Tasks&quot;&amp;gt;
       &amp;lt;OriginalValue&amp;gt;STS_ListItem_GanttTasks&amp;lt;/OriginalValue&amp;gt;
     &amp;lt;/CustomFilter&amp;gt;
     &amp;lt;CustomFilter CustomValue=&quot;List Items&quot;&amp;gt;
       &amp;lt;OriginalValue&amp;gt;STS_ListItem_GenericList&amp;lt;/OriginalValue&amp;gt;
     &amp;lt;/CustomFilter&amp;gt;
     &amp;lt;CustomFilter CustomValue=&quot;Links&quot;&amp;gt;
       &amp;lt;OriginalValue&amp;gt;STS_ListItem_Links&amp;lt;/OriginalValue&amp;gt;
     &amp;lt;/CustomFilter&amp;gt;
     &amp;lt;CustomFilter CustomValue=&quot;Pictures&quot;&amp;gt;
       &amp;lt;OriginalValue&amp;gt;STS_ListItem_PictureLibrary&amp;lt;/OriginalValue&amp;gt;
     &amp;lt;/CustomFilter&amp;gt;
     &amp;lt;CustomFilter CustomValue=&quot;Surveys&quot;&amp;gt;
       &amp;lt;OriginalValue&amp;gt;STS_ListItem_Survey&amp;lt;/OriginalValue&amp;gt;
     &amp;lt;/CustomFilter&amp;gt;
     &amp;lt;CustomFilter CustomValue=&quot;Tasks&quot;&amp;gt;
       &amp;lt;OriginalValue&amp;gt;STS_ListItem_Tasks&amp;lt;/OriginalValue&amp;gt;
     &amp;lt;/CustomFilter&amp;gt;
     &amp;lt;CustomFilter CustomValue=&quot;XML Forms&quot;&amp;gt;
       &amp;lt;OriginalValue&amp;gt;STS_ListItem_XMLForm&amp;lt;/OriginalValue&amp;gt;
     &amp;lt;/CustomFilter&amp;gt;
     &amp;lt;CustomFilter CustomValue=&quot;Sites&quot;&amp;gt;
       &amp;lt;OriginalValue&amp;gt;STS_Web&amp;lt;/OriginalValue&amp;gt;
     &amp;lt;/CustomFilter&amp;gt;
   &amp;lt;/CustomFilters&amp;gt;
 &amp;lt;/Category&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Note: if you are concerned about&amp;nbsp;Multilingualism&amp;nbsp;then know that by telling the Refinement Panel Web Part to not use the default configuration you are hard-wiring a bunch of words that are used here (like &#39;show more&#39; and &#39;show less&#39;) so keep that in mind.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Thanks again to&amp;nbsp;Yaroslav Pentsarskyy&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;for the mention on his &lt;a href=&quot;http://www.sharemuch.com/2012/05/31/more-handy-configurations-for-sharepoint-2010-search-refiners/&quot; target=&quot;_blank&quot;&gt;new post&lt;/a&gt; about my resolution after I sent it to him.&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharebrad.blogspot.com/feeds/2891900776066093056/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharebrad.blogspot.com/2012/06/sharepoint-2010-custom-search-refiner.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1840960129897099809/posts/default/2891900776066093056'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1840960129897099809/posts/default/2891900776066093056'/><link rel='alternate' type='text/html' href='http://sharebrad.blogspot.com/2012/06/sharepoint-2010-custom-search-refiner.html' title='SharePoint 2010 Custom Search Refiner for Contentclass'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1840960129897099809.post-3951690737733820877</id><published>2012-06-07T00:07:00.000-04:00</published><updated>2012-06-07T00:07:09.193-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="sharebrad"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint"/><category scheme="http://www.blogger.com/atom/ns#" term="StoneShare"/><title type='text'>Welcome to my blog</title><content type='html'>&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;Hello All, Welcome to my blog.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;I am a SharePoint Developer who lives in Ottawa, Ontario Canada.&amp;nbsp; I work for &lt;a href=&quot;http://www.stoneshare.com/&quot; target=&quot;_blank&quot;&gt;StoneShare&lt;/a&gt;,&amp;nbsp;we are a SharePoint consulting company specializing in SharePoint and only SharePoint.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS;&quot;&gt;I have been&amp;nbsp;riding the SharePoint rollercoster since the SPS 2003 days and loving every bit of it.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS;&quot;&gt;Most of my posts will be contextual to what&amp;nbsp;I am currently working on but I am open to suggestions on future posts.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS;&quot;&gt;You can follow me on twitter at &lt;a href=&quot;https://twitter.com/#!/sharebrad&quot; target=&quot;_blank&quot;&gt;sharebrad&lt;/a&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharebrad.blogspot.com/feeds/3951690737733820877/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharebrad.blogspot.com/2012/06/welcome-to-my-blog.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1840960129897099809/posts/default/3951690737733820877'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1840960129897099809/posts/default/3951690737733820877'/><link rel='alternate' type='text/html' href='http://sharebrad.blogspot.com/2012/06/welcome-to-my-blog.html' title='Welcome to my blog'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total><georss:featurename>Ottawa, ON, Canada</georss:featurename><georss:point>45.4215296 -75.6971931</georss:point><georss:box>45.0649016 -76.328907100000009 45.7781576 -75.0654791</georss:box></entry></feed>