<?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>Everyday Nerd &#187; SQL</title>
	<atom:link href="http://everydaynerd.com/category/microsoft/sql/feed" rel="self" type="application/rss+xml" />
	<link>http://everydaynerd.com</link>
	<description>Just your everyday nerd</description>
	<lastBuildDate>Mon, 21 Nov 2011 17:55:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<image>
  <link>http://everydaynerd.com</link>
  <url>http://everydaynerd.com/apple-touch-icon.png</url>
  <title>Everyday Nerd</title>
</image>
		<item>
		<title>SQL 2005 Install Fails Immediately</title>
		<link>http://everydaynerd.com/microsoft/software-microsoft/sql/sql-2005-install-fails-immediately</link>
		<comments>http://everydaynerd.com/microsoft/software-microsoft/sql/sql-2005-install-fails-immediately#comments</comments>
		<pubDate>Wed, 22 Oct 2008 19:42:00 +0000</pubDate>
		<dc:creator>Nerd</dc:creator>
				<category><![CDATA[DPM]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://nerd45.wordpress.com/2008/10/22/sql-2005-install-fails-immediately</guid>
		<description><![CDATA[I&#8217;ve had my problems with installing DPM before, but this was a new one!  DPM setup started ok, but as soon as it got to the SQL install portion, the installer failed, with this error message: Microsoft SQL Server 2005 &#8230; <a class="more-link" href="http://everydaynerd.com/microsoft/software-microsoft/sql/sql-2005-install-fails-immediately">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://everydaynerd.com/microsoft/software-microsoft/dpm/dpm-install-issue-error-3023-when-installing' rel='bookmark' title='DPM Install Issue: Error 3023 when installing'>DPM Install Issue: Error 3023 when installing</a></li>
<li><a href='http://everydaynerd.com/microsoft/free-e-book-introducing-sql-server-2008' rel='bookmark' title='Free e-Book: Introducing SQL Server 2008'>Free e-Book: Introducing SQL Server 2008</a></li>
<li><a href='http://everydaynerd.com/software/install-freeware-from-command-line' rel='bookmark' title='Install Freeware from Command line'>Install Freeware from Command line</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve had my problems with <a target="_blank" href="http://dpmstyle.everydaynerd.com/2008/09/dpm-install-issue-error-3023-when.html">installing DPM before</a>, but this was a new one!  DPM setup started ok, but as <strong>soon</strong> as it got to the SQL install portion, the installer failed, with this error message:</p>
<blockquote><p>Microsoft SQL Server 2005 Setup     <br />SQL Server Setup unexpectedly failed. For more information, review the Setup summary log file in %ProgramFiles%\Microsoft SQL Server\90\Setup Bootstrap\LOG\Summary.txt. </p>
</blockquote>
<p>The setup log wasn&#8217;t much help either:</p>
<blockquote><p><font color="#800000">Microsoft SQL Server 2005 9.00.1399.06        <br />==============================         <br />OS Version      : Microsoft Windows Server 2003 family, Enterprise Edition Service Pack 2 (Build 3790)         <br />Time            : Wed Oct 22 15:29:15 2008</font> </p>
</blockquote>
<p>Yeah, lots of help there&#8230; thanks&#8230;</p>
<p>Well, there is a folder ( %ProgramFiles%\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files ) that had a couple of log files too, and it led me towards actual errors:</p>
<blockquote><p><font color="#800000">Microsoft SQL Server 2005 Setup beginning at Mon Oct 20 17:07:59 2008       <br />Process ID      : 3364        <br />D:\Sources\DPM2007\64bit\DPM2007_64bit\SQLSVR2005\Servers\setup.exe Version: 2005.90.1399.0        <br />Running: LoadResourcesAction at: 2008/9/20 17:7:59        <br />Complete: LoadResourcesAction at: 2008/9/20 17:7:59, returned true        <br />Running: ParseBootstrapOptionsAction at: 2008/9/20 17:7:59        <br />Loaded DLL:D:\Sources\DPM2007\64bit\DPM2007_64bit\SQLSVR2005\Servers\xmlrw.dll Version:2.0.3604.0        <br />Complete: ParseBootstrapOptionsAction at: 2008/9/20 17:7:59, returned false        <br />Error: Action &#8220;ParseBootstrapOptionsAction&#8221; failed during execution.  Error information reported during run:        <br />Could not parse command line due to datastore exception.        <br />  Source File Name: utillib\persisthelpers.cpp        <br />Compiler Timestamp: Fri Jul 29 01:13:55 2005        <br />     Function Name: writeEncryptedString        <br />Source Line Number: 124        <br />&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-        <br />writeEncryptedString() failed        <br />      Source File Name: utillib\persisthelpers.cpp        <br />    Compiler Timestamp: Fri Jul 29 01:13:55 2005        <br />         Function Name: writeEncryptedString        <br />    Source Line Number: 123        <br />    &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-        <br />            Error Code: 0&#215;80070002 (2)        <br />Windows Error Text: The system cannot find the file specified. </font></p>
<p><font color="#800000">  Source File Name: cryptohelper\cryptsameusersamemachine.cpp       <br />Compiler Timestamp: Mon Jun 13 14:30:00 2005        <br />     Function Name: sqls::CryptSameUserSameMachine::ProtectData        <br />Source Line Number: 50 </font></p>
<p><font color="#800000">2       <br />Could not skip Component update due to datastore exception.        <br />  Source File Name: datastore\cachedpropertycollection.cpp        <br />Compiler Timestamp: Fri Jul 29 01:13:49 2005        <br />     Function Name: CachedPropertyCollection::findProperty        <br />Source Line Number: 130        <br />&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-        <br />Failed to find property &#8220;InstallMediaPath&#8221; {&#8220;SetupBootstrapOptionsScope&#8221;, &#8220;&#8221;, &#8220;3364&#8243;} in cache        <br />      Source File Name: datastore\propertycollection.cpp        <br />    Compiler Timestamp: Fri Jul 29 01:13:50 2005        <br />         Function Name: SetupBootstrapOptionsScope.InstallMediaPath        <br />    Source Line Number: 44        <br />    &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-        <br />    No collector registered for scope: &#8220;SetupBootstrapOptionsScope&#8221;        <br />Running: ValidateWinNTAction at: 2008/9/20 17:7:59        <br />Complete: ValidateWinNTAction at: 2008/9/20 17:7:59, returned true        <br />Running: ValidateMinOSAction at: 2008/9/20 17:7:59        <br />Complete: ValidateMinOSAction at: 2008/9/20 17:7:59, returned true        <br />Running: PerformSCCAction at: 2008/9/20 17:7:59        <br />Complete: PerformSCCAction at: 2008/9/20 17:7:59, returned true        <br />Running: ActivateLoggingAction at: 2008/9/20 17:7:59        <br />Error: Action &#8220;ActivateLoggingAction&#8221; threw an exception during execution.  Error information reported during run:        <br />Datastore exception while trying to write logging properties.        <br />  Source File Name: datastore\cachedpropertycollection.cpp        <br />Compiler Timestamp: Fri Jul 29 01:13:49 2005        <br />     Function Name: CachedPropertyCollection::findProperty        <br />Source Line Number: 130        <br />&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-        <br />Failed to find property &#8220;primaryLogFiles&#8221; {&#8220;SetupStateScope&#8221;, &#8220;&#8221;, &#8220;&#8221;} in cache        <br />      Source File Name: datastore\propertycollection.cpp        <br />    Compiler Timestamp: Fri Jul 29 01:13:50 2005        <br />         Function Name: SetupStateScope.primaryLogFiles        <br />    Source Line Number: 44        <br />    &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-        <br />    No collector registered for scope: &#8220;SetupStateScope&#8221;        <br />0000000000F4AF90Unable to proceed with setup, there was a command line parsing error. : 2        <br />        Error Code: 0&#215;80070002 (2)        <br />Windows Error Text: The system cannot find the file specified. </font></p>
<p><font color="#800000">  Source File Name: datastore\propertycollection.cpp       <br />Compiler Timestamp: Fri Jul 29 01:13:50 2005        <br />     Function Name: SetupBootstrapOptionsScope.InstallMediaPath        <br />Source Line Number: 44 </font></p>
<p><font color="#800000">Class not registered.       <br />Failed to create CAB file due to datastore exception        <br />  Source File Name: datastore\cachedpropertycollection.cpp        <br />Compiler Timestamp: Fri Jul 29 01:13:49 2005        <br />     Function Name: CachedPropertyCollection::findProperty        <br />Source Line Number: 130        <br />&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-        <br />Failed to find property &#8220;HostSetup&#8221; {&#8220;SetupBootstrapOptionsScope&#8221;, &#8220;&#8221;, &#8220;3364&#8243;} in cache        <br />      Source File Name: datastore\propertycollection.cpp        <br />    Compiler Timestamp: Fri Jul 29 01:13:50 2005        <br />         Function Name: SetupBootstrapOptionsScope.HostSetup        <br />    Source Line Number: 44        <br />    &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-        <br />    No collector registered for scope: &#8220;SetupBootstrapOptionsScope&#8221;        <br />Message pump returning: 2</font></p>
</blockquote>
<p>Looked like a dump to me.  Well, long story short, and a couple of days of frustration, I found out that the OS was a custom install by the server team, and it was a custom install.  Needless to say, I was just missing one registry key.</p>
<blockquote><p><strong><font color="#800000">HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User          <br />Shell Folders\AppData</font></strong></p>
</blockquote>
<p>It seems the key had been messed up in the build of the OS. The key should be a REG_EXPAND_SZ and set to:</p>
<blockquote><p><font color="#800000"><strong>%USERPROFILE%\Application Data</strong></font></p>
</blockquote>
<p>Hope this helps somebody!</p>
<p>Related posts:<ol>
<li><a href='http://everydaynerd.com/microsoft/software-microsoft/dpm/dpm-install-issue-error-3023-when-installing' rel='bookmark' title='DPM Install Issue: Error 3023 when installing'>DPM Install Issue: Error 3023 when installing</a></li>
<li><a href='http://everydaynerd.com/microsoft/free-e-book-introducing-sql-server-2008' rel='bookmark' title='Free e-Book: Introducing SQL Server 2008'>Free e-Book: Introducing SQL Server 2008</a></li>
<li><a href='http://everydaynerd.com/software/install-freeware-from-command-line' rel='bookmark' title='Install Freeware from Command line'>Install Freeware from Command line</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://everydaynerd.com/microsoft/software-microsoft/sql/sql-2005-install-fails-immediately/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Free e-Book: Introducing SQL Server 2008</title>
		<link>http://everydaynerd.com/microsoft/free-e-book-introducing-sql-server-2008</link>
		<comments>http://everydaynerd.com/microsoft/free-e-book-introducing-sql-server-2008#comments</comments>
		<pubDate>Wed, 24 Sep 2008 16:44:31 +0000</pubDate>
		<dc:creator>Nerd</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://everydaynerd.com/microsoft/free-e-book-introducing-sql-server-2008</guid>
		<description><![CDATA[Microsoft Press has a free e-book offer up for grabs. This e-book walks through some of the major new features in SQL Server 2008, including security, administration, and performance, and is a must read for any SQL junkie! Included Chapters: &#8230; <a class="more-link" href="http://everydaynerd.com/microsoft/free-e-book-introducing-sql-server-2008">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://everydaynerd.com/general/update-free-server-visual-studio-and-sql-2008' rel='bookmark' title='Update: (Free: Server, Visual Studio, and SQL 2008)'>Update: (Free: Server, Visual Studio, and SQL 2008)</a></li>
<li><a href='http://everydaynerd.com/software/free/free-server-visual-studio-and-sql-2008' rel='bookmark' title='Free: Server, Visual Studio, and SQL 2008'>Free: Server, Visual Studio, and SQL 2008</a></li>
<li><a href='http://everydaynerd.com/software/free/free-e-book-powershell' rel='bookmark' title='Free E-Book: PowerShell'>Free E-Book: PowerShell</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><img title="" height="88" alt="" src="http://everydaynerd.com/wp-content/plugins/hot-linked-image-cacher/upload/redmondpie.com/wp-content/uploads/2008/09/image27.png" width="207" align="left" border="0" />Microsoft Press has a free e-book offer up for grabs. </p>
<p>This e-book walks through some of the major new features in SQL Server 2008, including security, administration, and performance, and is a must read for any SQL junkie! <img src='http://everydaynerd.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />    </p>
<p><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="386" alt="front" src="http://everydaynerd.com/wp-content/uploads/2008/09/front.png" width="238" border="0" /> </p>
<p><strong></strong></p>
<p><strong>Included Chapters:</strong></p>
<p>Introducing Microsoft SQL Server 2008:    <br />Chapter 1: Security and Administration     <br />Chapter 2: Performance     <br />Chapter 3: Type System     <br />Chapter 4: Programmability     <br />Chapter 5: Storage     <br />Chapter 6: Enhancements for High Availability     <br />Chapter 7: Business Intelligence Enhancements</p>
<p><a href="http://www.redmondpie.com/wp-content/uploads/2008/09/sql.png"></a></p>
<p>&#160;</p>
<p><a href="http://csna01.libredigital.com/?urss1q2we6"><strong>Download: Introducing Microsoft SQL Server 2008</strong></a>&#160;</p>
<p>(You will need to register in order to download your free copy)</p>
<p>Related posts:<ol>
<li><a href='http://everydaynerd.com/general/update-free-server-visual-studio-and-sql-2008' rel='bookmark' title='Update: (Free: Server, Visual Studio, and SQL 2008)'>Update: (Free: Server, Visual Studio, and SQL 2008)</a></li>
<li><a href='http://everydaynerd.com/software/free/free-server-visual-studio-and-sql-2008' rel='bookmark' title='Free: Server, Visual Studio, and SQL 2008'>Free: Server, Visual Studio, and SQL 2008</a></li>
<li><a href='http://everydaynerd.com/software/free/free-e-book-powershell' rel='bookmark' title='Free E-Book: PowerShell'>Free E-Book: PowerShell</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://everydaynerd.com/microsoft/free-e-book-introducing-sql-server-2008/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

