<?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>dbdesc - document your database! &#187; misc</title>
	<atom:link href="http://www.dbdesc.com/blog/archives/category/misc/feed" rel="self" type="application/rss+xml" />
	<link>http://www.dbdesc.com/blog</link>
	<description>document your database!</description>
	<lastBuildDate>Tue, 17 Jan 2012 09:13:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Mail problems</title>
		<link>http://www.dbdesc.com/blog/archives/mail-problems</link>
		<comments>http://www.dbdesc.com/blog/archives/mail-problems#comments</comments>
		<pubDate>Thu, 03 Dec 2009 12:22:19 +0000</pubDate>
		<dc:creator>JAG</dc:creator>
				<category><![CDATA[misc]]></category>

		<guid isPermaLink="false">http://dbdesc.com/blog/?p=81</guid>
		<description><![CDATA[I’ve had some email problems lately (thanks Alan for the heads up). I retrieve my emails with Gmail for both dbdesc and dtsdoc email addresses. However a couple of mailboxes have been piling up email until they finally stop working. Somehow the accounts got misconfigured. I’ve already fixed the problem and I’m reviewing the emails. [...]]]></description>
			<content:encoded><![CDATA[<p>I’ve had some email problems lately (thanks Alan for the heads up). I retrieve my emails with Gmail for both dbdesc and dtsdoc email addresses. However a couple of mailboxes have been piling up email until they finally stop working. Somehow the accounts got misconfigured.</p>
<p>I’ve already fixed the problem and I’m reviewing the emails. Please accept my apologies if you contacted me and I didn’t answer. You’ll be hearing from me soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dbdesc.com/blog/archives/mail-problems/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>System.Data.OraClient deprecated in .NET 4.0</title>
		<link>http://www.dbdesc.com/blog/archives/systemdataoraclient-deprecated-in-net-40</link>
		<comments>http://www.dbdesc.com/blog/archives/systemdataoraclient-deprecated-in-net-40#comments</comments>
		<pubDate>Wed, 17 Jun 2009 09:26:55 +0000</pubDate>
		<dc:creator>JAG</dc:creator>
				<category><![CDATA[misc]]></category>

		<guid isPermaLink="false">http://dbdesc.com/blog/archives/systemdataoraclient-deprecated-in-net-40</guid>
		<description><![CDATA[It seems that Microsoft is dropping their Oracle ADO.NET Data Provider and suggest to use a third-party one. The Decision After carefully considering all the options and talking to our customers, partners, and MVPs it was decided to deprecate OracleClient as a part of our ADO.NET roadmap.&#160; I kind of understand this decision, they want [...]]]></description>
			<content:encoded><![CDATA[<p>It seems that <a href="http://blogs.msdn.com/adonet/archive/2009/06/15/system-data-oracleclient-update.aspx">Microsoft is dropping their Oracle ADO.NET Data Provider</a> and suggest to use a third-party one.</p>
<blockquote><p><b>The Decision</b></p>
<p>After carefully considering all the options and talking to our customers, partners, and MVPs it was decided to deprecate OracleClient as a part of our ADO.NET roadmap.&#160; </p>
</blockquote>
<p>I kind of understand this decision, they want to improve ADO.NET but don&#8217;t want to invest resources supporting other competing database systems. However, I think this is very inconvenient for .NET developers in general. This will force us to research which vendor has the appropriate library and pay for it. And of course, take another external dependency.</p>
<p>Good news for those vendors though.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dbdesc.com/blog/archives/systemdataoraclient-deprecated-in-net-40/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Split SQL Server DTS packages documentation in several files using dtsdoc 1.2.5</title>
		<link>http://www.dbdesc.com/blog/archives/split-sql-server-dts-packages-documentation-in-several-files-using-dtsdoc-125</link>
		<comments>http://www.dbdesc.com/blog/archives/split-sql-server-dts-packages-documentation-in-several-files-using-dtsdoc-125#comments</comments>
		<pubDate>Mon, 04 May 2009 17:31:05 +0000</pubDate>
		<dc:creator>JAG</dc:creator>
				<category><![CDATA[misc]]></category>

		<guid isPermaLink="false">http://dbdesc.com/blog/archives/split-sql-server-dts-packages-documentation-in-several-files-using-dtsdoc-125</guid>
		<description><![CDATA[Until now, when documenting various DTS packages using DTSDoc you got one big HTML file which included all the packages. This was no problem as long as there were not too many packages. If you try to document many DTS packages, the resulting HTML file could be so big that can take a while to [...]]]></description>
			<content:encoded><![CDATA[<p>Until now, when documenting various DTS packages using DTSDoc you got <u>one</u> big HTML file which included all the packages. This was no problem as long as there were not too many packages.</p>
<p>If you try to document many DTS packages, the resulting HTML file could be so big that can take a while to load and render by the browser.</p>
<p>With this new version, you can <em>split the documentation in various files, one per package</em>. DTSDoc generates an index file automatically linking every package documented.</p>
<p>I think this feature will alleviate some customers which where having problems due the gigantic files produced by DTSDoc in some scenarios.</p>
<p>Please <a href="http://www.dtsdoc.com/download-dts-documentor.html" target="_blank">download DTSDoc 1.2.5</a>; the installer will automatically upgrade any previous version, so there&#8217;s no need to uninstall anything.</p>
<p><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="dtsdoc125_splitdocumentatio" border="0" alt="dtsdoc125_splitdocumentatio" src="http://www.dtsdoc.com/common_images/SplitSQLServerDTSpackagesdocumentation.5_F574/dtsdoc125_splitdocumentatio.png" width="514" height="532" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dbdesc.com/blog/archives/split-sql-server-dts-packages-documentation-in-several-files-using-dtsdoc-125/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to reduce the size of your MSI installer</title>
		<link>http://www.dbdesc.com/blog/archives/how-to-reduce-the-size-of-your-msi-installer</link>
		<comments>http://www.dbdesc.com/blog/archives/how-to-reduce-the-size-of-your-msi-installer#comments</comments>
		<pubDate>Mon, 01 Oct 2007 18:13:38 +0000</pubDate>
		<dc:creator>JAG</dc:creator>
				<category><![CDATA[misc]]></category>

		<guid isPermaLink="false">http://dbdesc.com/blog/archives/how-to-reduce-the-size-of-your-msi-installer</guid>
		<description><![CDATA[I use WiX to build the installer packages for dbdesc and dtsdoc. Today, I&#8217;ve reduced the size of both installers by 20%. How? It turns out that the WiX tutorial states it clearly: We also have to include the icon we want to use in the shortcuts. Note that the Id identifier has to carry [...]]]></description>
			<content:encoded><![CDATA[<p>I use <a href="http://wix.sourceforge.net/">WiX</a> to build the installer packages for <a href="http://www.dbdesc.com">dbdesc</a> and <a href="http://www.dtsdoc.com">dtsdoc</a>. Today, I&#8217;ve reduced the size of both installers by 20%. How?</p>
<p>It turns out that the <a href="http://www.tramontana.co.hu/wix/">WiX tutorial</a> states it clearly:</p>
<blockquote><p>We also have to include the icon we want to use in the shortcuts. Note that the Id identifier has to carry the same extension as the target file, in this case, .exe:</p>
<p>&lt;icon Id=&#8221;Foobar10.exe&#8221; SourceFile=&#8221;FoobarAppl10.exe&#8221; /&gt;</p>
<p>This will store the source file separately in the final installation package (so, <strong>if you refer to your main executable, you will end up with two copies</strong>). If the size of the file is large enough to cause concern, create a small .exe or .ico containing nothing but the icons.</p></blockquote>
<p><em>(Emphasis mine)</em></p>
<p>Of course, I was extracting the icon directly from my executable. That is 550 KB for dbdesc and 280 KB for dtsdoc. In fact, it was much worse, because I had an additional reference to the executable for a second icon. The net result is that I was adding one additional megabyte to the dbdesc installer and about 500 KB to dtsdoc.</p>
<p>So, remember to <b>reference directly an icon instead of your executable</b> and you will save bandwidth and download time. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.dbdesc.com/blog/archives/how-to-reduce-the-size-of-your-msi-installer/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Advanced code visualization add-in for Visual Studio</title>
		<link>http://www.dbdesc.com/blog/archives/advanced-code-visualization-add-in-for-visual-studio</link>
		<comments>http://www.dbdesc.com/blog/archives/advanced-code-visualization-add-in-for-visual-studio#comments</comments>
		<pubDate>Tue, 24 Jul 2007 16:29:28 +0000</pubDate>
		<dc:creator>JAG</dc:creator>
				<category><![CDATA[misc]]></category>

		<guid isPermaLink="false">http://dbdesc.com/blog/archives/advanced-code-visualization-add-in-for-visual-studio</guid>
		<description><![CDATA[My friend Jon has released a new exciting product for C, C++ and C# Visual Studio developers. It’s called codekana and it enhances the Visual Studio experience boosting your productivity. I’ve been using a beta version of codekana for several weeks and once you have used it for just some hours you just can’t go [...]]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal"><span lang="EN-US">My friend Jon has released a new exciting product for C, C++ and C# Visual Studio developers. It’s called <a title="codekana" href="http://www.codekana.com/">codekana</a> and it enhances the Visual Studio experience boosting your productivity.</span></p>
<p class="MsoNormal"><span lang="EN-US">I’ve been using a beta version of codekana for several weeks and once you have used it for just some hours you just can’t go on without it. The color-coded flow control, the graphical outlines and the smart highlighting adds another level of ‘quick understanding’ to your code. But don’t take my word on this; just <a title="codekana" href="http://www.codekana.com/">try it out</a> for a couple of days or so and then press <em>Ctrl-Shift-Alt-K</em> to deactivate codekana. It’s a weird sensation. Press <em>Ctrl-Shift-Alt-K</em> to bring life to your code again.</span></p>
<p class="MsoNormal"><span lang="EN-US">This add-in could look as a <em>nice-to-have</em> one until you try it, then, it becomes a <em>must-have</em>. </span></p>
<p class="MsoNormal"><span lang="EN-US">By the way, it’s only $39 for limited time!</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dbdesc.com/blog/archives/advanced-code-visualization-add-in-for-visual-studio/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Problem dropping a user in SQL 2005</title>
		<link>http://www.dbdesc.com/blog/archives/problem-dropping-a-user-in-sql-2005</link>
		<comments>http://www.dbdesc.com/blog/archives/problem-dropping-a-user-in-sql-2005#comments</comments>
		<pubDate>Tue, 15 May 2007 10:07:03 +0000</pubDate>
		<dc:creator>JAG</dc:creator>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[sqlserver]]></category>

		<guid isPermaLink="false">http://dbdesc.com/blog/archives/problem-dropping-a-user-in-sql-2005</guid>
		<description><![CDATA[Today I’ve encountered a problem trying to drop a user from a database. I kept getting this error: Msg. 15138 The database principal owns a database role and cannot be dropped So it looked like the user owned a database schema. To find out the schemas that a user owns I’ve used this query: SELECT [...]]]></description>
			<content:encoded><![CDATA[<p>Today I’ve encountered a problem trying to drop a user from a database. I kept getting this error:</p>
<p><code><font color="red"> Msg. 15138 The database principal owns a database role and cannot be dropped</font></code></p>
<p>So it looked like the user owned a database schema. To find out the schemas that a user owns I’ve used this query:</p>
<p><code> <font color="blue">SELECT</font> * <font color="blue">FROM</font> <font color="green">INFORMATION_SCHEMA.SCHEMATA </font><font color="blue">WHERE</font> schema_owner = 'UserName'</code></p>
<p><em>UserName</em> was the owner of the <em>dbo_owner</em> schema, so to return the schema to the original owner I’ve executed this other query:</p>
<p><code> <font color="blue">ALTER AUTHORIZATION ON SCHEMA</font>::db_owner <font color="blue">TO</font> dbo</code></p>
<p>Then I’ve been able to drop the user without problems.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dbdesc.com/blog/archives/problem-dropping-a-user-in-sql-2005/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ExecutionEngineException nightmare</title>
		<link>http://www.dbdesc.com/blog/archives/executionengineexception-nightmare</link>
		<comments>http://www.dbdesc.com/blog/archives/executionengineexception-nightmare#comments</comments>
		<pubDate>Wed, 28 Mar 2007 16:42:43 +0000</pubDate>
		<dc:creator>JAG</dc:creator>
				<category><![CDATA[dtsdoc]]></category>
		<category><![CDATA[misc]]></category>

		<guid isPermaLink="false">http://dbdesc.com/blog/archives/executionengineexception-nightmare</guid>
		<description><![CDATA[Last week, a potential customer of dtsdoc reported a new error. It was an ExecutionEngineException. Let me tell you that this is one of the worse exceptions you can get from a .NET application. To begin with, this exception cannot be catched, which means you don&#8217;t get a nice call stack or any other useful [...]]]></description>
			<content:encoded><![CDATA[<p>Last week, a potential customer of dtsdoc reported a new error. It was an ExecutionEngineException. Let me tell you that this is one of the worse exceptions you can get from a .NET application.</p>
<p>To begin with, this exception cannot be catched, which means you don&#8217;t get a nice call stack or any other useful info to track down the problem.</p>
<p>If you dig in MSDN you will find <a title="ExecutionEngineException class" href="http://msdn2.microsoft.com/en-us/library/system.executionengineexception.aspx">this</a> explanation: <em>&#8220;The exception that is thrown when there is an internal error in the execution engine of the common language runtime.&#8221;</em>, not very helpful.</p>
<p>Finally if you google about it, you&#8217;ll find lots of exasperated people looking for answers but almost no solutions at all. One thing that seems to share all those posts is that they are trying to do some kind of interop with COM objects.</p>
<p>To make a long story short, it was a bug in the Microsoft DTS libraries that dtsdoc uses to inspect and document DTS packages. The bug is fixed in SQL Server 2000 Service Pack 4, so updating those libraries solved the problem.</p>
<p>So, if you run into some RuntimeExecutionException, check your unmanaged libraries first, chances are that any of those libraries has a bug.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dbdesc.com/blog/archives/executionengineexception-nightmare/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>vi power for die-hard Windows users</title>
		<link>http://www.dbdesc.com/blog/archives/vi-power-for-die-hard-windows-users</link>
		<comments>http://www.dbdesc.com/blog/archives/vi-power-for-die-hard-windows-users#comments</comments>
		<pubDate>Wed, 07 Feb 2007 21:02:01 +0000</pubDate>
		<dc:creator>JAG</dc:creator>
				<category><![CDATA[misc]]></category>

		<guid isPermaLink="false">http://dbdesc.com/blog/archives/vi-power-for-die-hard-windows-users</guid>
		<description><![CDATA[I’ve been enjoying the vi input model since Jon released the first version of ViEmu for Visual Studio and, just like he warned me, at first it was a bit difficult to change my typing habits. However, soon I began to appreciate the vi way of doing things and I started to take advantage of [...]]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal"><span lang="EN-US">I’ve been enjoying the vi input model since Jon released the first version of <a title="ViEmu for Visual Studio" href="http://www.viemu.com">ViEmu for Visual Studio</a> and, just like he warned me, at first it was a bit difficult to change my typing habits. However, soon I began to appreciate the vi way of doing things and I started to take advantage of its power and speed. I probably only use 30% of its commands but I’m a lot more productive than before and what is more important, I enjoy typing!</span></p>
<p class="MsoNormal"><span lang="EN-US">Now, he has just released <a title="ViEmu for Microsoft Word" href="http://www.viemu.com">ViEmu for Microsoft Word</a> and <a title="ViEmu for Microsfot Outlook" href="http://www.viemu.com">ViEmu for Microsoft Outlook</a>! There’s only one word: AMAZING!</span></p>
<p class="MsoNormal"><span lang="EN-US">Congratulations!</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dbdesc.com/blog/archives/vi-power-for-die-hard-windows-users/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firebird 2.0 is finally out</title>
		<link>http://www.dbdesc.com/blog/archives/firebird-20-is-finally-out</link>
		<comments>http://www.dbdesc.com/blog/archives/firebird-20-is-finally-out#comments</comments>
		<pubDate>Fri, 17 Nov 2006 17:20:22 +0000</pubDate>
		<dc:creator>JAG</dc:creator>
				<category><![CDATA[dbdesc]]></category>
		<category><![CDATA[misc]]></category>

		<guid isPermaLink="false">http://dbdesc.com/blog/archives/firebird-20-is-finally-out</guid>
		<description><![CDATA[This week, the Firebird project has finally released version 2.0 final. Although this version comes with lots of improvements and changes, I think that dbdesc should be able to document 2.0 databases without problems. I will try to find time this very weekend to test it. Here are the release notes and download page. UPDATE: [...]]]></description>
			<content:encoded><![CDATA[<p><img align="right" title="Firebird" alt="Firebird" src="http://dbdesc.com/blog/wp-content/images/fb_logo.gif" />This week, the <a title="Firebird homepage" href="http://www.firebirdsql.org/">Firebird project</a> has finally released version 2.0 final.</p>
<p>Although this version comes with lots of improvements and changes, I think that <a title="dbdesc homepage" href="http://www.dbdesc.com">dbdesc</a> should be able to document 2.0 databases without problems. I will try to find time this very weekend to test it.</p>
<p>Here are the <a title="Firebird 2.0 release notes" target="_blank" href="http://www.ibphoenix.com/main.nfs?page=ibp_download_20">release notes</a> and <a title="Firebird 2.0 download page" target="_blank" href="http://www.firebirdsql.org/index.php?op=files&#038;id=engine_200">download page</a>.</p>
<p><strong>UPDATE:</strong> Even though you can connect with a Firebird 2.0 server to document a database, using the local (embedded) connection does not work because it needs the new fbembed.dll version. I’ve uploaded a <a title="dbdesc 2.0.1 download page" href="http://www.dbdesc.com/download.html">maintenance release (2.0.1)</a> to address this issue. Installer size has grown a little (~1 MB)  because of the updated Firebird libraries.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dbdesc.com/blog/archives/firebird-20-is-finally-out/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Dealing with Spam</title>
		<link>http://www.dbdesc.com/blog/archives/dealing-with-spam</link>
		<comments>http://www.dbdesc.com/blog/archives/dealing-with-spam#comments</comments>
		<pubDate>Wed, 18 Oct 2006 17:52:02 +0000</pubDate>
		<dc:creator>JAG</dc:creator>
				<category><![CDATA[misc]]></category>

		<guid isPermaLink="false">http://dbdesc.com/blog/archives/dealing-with-spam</guid>
		<description><![CDATA[Steph, founder of LandLordMax Property Management Software, has posted a very descriptive post about the problems of dealing with email spam. I just can not imagine receiving thousands of spam emails every single day. I&#8217;m not even close to that amount of emails. I used to receive less than one hundred per day (fingers crossed!). [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.followsteph.com/">Steph</a>, founder of <a href="http://www.landlordmax.com/">LandLordMax Property Management Software</a>, has posted a very descriptive post about the <a href="http://www.followsteph.com/2006/10/18/how-to-deal-with-email-spam/">problems of dealing with email spam</a>.</p>
<p>I just can not imagine receiving thousands of spam emails every single day. I&#8217;m not even close to that amount of emails. I used to receive less than one hundred per day (fingers crossed!).</p>
<p>To deal with them, I use <a href="http://spamassassin.apache.org/">SpamAssassin</a>. It is setup to tag and redirect emails to a special account. Periodically, my email client downloads those emails to a SPAM folder and I inspect those tagged emails once a day. The inspection is pretty straightforward as most of the times the subject line is enough to decide if it is spam or not.</p>
<p>This system is working for me, but again, I receive a moderate amount of email each day.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dbdesc.com/blog/archives/dealing-with-spam/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

