<?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>Cotton-Software</title>
	<atom:link href="http://cotton-software.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://cotton-software.com/blog</link>
	<description>I can only please one person per day.  Today is not your day.</description>
	<lastBuildDate>Wed, 28 Mar 2012 22:37:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>IIS7 was causing chrome to reply with &#8217;310 too many redirects&#8217;</title>
		<link>http://cotton-software.com/blog/2012/03/iis7-was-causing-chrome-to-reply-with-310-too-many-redirects/</link>
		<comments>http://cotton-software.com/blog/2012/03/iis7-was-causing-chrome-to-reply-with-310-too-many-redirects/#comments</comments>
		<pubDate>Wed, 28 Mar 2012 22:37:06 +0000</pubDate>
		<dc:creator>Paul Sturm</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://cotton-software.com/blog/?p=82</guid>
		<description><![CDATA[If you are getting the &#8220;Error 310 (net::ERR_TOO_MANY_REDIRECTS):&#8221; in Chrome, ensure you still have a default document defined in IIS that is reachable. I had accidentally removed my web.config file on my workstation and, since I don&#8217;t use the default Coldfusion document of &#8216;index.cfm&#8217;, my redirect from &#8216;index.cfm&#8217; to my default document (actually called &#8216;default.cfm&#8217;) was causing [...]]]></description>
			<content:encoded><![CDATA[<p>If you are getting the &#8220;Error 310 (net::ERR_TOO_MANY_REDIRECTS):&#8221; in Chrome, ensure you still have a default document defined in IIS that is reachable. I had accidentally removed my web.config file on my workstation and, since I don&#8217;t use the default Coldfusion document of &#8216;index.cfm&#8217;, my redirect from &#8216;index.cfm&#8217; to my default document (actually called &#8216;default.cfm&#8217;) was causing an infinite loop that Chrome was smart enough to give up on.  IE just locked.</p>
<p><a href="http://cotton-software.com/blog/wp-content/uploads/2012/03/401.jpg"><img class="alignnone size-full wp-image-83" title="310" src="http://cotton-software.com/blog/wp-content/uploads/2012/03/401.jpg" alt="310 Error in Chrome" width="829" height="273" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://cotton-software.com/blog/2012/03/iis7-was-causing-chrome-to-reply-with-310-too-many-redirects/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Show line numbers in CFEclipse (IBM RAD, Eclipse)</title>
		<link>http://cotton-software.com/blog/2012/02/show-line-numbers-in-cfeclipse-ibm-rad-eclipse/</link>
		<comments>http://cotton-software.com/blog/2012/02/show-line-numbers-in-cfeclipse-ibm-rad-eclipse/#comments</comments>
		<pubDate>Fri, 24 Feb 2012 18:24:49 +0000</pubDate>
		<dc:creator>Paul Sturm</dc:creator>
				<category><![CDATA[CFEclipse]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[IBM RAD]]></category>

		<guid isPermaLink="false">http://cotton-software.com/blog/?p=73</guid>
		<description><![CDATA[To turn on line numbers for code viewing:  Windows —&#62; Preferences  . Use the search box and type in &#8216;number&#8217;]]></description>
			<content:encoded><![CDATA[<p>To turn on line numbers for code viewing: <strong> Windows —&gt; Preferences</strong>  .</p>
<p><a href="http://cotton-software.com/blog/wp-content/uploads/2012/02/window-pref.png"><img class="alignnone size-medium wp-image-80" title="window-pref" src="http://cotton-software.com/blog/wp-content/uploads/2012/02/window-pref-234x300.png" alt="" width="234" height="300" /></a></p>
<p>Use the search box and type in &#8216;number&#8217;</p>
<p><a href="http://cotton-software.com/blog/wp-content/uploads/2012/02/line-num.png"><img class="alignnone size-medium wp-image-79" title="line-num" src="http://cotton-software.com/blog/wp-content/uploads/2012/02/line-num-300x194.png" alt="" width="300" height="194" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://cotton-software.com/blog/2012/02/show-line-numbers-in-cfeclipse-ibm-rad-eclipse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IIS error &#8220;The system cannot find the path specified.&#8221; after CF removal</title>
		<link>http://cotton-software.com/blog/2012/02/iis-error-the-system-cannot-find-the-path-specified-after-cf-removal/</link>
		<comments>http://cotton-software.com/blog/2012/02/iis-error-the-system-cannot-find-the-path-specified-after-cf-removal/#comments</comments>
		<pubDate>Fri, 24 Feb 2012 18:08:56 +0000</pubDate>
		<dc:creator>Paul Sturm</dc:creator>
				<category><![CDATA[Coldfusion]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[IIS 6.0]]></category>
		<category><![CDATA[Web servers]]></category>

		<guid isPermaLink="false">http://cotton-software.com/blog/?p=75</guid>
		<description><![CDATA[I was taking down a site permantently and just wanting to add a &#8216;retire&#8217; message when, after using the &#8216;CF web server configuration tool&#8217; to remove the CF mappings on the site, I was getting the error: &#8220;The system cannot find the path specified.&#8221; I thought the tool would remove the mappings for CFM, CFML, [...]]]></description>
			<content:encoded><![CDATA[<p>I was taking down a site permantently and just wanting to add a &#8216;retire&#8217; message when, after using the &#8216;CF web server configuration tool&#8217; to remove the CF mappings on the site, I was getting the error: &#8220;The system cannot find the path specified.&#8221;</p>
<p>I thought the tool would remove the mappings for CFM, CFML, CFC, etc but it didn&#8217;t. I had to use web site properties &gt; home directory &gt; configuration to remove both the extensions and maps. maybe restarting the server would have cleared them out but this worked without a restart.</p>
]]></content:encoded>
			<wfw:commentRss>http://cotton-software.com/blog/2012/02/iis-error-the-system-cannot-find-the-path-specified-after-cf-removal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Excel not opening files</title>
		<link>http://cotton-software.com/blog/2010/11/excel-not-opening-files/</link>
		<comments>http://cotton-software.com/blog/2010/11/excel-not-opening-files/#comments</comments>
		<pubDate>Sun, 07 Nov 2010 21:37:00 +0000</pubDate>
		<dc:creator>Paul Sturm</dc:creator>
				<category><![CDATA[Excel]]></category>
		<category><![CDATA[MS Office]]></category>

		<guid isPermaLink="false">/blog/post/2010/11/07/Excel-not-opening-files.aspx</guid>
		<description><![CDATA[About a month ago, Excel has had trouble opening native files. &#160;I could double click an XLSX file and Excel would start only to tell me the file I was trying to open (and just used to launch Excel with) didn&#8217;t exists. The following (in a cmd window) seems to have fixed it: &#160; "C:\Program [...]]]></description>
			<content:encoded><![CDATA[<p>About a month ago, Excel has had trouble opening native files. &nbsp;I could double click an XLSX file and Excel would start only to tell me the file I was trying to open (and just used to launch Excel with) didn&#8217;t exists.</p>
<p>The following (in a cmd window) seems to have fixed it:</p>
<p>&nbsp;</p>
<pre style="padding-top: 5px; padding-right: 5px; padding-bottom: 15px; padding-left: 25px; line-height: 1.7em; margin: 0px;">"C:\Program Files\Microsoft Office\Office\Excel.exe" /Regserver</pre>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://cotton-software.com/blog/2010/11/excel-not-opening-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to determine the current database context in SQL Server</title>
		<link>http://cotton-software.com/blog/2010/10/how-to-determine-the-current-database-context-in-sql-server/</link>
		<comments>http://cotton-software.com/blog/2010/10/how-to-determine-the-current-database-context-in-sql-server/#comments</comments>
		<pubDate>Sun, 03 Oct 2010 04:22:00 +0000</pubDate>
		<dc:creator>Paul Sturm</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server 2005]]></category>
		<category><![CDATA[SQL Server 2008]]></category>

		<guid isPermaLink="false">/blog/post/2010/10/03/How-to-determine-the-current-database-context-in-SQL-Server.aspx</guid>
		<description><![CDATA[I like to run a check script I&#8217;ve crafted that tells me stats on the database before I upgrade and perform schema changes. &#160;To make the script more universal, I wanted it to report the name of the database the stats are for (for printing purposes). I knew how to check the database server hostname [...]]]></description>
			<content:encoded><![CDATA[<p>I like to run a check script I&#8217;ve crafted that tells me stats on the database before I upgrade and perform schema changes. &nbsp;To make the script more universal, I wanted it to report the name of the database the stats are for (for printing purposes). I knew how to check the database server hostname (IF @@SERVERNAME = &#8216;[expected hostname]&#8216; &#8230; ) but I couldn&#8217;t find how to check the database context on that server.&nbsp;</p>
<p>I found my answer: db_name()</p>
<p>Now I can check server name and database context before running code changes:</p>
<p><span style="font-family: verdana, Arial, sans-serif; font-size: 12px; line-height: 22px; -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px;">IF db_name() != N&#8217;[database]&#8216; BEGIN &#8230;</span></p>
]]></content:encoded>
			<wfw:commentRss>http://cotton-software.com/blog/2010/10/how-to-determine-the-current-database-context-in-sql-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to change the path/move a project in Visual Studio</title>
		<link>http://cotton-software.com/blog/2010/08/how-to-change-the-pathmove-a-project-in-visual-studio/</link>
		<comments>http://cotton-software.com/blog/2010/08/how-to-change-the-pathmove-a-project-in-visual-studio/#comments</comments>
		<pubDate>Tue, 17 Aug 2010 22:52:00 +0000</pubDate>
		<dc:creator>Paul Sturm</dc:creator>
				<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">/blog/post/2010/08/17/How-to-change-the-pathmove-a-project-in-Visual-Studio.aspx</guid>
		<description><![CDATA[Close the solution. Rename the folders outside Visual Studio. Open the solution, ignoring the warnings. Go through all unavailable projects. Set the property &#8216;File Path&#8217; to the new location. Reload the project. In case you didn&#8217;t rename the project, rename it (F2). Taken from here: http://stackoverflow.com/questions/211241/how-do-i-rename-a-project-folder-from-within-visual-studio]]></description>
			<content:encoded><![CDATA[<li>Close the solution.</li>
<li>Rename the folders outside Visual Studio.</li>
<li>Open the solution, ignoring the warnings.</li>
<li>Go through all unavailable projects.
<ul>
<li>Set the property &#8216;File Path&#8217; to the new location.</li>
<li>Reload the project.</li>
<li>In case you didn&#8217;t rename the project, rename it (F2). </li>
</ul>
</li>
<p>Taken from here: <a href="http://stackoverflow.com/questions/211241/how-do-i-rename-a-project-folder-from-within-visual-studio">http://stackoverflow.com/questions/211241/how-do-i-rename-a-project-folder-from-within-visual-studio</a></p>
]]></content:encoded>
			<wfw:commentRss>http://cotton-software.com/blog/2010/08/how-to-change-the-pathmove-a-project-in-visual-studio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SSRS: Could not load type &#8216;Microsoft.ReportingServices.UI.GlobalApp&#8217;</title>
		<link>http://cotton-software.com/blog/2010/06/ssrs-could-not-load-type-microsoft-reportingservices-ui-globalapp/</link>
		<comments>http://cotton-software.com/blog/2010/06/ssrs-could-not-load-type-microsoft-reportingservices-ui-globalapp/#comments</comments>
		<pubDate>Sun, 13 Jun 2010 19:37:00 +0000</pubDate>
		<dc:creator>Paul Sturm</dc:creator>
				<category><![CDATA[SQL Server Reporting Services]]></category>

		<guid isPermaLink="false">/blog/post/2010/06/13/SSRS-Could-not-load-type-MicrosoftReportingServicesUIGlobalApp.aspx</guid>
		<description><![CDATA[I suspect some MS patch caused this as no one has touched this server in months yet today, we got the following: &#160; Server Error in &#8216;/Reports&#8217; Application. Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify [...]]]></description>
			<content:encoded><![CDATA[<p>I suspect some MS patch caused this as no one has touched this server in months yet today, we got the following:</p>
<p>&nbsp;</p>
<h1>Server Error in &#8216;/Reports&#8217; Application. </p>
<hr size="1" />
</h1>
<h2><em>Parser Error</em></h2>
<p><span style="font-family: Arial, Helvetica, Geneva, SunSans-Regular, sans-serif;"><strong>Description: </strong>An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. </p>
<p><strong>Parser Error Message: </strong>Could not load type &#8216;Microsoft.ReportingServices.UI.GlobalApp&#8217;.</p>
<p><strong>Source Error:</strong> </p>
<table style="width: 100%;" border="0" bgcolor="#ffffcc">
<tbody>
<tr>
<td>
<pre><span style="color: #ff0000;">Line 1:  &lt;%@ Application Codebehind="Global.asax.cs" Inherits="Microsoft.ReportingServices.UI.GlobalApp" %&gt;
</span></pre>
</td>
</tr>
</tbody>
</table>
<p><strong>Source File: </strong>d:\Program Files\Microsoft SQL Server\MSSQL.2\Reporting Services\ReportManager\global.asax<strong> &nbsp;&nbsp; Line: </strong>1 </p>
<hr size="1" />
<p><strong>Version Information:</strong>&nbsp;Microsoft .NET Framework Version:1.1.4322.2407; ASP.NET Version:1.1.4322.2407</p>
<p><span style="font-family: Arial, Helvetica, Geneva, SunSans-Regular, sans-serif;"></p>
<p>The solution is presented in the error message. Notice the bottom line in the error message: &#8216;Microsoft .NET Framework Version:1.1.4322.2407; ASP.NET Version:1.1.4322.2407 &#8216; &#8211; This should be running .NET 2 so we change the mapping for the applicaiton, /Reports and /ReportServer virtual folders to use V2 of .NET again (right click &gt; properties &gt; ASP.NET tab).</p>
<p></span></span></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://cotton-software.com/blog/2010/06/ssrs-could-not-load-type-microsoft-reportingservices-ui-globalapp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Database diagrams on disconnected devices</title>
		<link>http://cotton-software.com/blog/2010/04/database-diagrams-on-disconnected-devices/</link>
		<comments>http://cotton-software.com/blog/2010/04/database-diagrams-on-disconnected-devices/#comments</comments>
		<pubDate>Thu, 29 Apr 2010 02:57:00 +0000</pubDate>
		<dc:creator>Paul Sturm</dc:creator>
				<category><![CDATA[SQL Server Management Studio]]></category>

		<guid isPermaLink="false">/blog/post/2010/04/29/Database-diagrams-on-disconnected-devices.aspx</guid>
		<description><![CDATA[If you try to use the database diagram feature in SQL Server Management Studio and the owner of the database is a domain id but you are disconnected from the domain (notebook users!), you&#8217;ll get an error like this: &#8220;Database diagram support objects cannot be installed because this database does not have a valid owner. [...]]]></description>
			<content:encoded><![CDATA[<p>If you try to use the database diagram feature in SQL Server Management Studio and the owner of the database is a domain id but you are disconnected from the domain (notebook users!), you&#8217;ll get an error like this:</p>
<p>&#8220;<span style="font-family: Arial; font-size: small; color: #808080;">Database diagram support objects cannot be installed because this database does not have a valid owner. To continue, first use the Files page of the Database Properties dialog box or the ALTER AUTHORIZATION statement to set the database owner to a valid login, then add the database diagram support objects.<span style="color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px;">&#8220;</span></span></p>
<p>What you need to do is change ownership of the database:</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p style="padding-left: 30px;">/* replace the database name parameters with [CTRL]+[SHIFT]+[M] */</p>
<p style="padding-left: 30px;">use master</p>
<p style="padding-left: 30px;">go</p>
<p style="padding-left: 30px;">ALTER AUTHORIZATION ON DATABASE::&lt;Database_Name, sysname, Database_Name&gt; TO &#8220;sa&#8221;</p>
<p style="padding-left: 30px;">go</p>
<p style="padding-left: 30px;">use &lt;Database_Name, sysname, Database_Name&gt;</p>
<p style="padding-left: 30px;">go</p>
<p style="padding-left: 30px;">EXECUTE AS USER = N&#8217;dbo&#8217; REVERT</p>
<p style="padding-left: 30px;">go</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://cotton-software.com/blog/2010/04/database-diagrams-on-disconnected-devices/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Securing a single file with IIS7</title>
		<link>http://cotton-software.com/blog/2010/02/securing-a-single-file-with-iis7/</link>
		<comments>http://cotton-software.com/blog/2010/02/securing-a-single-file-with-iis7/#comments</comments>
		<pubDate>Wed, 24 Feb 2010 20:05:00 +0000</pubDate>
		<dc:creator>Paul Sturm</dc:creator>
				<category><![CDATA[Vista]]></category>
		<category><![CDATA[Windows Server 2008]]></category>

		<guid isPermaLink="false">/blog/post/2010/02/24/Securing-a-single-file-with-IIS7.aspx</guid>
		<description><![CDATA[With IIS7&#39;s revamped interface, I had a hard time locating how to change the permission on a single file. I could see how to do so at a folder level, but I couldn&#39;t see how to do so on a single file (.CFM in this case). &#160;It turns out, once you hilghted the file you [...]]]></description>
			<content:encoded><![CDATA[<p>
With IIS7&#39;s revamped interface, I had a hard time locating how to change the permission on a single file. I could see how to do so at a folder level, but I couldn&#39;t see how to do so on a single file (.CFM in this case).
</p>
<p>
&nbsp;It turns out, once you hilghted the file you want to change the permission on, you right click and select &#39;Switch to Features View&#39; &#8211; this changes to the features view on that one, single file.&nbsp; Then you can use the Authentication module to set it up the way you want. You can tell you are changing one file by looking at the breadcrum trail in your address bar.</p>
]]></content:encoded>
			<wfw:commentRss>http://cotton-software.com/blog/2010/02/securing-a-single-file-with-iis7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>8.3 Short filenames on Windows 2003 Server</title>
		<link>http://cotton-software.com/blog/2010/02/8-3-short-filenames-on-windows-2003-server/</link>
		<comments>http://cotton-software.com/blog/2010/02/8-3-short-filenames-on-windows-2003-server/#comments</comments>
		<pubDate>Tue, 09 Feb 2010 18:49:00 +0000</pubDate>
		<dc:creator>Paul Sturm</dc:creator>
				<category><![CDATA[Windows Server 2003]]></category>
		<category><![CDATA[Windows XP]]></category>

		<guid isPermaLink="false">/blog/post/2010/02/09/83-Short-filenames-on-Windows-2003-Server.aspx</guid>
		<description><![CDATA[If you have a document repository of sorts, it may pay to disable short filenames (legacy leftover from Win95 days). To check if enabled: fsutil.exe behavior query disable8dot3 To disable: fsutil.exe behavior set disable8dot3 1 This will not remove existing short filenames but the system will no longer generate them. &#160;This also works on XP. [...]]]></description>
			<content:encoded><![CDATA[<p>If you have a document repository of sorts, it may pay to disable short filenames (legacy leftover from Win95 days).</p>
<p>To check if enabled:</p>
<blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-width: initial; border-color: initial; border-style: none; padding: 0px"><p>	<font><font face="'courier new', courier"><span class="Apple-style-span" style="font-size: small">fsutil.exe behavior query disable8dot3</span></font></font>	</p>
</blockquote>
<p>To disable:</p>
<blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-width: initial; border-color: initial; border-style: none; padding: 0px"><p>	<font><font face="'courier new', courier"><span class="Apple-style-span" style="font-size: small">fsutil.exe behavior set disable8dot3 1</span></font></font>	</p>
</blockquote>
<p><font face="'andale mono', times"><span class="Apple-style-span" style="font-size: small"></span></font>This will not remove existing short filenames but the system will no longer generate them. &nbsp;This also works on XP.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://cotton-software.com/blog/2010/02/8-3-short-filenames-on-windows-2003-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

