
<?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>The Hard Way</title>
	<atom:link href="http://coding.geniusinprogress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://coding.geniusinprogress.com</link>
	<description>Figuring it out the hard way so you don't have to</description>
	<lastBuildDate>Wed, 24 Feb 2010 20:49:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Problems connecting to Microsoft SSAS 2008</title>
		<link>http://coding.geniusinprogress.com/2010/02/24/problems-connecting-to-microsoft-ssas-2008/</link>
		<comments>http://coding.geniusinprogress.com/2010/02/24/problems-connecting-to-microsoft-ssas-2008/#comments</comments>
		<pubDate>Wed, 24 Feb 2010 20:47:36 +0000</pubDate>
		<dc:creator>Ricke</dc:creator>
				<category><![CDATA[Microsoft SQL Server Analysis Services]]></category>
		<category><![CDATA[could not connect]]></category>
		<category><![CDATA[SQL Server Analysis Services]]></category>
		<category><![CDATA[SSAS]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://coding.geniusinprogress.com/?p=15</guid>
		<description><![CDATA[One of our workstations at the office developed issues connecting to Microsoft SQL Server Analysis Services 2008 on one specific server. No users on the workstation could connect to AS on one server, though they could connect to other AS servers. The same users could connect to the server from a different workstation. The issue [...]]]></description>
			<content:encoded><![CDATA[<p>One of our workstations at the office developed issues connecting to Microsoft SQL Server Analysis Services 2008 on one specific server. No users on the workstation could connect to AS on one server, though they could connect to other AS servers. The same users could connect to the server from a different workstation. The issue appeared to be specifically between one workstation and one server. The client was Windows 7, and the server Windows 2003.</p>
<p>When connecting with SQL Server Management Studio, an error would pop up almost immediately stating &#8220;An existing connection was forcibly closed by the remote host.&#8221; If we tried connecting through Excel 2007&#8217;s external data wizard, we got the error &#8220;The following system error occurred: The security database on the server does not have a computer account for this workstation trust relationship.&#8221;</p>
<p>After a good deal of searching, I finally found a suggestion for a solution at the following link:</p>
<p><a href="http://social.msdn.microsoft.com/Forums/en/sqlanalysisservices/thread/b058635f-6d3e-4240-a555-1dbd945ae25a">http://social.msdn.microsoft.com/Forums/en/sqlanalysisservices/thread/b058635f-6d3e-4240-a555-1dbd945ae25a</a></p>
<p>About 2/3 of the way down the page, user hesmith posts a comment with the solution. He suggests three different options, all of which should work, from what I&#8217;ve read. However, the one I tried was option 2, which suggested uninstalling the Windows Live Sign-in Assistant (if it&#8217;s installed, it will be listed under Programs and Features). Uninstalling it and rebooting the computer resolved the problem immediately, and connecting to Analysis Services once again worked.</p>
]]></content:encoded>
			<wfw:commentRss>http://coding.geniusinprogress.com/2010/02/24/problems-connecting-to-microsoft-ssas-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;Access is denied&#8221; connecting to WAS-hosted WCF service using impersonation</title>
		<link>http://coding.geniusinprogress.com/2008/07/10/access-is-denied-connecting-to-was-hosted-wcf-service-using-impersonation/</link>
		<comments>http://coding.geniusinprogress.com/2008/07/10/access-is-denied-connecting-to-was-hosted-wcf-service-using-impersonation/#comments</comments>
		<pubDate>Thu, 10 Jul 2008 20:49:07 +0000</pubDate>
		<dc:creator>Ricke</dc:creator>
				<category><![CDATA[.Net Framework]]></category>
		<category><![CDATA[WCF]]></category>
		<category><![CDATA[access denied]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[Impersonation]]></category>
		<category><![CDATA[random exception]]></category>
		<category><![CDATA[WAS]]></category>
		<category><![CDATA[Windows Server 2008]]></category>

		<guid isPermaLink="false">http://coding.geniusinprogress.com/?p=4</guid>
		<description><![CDATA[This error actually pertains to any IIS-hosted .Net Framework application that utilizes impersonation, but I ran into it implementing a WAS-hosted WCF service in Windows 2008. It rears its ugly head in the form of an exception message in the following format: &#8220;Could not load file or assembly *insert random assembly here* or one of [...]]]></description>
			<content:encoded><![CDATA[<p>This error actually pertains to any IIS-hosted .Net Framework application that utilizes impersonation, but I ran into it implementing a WAS-hosted WCF service in Windows 2008. It rears its ugly head in the form of an exception message in the following format: &#8220;Could not load file or assembly *insert random assembly here* or one of its dependencies. Access is denied.&#8221; The assembly can be any of the many DLLs that you have in your bin\ directory for the application, and the error does not always appear, only intermittently. Restarting IIS, or changing files (forcing the app pool to cycle) will sometimes solve the problem temporarily, but never permanently.</p>
<p>The solution is to give all impersonated users write permissions to the ASP.Net temp directory (&#8220;%systemroot%\Microsoft .Net\Framework\v2.0.50727<span id="ctl00_MainContentPlaceholder_ctl01_ctl00_lblEntry">\Temporary ASP.NET Files&#8221; in the case of the 2.0/30/3.5 versions). MSDN talks briefly about the permissions needed for various Framework directories for impersonation and process users here: </span><a href="http://msdn.microsoft.com/en-us/library/aa719568.aspx" target="_blank">http://msdn.microsoft.com/en-us/library/aa719568.aspx</a> I believe the problem is caused by the .Net Framework dynamically compiling portions of the app and/or referencing new DLLs for the first time as the impersonated user, and not being able to copy them to the temp directory. Obvious from the exception message, eh?</p>
]]></content:encoded>
			<wfw:commentRss>http://coding.geniusinprogress.com/2008/07/10/access-is-denied-connecting-to-was-hosted-wcf-service-using-impersonation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Giving Back</title>
		<link>http://coding.geniusinprogress.com/2008/07/10/giving-back/</link>
		<comments>http://coding.geniusinprogress.com/2008/07/10/giving-back/#comments</comments>
		<pubDate>Thu, 10 Jul 2008 16:06:14 +0000</pubDate>
		<dc:creator>Ricke</dc:creator>
				<category><![CDATA[Ranting]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[Hello]]></category>
		<category><![CDATA[Programming blog]]></category>

		<guid isPermaLink="false">http://coding.geniusinprogress.com/?p=3</guid>
		<description><![CDATA[For a long time, I&#8217;ve toyed around with the idea of having some sort of repository for my various geek conquests. The purpose of said repository would be twofold.  First, were I ever to need to duplicate a given feat of geekery in my older, more forgetful years, I&#8217;d be able to search for how [...]]]></description>
			<content:encoded><![CDATA[<p>For a long time, I&#8217;ve toyed around with the idea of having some sort of repository for my various geek conquests. The purpose of said repository would be twofold.  First, were I ever to need to duplicate a given feat of geekery in my older, more forgetful years, I&#8217;d be able to search for how I did it the first time. Second, by posting my solutions online, where Google could find them, I&#8217;d hopefully be saving other geeks from hours of hair-pulling accompanied by statements of &#8220;I can&#8217;t believe I can&#8217;t find this answer *anywhere* on Google.&#8221; Today the era of idea-toying comes to an end, and a new age of useful answers to arcane programming questions begins.</p>
<p>My hope is that each time I&#8217;m programming and solve a problem that is either hard to find on Google, or not found on Google, I&#8217;ll write a post about it, including the various tags I used to search for the solution, thus making it easier for the next person to find the answer. Admittedly, I may never post again, or I may post snippets that probably could easily found elsewhere, just because I can, but hey, that&#8217;s my prerogative, right? You should just be glad I didn&#8217;t title this post &#8220;Hello World,&#8221; though I certainly came close. So there you have it: the birth of yet another half-attended programming blog on the Internet. Huzzah.</p>
]]></content:encoded>
			<wfw:commentRss>http://coding.geniusinprogress.com/2008/07/10/giving-back/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

