<?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>Art Of Creation - Dynamics AX Blog &#187; Error</title>
	<atom:link href="http://www.artofcreation.be/tag/error/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.artofcreation.be</link>
	<description>The everyday life of a Dynamics AX developer</description>
	<lastBuildDate>Thu, 02 Feb 2012 12:20:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Try Catch example code</title>
		<link>http://www.artofcreation.be/2011/08/09/try-catch-example-code/</link>
		<comments>http://www.artofcreation.be/2011/08/09/try-catch-example-code/#comments</comments>
		<pubDate>Tue, 09 Aug 2011 18:04:50 +0000</pubDate>
		<dc:creator>Klaas Deforche</dc:creator>
				<category><![CDATA[Dynamics AX]]></category>
		<category><![CDATA[2009]]></category>
		<category><![CDATA[Batch]]></category>
		<category><![CDATA[Error]]></category>
		<category><![CDATA[Patterns]]></category>
		<category><![CDATA[Try Catch]]></category>

		<guid isPermaLink="false">http://www.artofcreation.be/?p=1140</guid>
		<description><![CDATA[Hi all! The code below contains a try/catch that I use a lot when developing batch jobs, especially multithreaded ones. It deals with frequently occurring exceptions that, in some cases, can be easily solved by retrying: Deadlocks Update conflicts Duplicate key conflicts Duplicate key conflicts are more rare than update conflicts, but I&#8217;ve seen them [...]]]></description>
			<content:encoded><![CDATA[<p>Hi all!</p>
<p>The code below contains a try/catch that I use a lot when developing batch jobs, especially <a href="http://www.artofcreation.be/2010/10/03/batch-multithreading/">multithreaded ones</a>.<br />
It deals with frequently occurring exceptions that, in some cases, can be easily solved by retrying:</p>
<ul>
<li>Deadlocks</li>
<li>Update conflicts</li>
<li>Duplicate key conflicts</li>
</ul>
<p>Duplicate key conflicts are more rare than update conflicts, but I&#8217;ve seen them pop up under heavy load on InventDim records.</p>
<div class="codecolorer-container xpp default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="xpp codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp; &nbsp; <span style="color: #0000ff;">try</span><br />
&nbsp; &nbsp; <span style="color: #000000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">ttsbegin</span>;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #007f00;">// do stuff here</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">ttsCommit</span>;<br />
&nbsp; &nbsp; <span style="color: #000000;">&#125;</span><br />
&nbsp; &nbsp; catch <span style="color: #000000;">&#40;</span>Exception<span style="color: #00007f;">::</span><span style="color: #000000;">Deadlock</span><span style="color: #000000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #007f00;">// retry on deadlock</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">retry</span>;<br />
&nbsp; &nbsp; <span style="color: #000000;">&#125;</span><br />
&nbsp; &nbsp; catch <span style="color: #000000;">&#40;</span>Exception<span style="color: #00007f;">::</span><span style="color: #000000;">UpdateConflict</span><span style="color: #000000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #007f00;">// try to resolve update conflict</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">if</span> <span style="color: #000000;">&#40;</span>appl.<span style="color: #000000;">ttsLevel</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #00007f;">==</span> <span style="color: #000000;">0</span><span style="color: #000000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">if</span> <span style="color: #000000;">&#40;</span>xSession<span style="color: #00007f;">::</span><span style="color: #000000;">currentRetryCount</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #00007f;">&gt;=</span> #RetryNum<span style="color: #000000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">throw</span> Exception<span style="color: #00007f;">::</span><span style="color: #000000;">UpdateConflictNotRecovered</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">else</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">retry</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">else</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">throw</span> Exception<span style="color: #00007f;">::</span><span style="color: #000000;">UpdateConflict</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #000000;">&#125;</span><br />
&nbsp; &nbsp; catch<span style="color: #000000;">&#40;</span>Exception<span style="color: #00007f;">::</span><span style="color: #000000;">DuplicateKeyException</span><span style="color: #000000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #007f00;">// retry in case of an duplicate key conflict</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">if</span> <span style="color: #000000;">&#40;</span>appl.<span style="color: #000000;">ttsLevel</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #00007f;">==</span> <span style="color: #000000;">0</span><span style="color: #000000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">if</span> <span style="color: #000000;">&#40;</span>xSession<span style="color: #00007f;">::</span><span style="color: #000000;">currentRetryCount</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #00007f;">&gt;=</span> #RetryNum<span style="color: #000000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">throw</span> Exception<span style="color: #00007f;">::</span><span style="color: #000000;">DuplicateKeyExceptionNotRecovered</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">else</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">retry</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">else</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">throw</span> Exception<span style="color: #00007f;">::</span><span style="color: #000000;">DuplicateKeyException</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #000000;">&#125;</span></div></div>
]]></content:encoded>
			<wfw:commentRss>http://www.artofcreation.be/2011/08/09/try-catch-example-code/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>AIF: There is no service with namespace = &#8216;http://yournamespace&#8217; and external name = &#8216;aService&#8217;.</title>
		<link>http://www.artofcreation.be/2011/04/27/aif-there-is-no-service-with-namespace-httpyournamespace-and-external-name-aservice/</link>
		<comments>http://www.artofcreation.be/2011/04/27/aif-there-is-no-service-with-namespace-httpyournamespace-and-external-name-aservice/#comments</comments>
		<pubDate>Wed, 27 Apr 2011 17:57:33 +0000</pubDate>
		<dc:creator>Klaas Deforche</dc:creator>
				<category><![CDATA[AIF]]></category>
		<category><![CDATA[Dynamics AX]]></category>
		<category><![CDATA[2009]]></category>
		<category><![CDATA[Error]]></category>
		<category><![CDATA[Web service]]></category>

		<guid isPermaLink="false">http://www.artofcreation.be/?p=1117</guid>
		<description><![CDATA[Hi all :-) Today, when testing newly deployed AIF web services, this error was thrown: There is no service with namespace = &#8216;http://yournamespace&#8217; and external name = &#8216;aService&#8217;. Where &#8216;http://yournamespace&#8217; is the namespace you specified on the service node in the AOT, and &#8216;aService&#8217; is the external name of your service. The problem is that [...]]]></description>
			<content:encoded><![CDATA[<p>Hi all :-)</p>
<p>Today, when testing newly deployed AIF web services, this error was thrown:</p>
<blockquote><p>There is no service with namespace = &#8216;http://yournamespace&#8217; and external name = &#8216;aService&#8217;.</p></blockquote>
<p>Where &#8216;http://yournamespace&#8217; is the namespace you specified on the service node in the AOT, and &#8216;aService&#8217; is the external name of your service. </p>
<p>The problem is that on the service node of this service in the AOT, there was a &#8216;/&#8217; (slash) at the end, like this:<br />
<img src="http://www.artofcreation.be/wp-content/uploads/servicewithslash.png" alt="service with slash" title="servicewithslash" width="430" height="163" class="aligncenter size-full wp-image-1120" /><br />
Removing the slash at the end fixes the problem:<br />
<img src="http://www.artofcreation.be/wp-content/uploads/servicewithoutslash.png" alt="service without slash" title="servicewithoutslash" width="432" height="146" class="aligncenter size-full wp-image-1121" /></p>
<p>I did a refresh in the Service form and redeployed my services on the IIS, so you might have to do that too. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.artofcreation.be/2011/04/27/aif-there-is-no-service-with-namespace-httpyournamespace-and-external-name-aservice/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cannot edit a record in Translation table (DEL_PBATranslateConsistOf). Access Denied</title>
		<link>http://www.artofcreation.be/2010/08/29/cannot-edit-a-record-in-translation-table-del_pbatranslateconsistof-access-denied/</link>
		<comments>http://www.artofcreation.be/2010/08/29/cannot-edit-a-record-in-translation-table-del_pbatranslateconsistof-access-denied/#comments</comments>
		<pubDate>Sun, 29 Aug 2010 11:54:23 +0000</pubDate>
		<dc:creator>Klaas Deforche</dc:creator>
				<category><![CDATA[Dynamics AX]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Error]]></category>
		<category><![CDATA[PBA]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.artofcreation.be/?p=887</guid>
		<description><![CDATA[When deleting a company account in Dynamics AX 2009, you can get the following errors: User &#8216;Admin&#8217; is not authorized to delete a record in table &#8216;DEL_PBATRANSLATECONSISTOF). Request den[ied]. Cannot edit a record in Translation table (DEL_PBATranslateConsistOf). Access Denied: You do not have sufficient authorization to modify data in database. This week was the n-th [...]]]></description>
			<content:encoded><![CDATA[<p>When deleting a company account in Dynamics AX 2009, you can get the following errors:</p>
<blockquote><p>User &#8216;Admin&#8217; is not authorized to delete a record in table &#8216;DEL_PBATRANSLATECONSISTOF). Request den[ied].<br />
Cannot edit a record in Translation table (DEL_PBATranslateConsistOf). Access Denied: You do not have sufficient authorization to modify data in database. </p></blockquote>
<p>This week was the n-th time someone has come to me with this problem, so it&#8217;s time to blog about it :-). </p>
<p>The error you receive is odd, because user in question has enough rights to edit any table (administrator).<br />
This error occurs when you don&#8217;t have the Product Builder (PBA) license key enabled. </p>
<p>There are two possible solutions to this problem:</p>
<ul>
<li>Either activate the license key for Product Builder under Administration &#8211; Setup &#8211; System &#8211; License information (if you have the PBA license key), and after synchronizing the Data Dictionary, you should be able to delete the company account</li>
<li>Or if you don&#8217;t have the PBA license key, go to the AOT &#8211; Data Dictionary &#8211; Tables &#8211; DEL_PBATranslateConsistOf, and clear the security key property.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.artofcreation.be/2010/08/29/cannot-edit-a-record-in-translation-table-del_pbatranslateconsistof-access-denied/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>AllowDuplicates Yes: Illegal property value</title>
		<link>http://www.artofcreation.be/2010/05/17/allowduplicates-yes-illegal-property-value/</link>
		<comments>http://www.artofcreation.be/2010/05/17/allowduplicates-yes-illegal-property-value/#comments</comments>
		<pubDate>Mon, 17 May 2010 16:06:22 +0000</pubDate>
		<dc:creator>Klaas Deforche</dc:creator>
				<category><![CDATA[Dynamics AX]]></category>
		<category><![CDATA[Error]]></category>

		<guid isPermaLink="false">http://www.artofcreation.be/?p=716</guid>
		<description><![CDATA[When changing the property AllowDuplicates on a table index from No to Yes, the following error can be thrown at you: Illegal property Value This is because on your table, the property PrimaryIndex is set to the index you are trying to change.]]></description>
			<content:encoded><![CDATA[<p>When changing the property AllowDuplicates on a table index from No to Yes, the following error can be thrown at you:</p>
<blockquote><p>Illegal property Value</p></blockquote>
<p>This is because on your table, the property PrimaryIndex is set to the index you are trying to change. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.artofcreation.be/2010/05/17/allowduplicates-yes-illegal-property-value/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AIF: &#8216;EndElement&#8217; is an invalid XmlNodeType</title>
		<link>http://www.artofcreation.be/2010/04/20/aif-endelement-is-an-invalid-xmlnodetype/</link>
		<comments>http://www.artofcreation.be/2010/04/20/aif-endelement-is-an-invalid-xmlnodetype/#comments</comments>
		<pubDate>Tue, 20 Apr 2010 09:31:08 +0000</pubDate>
		<dc:creator>Klaas Deforche</dc:creator>
				<category><![CDATA[AIF]]></category>
		<category><![CDATA[Dynamics AX]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Error]]></category>

		<guid isPermaLink="false">http://www.artofcreation.be/?p=698</guid>
		<description><![CDATA[Hi all. I got this error when developing a C# .NET application that consumed a AIF web service, and couldn&#8217;t find a solution online so let me share mine :-). The problem was that I initialised my queryCriteria wrong: CriteriaElement ace = new CriteriaElement&#40;&#41;; ace.FieldName = &#34;AccountNum&#34;; ace.Value1 = &#34;000001&#34;; I forgot the specify the [...]]]></description>
			<content:encoded><![CDATA[<p>Hi all. </p>
<p>I got this error when developing a C# .NET application that consumed a AIF web service, and couldn&#8217;t find a solution online so let me share mine :-). </p>
<p>The problem was that I initialised my queryCriteria wrong:</p>
<div class="codecolorer-container csharp default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="csharp codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">CriteriaElement ace <span style="color: #008000;">=</span> <a href="http://www.google.com/search?q=new+msdn.microsoft.com"><span style="color: #008000;">new</span></a> CriteriaElement<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span><br />
ace<span style="color: #008000;">.</span><span style="color: #0000FF;">FieldName</span> <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;AccountNum&quot;</span><span style="color: #008000;">;</span><br />
ace<span style="color: #008000;">.</span><span style="color: #0000FF;">Value1</span> <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;000001&quot;</span><span style="color: #008000;">;</span></div></div>
<p>I forgot the specify the datasourcename and operation:</p>
<div class="codecolorer-container csharp default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="csharp codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">CriteriaElement ace <span style="color: #008000;">=</span> <a href="http://www.google.com/search?q=new+msdn.microsoft.com"><span style="color: #008000;">new</span></a> CriteriaElement<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span><br />
ace<span style="color: #008000;">.</span><span style="color: #0000FF;">FieldName</span> <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;AccountNum&quot;</span><span style="color: #008000;">;</span><br />
ace<span style="color: #008000;">.</span><span style="color: #0000FF;">Value1</span> <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;000001&quot;</span><span style="color: #008000;">;</span><br />
ace<span style="color: #008000;">.</span><span style="color: #0000FF;">DataSourceName</span> <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;VendTable&quot;</span><span style="color: #008000;">;</span><br />
ace<span style="color: #008000;">.</span><span style="color: #0600FF; font-weight: bold;">Operator</span> <span style="color: #008000;">=</span> <span style="color: #0600FF; font-weight: bold;">Operator</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Equal</span><span style="color: #008000;">;</span></div></div>
]]></content:encoded>
			<wfw:commentRss>http://www.artofcreation.be/2010/04/20/aif-endelement-is-an-invalid-xmlnodetype/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AIF: HTTP Error 404.3 &#8211; Not Found</title>
		<link>http://www.artofcreation.be/2010/04/19/aif-http-error-404-3-not-found/</link>
		<comments>http://www.artofcreation.be/2010/04/19/aif-http-error-404-3-not-found/#comments</comments>
		<pubDate>Mon, 19 Apr 2010 14:34:24 +0000</pubDate>
		<dc:creator>Klaas Deforche</dc:creator>
				<category><![CDATA[AIF]]></category>
		<category><![CDATA[Dynamics AX]]></category>
		<category><![CDATA[Error]]></category>
		<category><![CDATA[IIS]]></category>

		<guid isPermaLink="false">http://www.artofcreation.be/?p=688</guid>
		<description><![CDATA[After installing an AIF web server and deploying services on it, I got an error when I tried to browse my web service http://myhost:82/MicrosoftDynamicsAXAif50/itemservice.svc. The error was: HTTP Error 404.3 &#8211; Not Found When I tried to add a web reference the svc in visual studio .NET, I got a similar error: HTTP Error 404 [...]]]></description>
			<content:encoded><![CDATA[<p>After installing an AIF web server and deploying services on it, I got an error when I tried to browse my web service http://myhost:82/MicrosoftDynamicsAXAif50/itemservice.svc.<br />
The error was:</p>
<blockquote><p>HTTP Error 404.3 &#8211; Not Found</p></blockquote>
<p>When I tried to add a web reference the svc in visual studio .NET, I got a similar error:</p>
<blockquote><p>HTTP Error 404 &#8211; Not Found</p></blockquote>
<p>I solved it by using the method described on the AIF blog:<br />
<a href="http://blogs.msdn.com/aif/archive/2008/12/12/http-error-404-3-is-received-when-calling-a-web-service.aspx">http://blogs.msdn.com/aif/archive/2008/12/12/http-error-404-3-is-received-when-calling-a-web-service.aspx</a></p>
<p>Basically, execute the following command on your web server:</p>
<div class="codecolorer-container dos default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="dos codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">ServiceModelReg.exe -i -x</div></div>
<p>After that, everything worked fine. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.artofcreation.be/2010/04/19/aif-http-error-404-3-not-found/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AIF: The path %1 does not exist or is not accessible from an AOS server. Always use a UNC path.</title>
		<link>http://www.artofcreation.be/2009/12/08/aif-the-path-1-does-not-exist-or-is-not-accessible-from-an-aos-server-always-use-a-unc-path/</link>
		<comments>http://www.artofcreation.be/2009/12/08/aif-the-path-1-does-not-exist-or-is-not-accessible-from-an-aos-server-always-use-a-unc-path/#comments</comments>
		<pubDate>Tue, 08 Dec 2009 17:03:27 +0000</pubDate>
		<dc:creator>Klaas Deforche</dc:creator>
				<category><![CDATA[AIF]]></category>
		<category><![CDATA[Dynamics AX]]></category>
		<category><![CDATA[Error]]></category>

		<guid isPermaLink="false">http://www.artofcreation.be/?p=350</guid>
		<description><![CDATA[Hi guys, It seems like I&#8217;m going to be doing a lot of AIF in the future, so I&#8217;d like to share the first AIF error I came across: The path C:\AIF does not exist or is not accessible from an AOS server. Always use a UNC path. You can get this error when setting [...]]]></description>
			<content:encoded><![CDATA[<p>Hi guys,</p>
<p>It seems like I&#8217;m going to be doing a lot of AIF in the future, so I&#8217;d like to share the first AIF error I came across:</p>
<blockquote><p>The path C:\AIF does not exist or is not accessible from an AOS server. Always use a UNC path.</p></blockquote>
<p>You can get this error when setting up channels.<br />
While I immediately know what the problem was (you have to use shares), my less technical-minded colleague didn&#8217;t know what to do. </p>
<p>This is what Wikipedia has to say about &#8216;UNC path&#8217;:</p>
<blockquote><p>The Microsoft Windows UNC, short for Universal Naming Convention or Uniform Naming Convention, specifies a common syntax to describe the location of a network resource, such as a shared file, directory, or printer. The UNC syntax for Windows systems has the generic form:</p>
<p>\\ComputerName\SharedFolder\Resource</p></blockquote>
<p>So there you have it, you have to use a shared folder in stead of a local folder.<br />
This is logical, as AIF runs on server, and the AOS can not access your local folders.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.artofcreation.be/2009/12/08/aif-the-path-1-does-not-exist-or-is-not-accessible-from-an-aos-server-always-use-a-unc-path/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Error code 122 while exporting xpo</title>
		<link>http://www.artofcreation.be/2009/06/05/error-code-122-while-exporting-xpo/</link>
		<comments>http://www.artofcreation.be/2009/06/05/error-code-122-while-exporting-xpo/#comments</comments>
		<pubDate>Fri, 05 Jun 2009 13:12:45 +0000</pubDate>
		<dc:creator>Klaas Deforche</dc:creator>
				<category><![CDATA[Dynamics AX]]></category>
		<category><![CDATA[Error]]></category>

		<guid isPermaLink="false">http://www.artofcreation.be/?p=119</guid>
		<description><![CDATA[While exporting code from Dynamics Ax to an xpo file, I received the following error: Error in file: C\DOCUME~1\SRV_TR~1\LOCALS~1\Temp\$tmp00040005$ while writing in record = D8AA0 Windows error: = Error code: 112 = Unknown Error Error code 122 means (msdn): ERROR_DISK_FULL: There is not enough space on the disk. The problem here is that the AOS [...]]]></description>
			<content:encoded><![CDATA[<p>While exporting code from Dynamics Ax to an xpo file, I received the following error:</p>
<blockquote><p>
Error in file: C\DOCUME~1\SRV_TR~1\LOCALS~1\Temp\$tmp00040005$ while writing in record = D8AA0<br />
Windows error: =<br />
Error code: 112 = Unknown Error
</p></blockquote>
<p>Error code 122 means (<a href="http://msdn.microsoft.com/en-us/library/ms681382(VS.85).aspx">msdn</a>):</p>
<blockquote><p>ERROR_DISK_FULL: There is not enough space on the disk.
</p></blockquote>
<p>The problem here is that the AOS is trying to create a file, but there is not enough space on the hard disk to do that.<br />
You can solve this problem by freeing up disk space on the AOS. After you did that, exporting will work again.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.artofcreation.be/2009/06/05/error-code-122-while-exporting-xpo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

