<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Cannot add the specified assembly to the global assembly cache</title>
	<atom:link href="http://powerpivotgeek.com/2010/02/12/cannot-add-the-specified-assembly-to-the-global-assembly-cache/feed/" rel="self" type="application/rss+xml" />
	<link>http://powerpivotgeek.com/2010/02/12/cannot-add-the-specified-assembly-to-the-global-assembly-cache/</link>
	<description>An adventure in managed self-service computing</description>
	<lastBuildDate>Sun, 22 Jan 2012 01:58:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: marrisa</title>
		<link>http://powerpivotgeek.com/2010/02/12/cannot-add-the-specified-assembly-to-the-global-assembly-cache/comment-page-1/#comment-2566</link>
		<dc:creator>marrisa</dc:creator>
		<pubDate>Sun, 24 Oct 2010 10:10:54 +0000</pubDate>
		<guid isPermaLink="false">http://powerpivotgeek.com/2010/02/12/cannot-add-the-specified-assembly-to-the-global-assembly-cache/#comment-2566</guid>
		<description>Good.  don’t  forget to check out  &lt;a&gt;the other articles&lt;/a&gt; if you haven’t already</description>
		<content:encoded><![CDATA[<p>Good.  don’t  forget to check out  <a>the other articles</a> if you haven’t already</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew Maisey</title>
		<link>http://powerpivotgeek.com/2010/02/12/cannot-add-the-specified-assembly-to-the-global-assembly-cache/comment-page-1/#comment-1447</link>
		<dc:creator>Andrew Maisey</dc:creator>
		<pubDate>Wed, 30 Jun 2010 10:56:05 +0000</pubDate>
		<guid isPermaLink="false">http://powerpivotgeek.com/2010/02/12/cannot-add-the-specified-assembly-to-the-global-assembly-cache/#comment-1447</guid>
		<description>Be sure to run stsadm as a SharePoint admin account. You could do this by right clicking the CMD command prompt and selecting Run As....  The process account will need access to your assembly directory, 12 hive etc.

...the error will be the result of a failed file copy (missing DLL in the GAC) as you should see in Central Administration under the Solution Management. Hence dropping the DLLs to the application BIN directory as mentioned in other blog posts get around this but is not the most ideal solution.

 

I would also suggest the following stsadm deployment command for a good manual deploy:

stsadm -o addsolution -filename c:\yyy\xxx.wsp
stsadm -o deploysolution -name xxx.wsp -url http://xxx -immediate -allowgacdeployment -force
then follow this up with an:

stsadm -o execadmsvcjobs
Then go back into Central Administration and check your solution deployment there. Make sure there are no red error messages against your solution. Then re-load your SharePoint web application instance and after a short compile time, all should be well again.</description>
		<content:encoded><![CDATA[<p>Be sure to run stsadm as a SharePoint admin account. You could do this by right clicking the CMD command prompt and selecting Run As&#8230;.  The process account will need access to your assembly directory, 12 hive etc.</p>
<p>&#8230;the error will be the result of a failed file copy (missing DLL in the GAC) as you should see in Central Administration under the Solution Management. Hence dropping the DLLs to the application BIN directory as mentioned in other blog posts get around this but is not the most ideal solution.</p>
<p>I would also suggest the following stsadm deployment command for a good manual deploy:</p>
<p>stsadm -o addsolution -filename c:\yyy\xxx.wsp<br />
stsadm -o deploysolution -name xxx.wsp -url <a href="http://xxx" rel="nofollow">http://xxx</a> -immediate -allowgacdeployment -force<br />
then follow this up with an:</p>
<p>stsadm -o execadmsvcjobs<br />
Then go back into Central Administration and check your solution deployment there. Make sure there are no red error messages against your solution. Then re-load your SharePoint web application instance and after a short compile time, all should be well again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cannot add the specified assembly to the global assembly cache &#171; PowerPivot Twins!</title>
		<link>http://powerpivotgeek.com/2010/02/12/cannot-add-the-specified-assembly-to-the-global-assembly-cache/comment-page-1/#comment-391</link>
		<dc:creator>Cannot add the specified assembly to the global assembly cache &#171; PowerPivot Twins!</dc:creator>
		<pubDate>Sun, 14 Feb 2010 05:19:01 +0000</pubDate>
		<guid isPermaLink="false">http://powerpivotgeek.com/2010/02/12/cannot-add-the-specified-assembly-to-the-global-assembly-cache/#comment-391</guid>
		<description>[...] Read more&#8230; [...]</description>
		<content:encoded><![CDATA[<p>[...] Read more&#8230; [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

