<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Mark Arend : Solutions</title><link>http://blogs.msdn.com/markarend/archive/tags/Solutions/default.aspx</link><description>Tags: Solutions</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Visual Studio Extensions (VSe) Deploy Failed (for SharePoint Solution)</title><link>http://blogs.msdn.com/markarend/archive/2007/05/16/visual-studio-extensions-vse-deploy-failed-for-sharepoint-solution.aspx</link><pubDate>Wed, 16 May 2007 17:32:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2674089</guid><dc:creator>markarend</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/markarend/comments/2674089.aspx</comments><wfw:commentRss>http://blogs.msdn.com/markarend/commentrss.aspx?PostID=2674089</wfw:commentRss><description>&lt;P&gt;When using Visual Studio 2005 extensions for Windows SharePoint Services 3.0 to deploy a solution, you may see "Deploy started" then &lt;STRONG&gt;Deploy failed&lt;/STRONG&gt;" in the status window and the error "&lt;STRONG&gt;'Object reference not set to an instance of an object."&lt;/STRONG&gt; in the Error List window.&amp;nbsp; Typical behavior is that the solution deployment works at first, possibly even for many deployments in a row, then at some point this error begins to appear and you can't deploy the solution any more.&lt;/P&gt;
&lt;P&gt;A workaround that fixes this problem for me is as follows:&lt;/P&gt;
&lt;P&gt;1. Close Visual Studio 2005.&lt;/P&gt;
&lt;P&gt;2. Uninstall (retract and remove)&amp;nbsp;all deployed solutions.&amp;nbsp; You only need to uninstall the ones you want to redeploy.&amp;nbsp; The quickest way to uninstall is to open a command window to the directory of your &lt;STRONG&gt;Project\bin\debug&lt;/STRONG&gt; folder and enter &lt;STRONG&gt;setup /uninstall&lt;/STRONG&gt;.&amp;nbsp; This runs faster than the solution management page in central administration (that one's performed by a timer job, which has a "now" setting but still seems to take a minute to launch itself).&lt;/P&gt;
&lt;P&gt;3. IISRESET.&amp;nbsp; Oh, iisreset, what would we do without you?&lt;/P&gt;
&lt;P&gt;4. Open you solution in VS2005 again and Deploy Solution from the Build menu, or you can Deploy &amp;lt;project&amp;gt; to get just the ones you uninstalled in step 2.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this doesn't work for you,&amp;nbsp;a discussion at &lt;A href="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1165399&amp;amp;SiteID=1" mce_href="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1165399&amp;amp;SiteID=1"&gt;http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1165399&amp;amp;SiteID=1&lt;/A&gt;&amp;nbsp;may give some additional clues.&amp;nbsp; This theorizes the Object reference error stems from the deployment code trying to enumerate features that have a null definition property, and&amp;nbsp;this prompted me to try the above steps.&amp;nbsp; These have worked several times now for me, so I'm hoping this is the case.&lt;/P&gt;
&lt;P&gt;Good luck!&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=2674089" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/markarend/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://blogs.msdn.com/markarend/archive/tags/Features/default.aspx">Features</category><category domain="http://blogs.msdn.com/markarend/archive/tags/Solutions/default.aspx">Solutions</category><category domain="http://blogs.msdn.com/markarend/archive/tags/Development/default.aspx">Development</category><category domain="http://blogs.msdn.com/markarend/archive/tags/VSeWSS/default.aspx">VSeWSS</category></item></channel></rss>