<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Dom Cosgrove Blog &#187; Trouble Shooting</title>
	<atom:link href="http://blog.domcosgrove.com/category/troubleshooting/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.domcosgrove.com</link>
	<description>Dom&#039;s views on the SharePoint World</description>
	<lastBuildDate>Tue, 18 Oct 2011 12:59:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Blank black screen when putting VMware Workstation into Full Screen</title>
		<link>http://blog.domcosgrove.com/blank-black-screen-when-putting-vmware-workstation-into-full-screen-2/</link>
		<comments>http://blog.domcosgrove.com/blank-black-screen-when-putting-vmware-workstation-into-full-screen-2/#comments</comments>
		<pubDate>Tue, 06 Sep 2011 10:53:38 +0000</pubDate>
		<dc:creator>Dominick Cosgrove</dc:creator>
				<category><![CDATA[Trouble Shooting]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[When you try to put your VMware virtual image into full screen on Windows 7 you may find that you get a blank black screen. Even if you change the screen resolution on the guest OS, to match that of your host OS you still get a blank screen. The issue is that the VMware [...]]]></description>
			<content:encoded><![CDATA[<p>When you try to put your VMware virtual image into full screen on Windows 7 you may find that you get a blank black screen. Even if you change the screen resolution on the guest OS, to match that of your host OS you still get a blank screen.</p>
<p><img src="http://blog.domcosgrove.com/wp-content/uploads/2011/09/090611_1052_Blankblacks1.png" alt="" /></p>
<p>The issue is that the VMware display drive has not been configured for Accelerated 3D Graphics. To resolve this issue, shut down the VM, then under <strong>VM</strong> &gt; <strong>Virtual Machine Settings</strong> &gt; <strong>Display</strong> check the <strong>Accelerate 3D Graphics </strong>check box and select <strong>OK</strong>. You should now be able to restart your VM and go into full screen mode.</p>
<p><img src="http://blog.domcosgrove.com/wp-content/uploads/2011/09/090611_1052_Blankblacks2.png" alt="" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.domcosgrove.com/blank-black-screen-when-putting-vmware-workstation-into-full-screen-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to change your Virtual Machine keyboard on Windows 2008 R2</title>
		<link>http://blog.domcosgrove.com/how-to-change-your-virtual-machine-keyboard-on-windows-2008-r2/</link>
		<comments>http://blog.domcosgrove.com/how-to-change-your-virtual-machine-keyboard-on-windows-2008-r2/#comments</comments>
		<pubDate>Mon, 05 Sep 2011 16:12:18 +0000</pubDate>
		<dc:creator>Dominick Cosgrove</dc:creator>
				<category><![CDATA[Trouble Shooting]]></category>

		<guid isPermaLink="false">http://blog.domcosgrove.com/how-to-change-your-virtual-machine-keyboard-on-windows-2008-r2/</guid>
		<description><![CDATA[So in the past I&#8217;ve download Virtual Machines that have a US keyboard as the input type or when I built the windows instance I forgot to change the keyboard settings. As a result when I have passwords with the ampersand symbol (@) in them, I need to use the Shift + 2 (&#8220;) keyboard [...]]]></description>
			<content:encoded><![CDATA[<p>So in the past I&#8217;ve download Virtual Machines that have a US keyboard as the input type or when I built the windows instance I forgot to change the keyboard settings. As a result when I have passwords with the ampersand symbol (@) in them, I need to use the <em>Shift + 2</em> (&#8220;) keyboard stroke. So hey you can live with this setting, but I quite like having my keyboard and regional settings configured correct on the server. So this is easy enough through <strong>Control Panel</strong> &gt; <strong>Region and Language</strong> settings. So you change your Format to English (Ireland) so that the date time is correct. You change your location for your locale setting to Ireland. You then change your Keyboard and Languages to English (Ireland) – Irish. You test typing your password in notepad and are happy that changes have been made. You then log off your computer or reboot and go to log back on… wait a minute you try your new keyboard settings and you still have to use <em>Shift + 2</em> to log in. You go and open notepad again and hey presto your keyboard settings are still in English (Ireland) – Irish. What gives!?!</p>
<p>The solution is actually under the <strong>Region and Language</strong> &gt; <strong>Administrative</strong> tab. There is a section for the <strong>Welcome screen and new user accounts</strong>, click the <strong>Copy Settings…</strong> button, you&#8217;ll notice that the Input Language for the <em>Welcome Screen</em> and the <em>New User Accounts</em> is still <strong>English (United States) – US</strong>. This is not what we want. Select both the check boxes to copy your current settings to the <em>Welcome Screen</em> and <em>New User Accounts</em> and click <strong>OK. </strong>Log off and back on and there you have it you can log on using the expected keyboard behaviour.</p>
<p><img src="http://blog.domcosgrove.com/wp-content/uploads/2011/09/090511_1612_Howtochange1.png" alt="" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.domcosgrove.com/how-to-change-your-virtual-machine-keyboard-on-windows-2008-r2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unable to open Office Document in MS Office Web Apps</title>
		<link>http://blog.domcosgrove.com/unable-to-open-office-document-in-ms-office-web-apps/</link>
		<comments>http://blog.domcosgrove.com/unable-to-open-office-document-in-ms-office-web-apps/#comments</comments>
		<pubDate>Mon, 16 May 2011 12:01:30 +0000</pubDate>
		<dc:creator>Dominick Cosgrove</dc:creator>
				<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[Trouble Shooting]]></category>

		<guid isPermaLink="false">http://blog.domcosgrove.com/unable-to-open-office-document-in-ms-office-web-apps/</guid>
		<description><![CDATA[The following steps may help if you get an error when opening Office documents through MS Office Web Applications from a SharePoint Document library. Word Web App cannot open this document for viewing because of an unexpected error. To view this document, open it in Microsoft Word. Error Id: 68d8674b-53ac-407c-bfd7-9ef2a2c16611, 201116105124532 If you are running [...]]]></description>
			<content:encoded><![CDATA[<p>The following steps may help if you get an error when opening Office documents through MS Office Web Applications from a SharePoint Document library.<span style="font-family:Courier New; font-size:10pt"><br />
		</span></p>
<p><span style="color:red"><span style="font-family:Courier New; font-size:9pt">Word Web App cannot open this document for viewing because of an unexpected error. To view this document, open it in Microsoft Word.</span><span style="font-size:10pt"><br />
			</span></span></p>
<p><span style="color:red; font-family:Courier New; font-size:9pt">Error Id: 68d8674b-53ac-407c-bfd7-9ef2a2c16611, 201116105124532<br />
</span></p>
<ol>
<li>
<div>If you are running the SharePoint / Office Web Apps on a VM that also has the domain controller, you&#8217;ll get this error. This is not a supported configuration for a production environment. As this is typical for a demo / development VM, then you can run the following PowerShell:
</div>
<p style="background: #f2f2f2"><span style="font-family:Courier New; font-size:6pt">$e = Get-SPServiceApplication | where {$_.TypeName.Equals(&#8220;Word Viewing Service Application&#8221;)} <br/>$e.WordServerIsSandboxed = $false <br/>$e.WordServerIsSandboxed<br />
</span></p>
<p style="background: #f2f2f2"><span style="font-family:Courier New; font-size:6pt">#(Please use the below script for PowerPointServiceApplication &#8211; You need to enter &#8220;Y&#8221; for the answer of each cmd)<br/>Get-SPPowerPointServiceApplication | Set-SPPowerPointServiceApplication -EnableSandboxedViewing $false<br/>Get-SPPowerPointServiceApplication | Set-SPPowerPointServiceApplication -EnableSandboxedEditing $false<br />
</span></p>
<p style="background: #f2f2f2"><span style="font-family:Courier New; font-size:6pt">In the server&#8217;s c:\windows\system32\inetsrv\config\applicationHost.config <br/>Add the line below in the end of the dynamicTypes. <br/>&lt;add mimeType=&#8221;application/zip&#8221; enabled=&#8221;false&#8221; /&gt;<br />
</span></p>
<p style="background: #f2f2f2"><span style="font-family:Courier New; font-size:6pt">IISRESET<br />
</span></p>
</li>
<li>If you are seeing events with an ID of 3760 (shown below), you have not given the service account running the Office Web Application Services sufficient access. Ensure that the account has the required permissions.
</li>
</ol>
<p><span style="font-family:Courier New; font-size:6pt">    <img src="http://blog.domcosgrove.com/wp-content/uploads/2011/05/051611_1201_Unabletoope11.png" alt=""/><br />
		</span></p>
<p><span style="text-decoration:underline">Reference:<br />
</span></p>
<p><a href="http://blogs.msdn.com/b/opal/archive/2009/11/16/installation-notice-for-sharepoint-2010-public-beta.aspx">http://blogs.msdn.com/b/opal/archive/2009/11/16/installation-notice-for-sharepoint-2010-public-beta.aspx</a>
	</p>
<p>
 </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.domcosgrove.com/unable-to-open-office-document-in-ms-office-web-apps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Long Service Account Names in SharePoint</title>
		<link>http://blog.domcosgrove.com/long-service-account-names-in-sharepoint/</link>
		<comments>http://blog.domcosgrove.com/long-service-account-names-in-sharepoint/#comments</comments>
		<pubDate>Mon, 28 Feb 2011 14:32:04 +0000</pubDate>
		<dc:creator>Dominick Cosgrove</dc:creator>
				<category><![CDATA[Trouble Shooting]]></category>

		<guid isPermaLink="false">http://blog.domcosgrove.com/long-service-account-names-in-sharepoint/</guid>
		<description><![CDATA[Don&#8217;t use service account names with more than 20 characters! Why… read on! Recently, I was working on updating the Windows SharePoint Service Help Search Accounts. The issue was that when the DEV, UAT and production farms where originally built the same service accounts were used for each environment. This is NOT best practice, so [...]]]></description>
			<content:encoded><![CDATA[<p>Don&#8217;t use service account names with more than 20 characters! Why… read on!
</p>
<p>Recently, I was working on updating the Windows SharePoint Service Help Search Accounts. The issue was that when the DEV, UAT and production farms where originally built the same service accounts were used for each environment. This is <strong>NOT</strong> best practice, so I went about changing DEV and UAT, leaving Production using the original accounts. The process of updating the service accounts is simple enough using STSADM:
</p>
<p style="background: #f2f2f2"><span style="font-family:Courier New; font-size:8pt">stsadm –o spsearch –farmserviceaccount [domain\serviceaccount] –farmservicepassword [password]<br />
</span></p>
<p style="background: #f2f2f2"><span style="font-family:Courier New; font-size:8pt">stsadm –o spsearch –farmcontentaccessaccount [domain\serviceaccount] –farmcontentaccesspassword [password]<br />
</span></p>
<p>An issue arose where we used the original service account post-fixed with the environment e.g.
</p>
<div>
<table style="border-collapse:collapse" border="0">
<colgroup>
<col style="width:266px"/>
<col style="width:266px"/>
<col style="width:266px"/></colgroup>
<tbody valign="top">
<tr style="background: #4bacc6">
<td style="padding-left: 9px; padding-right: 9px; border-top:  solid #4bacc6 1.0pt; border-left:  solid #4bacc6 1.0pt; border-bottom:  solid #4bacc6 1.0pt">
<p><span style="color:white"><strong>Production</strong></span></p>
</td>
<td style="padding-left: 9px; padding-right: 9px; border-top:  solid #4bacc6 1.0pt; border-bottom:  solid #4bacc6 1.0pt">
<p><span style="color:white"><strong>UAT</strong></span></p>
</td>
<td style="padding-left: 9px; padding-right: 9px; border-top:  solid #4bacc6 1.0pt; border-bottom:  solid #4bacc6 1.0pt; border-right:  solid #4bacc6 1.0pt">
<p><span style="color:white"><strong>DEV</strong></span></p>
</td>
</tr>
<tr>
<td style="padding-left: 9px; padding-right: 9px; border-top:  none; border-left:  solid #4bacc6 1.0pt; border-bottom:  solid #4bacc6 1.0pt">
<p><strong>WSS_SearchService</strong></p>
</td>
<td style="padding-left: 9px; padding-right: 9px; border-top:  none; border-bottom:  solid #4bacc6 1.0pt">
<p>WSS_SearchService_UAT</p>
</td>
<td style="padding-left: 9px; padding-right: 9px; border-top:  none; border-bottom:  solid #4bacc6 1.0pt; border-right:  solid #4bacc6 1.0pt">
<p>WSS_SearchService_DEV</p>
</td>
</tr>
<tr>
<td style="padding-left: 9px; padding-right: 9px; border-left:  solid #4bacc6 1.0pt; border-bottom:  solid #4bacc6 1.0pt">
<p><strong>WSS_ContentAccess</strong></p>
</td>
<td style="padding-left: 9px; padding-right: 9px; border-bottom:  solid #4bacc6 1.0pt">
<p>WSS_ContentAccess_UAT</p>
</td>
<td style="padding-left: 9px; padding-right: 9px; border-bottom:  solid #4bacc6 1.0pt; border-right:  solid #4bacc6 1.0pt">
<p>WSS_ContentAccess_DEV</p>
</td>
</tr>
</tbody>
</table>
</div>
<p>
 </p>
<p>When trying to update the service accounts I kept getting the following message:
</p>
<p><img src="http://blog.domcosgrove.com/wp-content/uploads/2011/02/022811_1431_LongService11.png" alt=""/>
	</p>
<p>Basically, saying that the account being provided is not valid. If I did the same update through the Central Administration I got the following message:
</p>
<p><span style="color:red">The username and password entered are not valid.<br />
</span></p>
<p>After several rounds of changing the password, recreating the account and trying manually set the service account, it was discovered that SharePoint uses the sAMAccountName rather than the UPN when it passes credentials. The sAMAccountName has a 20 character limit for backward compatibility.
</p>
<p>The work around is simple keep the service account names to less than 20 characters. An alternative approach, one that I&#8217;ve not tested yet is to use the following format for the account [service account]@[domain.com]. Anyway I hope that this will save you some time, I wish I had known this limitation before I embarked on updating the accounts.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.domcosgrove.com/long-service-account-names-in-sharepoint/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Access Denied when accessing Shared Service Provided (SSP) Web Application</title>
		<link>http://blog.domcosgrove.com/access-denied-when-accessing-shared-service-provided-ssp-web-application/</link>
		<comments>http://blog.domcosgrove.com/access-denied-when-accessing-shared-service-provided-ssp-web-application/#comments</comments>
		<pubDate>Wed, 16 Feb 2011 17:14:05 +0000</pubDate>
		<dc:creator>Dominick Cosgrove</dc:creator>
				<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[Trouble Shooting]]></category>

		<guid isPermaLink="false">http://blog.domcosgrove.com/access-denied-when-accessing-shared-service-provided-ssp-web-application/</guid>
		<description><![CDATA[Today, I was building a SharePoint 2007 demo environment using a set of scripts that I&#8217;ve used numerous times before to configure and provision the SharePoint Web applications. I made some slight adjustments to the settings to match my clients naming convention e.g. User Names, Web Application Names, Database etc. Something I&#8217;d done many times [...]]]></description>
			<content:encoded><![CDATA[<p>Today, I was building a SharePoint 2007 demo environment using a set of scripts that I&#8217;ve used numerous times before to configure and provision the SharePoint Web applications. I made some slight adjustments to the settings to match my clients naming convention e.g. User Names, Web Application Names, Database etc. Something I&#8217;d done many times before.
</p>
<p>I then went to navigate the SSP Administration site and got <strong>access denied</strong> no matter what account I used, SPFarm, SPAdmin, SSP Service Account, Local Administrator. I couldn&#8217;t understand it! I even deleted the SSP and recreated it doing it manually. Again I got <strong>access denied</strong>. I checked the database permissions and the AppPools, they seemed to be configured correctly.
</p>
<p>I did some Google searches and came across Faraz Khan <a href="http://faraz-khan.blogspot.com/2007/06/moss-2007-cannot-login-into-ssp.html">blog post</a> that seemed to be getting the same issue as me. Faraz suggested creating a new Application pool, but I did not understand why I would have to, again I&#8217;d used the scripts a number of times before.
</p>
<p>Reading through the comments I noticed that Scott had valid reason why I was experiencing this behaviour:
</p>
<p><em><strong>&#8220;DO NOT</strong> call you SSP the same name as the AppPool you use for the SSP Admin Site.<br/><br/>The SSP actually uses its name to create an AppPool for use under the Office Search site.<br/><br/>If your SSP Admin AppPool is the same name then MOSS sets it to use the timer svc account.&#8221;</em>
	</p>
<p>I had configured the script to create a SSP called &#8220;SharedServices&#8221; and the Application Pool called &#8220;SharedServices&#8221; as per the customer request. Low and behold after deleting the MySites and SharedServices Applications, changing the application pool to be &#8220;Shared Services AppPool&#8221; everything worked as expected.
</p>
<p>Now I know, this is nothing new and I&#8217;m sure that many people have had similar experiences, especially if they don&#8217;t use the default SSP name &#8220;SharedServices1&#8243;, but I thought that I would blog about it as I spent 2 hours trying to troubleshoot something that could have been easily avoided.
</p>
<p>Thanks again to Faraz and Scott. </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.domcosgrove.com/access-denied-when-accessing-shared-service-provided-ssp-web-application/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The breakpoint will not currently be hit. No symbols have been loaded for this document.</title>
		<link>http://blog.domcosgrove.com/the-breakpoint-will-not-currently-be-hit-no-symbols-have-been-loaded-for-this-document/</link>
		<comments>http://blog.domcosgrove.com/the-breakpoint-will-not-currently-be-hit-no-symbols-have-been-loaded-for-this-document/#comments</comments>
		<pubDate>Tue, 14 Dec 2010 12:46:25 +0000</pubDate>
		<dc:creator>Dominick Cosgrove</dc:creator>
				<category><![CDATA[Trouble Shooting]]></category>

		<guid isPermaLink="false">http://blog.domcosgrove.com/the-breakpoint-will-not-currently-be-hit-no-symbols-have-been-loaded-for-this-document/</guid>
		<description><![CDATA[This is more for self-reference than anything else, but may come in handy for others out there. When debugging an application in Visual studio I was setting a break point at a specific line of code. When running the application in debug mode, the breakpoint becomes a hollow red circle with a warning that says, [...]]]></description>
			<content:encoded><![CDATA[<p>This is more for self-reference than anything else, but may come in handy for others out there.
</p>
<p>When debugging an application in Visual studio I was setting a break point at a specific line of code. When running the application in debug mode, the breakpoint becomes a hollow red circle with a warning that says, &#8220;The breakpoint will not currently be hit. No symbols have been loaded for this document.&#8221;
</p>
<p><img src="http://blog.domcosgrove.com/wp-content/uploads/2010/12/121410_1246_Thebreakpoi11.jpg" alt=""/>
	</p>
<p>One of the first things I checked was that the application was being built in debug verses release mode. It was. I also deleted the obj &amp; bin folders.
</p>
<p>Other things tried included:
</p>
<ul>
<li>Deleting the ASP.Net temporary files;
</li>
<li>Rebuilding the project;
</li>
<li>Devenv.exe /ResetSettings
</li>
<li>Ensure that dll referenced in the GAC that are part of your custom solution are deleted;
</li>
<li>Copy the pdb file to the GAC where you assembly lives (<span style="color:#333333">C:\windows\assembly\GAC_MSIL\ &lt;assembly_version_number&gt;__&lt;assembly_public_token_key&gt;\Namespace.Project.dll)</span>
		</li>
</ul>
<p>The solution that worked for me in this instance was:
</p>
<ol>
<li>While debugging the application, click on Debug &gt; Windows &gt; Modules
</li>
<li>The Modules window will show all the modules that have been loaded for the project;
</li>
<li>By the module where the breakpoint is not found it will likely say that the Symbol file cannot be found or opened.
</li>
<li>You can right click the module and browse to your PDB file.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blog.domcosgrove.com/the-breakpoint-will-not-currently-be-hit-no-symbols-have-been-loaded-for-this-document/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Failure adding assembly to the cache</title>
		<link>http://blog.domcosgrove.com/failure-adding-assembly-to-the-cache/</link>
		<comments>http://blog.domcosgrove.com/failure-adding-assembly-to-the-cache/#comments</comments>
		<pubDate>Sun, 31 Jan 2010 19:51:00 +0000</pubDate>
		<dc:creator>Dominick Cosgrove</dc:creator>
				<category><![CDATA[Trouble Shooting]]></category>

		<guid isPermaLink="false">http://blog.domcosgrove.com/failure-adding-assembly-to-the-cache/</guid>
		<description><![CDATA[Issue When copying files to the GAC I occasionaly get the following message in the Visual Studio OutPut window on my development VPC: Failure adding assembly to the cache: Access denied. You might not have administrative credentials to perform this task. Contact your system administrator for assistance. Also I cannot see any assemblies in the [...]]]></description>
			<content:encoded><![CDATA[<h4>Issue</h4>
<p>When copying files to the GAC I occasionaly get the following message in the Visual Studio OutPut window on my development VPC:</p>
<p><i>Failure adding assembly to the cache: Access denied. You might not have administrative credentials to perform this task. Contact your system administrator for assistance.</i></p>
<p>Also I cannot see any assemblies in the GAC through Windows Explorer, while it is this state.</p>
<p><a href="http://blog.domcosgrove.com/wp-content/uploads/2010/02/clip_image0022.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image002" border="0" alt="clip_image002" src="http://blog.domcosgrove.com/wp-content/uploads/2010/02/clip_image002_thumb2.jpg" width="240" height="215" /></a></p>
<h4>Background </h4>
<p>When developing features for SharePoint, it is common practice to deploy only the Signed Assembly to the GAC, rather that re-deploying the whole SharePoint solution. Personally depending on the project I use one of two mechanisms:</p>
<h5>WSPBuilder – Copy to GAC</h5>
<p><a href="http://www.codeplex.com/wspbuilder">WSPBuilder</a> is my tool of choice for increasing productivity while developing SharePoint Solutions. One of the functions of WSPBuilder is <i>Copy to GAC</i>, which does exactly as the name suggest:</p>
<p><a href="http://blog.domcosgrove.com/wp-content/uploads/2010/02/clip_image0042.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image004" border="0" alt="clip_image004" src="http://blog.domcosgrove.com/wp-content/uploads/2010/02/clip_image004_thumb2.jpg" width="205" height="240" /></a></p>
<p>PostBuild Task    <br />Some clients don’t allow WSPBuilder to be installed or they prefer a more custom project structure. In these cases I tend to use Project Post Build Tasks. You can use the <b>Edit Post Build…</b> function to add parameters to your post build command, as shown below. I tend to use the GACUtil command to copy the assembly to the GAC and the iisapp.vbs to recycle the application pool. A sample script is show below. This is required to ensure that the Just In Time (JIT) compilation occurs again.</p>
<p><a href="http://blog.domcosgrove.com/wp-content/uploads/2010/02/clip_image0062.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image006" border="0" alt="clip_image006" src="http://blog.domcosgrove.com/wp-content/uploads/2010/02/clip_image006_thumb2.jpg" width="240" height="161" /></a></p>
<p><a href="http://blog.domcosgrove.com/wp-content/uploads/2010/02/clip_image0081.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image008" border="0" alt="clip_image008" src="http://blog.domcosgrove.com/wp-content/uploads/2010/02/clip_image008_thumb1.jpg" width="244" height="118" /></a></p>
<p>&quot;%programfiles%\Microsoft Visual Studio 8\SDK\v2.0\Bin\GacUtil.exe&quot; /if &quot;$(TargetPath)&quot; /nologo    <br />&quot;%systemroot%\system32\iisapp.vbs&quot; /a &quot;SharePoint &#8211; 9000&quot; /r</p>
<h4>Resolution</h4>
<p>Although I cannot actually explain what is causing this issue, I found that if you restart the <b>Indexing Service</b> through the Windows Services Management Console, the problem is resolved.</p>
<p>If anyone has an explanation as to why this occurs I would be grateful.</p>
<p><a href="http://blog.domcosgrove.com/wp-content/uploads/2010/02/clip_image0101.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image010" border="0" alt="clip_image010" src="http://blog.domcosgrove.com/wp-content/uploads/2010/02/clip_image010_thumb1.jpg" width="244" height="173" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.domcosgrove.com/failure-adding-assembly-to-the-cache/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>MSDN File Transfer Manager (FTM) Issue</title>
		<link>http://blog.domcosgrove.com/msdn-file-transfer-manager-ftm-issue/</link>
		<comments>http://blog.domcosgrove.com/msdn-file-transfer-manager-ftm-issue/#comments</comments>
		<pubDate>Sat, 07 Nov 2009 09:37:00 +0000</pubDate>
		<dc:creator>Dominick Cosgrove</dc:creator>
				<category><![CDATA[Random]]></category>
		<category><![CDATA[Trouble Shooting]]></category>

		<guid isPermaLink="false">http://blog.domcosgrove.com/msdn-file-transfer-manager-ftm-issue/</guid>
		<description><![CDATA[If like me you’ve recently updated to Windows 7 (which generally I find a real improvement over Vista) you may have difficulties downloading products from the MSDN site using the Microsoft MSDN File Transfer Manager (TFM). Now I have to be honest I’m not sure if this is an issue with Windows 7 or Internet [...]]]></description>
			<content:encoded><![CDATA[<p align="justify">If like me you’ve recently updated to <strong>Windows 7</strong> (which generally I find a real improvement over Vista) you may have difficulties downloading products from the MSDN site using the <em>Microsoft MSDN File Transfer Manager (TFM)</em>. Now I have to be honest I’m not sure if this is an issue with Windows 7 or <strong>Internet Explorer 8 (IE8)</strong>. My gut feeling is it is a issue with IE8. Either way if you are having issues downloading files from the MSDN download site, then you need to manually download and install it from:</p>
<p><a href="http://transfers.ds.microsoft.com/ftm/default.aspx?target=install" target="_blank">Microsoft MSDN File Transfer Manager</a></p>
<p align="justify">Also if your Corporate Group Policy requires you to have Administrative privileges to install ActiveX controls then you can use the above link to download and install.</p>
<p align="justify">There is an alternative download manager from Akamai, for those not using Internet Explorer or FireFox on Windows:</p>
<p align="justify"><a href="http://msdn.microsoft.com/bb153537.aspx">Akamai Download Manager</a>.</p>
<p align="justify"><strong>Note:</strong> <em>FTM is implemented as an ActiveX control and is a 32-bit application, so you may need to run your 64-bit browser in 32-bit mode.</em></p>
<p>More information can be found on the <a href="http://msdn.microsoft.com/en-us/subscriptions/bb497972.aspx" target="_blank">File Transfer Manager Help</a> pages.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.domcosgrove.com/msdn-file-transfer-manager-ftm-issue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unable to enter text into text boxes in Internet Explorer</title>
		<link>http://blog.domcosgrove.com/unable-to-enter-text-into-text-boxes-in-internet-explorer/</link>
		<comments>http://blog.domcosgrove.com/unable-to-enter-text-into-text-boxes-in-internet-explorer/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 16:34:07 +0000</pubDate>
		<dc:creator>Dominick Cosgrove</dc:creator>
				<category><![CDATA[Trouble Shooting]]></category>

		<guid isPermaLink="false">http://blog.domcosgrove.com/unable-to-enter-text-into-text-boxes-in-internet-explorer/</guid>
		<description><![CDATA[If you are experiencing the following symptoms: Unable to enter text into text boxes; The About box fields indicating the browser version and patch level, are blank ; Unable to right-click on pages; Unable to select text in a HTML document or a Web page; When you open the About box, the following error occurs [...]]]></description>
			<content:encoded><![CDATA[<p align="justify">If you are experiencing the following symptoms:</p>
<li>Unable to enter text into text boxes; </li>
<li>The About box fields indicating the browser version and patch level, are blank ;    <br /> 
<p align="center"><a href="http://blog.domcosgrove.com/wp-content/uploads/2009/09/image10.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blog.domcosgrove.com/wp-content/uploads/2009/09/image_thumb10.png" width="244" height="215" /></a></p>
</li>
<li>Unable to right-click on pages; </li>
<li>Unable to select text in a HTML document or a Web page; </li>
<li>When you open the About box, the following error occurs and the dialog closes;    <br /> 
<p><a href="http://blog.domcosgrove.com/wp-content/uploads/2009/09/image11.png"><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="image" border="0" alt="image" src="http://blog.domcosgrove.com/wp-content/uploads/2009/09/image_thumb11.png" width="271" height="230" /></a> </p>
<p>You need to either reinstall Internet Explorer or run the following commands:</p>
<blockquote><p><b>REGSVR32 MSHTMLED.DLL</b></p>
<p><b>REGSVR32 JSCRIPT.DLL</b></p>
<p><b>REGSVR32 /i MSHTML.DLL</b></p>
</blockquote>
</li>
]]></content:encoded>
			<wfw:commentRss>http://blog.domcosgrove.com/unable-to-enter-text-into-text-boxes-in-internet-explorer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Backup File Size is different to what is displayed in the enumsites!</title>
		<link>http://blog.domcosgrove.com/backup-file-size-is-different-to-what-is-displayed-in-the-enumsites/</link>
		<comments>http://blog.domcosgrove.com/backup-file-size-is-different-to-what-is-displayed-in-the-enumsites/#comments</comments>
		<pubDate>Thu, 10 Sep 2009 10:04:11 +0000</pubDate>
		<dc:creator>Dominick Cosgrove</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Trouble Shooting]]></category>
		<category><![CDATA[Backup]]></category>
		<category><![CDATA[stsadm]]></category>

		<guid isPermaLink="false">http://blog.domcosgrove.com/backup-file-size-is-different-to-what-is-displayed-in-the-enumsites/</guid>
		<description><![CDATA[While assisting a client in moving content from one environment to another for testing purposes, it was noticed that the site of the stsadm backup file was considerably larger than the Content Database size as defined in the stsadm enumsites report. As can be seen in the from the out put of the enumsites, the [...]]]></description>
			<content:encoded><![CDATA[<p align="justify">While assisting a client in moving content from one environment to another for testing purposes, it was noticed that the site of the stsadm backup file was considerably larger than the Content Database size as defined in the stsadm enumsites report.</p>
<p align="justify">As can be seen in the from the out put of the enumsites, the StorageUsedMB for the HRTemp site collection is reported to be 158.4 MB. However the size of the backup file is 3.1 GB.</p>
<div>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet">

<span style="color: #0000ff">&lt;</span><span style="color: #800000">Sites</span> <span style="color: #ff0000">Count</span><span style="color: #0000ff">=&quot;5&quot;</span><span style="color: #0000ff">&gt;</span>  <span style="color: #0000ff">&lt;</span><span style="color: #800000">Site</span> <span style="color: #ff0000">Url</span><span style="color: #0000ff">=<a href="http://portal">http://portal</a></span> <span style="color: #ff0000">Owner</span><span style="color: #0000ff">=&quot;domain\spadmin&quot;</span> <span style="color: #ff0000">ContentDatabase</span><span style="color: #0000ff">=&quot;WSS_Content&quot;</span><span style="color: #ff0000">StorageUsedMB</span><span style="color: #0000ff">=&quot;1.7&quot;</span> <span style="color: #ff0000">StorageWarningMB</span><span style="color: #0000ff">=&quot;0&quot;</span> <span style="color: #ff0000">StorageMaxMB</span><span style="color: #0000ff">=&quot;0&quot;</span> <span style="color: #0000ff">/&gt;</span>  <span style="color: #0000ff">&lt;</span><span style="color: #800000">Site</span> <span style="color: #ff0000">Url</span><span style="color: #0000ff">=&quot;http://portal/teamsite/hr&quot;</span> <span style="color: #ff0000">Owner</span><span style="color: #0000ff">=&quot;domain\spadmin&quot;</span>  <span style="color: #ff0000">ContentDatabase</span><span style="color: #0000ff">=&quot;WSS_Content_HR2&quot;</span> <span style="color: #ff0000">StorageUsedMB</span><span style="color: #0000ff">=&quot;3171.1&quot;</span> <span style="color: #ff0000">Stora</span><span style="color: #ff0000">geWarningMB</span><span style="color: #0000ff">=&quot;0&quot;</span> <span style="color: #ff0000">StorageMaxMB</span><span style="color: #0000ff">=&quot;0&quot;</span> <span style="color: #0000ff">/&gt;</span>  <span style="color: #0000ff">&lt;</span><span style="color: #800000">Site</span> <span style="color: #ff0000">Url</span><span style="color: #0000ff">=&quot;http://portal/teamsite/HRTemp&quot;</span> <span style="color: #ff0000">Owner</span><span style="color: #0000ff">=&quot;domain\spadmin&quot;</span>  <span style="color: #ff0000">ContentDatabase</span><span style="color: #0000ff">=&quot;WSS_Content_Temp&quot;</span> <span style="color: #ff0000">StorageUsedMB</span><span style="color: #0000ff">=&quot;158.4&quot;</span> <span style="color: #ff0000">S</span><span style="color: #ff0000">torageWarningMB</span><span style="color: #0000ff">=&quot;0&quot;</span> <span style="color: #ff0000">StorageMaxMB</span><span style="color: #0000ff">=&quot;0&quot;</span> <span style="color: #0000ff">/&gt;</span>  <span style="color: #0000ff">&lt;</span><span style="color: #800000">Site</span> <span style="color: #ff0000">Url</span><span style="color: #0000ff">=&quot;http://portal/teamsite/it&quot;</span> <span style="color: #ff0000">Owner</span><span style="color: #0000ff">=&quot;domain\spadmin&quot; </span><span style="color: #ff0000">ContentDatabase</span><span style="color: #0000ff">=&quot;WSS_Content_IT&quot;</span> <span style="color: #ff0000">StorageUsedMB</span><span style="color: #0000ff">=&quot;8840.7&quot;</span> <span style="color: #ff0000">StorageWarni</span><span style="color: #ff0000">ngMB</span><span style="color: #0000ff">=&quot;0&quot;</span> <span style="color: #ff0000">StorageMaxMB</span><span style="color: #0000ff">=&quot;0&quot;</span> <span style="color: #0000ff">/&gt;</span>  <span style="color: #0000ff">&lt;</span><span style="color: #800000">Site</span> <span style="color: #ff0000">Url</span><span style="color: #0000ff">=&quot;http://portal/teamsite/research&quot;</span> <span style="color: #ff0000">Owner</span><span style="color: #0000ff">=&quot;domain\spadmin&quot; </span><span style="color: #ff0000">ContentDatabase</span><span style="color: #0000ff">=&quot;WSS_Content_Research&quot;</span> <span style="color: #ff0000">StorageUsedMB</span><span style="color: #0000ff">=&quot;14.5&quot;</span> <span style="color: #ff0000">St</span><span style="color: #ff0000">orageWarningMB</span><span style="color: #0000ff">=&quot;0&quot;</span> <span style="color: #ff0000">StorageMaxMB</span><span style="color: #0000ff">=&quot;0&quot;</span> <span style="color: #0000ff">/&gt;</span><span style="color: #0000ff">&lt;/</span><span style="color: #800000">Sites</span><span style="color: #0000ff">&gt;</span>
</pre>
</div>
<div>&#160;</div>
<div>I asked if they had deleted any files and if so had they deleted the files from the recycle bin. They said that they had deleted files and removed them from the recycle bin. As it transpires they had removed the files from the users recycle bin and not the site collection recycle bin.&#160; </div>
<p><a href="http://blog.domcosgrove.com/wp-content/uploads/2009/09/image1.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blog.domcosgrove.com/wp-content/uploads/2009/09/image_thumb1.png" width="598" height="182" /></a></p>
<p>Once the files were removed from the site collection recycle bin the backup file was reduced to the expected size.</p>
<p>It is therefore important to ensure that files are deleted and removed from the recycle bin properly before executing a stsadm backup as files in the recycle bin for the site collection will also be backed up and this will not be reflected in the enumsites report.</p>
<p><strong><u>Note:</u></strong> You can disable the recycle bin thus purging the recycle bin using the setproperty method of the stsadm command. Beware that this property is for the Web Application and not the site collection, and will as a result empty (delete) the recycle bins for all site collections in the web application. This is OK for testing purposes, but not recommended in production environments.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.domcosgrove.com/backup-file-size-is-different-to-what-is-displayed-in-the-enumsites/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

