<?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>entwicklungsgedanken &#187; error</title>
	<atom:link href="http://www.entwicklungsgedanken.de/tag/error/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.entwicklungsgedanken.de</link>
	<description>Verschiedene Gedanken rund um die Softwareentwicklung</description>
	<lastBuildDate>Thu, 29 Jul 2010 11:09:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Solving NULL values are recognized as text-values within dynamic queries in PostgresSQL</title>
		<link>http://www.entwicklungsgedanken.de/2010/07/29/solving-null-values-are-recognized-as-text-values-within-dynamic-queries-in-postgressql/</link>
		<comments>http://www.entwicklungsgedanken.de/2010/07/29/solving-null-values-are-recognized-as-text-values-within-dynamic-queries-in-postgressql/#comments</comments>
		<pubDate>Thu, 29 Jul 2010 11:09:20 +0000</pubDate>
		<dc:creator>Eric Bartels</dc:creator>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[Webdevelopment]]></category>
		<category><![CDATA[dynamic query]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[NULL]]></category>
		<category><![CDATA[plpgsql]]></category>
		<category><![CDATA[postgres]]></category>

		<guid isPermaLink="false">http://www.entwicklungsgedanken.de/?p=435</guid>
		<description><![CDATA[I&#8217;ve written a dynamic query which is finally executed via EXECUTE my_dynamic_query; The query contained a select list in which two columns should always be NULL. -- ... stuff before dynamic_select_cols := 'tbl1.foo, tbl1.bar, null AS theAlias1, null AS theAlias2, tbl2.foo2'; -- ... stuff after combining the dynamic queries EXECUTE my_dynamic_query; In my case the [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve written a dynamic query which is finally executed via <code>EXECUTE my_dynamic_query;</code> The query contained a select list in which two columns should always be <code>NULL</code>.</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">-- ... stuff before</span>
dynamic_select_cols :<span style="color: #66cc66;">=</span> <span style="color: #ff0000;">'tbl1.foo, tbl1.bar, null AS theAlias1, null AS theAlias2, tbl2.foo2'</span>;
<span style="color: #808080; font-style: italic;">-- ... stuff after combining the dynamic queries</span>
EXECUTE my_dynamic_query;</pre></div></div>

<p>In my case the result of the query will be inserted in a <a href="http://www.postgresql.org/docs/8.4/interactive/sql-createtable.html">temporary table</a> in memory. The destination column for <code>theAlias1</code> is of type <code>INTEGER</code>. When executing the query PostgreSQL gives me an error:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">column <span style="color: #ff0000;">&quot;theAlias1&quot;</span> is of <span style="color: #7a0874; font-weight: bold;">type</span> integer but expression is of <span style="color: #7a0874; font-weight: bold;">type</span> text</pre></div></div>

<p>So there is something wrong when the query is parsed, evaluated and executed.</p>
<p>Solving this was easy with the use of <a href="http://www.postgresql.org/docs/8.4/interactive/functions-conditional.html">NULLIF</a>. Zero equals zero so <code>NULL</code> is returned. Just as expected.</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">-- ... stuff before</span>
dynamic_select_cols :<span style="color: #66cc66;">=</span> <span style="color: #ff0000;">'tbl1.foo, tbl1.bar, NULLIF(0, 0) AS theAlias1, NULLIF(0, 0) AS theAlias2, tbl2.foo2'</span>;
<span style="color: #808080; font-style: italic;">-- ... stuff after combining the dynamic queries</span>
EXECUTE my_dynamic_query;</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.entwicklungsgedanken.de/2010/07/29/solving-null-values-are-recognized-as-text-values-within-dynamic-queries-in-postgressql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixing &#8220;error while loading shared libraries: libgssapi_krb5.so.2: cannot open shared object file: No such file or directory.&#8221;</title>
		<link>http://www.entwicklungsgedanken.de/2009/12/15/fixing-error-while-loading-shared-libraries-libgssapi_krb5-so-2-cannot-open-shared-object-file-no-such-file-or-directory/</link>
		<comments>http://www.entwicklungsgedanken.de/2009/12/15/fixing-error-while-loading-shared-libraries-libgssapi_krb5-so-2-cannot-open-shared-object-file-no-such-file-or-directory/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 13:50:45 +0000</pubDate>
		<dc:creator>Eric Bartels</dc:creator>
				<category><![CDATA[Verschiedenes]]></category>
		<category><![CDATA[Webdevelopment]]></category>
		<category><![CDATA[apt-get]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[libgssapi_krb5.so.2]]></category>

		<guid isPermaLink="false">http://www.entwicklungsgedanken.de/2009/12/15/fixing-error-while-loading-shared-libraries-libgssapi_krb5-so-2-cannot-open-shared-object-file-no-such-file-or-directory/</guid>
		<description><![CDATA[One of my development systems is running on Debian Lenny (no this one does not host SharePoint). After update the system via apt-get update something went wrong and “core services” (samba, ssh) were out of order. It seems this is a bug in the packages provided by Debian. After struggling for a while a simple [...]]]></description>
			<content:encoded><![CDATA[<p>One of my development systems is running on Debian Lenny (no this one does not host SharePoint). After update the system via apt-get update something went wrong and “core services” (samba, ssh) were out of order.</p>
<p>It seems this is a bug in the packages provided by Debian. After struggling for a while a simple</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> libkrb53 <span style="color: #660033;">--reinstall</span></pre></div></div>

<p>fixed the problem and everything works again. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.entwicklungsgedanken.de/2009/12/15/fixing-error-while-loading-shared-libraries-libgssapi_krb5-so-2-cannot-open-shared-object-file-no-such-file-or-directory/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Fixing TYPOlight-error #145 &#8211; Table &#8216;./tl_search&#8217; is marked as crashed and should be repaired</title>
		<link>http://www.entwicklungsgedanken.de/2009/11/30/fixing-typolight-error-145-table-tl_search-is-marked-as-crashed-and-should-be-repaired/</link>
		<comments>http://www.entwicklungsgedanken.de/2009/11/30/fixing-typolight-error-145-table-tl_search-is-marked-as-crashed-and-should-be-repaired/#comments</comments>
		<pubDate>Mon, 30 Nov 2009 16:30:38 +0000</pubDate>
		<dc:creator>Eric Bartels</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Typolight]]></category>
		<category><![CDATA[crashed]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[repair]]></category>

		<guid isPermaLink="false">http://www.entwicklungsgedanken.de/?p=358</guid>
		<description><![CDATA[Today a website of a customer running with TYPOlight stopped working. The friendly “there is an error”-message appeared. Even the administration-backend was not working anymore. Enabling the “display-error” setting revealed that there was a database-problem (perhaps due to a crash of mysql). #145 - Table './tl_search' is marked as crashed and should be repaired The [...]]]></description>
			<content:encoded><![CDATA[<p>Today a website of a customer running with TYPOlight stopped working. The friendly “there is an error”-message appeared. Even the administration-backend was not working anymore.</p>
<p>Enabling the “display-error” setting revealed that there was a database-problem (perhaps due to a crash of mysql).</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">#145 - Table './tl_search' is marked as crashed and should be repaired</span></pre></div></div>

<p>The problem was that I have no shell-access to the server of the hosting provider and no administrative-console for the database. So I built a little “repair-script” to fix this issue.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">// Typolight table repair script</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'TL_ROOT'</span><span style="color: #339933;">,</span> <span style="color: #990000;">dirname</span><span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">__FILE__</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Load the configuration</span>
<span style="color: #b1b100;">require_once</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'system/config/localconfig.php'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$con</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysql_connect</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$GLOBALS</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'TL_CONFIG'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'dbHost'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span>
  <span style="color: #000088;">$GLOBALS</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'TL_CONFIG'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'dbUser'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span>
  <span style="color: #000088;">$GLOBALS</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'TL_CONFIG'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'dbPass'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">mysql_select_db</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$GLOBALS</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'TL_CONFIG'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'dbDatabase'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$con</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Repair table</span>
<span style="color: #000088;">$result</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysql_query</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;REPAIR TABLE tl_search&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$con</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">var_dump</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">mysql_fetch_array</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$result</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #990000;">mysql_close</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$con</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Its placed where the “front-controller” (index.php) resides and after executing it via browser the problem is gone and the website is up and running again.</p>
</p>
<pre></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.entwicklungsgedanken.de/2009/11/30/fixing-typolight-error-145-table-tl_search-is-marked-as-crashed-and-should-be-repaired/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Value too long error in PostgreSQL inside a plpgsql-function</title>
		<link>http://www.entwicklungsgedanken.de/2009/11/03/value-too-long-error-in-postgresql-inside-a-plpgsql-function/</link>
		<comments>http://www.entwicklungsgedanken.de/2009/11/03/value-too-long-error-in-postgresql-inside-a-plpgsql-function/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 18:13:47 +0000</pubDate>
		<dc:creator>Eric Bartels</dc:creator>
				<category><![CDATA[Webdevelopment]]></category>
		<category><![CDATA[custom type]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[execute]]></category>
		<category><![CDATA[misleading]]></category>
		<category><![CDATA[postgres]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[value too long]]></category>

		<guid isPermaLink="false">http://www.entwicklungsgedanken.de/?p=353</guid>
		<description><![CDATA[In an application I am working on I recently found errors in the applications log file. Value too long for type character varying&#40;64&#41; Within a function (written with plpgsql) a dynamic query is built and executed via sql-EXECUTE. The error PostgreSQL gives me stated out that the error was in the line containing the EXECUTE-statement. [...]]]></description>
			<content:encoded><![CDATA[<p>In an application I am working on I recently found errors in the applications log file.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">Value too long <span style="color: #000000; font-weight: bold;">for</span> <span style="color: #7a0874; font-weight: bold;">type</span> character varying<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">64</span><span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div>

<p>Within a function (written with <code>plpgsql</code>) a dynamic query is built and executed via sql-<code>EXECUTE</code>. The error PostgreSQL gives me stated out that the error was in the line containing the <code>EXECUTE</code>-statement. But the query was of type <code>TEXT</code> so there is no length limitation. </p>
<h3>Guide me</h3>
<p>In the end it showed that the error PostgreSQL gave me was misleading. The final dynamic query itself was fine. So the sql-<code>EXECUTE</code> cannot be the cause of the error.&#160; </p>
<p>The function returns a custom (composite) type (built via PostgreSQL <code>CREATE TYPE</code>). This custom type consists of a few “columns”. One of this column was indeed of type <code>character varying(64)</code> and was simply to short to hold the data collected inside the function. </p>
<p>Fixing the data type of that column in the custom composite type fixes the error.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.entwicklungsgedanken.de/2009/11/03/value-too-long-error-in-postgresql-inside-a-plpgsql-function/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>One reason for: &#8220;The crawler could not communicate with the server. Check that the server is available and that the firewall access is configured correctly..&#8221;</title>
		<link>http://www.entwicklungsgedanken.de/2009/07/17/one-reason-for-the-crawler-could-not-communicate-with-the-server-check-that-the-server-is-available-and-that-the-firewall-access-is-configured-correctly/</link>
		<comments>http://www.entwicklungsgedanken.de/2009/07/17/one-reason-for-the-crawler-could-not-communicate-with-the-server-check-that-the-server-is-available-and-that-the-firewall-access-is-configured-correctly/#comments</comments>
		<pubDate>Fri, 17 Jul 2009 02:38:19 +0000</pubDate>
		<dc:creator>Eric Bartels</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint-Development]]></category>
		<category><![CDATA[Communication]]></category>
		<category><![CDATA[Crawler]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[Search]]></category>

		<guid isPermaLink="false">http://www.entwicklungsgedanken.de/?p=298</guid>
		<description><![CDATA[Today the crawler of the search service of my MOSS-Development system stopped working from &#8220;one second to another&#8221;. The crawl-log showed me this error. The crawler could not communicate with the server. Check that the server is available and that the firewall access is configured correctly.. The start is essential I reconfigured everything, I checked [...]]]></description>
			<content:encoded><![CDATA[<p>Today the crawler of the search service of my MOSS-Development system stopped working from &#8220;one second to another&#8221;. The crawl-log showed me this error.<br />
<code>The crawler could not communicate with the server. Check that the server is available and that the firewall access is configured correctly..</code></p>
<h3>The start is essential</h3>
<p>I reconfigured everything, I checked the database-security, rebooted the virtual machine, re-created the content-sources. Nothing helped &#8230;</p>
<p>
After some digging I found out that the start page of that site-collection (<code>default.aspx</code>) throws an exception due to a faulty web part&#8230;<br />
This can&#8217;t be&#8230; Can it?! I removed the faulty web part from the <code>default.aspx</code> and the start page runs normal &#8230; and so does the crawler!
</p>
<p>
<strong>Because of an erroneous start page the whole crawling process for that site-collection is not working!</strong>
</p>
<h3>Conclusion</h3>
<p>Make sure that the &#8220;entrance&#8221; to your site-collections is wide open and totally working &#8230;</p>
<p>
PS:  Excluding the <code>default.aspx</code> via &#8220;Crawl rules&#8221; does not work. The crawler still stops.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.entwicklungsgedanken.de/2009/07/17/one-reason-for-the-crawler-could-not-communicate-with-the-server-check-that-the-server-is-available-and-that-the-firewall-access-is-configured-correctly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixing &#8211; Provisioning failed: File or arguments not valid for site template &#8216;OSRV&#8217; error during Shared Service Provider creation</title>
		<link>http://www.entwicklungsgedanken.de/2009/07/01/fixing-provisioning-failed-file-or-arguments-not-valid-for-site-template-osrv-error-during-shared-service-provider-creation/</link>
		<comments>http://www.entwicklungsgedanken.de/2009/07/01/fixing-provisioning-failed-file-or-arguments-not-valid-for-site-template-osrv-error-during-shared-service-provider-creation/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 13:09:19 +0000</pubDate>
		<dc:creator>Eric Bartels</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[provision]]></category>
		<category><![CDATA[search server]]></category>
		<category><![CDATA[ssp]]></category>
		<category><![CDATA[stsadm]]></category>

		<guid isPermaLink="false">http://www.entwicklungsgedanken.de/?p=278</guid>
		<description><![CDATA[Today I downloaded and installed the Search Server Express 2008 on a newly created development environment. After installing the required binaries the setup-routine creates the Shared Service Provider required to run the search. When visiting central administration it showed up that the creation of the SSP failed. The error message was: Provisioning failed: File or [...]]]></description>
			<content:encoded><![CDATA[<p>Today I downloaded and installed the <a href="http://www.microsoft.com/germany/es/produkte/serverprodukte/microsoft-search-server-2008-express.mspx">Search Server Express 2008</a> on a newly created development environment. After installing the required binaries the setup-routine creates the Shared Service Provider required to run the search. When visiting central administration it showed up that the creation of the SSP failed.</p>
<p>The error message was: <strong>Provisioning failed: File or arguments not valid for site template &#8216;OSRV&#8217;.</strong></p>
<p>After consulting the logfiles I stated out that the cause of this problem was my own inattention. I  accidentally downloaded the Search Server 2008 in a language that was not installed on my system. So I also downloaded the language packs, too. But the error is still there. There is no way to delete the faulty SSP via the browser so the command-line is our friend.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">stsadm <span style="color: #660033;">-o</span> deletessp <span style="color: #660033;">-title</span> SharedServices <span style="color: #660033;">-deletedatabases</span> <span style="color: #660033;">-force</span></pre></div></div>

<p>After running this command I was able to re-create the SSP via central administration. Everything works fine now &#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.entwicklungsgedanken.de/2009/07/01/fixing-provisioning-failed-file-or-arguments-not-valid-for-site-template-osrv-error-during-shared-service-provider-creation/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Installation problems with SQL Server 2008</title>
		<link>http://www.entwicklungsgedanken.de/2009/01/28/installation-problems-with-sql-server-2008/</link>
		<comments>http://www.entwicklungsgedanken.de/2009/01/28/installation-problems-with-sql-server-2008/#comments</comments>
		<pubDate>Wed, 28 Jan 2009 22:49:37 +0000</pubDate>
		<dc:creator>Eric Bartels</dc:creator>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint-Development]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[MSXML 6.0]]></category>
		<category><![CDATA[SQL Server 2008]]></category>
		<category><![CDATA[WTF]]></category>

		<guid isPermaLink="false">http://www.entwicklungsgedanken.de/?p=181</guid>
		<description><![CDATA[Today I decided to upgrade my windows internal database on my &#8220;VMWare-SharePoint-Development-System&#8221;. An upgrade was not possible so I removed the internal database (Microsoft##SSEE) and tried to install the new SQL Server (installation platform is w2k3-server, x86). My development system is a WSS 3.0 SP1 + Visual Studio 2008 environment. Error Clicking through the installation [...]]]></description>
			<content:encoded><![CDATA[<p>Today I decided to upgrade my windows internal database on my &#8220;VMWare-SharePoint-Development-System&#8221;. An upgrade was not possible so I removed the internal database (Microsoft##SSEE) and tried to install the new SQL Server (installation platform is w2k3-server, x86). My development system is a WSS 3.0 SP1 + Visual Studio 2008 environment.</p>
<h3>Error</h3>
<p>Clicking through the installation wizard went fine but then the installation cancelled with &#8220;nice&#8221; red error icons. A look into the logfile showed the following.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">Property<span style="color: #7a0874; font-weight: bold;">&#40;</span>S<span style="color: #7a0874; font-weight: bold;">&#41;</span>: ACTION = INSTALL
MSI <span style="color: #7a0874; font-weight: bold;">&#40;</span>s<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>08:D0<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">23</span>:01:<span style="color: #000000;">25</span>:<span style="color: #000000;">354</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>: Note: <span style="color: #000000;">1</span>: <span style="color: #000000;">1708</span>
MSI <span style="color: #7a0874; font-weight: bold;">&#40;</span>s<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>08:D0<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">23</span>:01:<span style="color: #000000;">25</span>:<span style="color: #000000;">354</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>: Produkt: MSXML <span style="color: #000000;">6.0</span> Parser <span style="color: #7a0874; font-weight: bold;">&#40;</span>KB933579<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #660033;">--</span> Die Installation ist fehlgeschlagen.
&nbsp;
MSI <span style="color: #7a0874; font-weight: bold;">&#40;</span>s<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>08:D0<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">23</span>:01:<span style="color: #000000;">25</span>:<span style="color: #000000;">354</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>: Das Produkt wurde durch Windows Installer installiert. Produktname: MSXML <span style="color: #000000;">6.0</span> Parser <span style="color: #7a0874; font-weight: bold;">&#40;</span>KB933579<span style="color: #7a0874; font-weight: bold;">&#41;</span>. Produktversion: 6.10.1200.0. Produktsprache: 1031. Erfolg- bzw. Fehlerstatus der Installation: 1603.
&nbsp;
MSI <span style="color: #7a0874; font-weight: bold;">&#40;</span>s<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>08:D0<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">23</span>:01:<span style="color: #000000;">25</span>:<span style="color: #000000;">385</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>: Cleaning up uninstalled <span style="color: #c20cb9; font-weight: bold;">install</span> packages, <span style="color: #000000; font-weight: bold;">if</span> any exist</pre></div></div>

<p>I downloaded the MSXML 6.0 Parser from the Microsoft Download page and tried to install it. Error! A newer product is already installed. A short look into &#8220;Software Installation&#8221; revealed that I have MSXML Parser 6.0 SP2 installed. Okay looks good for me but not for SQL Server 2008.</p>
<h3>Being up-to-date is not always good</h3>
<p>The installation routine depends on the installation of the MSXML Parser 6.0&#8230; In the end I uninstalled MSXML Parser 6.0 SP2 and started the installation again. Tadaaaa! It works. SQL Server was installed successfully. Now I can &#8220;re-apply&#8221; SP2 for the MSXML Parser 6.0</p>
<h3>Woohoo</h3>
<p>I started the windows <code>command-line</code> and entered <code>date</code>. It showed <code>2009-01-28</code>. As you can see the year is 2009!<br />
Having to do such steps to get an installation of SQL Server 2008 made me think I am in the year 1998! Wtf?!</p>
<p><strong>Update:</strong> A friend of mine had <a href="http://www.coeamyd.net/PermaLink,guid,53accd33-6788-4f91-b847-f316050c0e41.aspx">problems with SQL Server 2008 installation</a>, too.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.entwicklungsgedanken.de/2009/01/28/installation-problems-with-sql-server-2008/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Event-Log shows error 6398 (Exception for Microsoft.SharePoint.Search.Administration.SPSearchJobDefinition)</title>
		<link>http://www.entwicklungsgedanken.de/2009/01/07/event-log-shows-error-6398-exception-for-microsoftsharepointsearchadministrationspsearchjobdefinition/</link>
		<comments>http://www.entwicklungsgedanken.de/2009/01/07/event-log-shows-error-6398-exception-for-microsoftsharepointsearchadministrationspsearchjobdefinition/#comments</comments>
		<pubDate>Wed, 07 Jan 2009 12:09:55 +0000</pubDate>
		<dc:creator>Eric Bartels</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[6398]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[Event-Log]]></category>
		<category><![CDATA[SPSearchJobDefinition]]></category>

		<guid isPermaLink="false">http://www.entwicklungsgedanken.de/?p=143</guid>
		<description><![CDATA[Today I discovered several errors in the event-log of a SharePoint WFE-Server. The error message is in german. Ausnahme bei der Execute-Methode der Auftragsdefinition 'Microsoft.SharePoint.Search.Administration.SPSearchJobDefinition' (ID 92382b17-cf08-40f0-a2dc-0b7f97fa592f). Weitere Informationen werden unten angezeigt. &#160; Die COM-Klassenfactory für die Komponente mit CLSID {629DA12E-9AD5-4FEC-B886-42C5982C5109} konnte aufgrund des folgenden Fehlers nicht abgerufen werden: 80070422. This error-message was repeated every [...]]]></description>
			<content:encoded><![CDATA[<p>Today I discovered several errors in the event-log of a SharePoint WFE-Server. The error message is in german.</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;">Ausnahme bei der Execute-Methode der Auftragsdefinition 'Microsoft.SharePoint.Search.Administration.SPSearchJobDefinition' (ID 92382b17-cf08-40f0-a2dc-0b7f97fa592f). Weitere Informationen werden unten angezeigt.
&nbsp;
Die COM-Klassenfactory für die Komponente mit CLSID {629DA12E-9AD5-4FEC-B886-42C5982C5109} konnte aufgrund des folgenden Fehlers nicht abgerufen werden: 80070422.</pre></div></div>

<p>This error-message was repeated every our. The Windows SharePoint Services Search Service was not functioning correctly. All permission were set correctly in the DCOM-config. Searching google brings am several posts and hints but none of them helped in my case.</p>
<h3>Do not disable me, please!</h3>
<p>Checking the Timer-Job-Status in central administration simply showed the job was not executed. The search-jobs from the Search Server were okay. So whats the matter? Everything worked before &#8230;<br />
After looking inside the services-management for the server I was shocked! The Windows SharePoint Services Search had been deactivated! I don&#8217;t know why and how but after setting it to &#8220;auto&#8221; and starting the service everything runs well again.</p>
<h3>Conclusion</h3>
<p>Don&#8217;t assume anything! Always check the services-management of your service before assuming something else is wrong &#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.entwicklungsgedanken.de/2009/01/07/event-log-shows-error-6398-exception-for-microsoftsharepointsearchadministrationspsearchjobdefinition/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Problems with Apache FOP when calling through PHP&#8217;s exec</title>
		<link>http://www.entwicklungsgedanken.de/2008/12/17/problems-with-apache-fop-when-calling-through-phps-exec/</link>
		<comments>http://www.entwicklungsgedanken.de/2008/12/17/problems-with-apache-fop-when-calling-through-phps-exec/#comments</comments>
		<pubDate>Wed, 17 Dec 2008 17:03:43 +0000</pubDate>
		<dc:creator>Eric Bartels</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Webdevelopment]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[exec]]></category>
		<category><![CDATA[font]]></category>
		<category><![CDATA[FOP]]></category>
		<category><![CDATA[pdf]]></category>
		<category><![CDATA[xsl:fo]]></category>

		<guid isPermaLink="false">http://www.entwicklungsgedanken.de/?p=134</guid>
		<description><![CDATA[I&#8217;m currently using the latest version of Apache&#8217;s FOP (0.95). To create the pdf-file from the transformed fo-file I simply call the fop-binary via PHP&#8217;s exec. The command is built dynamically. // Some static command here $cmd = '/path/to/fop -c config.yml -fo input.fo -pdf outfile.pdf'; exec&#40;$cmd&#41;; So quiet This doesn&#8217;t work! There is no pdf-file. [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m currently using the latest version of Apache&#8217;s FOP (0.95). To create the pdf-file from the transformed fo-file I simply call the fop-binary via PHP&#8217;s <code>exec</code>. The command is built dynamically.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">// Some static command here</span>
<span style="color: #000088;">$cmd</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'/path/to/fop -c config.yml -fo input.fo -pdf outfile.pdf'</span><span style="color: #339933;">;</span>
<span style="color: #990000;">exec</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$cmd</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<h3>So quiet</h3>
<p>This doesn&#8217;t work! There is no pdf-file. <code>exec</code> gives no output, no warning, no error &#8230; Simply nothing. If I run the command inside the shell the pdf files gets created as expected.</p>
<h3>Use-Cache = true</h3>
<p>The cause of the problem is the config-option <code>use-cache</code> which is set to <code>true</code> on default.<br />
FOP wants to create a cache-file to speed up the font-embedding-process which fails in my case.<br />
Running the fop-command as the user apache runs with gives an error. The creation of the cache-file fails due to missing filesystem permissions. I really have no idea why this output isn&#8217;t catched by <code>exec</code>. Some java-related behavior? Perhaps stdout is redirected somewhere else?</p>
<h3>Use-Cache = false</h3>
<p>I&#8217;m not using the &#8220;auto-detection&#8221;-feature for font-embedding as I clearly define where my fonts reside. So I added the option into my <a href="http://xmlgraphics.apache.org/fop/0.95/configuration.html">fop-config-file</a>.</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;">false</pre></div></div>

<p>Finally everything works as expected.</p>
<h3>Redirection</h3>
<p>In order to get information of what fop does use the following command:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$ouput</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$ret</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #990000;">exec</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'/path/to/fop -fo test.fo -pdf test.pdf &gt; /path/to/logfile.log 2&gt;&amp;1'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$ouput</span><span style="color: #339933;">,</span> <span style="color: #000088;">$ret</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.entwicklungsgedanken.de/2008/12/17/problems-with-apache-fop-when-calling-through-phps-exec/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cannot complete this action &#8211; error when adding a ContentType to a list</title>
		<link>http://www.entwicklungsgedanken.de/2008/07/20/cannot-complete-this-action-error-when-adding-a-contenttype-to-a-list/</link>
		<comments>http://www.entwicklungsgedanken.de/2008/07/20/cannot-complete-this-action-error-when-adding-a-contenttype-to-a-list/#comments</comments>
		<pubDate>Sun, 20 Jul 2008 19:21:03 +0000</pubDate>
		<dc:creator>Eric Bartels</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint-Development]]></category>
		<category><![CDATA[ContentType]]></category>
		<category><![CDATA[custom field]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[index]]></category>
		<category><![CDATA[lookup]]></category>

		<guid isPermaLink="false">http://www.entwicklungsgedanken.de/?p=52</guid>
		<description><![CDATA[Today I got a nice error from my SharePoint development box after I tried to add a certain Content Type to a list. Cannot complete this action. Please try again. at Microsoft.SharePoint.Library.SPRequestInternalClass.AddField&#40;String bstrUrl, String bstrListName, String bstrSchemaXml, Int32 grfAdd&#41; at Microsoft.SharePoint.Library.SPRequest.AddField&#40;String bstrUrl, String bstrListName, String bstrSchemaXml, Int32 grfAdd&#41; Tell me This is an error message [...]]]></description>
			<content:encoded><![CDATA[<p>Today I got a nice error from my SharePoint development box after I tried to add a certain Content Type to a list.</p>

<div class="wp_syntax"><div class="code"><pre class="csharp" style="font-family:monospace;">Cannot complete <span style="color: #0600FF;">this</span> action. <span style="color: #0000FF;">Please</span> <span style="color: #0600FF;">try</span> again. <span style="color: #0000FF;">at</span> Microsoft.<span style="color: #0000FF;">SharePoint</span>.<span style="color: #0000FF;">Library</span>.<span style="color: #0000FF;">SPRequestInternalClass</span>.<span style="color: #0000FF;">AddField</span><span style="color: #000000;">&#40;</span><span style="color: #FF0000;">String</span> bstrUrl, <span style="color: #FF0000;">String</span> bstrListName, <span style="color: #FF0000;">String</span> bstrSchemaXml, Int32 grfAdd<span style="color: #000000;">&#41;</span> 
   at Microsoft.<span style="color: #0000FF;">SharePoint</span>.<span style="color: #0000FF;">Library</span>.<span style="color: #0000FF;">SPRequest</span>.<span style="color: #0000FF;">AddField</span><span style="color: #000000;">&#40;</span><span style="color: #FF0000;">String</span> bstrUrl, <span style="color: #FF0000;">String</span> bstrListName, <span style="color: #FF0000;">String</span> bstrSchemaXml, Int32 grfAdd<span style="color: #000000;">&#41;</span></pre></div></div>

<h3>Tell me</h3>
<p>
This is an error message every developer fells in love with. Its full of nothing&#8230;</p>
<p>
Further analysis revealed that there must be a problem with a custom field definition inside that Content Type. Even more investigation found the culprit.
</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Field</span> <span style="color: #000066;">Type</span>=<span style="color: #ff0000;">&quot;LookupMulti&quot;</span></span>
<span style="color: #009900;">         <span style="color: #000066;">DisplayName</span>=<span style="color: #ff0000;">&quot;CustomField&quot;</span></span>
<span style="color: #009900;">         <span style="color: #000066;">Required</span>=<span style="color: #ff0000;">&quot;FALSE&quot;</span></span>
<span style="color: #009900;">         <span style="color: #000066;">Description</span>=<span style="color: #ff0000;">&quot;My custom field&quot;</span></span>
<span style="color: #009900;">         <span style="color: #000066;">Group</span>=<span style="color: #ff0000;">&quot;Custom&quot;</span></span>
<span style="color: #009900;">         <span style="color: #000066;">StaticName</span>=<span style="color: #ff0000;">&quot;MyCustomField&quot;</span></span>
<span style="color: #009900;">         <span style="color: #000066;">Name</span>=<span style="color: #ff0000;">&quot;MyCustomField&quot;</span></span>
<span style="color: #009900;">         <span style="color: #000066;">ShowField</span>=<span style="color: #ff0000;">&quot;Title&quot;</span></span>
<span style="color: #009900;">         <span style="color: #000066;">ShowInDisplayForm</span>=<span style="color: #ff0000;">&quot;TRUE&quot;</span></span>
<span style="color: #009900;">         <span style="color: #000066;">ShowInEditForm</span>=<span style="color: #ff0000;">&quot;TRUE&quot;</span></span>
<span style="color: #009900;">         <span style="color: #000066;">ShowInNewForm</span>=<span style="color: #ff0000;">&quot;TRUE&quot;</span></span>
<span style="color: #009900;">         <span style="color: #000066;">ShowInViewForms</span>=<span style="color: #ff0000;">&quot;TRUE&quot;</span></span>
<span style="color: #009900;">         <span style="color: #000066;">Mult</span>=<span style="color: #ff0000;">&quot;TRUE&quot;</span></span>
<span style="color: #009900;">         <span style="color: #000066;">Sortable</span>=<span style="color: #ff0000;">&quot;FALSE&quot;</span></span>
<span style="color: #009900;">         <span style="color: #000066;">Indexed</span>=<span style="color: #ff0000;">&quot;TRUE&quot;</span></span>
<span style="color: #009900;">         <span style="color: #000066;">UnlimitedLengthInDocumentLibrary</span>=<span style="color: #ff0000;">&quot;TRUE&quot;</span></span>
<span style="color: #009900;">         <span style="color: #000066;">List</span>=<span style="color: #ff0000;">&quot;myList&quot;</span></span>
<span style="color: #009900;">         <span style="color: #000066;">SourceID</span>=<span style="color: #ff0000;">&quot;{31DCE571-D649-41b8-99D7-448F43FCEAC0}&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span></pre></div></div>

<h3>Conclusion</h3>
<p>
<strong>NEVER</strong> set the attribute <code>Indexed</code> to <code>TRUE</code> when the field is a Lookup-Field that has the <code>Mult</code>-attribute set to <code>TRUE</code>!
</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Field</span> <span style="color: #000066;">Type</span>=<span style="color: #ff0000;">&quot;LookupMulti&quot;</span></span>
<span style="color: #009900;">         <span style="color: #000066;">DisplayName</span>=<span style="color: #ff0000;">&quot;CustomField&quot;</span></span>
<span style="color: #009900;">         <span style="color: #000066;">Required</span>=<span style="color: #ff0000;">&quot;FALSE&quot;</span></span>
<span style="color: #009900;">         <span style="color: #000066;">Description</span>=<span style="color: #ff0000;">&quot;My custom field&quot;</span></span>
<span style="color: #009900;">         <span style="color: #000066;">Group</span>=<span style="color: #ff0000;">&quot;Custom&quot;</span></span>
<span style="color: #009900;">         <span style="color: #000066;">StaticName</span>=<span style="color: #ff0000;">&quot;MyCustomField&quot;</span></span>
<span style="color: #009900;">         <span style="color: #000066;">Name</span>=<span style="color: #ff0000;">&quot;MyCustomField&quot;</span></span>
<span style="color: #009900;">         <span style="color: #000066;">ShowField</span>=<span style="color: #ff0000;">&quot;Title&quot;</span></span>
<span style="color: #009900;">         <span style="color: #000066;">ShowInDisplayForm</span>=<span style="color: #ff0000;">&quot;TRUE&quot;</span></span>
<span style="color: #009900;">         <span style="color: #000066;">ShowInEditForm</span>=<span style="color: #ff0000;">&quot;TRUE&quot;</span></span>
<span style="color: #009900;">         <span style="color: #000066;">ShowInNewForm</span>=<span style="color: #ff0000;">&quot;TRUE&quot;</span></span>
<span style="color: #009900;">         <span style="color: #000066;">ShowInViewForms</span>=<span style="color: #ff0000;">&quot;TRUE&quot;</span></span>
<span style="color: #009900;">         <span style="color: #000066;">Mult</span>=<span style="color: #ff0000;">&quot;TRUE&quot;</span></span>
<span style="color: #009900;">         <span style="color: #000066;">Sortable</span>=<span style="color: #ff0000;">&quot;FALSE&quot;</span></span>
<span style="color: #009900;">         <span style="color: #000066;">Indexed</span>=<span style="color: #ff0000;">&quot;FALSE&quot;</span></span>
<span style="color: #009900;">         <span style="color: #000066;">UnlimitedLengthInDocumentLibrary</span>=<span style="color: #ff0000;">&quot;TRUE&quot;</span></span>
<span style="color: #009900;">         <span style="color: #000066;">List</span>=<span style="color: #ff0000;">&quot;myList&quot;</span></span>
<span style="color: #009900;">         <span style="color: #000066;">SourceID</span>=<span style="color: #ff0000;">&quot;{31DCE571-D649-41b8-99D7-448F43FCEAC0}&quot;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">/&gt;</span></span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.entwicklungsgedanken.de/2008/07/20/cannot-complete-this-action-error-when-adding-a-contenttype-to-a-list/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
