<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://dynamicsuser.net/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><title type="html">Marco&amp;#39;s Blog</title><subtitle type="html">My technical thoughts on Dynamics NAV</subtitle><id>http://dynamicsuser.net/blogs/marcos/atom.aspx</id><link rel="alternate" type="text/html" href="http://dynamicsuser.net/blogs/marcos/default.aspx" /><link rel="self" type="application/atom+xml" href="http://dynamicsuser.net/blogs/marcos/atom.aspx" /><generator uri="http://communityserver.org" version="4.1.40407.4157">Community Server</generator><updated>2011-04-14T07:40:00Z</updated><entry><title>NAV2013 reporting and RDP issues</title><link rel="alternate" type="text/html" href="/blogs/marcos/archive/2013/02/28/nav2013-reporting-and-rdp-issues.aspx" /><id>/blogs/marcos/archive/2013/02/28/nav2013-reporting-and-rdp-issues.aspx</id><published>2013-02-28T10:38:00Z</published><updated>2013-02-28T10:38:00Z</updated><content type="html">&lt;p&gt;A couple of weeks ago I ran into a problem with Microsoft Dynamics NAV 2013 in combination with Remote Desktop Clients. I also found a &lt;a href="http://blog.dynms.com/2012/10/nav-2013-report-issues.html"&gt;blog &lt;/a&gt;describing the problem I found:&lt;/p&gt;
&lt;p&gt;In short, when printing reports via an RDP session using a wide-screen resolution. All fonts got squished.&amp;nbsp;We didn&amp;#39;t see anything wrong while using the preview function, but when really printing the reports, everything looked distorted.&lt;/p&gt;
&lt;p&gt;Well, as I said.. I found the blog post by Mark H I mentioned above, but I didn&amp;#39;t quite like the possible solutions. Since one of our customers had a serious problem with this bug I contacted Microsoft.&lt;/p&gt;
&lt;p&gt;To my surprise MS was fully aware of the problem but at the time they only had the following solutions:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Use Server Side printing (using the Job Queue)&lt;/li&gt;
&lt;li&gt;Deploy a Windows Server 2012 (WS 2012 is not affected by this issue)&lt;/li&gt;
&lt;li&gt;Only print on local clients.. &lt;img src="http://dynamicsuser.net/emoticons/emotion-9.gif" alt="Crying" /&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;It may be clear to all of you that the second&amp;nbsp;option&amp;nbsp;is nice for new customers but personally I can imagine the reaction of existing customers when you&amp;#39;ll propose it. (&amp;quot;Who is going to pay for this update?&amp;quot;) Server side printing on the other hand is not a complete solution, because this only works for batch printing via the job queue.&lt;/p&gt;
&lt;p&gt;The problem for the issue as my MS contact stated was actually not in NAV, but in SQL server and/or Windows 2008. This seems logical since Windows 2012 does not have this problem. They told me that they would escalate the issue to the SQL department. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;A couple of weeks passed, and I got a few updates that they were still working on the problem. Then, last Wednesday, I got an e-mail that they found a solution!! The complete description can be found in the following KB article: &lt;a href="http://support.microsoft.com/kb/2768741"&gt;http://support.microsoft.com/kb/2768741&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;At the moment we are testing the update, and until now everything looks ok on our development environment. Next test will be on our customer environment. So this looks a bit early to be very cheerful, but I didn&amp;#39;t want to keep this possible solution to myself. &lt;/p&gt;
&lt;p&gt;Note: Much thanks to Lars Lohndorf-Larsen, Duilio Tacconi and the MS Development team for their support!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://dynamicsuser.net/aggbug.aspx?PostID=330653" width="1" height="1"&gt;</content><author><name>MarcoV</name><uri>http://dynamicsuser.net/members/MarcoV/default.aspx</uri></author><category term="RTC" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/RTC/default.aspx" /><category term="Reports" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/Reports/default.aspx" /><category term="RDLC" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/RDLC/default.aspx" /><category term="NAV 2013" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/NAV+2013/default.aspx" /><category term="Bugs" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/Bugs/default.aspx" /></entry><entry><title>[NAV2013] Nobody's perfect: Page 291 and 296</title><link rel="alternate" type="text/html" href="/blogs/marcos/archive/2012/11/21/nav2013-nobody-s-perfect-page-291-and-296.aspx" /><id>/blogs/marcos/archive/2012/11/21/nav2013-nobody-s-perfect-page-291-and-296.aspx</id><published>2012-11-21T08:39:00Z</published><updated>2012-11-21T08:39:00Z</updated><content type="html">&lt;p&gt;As most of you&amp;#39;ve noticed, Microsoft has (finally) decided to lengthen most of the text fields from 30 to 50 characters. &lt;/p&gt;
&lt;p&gt;To my regret, I must say that the MS Dynamics NAV development team made at least a few mistakes here. When you open the global variables window in page 291 and 296 you will see what I mean. &lt;/p&gt;
&lt;p&gt;&lt;a href="http://dynamicsuser.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/marcos/7851.20121121_5F00_01.jpg"&gt;&lt;img src="http://dynamicsuser.net/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/marcos/7851.20121121_5F00_01.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Yep, your eyes are not deceiving you.. the &amp;quot;Description2&amp;quot; variable&amp;nbsp;is still 30 characters. Off course this doesn&amp;#39;t have to be a problem if the function that fills the variable is also using a 30 character parameter. But well, since a picture says more than a thousand words:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://dynamicsuser.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/marcos/5141.20121121_5F00_02.jpg"&gt;&lt;img src="http://dynamicsuser.net/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/marcos/5141.20121121_5F00_02.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;As you can see the parameter is 50 characters so here we&amp;#39;ve got a potential overflow error. We&amp;#39;ve already reported this issue at Microsoft and they&amp;#39;ve told us that it will be fixed in a future service pack. But for now as they told us:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;quot;From the current release perspective, please go ahead and increase length of Description2 global variable (page 291 and 296) to 50 chars. This will make it consistent with the parameter that sets value here.&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Just so you all know.. nobody&amp;#39;s perfect. &lt;img src="http://dynamicsuser.net/emoticons/emotion-5.gif" alt="Wink" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://dynamicsuser.net/aggbug.aspx?PostID=313797" width="1" height="1"&gt;</content><author><name>MarcoV</name><uri>http://dynamicsuser.net/members/MarcoV/default.aspx</uri></author><category term="Coderules" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/Coderules/default.aspx" /><category term="Tips and tricks" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/Tips+and+tricks/default.aspx" /><category term="NAV7" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/NAV7/default.aspx" /><category term="NAV 2013" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/NAV+2013/default.aspx" /><category term="Bugs" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/Bugs/default.aspx" /></entry><entry><title>Tip: Error "The object file cannot be used with this version of the program."</title><link rel="alternate" type="text/html" href="/blogs/marcos/archive/2012/11/19/tip-error-quot-the-object-file-cannot-be-used-with-this-version-of-the-program-quot.aspx" /><id>/blogs/marcos/archive/2012/11/19/tip-error-quot-the-object-file-cannot-be-used-with-this-version-of-the-program-quot.aspx</id><published>2012-11-19T15:16:00Z</published><updated>2012-11-19T15:16:00Z</updated><content type="html">&lt;p&gt;Last week I ran into the strangest error I ever encountered when using NAV. While &lt;strong&gt;EXPORTING&lt;/strong&gt; an object from my NAV2009 R2 client I got the following error. &lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;span style="font-size:x-small;"&gt;---------------------------&lt;br /&gt;Microsoft Dynamics NAV Classic&lt;br /&gt;---------------------------&lt;br /&gt;The object file cannot be used with this version of the program.&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;span style="font-size:x-small;"&gt;---------------------------&lt;br /&gt;OK&amp;nbsp;&amp;nbsp; &lt;br /&gt;---------------------------&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Ok, this is strange.. and I wouldn&amp;#39;t be as flabbergasted as I was now if I was importing something. But this error when EXPORTING from NAV?? &lt;/p&gt;
&lt;p&gt;After searching for some time, one&amp;nbsp;of my colleagues (David de Groot)&amp;nbsp;asks what my problem was. I told him what I ran into an his response was equally surprising..&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;quot;Did you try to export your fob to another folder?&amp;quot;&lt;/em&gt; &lt;/p&gt;
&lt;p&gt;Off course I answered that question with a &amp;quot;No&amp;quot;.. &lt;/p&gt;
&lt;p&gt;Well he explained that he ran into the same problem a couple of days ago. The cause of this problem is that in the folder in which&amp;nbsp;I wanted export your fob file,&amp;nbsp; there was already a fob file that was exported with NAV2013. In all it&amp;#39;s wisdom, Microsoft has decided that you can no longer export fobs of multiple versions of NAV directly to the same folder.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;To our beloved Dynamics NAV development team:&lt;/span&gt;&lt;/strong&gt; Of course this is a nice safety feature but PLEASE make your error messages better to understand!!! &lt;img src="http://dynamicsuser.net/emoticons/emotion-4.gif" alt="Stick out tongue" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://dynamicsuser.net/aggbug.aspx?PostID=313385" width="1" height="1"&gt;</content><author><name>MarcoV</name><uri>http://dynamicsuser.net/members/MarcoV/default.aspx</uri></author><category term="NAV 2009" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/NAV+2009/default.aspx" /><category term="Tips and tricks" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/Tips+and+tricks/default.aspx" /><category term="NAV 2009 R2" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/NAV+2009+R2/default.aspx" /><category term="NAV7" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/NAV7/default.aspx" /><category term="NAV 2013" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/NAV+2013/default.aspx" /></entry><entry><title>NAV2013 – BrowsForFolder/Running DotNet Client Side</title><link rel="alternate" type="text/html" href="/blogs/marcos/archive/2012/10/02/nav2013-browsforfolder-running-dotnet-client-side.aspx" /><id>/blogs/marcos/archive/2012/10/02/nav2013-browsforfolder-running-dotnet-client-side.aspx</id><published>2012-10-02T09:02:00Z</published><updated>2012-10-02T09:02:00Z</updated><content type="html">&lt;p&gt;One of the functions I always missed in the old Common Dialog management was the &amp;quot;BrowseForFolder&amp;quot; dialog. Since I think NAV4.0 I used the function below (using the &amp;quot;Microsoft Shell Controls and Automation&amp;quot;).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://dynamicsuser.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/marcos/7558.20121002_5F00_01.jpg"&gt;&lt;img src="http://dynamicsuser.net/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/marcos/7558.20121002_5F00_01.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;But well, now we&amp;#39;ve got NAV2013 and the &amp;quot;Commondialog Mgt.&amp;quot; Codeunit was gone! (And so is my old function)&lt;/p&gt;
&lt;p&gt;Fortunately we now got the&amp;nbsp; &amp;quot;File Management&amp;quot; codeunit with all those file functions upgraded to RTC.&amp;nbsp; With just a little programming this was my first attempt to recreate the function. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://dynamicsuser.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/marcos/4062.20121002_5F00_02.jpg"&gt;&lt;img src="http://dynamicsuser.net/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/marcos/4062.20121002_5F00_02.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The OpenFolderDialog is a &amp;quot;System.Windows.Forms.FolderBrowserDialog&amp;quot; dotNet variable, aswell is the DialogResult variable (this one I copied from one of the other functions in the codeunit).&lt;/p&gt;
&lt;p&gt;Just a piece of clean code, nothing special. Later on, I even found a &lt;a href="http://blogs.msdn.com/b/nav/archive/2011/10/30/useful-dialog-windows-with-net-interop-and-nav-2009-r2.aspx"&gt;blog post&lt;/a&gt; that reveals even more neat functions. &lt;/p&gt;
&lt;p&gt;Next step was to test my function, but then I ran into the following error:&lt;/p&gt;
&lt;p&gt;&lt;i&gt;This message is for C/AL programmers: A call to System.Windows.Forms.FolderBrowserDialog.ShowDialog failed with this message: Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;While looking into what caused the problem I suddenly realised that I forgot one crucial property to set in my variables. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://dynamicsuser.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/marcos/1234.20121002_5F00_03.jpg"&gt;&lt;img src="http://dynamicsuser.net/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/marcos/1234.20121002_5F00_03.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;After changing the RunOnClient property to &amp;quot;Yes&amp;quot; (&amp;quot;No&amp;quot; is the default), the error was solved!&lt;/p&gt;
&lt;p&gt;When running dotNet components on the client side of your application, keep in mind to check this property!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://dynamicsuser.net/aggbug.aspx?PostID=303332" width="1" height="1"&gt;</content><author><name>MarcoV</name><uri>http://dynamicsuser.net/members/MarcoV/default.aspx</uri></author><category term="Tools" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/Tools/default.aspx" /><category term="Tips and tricks" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/Tips+and+tricks/default.aspx" /><category term="NAV 2013" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/NAV+2013/default.aspx" /></entry><entry><title>NAV2013 - Convert your Beta database to the RTM</title><link rel="alternate" type="text/html" href="/blogs/marcos/archive/2012/10/01/nav2013-convert-your-beta-database-to-the-rtm.aspx" /><id>/blogs/marcos/archive/2012/10/01/nav2013-convert-your-beta-database-to-the-rtm.aspx</id><published>2012-10-01T08:06:00Z</published><updated>2012-10-01T08:06:00Z</updated><content type="html">&lt;p&gt;&lt;span style="font-size:small;"&gt;I just ran into a small &amp;#39;oops&amp;#39; moment just now. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:small;"&gt;While the RTM version of NAV2013 is release last week, I decided to updat my client from the beta version to the RTM version. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:small;"&gt;This is what happened:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="font-size:small;"&gt;I uninstalled the beta client and servers/services&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size:small;"&gt;I installed the RTM client and servers/services&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size:small;"&gt;I then tried to open my &amp;#39;beta&amp;quot;-database with the new client.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span style="font-size:small;"&gt;This is wher everything halted with the message that the database had to be converted. Ok, this is no problem in this case. But when I clicked &amp;#39;OK&amp;#39;, I got the error that the database could nog be converted because there were objects locked in de database. Off course this was a beginners mistake but how to correct it without uninstalling the RTM and re-installing the beta client, unlocking the objects.. etc?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:small;"&gt;If you run into this problem, this is one solution:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:small;"&gt;Open your SQL Server Management Studio and input the following query in&amp;nbsp;while connected to the correct SQL instance. (Replace &amp;quot;&lt;em&gt;Demo Database NAV (7-0)&amp;quot; &lt;/em&gt;with your own database name&lt;em&gt;)&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#0000ff;font-size:x-small;"&gt;&lt;span style="color:#0000ff;font-size:x-small;"&gt;&lt;span style="color:#0000ff;font-size:x-small;"&gt;&lt;span style="color:#0000ff;font-size:x-small;"&gt;&lt;span style="color:#000000;"&gt;&amp;nbsp;&lt;/span&gt;&lt;em&gt;UPDATE&amp;nbsp;&lt;/em&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;em&gt;&lt;span style="font-size:x-small;"&gt;[Demo Database NAV (7-0)]&lt;/span&gt;&lt;span style="color:#808080;font-size:x-small;"&gt;&lt;span style="color:#808080;font-size:x-small;"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:x-small;"&gt;[dbo]&lt;/span&gt;&lt;span style="color:#808080;font-size:x-small;"&gt;&lt;span style="color:#808080;font-size:x-small;"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;em&gt;&lt;span style="font-size:x-small;"&gt;[Object]&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#0000ff;font-size:x-small;"&gt;&lt;span style="color:#0000ff;font-size:x-small;"&gt;&amp;nbsp; &amp;nbsp;SET&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:x-small;"&gt; [Locked] &lt;/span&gt;&lt;span style="color:#808080;font-size:x-small;"&gt;&lt;span style="color:#808080;font-size:x-small;"&gt;=&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;em&gt;&lt;span style="font-size:x-small;"&gt; 0&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#808080;font-size:x-small;"&gt;&lt;span style="color:#808080;font-size:x-small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;,&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:x-small;"&gt;[Locked By] &lt;/span&gt;&lt;span style="color:#808080;font-size:x-small;"&gt;&lt;span style="color:#808080;font-size:x-small;"&gt;=&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:x-small;"&gt; &lt;/span&gt;&lt;/em&gt;&lt;em&gt;&lt;span style="color:#ff0000;font-size:x-small;"&gt;&lt;span style="color:#ff0000;font-size:x-small;"&gt;&amp;#39;&amp;#39;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#0000ff;font-size:x-small;"&gt;&lt;span style="color:#0000ff;font-size:x-small;"&gt;&amp;nbsp;WHERE&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:x-small;"&gt; [Locked] &lt;/span&gt;&lt;span style="color:#808080;font-size:x-small;"&gt;&lt;span style="color:#808080;font-size:x-small;"&gt;=&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;em&gt;&lt;span style="font-size:x-small;"&gt; 1 &lt;br /&gt;&lt;/span&gt;&lt;span style="color:#0000ff;font-size:x-small;"&gt;&lt;span style="color:#0000ff;font-size:x-small;"&gt;&amp;nbsp;GO&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#0000ff;font-size:x-small;"&gt;&lt;span style="color:#0000ff;font-size:x-small;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:small;"&gt;Run the query and close your SQL Server Management Studio before retrying the conversion!&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#0000ff;font-size:x-small;"&gt;&lt;span style="color:#0000ff;font-size:x-small;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:small;"&gt;It&amp;#39;s just one of those mondays... &lt;img src="http://dynamicsuser.net/emoticons/emotion-5.gif" alt="Wink" /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://dynamicsuser.net/aggbug.aspx?PostID=303132" width="1" height="1"&gt;</content><author><name>MarcoV</name><uri>http://dynamicsuser.net/members/MarcoV/default.aspx</uri></author><category term="Tools" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/Tools/default.aspx" /><category term="Tips and tricks" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/Tips+and+tricks/default.aspx" /><category term="NAV 2013" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/NAV+2013/default.aspx" /></entry><entry><title>NAV2013 - ExportObjects from RTC</title><link rel="alternate" type="text/html" href="/blogs/marcos/archive/2012/09/19/nav2013-exportobjects-from-rtc.aspx" /><link rel="enclosure" type="text/plain" length="1359" href="http://dynamicsuser.net/cfs-file.ashx/__key/CommunityServer.Components.PostAttachments/00.00.29.98.52/ExportExample.txt" /><id>/blogs/marcos/archive/2012/09/19/nav2013-exportobjects-from-rtc.aspx</id><published>2012-09-19T13:35:00Z</published><updated>2012-09-19T13:35:00Z</updated><content type="html">&lt;h2&gt;Problem?&lt;/h2&gt;
&lt;p&gt;As &lt;a href="http://dynamicsuser.net/members/lvanvugt/default.aspx"&gt;Luc van Vugt&lt;/a&gt; has posted in his &lt;a href="http://dynamicsuser.net/blogs/vanvugt/archive/2012/06/18/nav2013-glance-6-exportobjects-or-importobjects.aspx"&gt;blog&lt;/a&gt;, Importobjects and ExportObjects are no longer supported in C/Side code. Because we used this command in many of our development tools I&amp;#39;ve been looking for an answer for this problem. &lt;/p&gt;
&lt;p&gt;First, on the MSDN library, I&amp;nbsp;read the following document: &lt;a href="http://msdn.microsoft.com/en-us/library/hh166064%28v=nav.70%29.aspx"&gt;http://msdn.microsoft.com/en-us/library/hh166064%28v=nav.70%29.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In here it states that you can use export objects by using the command line for the FinSQL.exe&lt;/p&gt;
&lt;p&gt;OK, that was the first step for me. But how am I going to run this command from RTC as we are not allowed to use the SHELL command anymore?&lt;/p&gt;
&lt;h2&gt;Solution!&lt;/h2&gt;
&lt;p&gt;Well, this is how I solved it:&lt;/p&gt;
&lt;p&gt;First off all, I created a new codeunit witthe function: &lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;em&gt;Export Object(VAR Obj : Record Object;Format : &amp;#39;txt,fob&amp;#39;)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;In this function I created the following variable:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;em&gt;Name: startCmd&lt;br /&gt;Datatype: DotNet&lt;br /&gt;Subtype: System.Diagnostics.Process.&amp;#39;System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&amp;#39;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Next it was just a matter of entering the following code (ok, I also use a setup table &lt;img src="http://dynamicsuser.net/emoticons/emotion-5.gif" alt="Wink" /&gt;):&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;em&gt;&lt;span style="color:#339966;"&gt;//Exports the selected objects object by object&lt;br /&gt;&lt;/span&gt;Setup.GET();&lt;br /&gt;Setup.TESTFIELD(&amp;quot;FinSQL filename&amp;quot;);&lt;br /&gt;Setup.TESTFIELD(&amp;quot;Workspace location&amp;quot;);&lt;br /&gt;Setup.TESTFIELD(&amp;quot;Server Name&amp;quot;);&lt;br /&gt;Setup.TESTFIELD(&amp;quot;Database Name&amp;quot;);&lt;/em&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;em&gt;CommandText := &amp;#39;command=exportobjects, file=&amp;quot;%1&amp;quot;, servername=&amp;quot;%2&amp;quot;,&amp;nbsp;database=&amp;quot;%3&amp;quot;, &amp;#39;+ &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;#39;filter=&amp;quot;Type=%4;ID=%5&amp;quot;, ntauthentication=yes, logfile=C:\QueryExportLog.txt&amp;#39;;&lt;/em&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;em&gt;IF Obj.FINDSET THEN&lt;br /&gt;&amp;nbsp; REPEAT&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; startCmd.Start(Setup.&amp;quot;FinSQL filename&amp;quot;, STRSUBSTNO(CommandText, Setup.&amp;quot;Server Name&amp;quot;, Setup.&amp;quot;Database Name&amp;quot;, GetObjectFileName(Obj), Obj.Type, Obj.ID));&lt;br /&gt;&amp;nbsp; UNTIL Obj.NEXT = 0;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Of Course the import objects will probably work in&amp;nbsp;a similar&amp;nbsp;way.. and the system.diagnostics.process.start component can probably be used for a lot of other purposes too!&lt;/p&gt;
&lt;h2&gt;Other solutions available.&lt;/h2&gt;
&lt;p&gt;As some of you may know &lt;a href="http://dynamicsuser.net/members/lvanvugt/default.aspx"&gt;Luc van Vugt&lt;/a&gt; and I work closely together and when we discussed my draft version of this blog, he mentioned that Ron van de Wijngaard (ToIncrease) had sent him a piece of example code which would do the same. Ron said that Luc could use it in one of his future posts, but since I was already working on this&amp;nbsp;one he gladly left me the honors. &amp;nbsp;It was great to find out dat Ron also is using the same DotNet components as myself. So this would be a matter of &amp;#39;great minds think alike&amp;#39; &lt;img src="http://dynamicsuser.net/emoticons/emotion-2.gif" alt="Big Smile" /&gt;&lt;/p&gt;
&lt;p&gt;- Edit 10-03-2012 - I just added a simplified example of the export function as a text file to this post.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://dynamicsuser.net/aggbug.aspx?PostID=299852" width="1" height="1"&gt;</content><author><name>MarcoV</name><uri>http://dynamicsuser.net/members/MarcoV/default.aspx</uri></author><category term="RTC" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/RTC/default.aspx" /><category term="Tools" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/Tools/default.aspx" /><category term="Tips and tricks" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/Tips+and+tricks/default.aspx" /><category term="DotNet" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/DotNet/default.aspx" /><category term="NAV7" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/NAV7/default.aspx" /><category term="NAV 2013" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/NAV+2013/default.aspx" /></entry><entry><title>NAV2013 - Page controls</title><link rel="alternate" type="text/html" href="/blogs/marcos/archive/2012/09/10/nav2013-page-controls.aspx" /><id>/blogs/marcos/archive/2012/09/10/nav2013-page-controls.aspx</id><published>2012-09-10T08:45:00Z</published><updated>2012-09-10T08:45:00Z</updated><content type="html">&lt;p&gt;While upgrading one of our add-ons I ran into the following message.&lt;/p&gt;
&lt;p&gt;---------------------------&lt;br /&gt;Microsoft Dynamics NAV Development Environment&lt;br /&gt;---------------------------&lt;br /&gt;Control name &amp;#39;xxxxxxx&amp;#39; is already being used. Control names must be unique.&lt;br /&gt;---------------------------&lt;br /&gt;OK&amp;nbsp;&amp;nbsp; &lt;br /&gt;---------------------------&lt;/p&gt;
&lt;p&gt;Well, what does this mean? In short, when you are upgrading to NAV2013, keep in mind that from now on you can&amp;#39;t use the same control name twice within the same page. &lt;/p&gt;
&lt;p&gt;It&amp;#39;s just one of those small new features you may run into when developing NAV2013. &lt;img src="http://dynamicsuser.net/emoticons/emotion-5.gif" alt="Wink" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://dynamicsuser.net/aggbug.aspx?PostID=297449" width="1" height="1"&gt;</content><author><name>MarcoV</name><uri>http://dynamicsuser.net/members/MarcoV/default.aspx</uri></author><category term="Coderules" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/Coderules/default.aspx" /><category term="Tips and tricks" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/Tips+and+tricks/default.aspx" /><category term="NAV7" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/NAV7/default.aspx" /><category term="NAV 2013" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/NAV+2013/default.aspx" /><category term="Pages" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/Pages/default.aspx" /></entry><entry><title>DDC Event - Session reports are online!</title><link rel="alternate" type="text/html" href="/blogs/marcos/archive/2012/06/22/ddc-event-session-reports-are-online.aspx" /><id>/blogs/marcos/archive/2012/06/22/ddc-event-session-reports-are-online.aspx</id><published>2012-06-22T09:35:00Z</published><updated>2012-06-22T09:35:00Z</updated><content type="html">&lt;p&gt;As many of the Dutch Dynamics enthausiasts, I visted the DDC event last Tuesday. &lt;/p&gt;
&lt;p&gt;Since I was visiting &lt;a href="http://dynamicsuser.net/blogs/waldo/archive/2012/06/20/prs-nav-decisions-amp-dutch-dynamics-community.aspx"&gt;Waldo&amp;#39;s&lt;/a&gt; session, &lt;a href="http://dynamicsuser.net/members/lvanvugt/default.aspx"&gt;Luc van Vugt&lt;/a&gt; asked me to write a small&lt;a href="http://www.dutchdynamics.net/blog/ddc-nav-sessions/2012/06/21/ddc-19-juni-2012---creating-repeatable-software"&gt; blog&lt;/a&gt; about this session.(It is in Dutch)&lt;/p&gt;
&lt;p&gt;You can see all blog posts of the DDC Events here: &lt;a href="http://www.dutchdynamics.net/blog"&gt;http://www.dutchdynamics.net/blog&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://dynamicsuser.net/aggbug.aspx?PostID=280171" width="1" height="1"&gt;</content><author><name>MarcoV</name><uri>http://dynamicsuser.net/members/MarcoV/default.aspx</uri></author><category term="Dutch Dynamics Community" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/Dutch+Dynamics+Community/default.aspx" /><category term="DDC" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/DDC/default.aspx" /></entry><entry><title>NAV2013 – Go To Definition</title><link rel="alternate" type="text/html" href="/blogs/marcos/archive/2012/06/19/nav2013-go-to-definition.aspx" /><id>/blogs/marcos/archive/2012/06/19/nav2013-go-to-definition.aspx</id><published>2012-06-19T08:00:00Z</published><updated>2012-06-19T08:00:00Z</updated><content type="html">&lt;p&gt;During my exploration of NAV2013 I found out that the NAV development team also changed the &amp;quot;Go To Definition&amp;quot; functionality. In this example I&amp;#39;m using Page 42 &amp;quot;Sales Order&amp;quot;.&lt;/p&gt;
&lt;p&gt;In NAV2009R2 this context menu is shown when right-clicking the &amp;quot;SalesLines&amp;quot; sub page.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://dynamicsuser.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/marcos/4617.Blog-20120619-_2D00_-NAV2013-_2D00_-Goto-Definition-1.jpg"&gt;&lt;img src="http://dynamicsuser.net/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/marcos/4617.Blog-20120619-_2D00_-NAV2013-_2D00_-Goto-Definition-1.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;However, when doing the same thing in NAV2013, you get this:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://dynamicsuser.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/marcos/5141.Blog-20120619-_2D00_-NAV2013-_2D00_-Goto-Definition-2.jpg"&gt;&lt;img src="http://dynamicsuser.net/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/marcos/5141.Blog-20120619-_2D00_-NAV2013-_2D00_-Goto-Definition-2.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Conclusion: In NAV2013 you can now easily open the used sub page with &amp;quot;Go To Definition&amp;quot; or Ctrl+F12 which will save you a lot of switching back to the object designer!&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#0000ff;"&gt;&lt;strong&gt;&amp;nbsp;Note:&lt;/strong&gt; Do not forget: The next &lt;/span&gt;&lt;a href="http://dutchdynamics.net/events/2012/06/01/event-19-juni-2012"&gt;&lt;span style="color:#0000ff;"&gt;Dutch Dynamics Comunity Event&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#0000ff;"&gt; is this evening in Gorinchem (NL) with, among others, a session presented by &lt;/span&gt;&lt;a href="http://www.partner-ready-software.com/index.html"&gt;&lt;span style="color:#0000ff;"&gt;Partner Ready Software&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#0000ff;"&gt; (Gary Winter, Eric Wauters (Waldo) and Mark Brummel).&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://dynamicsuser.net/aggbug.aspx?PostID=279400" width="1" height="1"&gt;</content><author><name>MarcoV</name><uri>http://dynamicsuser.net/members/MarcoV/default.aspx</uri></author><category term="Tips and tricks" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/Tips+and+tricks/default.aspx" /><category term="Dutch Dynamics Community" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/Dutch+Dynamics+Community/default.aspx" /><category term="DDC" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/DDC/default.aspx" /><category term="NAV 2013" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/NAV+2013/default.aspx" /></entry><entry><title>NAV2013 – Security (2)</title><link rel="alternate" type="text/html" href="/blogs/marcos/archive/2012/06/13/nav2013-security-2.aspx" /><id>/blogs/marcos/archive/2012/06/13/nav2013-security-2.aspx</id><published>2012-06-13T07:32:00Z</published><updated>2012-06-13T07:32:00Z</updated><content type="html">&lt;p&gt;&amp;nbsp;After posting my last blog about changes in security for NAV2013, one of my colleagues Jan Trommelen pointed out that he was a bit disappointed about something&amp;nbsp; Microsoft missed while creating the new &amp;quot;User Card&amp;quot; page. &lt;/p&gt;
&lt;p&gt;&lt;a href="http://dynamicsuser.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/marcos/1134.Blog-20120524-_2D00_-NAV2013-_2D00_-Security-2.jpg"&gt;&lt;img src="http://dynamicsuser.net/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/marcos/1134.Blog-20120524-_2D00_-NAV2013-_2D00_-Security-2.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Wouldn&amp;#39;t it be nice to have a direct link from this user card to the &amp;quot;User Setup&amp;quot; (table 91) because you now still have to setup a user in two steps. &lt;/p&gt;
&lt;p&gt;&lt;a href="http://dynamicsuser.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/marcos/5811.Blog-20120524-_2D00_-NAV2013-_2D00_-Security-3.jpg"&gt;&lt;img src="http://dynamicsuser.net/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/marcos/5811.Blog-20120524-_2D00_-NAV2013-_2D00_-Security-3.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If you also would like this addition to appear in a future version of NAV2013. Please vote for it on &lt;a href="https://connect.microsoft.com/dynamicssuggestions/feedback/details/748747/add-link-part-to-user-setup-in-the-user-card"&gt;Microsoft Connect&lt;/a&gt;!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://dynamicsuser.net/aggbug.aspx?PostID=278115" width="1" height="1"&gt;</content><author><name>MarcoV</name><uri>http://dynamicsuser.net/members/MarcoV/default.aspx</uri></author><category term="Tips and tricks" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/Tips+and+tricks/default.aspx" /><category term="NAV 2013" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/NAV+2013/default.aspx" /><category term="Security" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/Security/default.aspx" /></entry><entry><title>NAV2013 – Security</title><link rel="alternate" type="text/html" href="/blogs/marcos/archive/2012/06/12/nav2013-security.aspx" /><id>/blogs/marcos/archive/2012/06/12/nav2013-security.aspx</id><published>2012-06-12T13:50:00Z</published><updated>2012-06-12T13:50:00Z</updated><content type="html">&lt;p&gt;&amp;nbsp;As all of you that got their hands on the NAV2013 Beta noticed, a lot has changed. One of the things is that security is no longer set up in the classic client!&lt;/p&gt;
&lt;p&gt;&lt;a href="http://dynamicsuser.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/marcos/1348.Blog-20120524-_2D00_-NAV2013-_2D00_-Security-1.jpg"&gt;&lt;img src="http://dynamicsuser.net/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/marcos/1348.Blog-20120524-_2D00_-NAV2013-_2D00_-Security-1.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;On the &amp;quot;Tools&amp;quot; menu, the &amp;quot;Security&amp;quot; menu is missing! From now on the usermanagement is done in the &amp;quot;Administration&amp;quot; department, followed by &amp;quot;IT Adminstration&amp;quot; and &amp;quot;General&amp;quot;. In this menu you wil find the &amp;quot;Users&amp;quot; list and &amp;quot;Permission Sets&amp;quot;.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://dynamicsuser.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/marcos/5504.Blog-20120524-_2D00_-NAV2013-_2D00_-Security-2.jpg"&gt;&lt;img src="http://dynamicsuser.net/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/marcos/5504.Blog-20120524-_2D00_-NAV2013-_2D00_-Security-2.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;As you will notice the user card shows a lot more information in one page then the original user&amp;nbsp;form did. I.e. you can instantly see what&amp;nbsp;permission sets a user has been assigned to. You can also add notes and links to a user. &lt;/p&gt;
&lt;p&gt;For now it looks like NAV is supporting the following types of users. &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Windows Authentication&lt;/li&gt;
&lt;li&gt;Username Authentication&lt;/li&gt;
&lt;li&gt;NavUserPassword&lt;/li&gt;
&lt;li&gt;AccessControlService&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In short, Windows Authentication is equal to the Windows logins we allready new on NAV2009 and earlier versions. &lt;/p&gt;
&lt;p&gt;&amp;quot;Username Authentication&amp;quot; and &amp;quot;NavUserPassword&amp;quot; look similar to database logins, although at this time, I wasn&amp;#39;t able to test them. &lt;/p&gt;
&lt;p&gt;The AccessControlService users are here to prepare Microsoft Dynamics Nav for Azure. &lt;/p&gt;
&lt;p&gt;Not all information is available at this time, but in one of my next blogs I will try to get more in dept with the new user options. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://dynamicsuser.net/aggbug.aspx?PostID=277966" width="1" height="1"&gt;</content><author><name>MarcoV</name><uri>http://dynamicsuser.net/members/MarcoV/default.aspx</uri></author><category term="NAV7" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/NAV7/default.aspx" /><category term="NAV 2013" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/NAV+2013/default.aspx" /><category term="Security" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/Security/default.aspx" /></entry><entry><title>NAV2013 - Bye bye forms</title><link rel="alternate" type="text/html" href="/blogs/marcos/archive/2012/05/24/nav2013-bye-bye-forms.aspx" /><id>/blogs/marcos/archive/2012/05/24/nav2013-bye-bye-forms.aspx</id><published>2012-05-24T08:21:00Z</published><updated>2012-05-24T08:21:00Z</updated><content type="html">&lt;p&gt;As most of you know, with the introduction of NAV2013, Microsoft decided to get rid of forms and dataports alltogether. &lt;/p&gt;
&lt;p&gt;Because I developed a set of tools using forms, I wondered if there was a way around this. So I exported my set of tools from NAV2009 as a fob to import it into NAV2013.&lt;/p&gt;
&lt;p&gt;It seems that our friends at Microsoft anticipated this as the following images will show to you.&lt;/p&gt;
&lt;p&gt;First the fob file as opened in notepad.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://dynamicsuser.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/marcos/4150.Blog-20120524-_2D00_-NAV2013-_2D00_-Bye-bye-forms-1.jpg"&gt;&lt;img src="http://dynamicsuser.net/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/marcos/4150.Blog-20120524-_2D00_-NAV2013-_2D00_-Bye-bye-forms-1.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Now, when you import the fob file into NAV2013, this is what the import worksheet is showing:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://dynamicsuser.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/marcos/2630.Blog-20120524-_2D00_-NAV2013-_2D00_-Bye-bye-forms-2.jpg"&gt;&lt;img src="http://dynamicsuser.net/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/marcos/2630.Blog-20120524-_2D00_-NAV2013-_2D00_-Bye-bye-forms-2.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Conclusion: Forms are really really gone.. so back to the drawing board for your development tools...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://dynamicsuser.net/aggbug.aspx?PostID=272885" width="1" height="1"&gt;</content><author><name>MarcoV</name><uri>http://dynamicsuser.net/members/MarcoV/default.aspx</uri></author><category term="Tools" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/Tools/default.aspx" /><category term="NAV7" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/NAV7/default.aspx" /><category term="NAV 2013" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/NAV+2013/default.aspx" /></entry><entry><title>It's been a long time..</title><link rel="alternate" type="text/html" href="/blogs/marcos/archive/2012/04/27/it-s-been-a-long-time.aspx" /><id>/blogs/marcos/archive/2012/04/27/it-s-been-a-long-time.aspx</id><published>2012-04-27T10:29:00Z</published><updated>2012-04-27T10:29:00Z</updated><content type="html">&lt;p&gt;It&amp;#39;s been a long time since I wrote my last blog post. Partly because the birth of our youngest daughter, mainly because there was not that mucht news for me to tell at the moment. But that is all going to change in the near future because NAV 7/2013 is coming!&lt;/p&gt;
&lt;p&gt;If all goes well, I&amp;#39;m planning to write a few blogs on this new NAV version.&lt;/p&gt;
&lt;p&gt;For now, you&amp;#39;ll have to do with a Dutch blog I wrote during the Dutch Dynamics Community Event on April 17th.&lt;/p&gt;
&lt;p&gt;You can find it &lt;a href="http://www.dutchdynamics.net/blog/ddc-nav-sessions/2012/04/27/ddc-17-april-2012---sharepoint-2010-dynamics-nav-integratie"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://dynamicsuser.net/aggbug.aspx?PostID=267578" width="1" height="1"&gt;</content><author><name>MarcoV</name><uri>http://dynamicsuser.net/members/MarcoV/default.aspx</uri></author><category term="NAV 2009" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/NAV+2009/default.aspx" /><category term="NAV 2009 R2" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/NAV+2009+R2/default.aspx" /><category term="Dutch Dynamics Community" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/Dutch+Dynamics+Community/default.aspx" /><category term="Event" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/Event/default.aspx" /><category term="DDC" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/DDC/default.aspx" /></entry><entry><title>The dataport is dead, long live the xmlport!</title><link rel="alternate" type="text/html" href="/blogs/marcos/archive/2011/04/18/the-dataport-is-dead-long-live-the-xmlport.aspx" /><id>/blogs/marcos/archive/2011/04/18/the-dataport-is-dead-long-live-the-xmlport.aspx</id><published>2011-04-18T13:43:00Z</published><updated>2011-04-18T13:43:00Z</updated><content type="html">&lt;p&gt;Since the release of the Role Tailored Client, it is well known that dataports will no longer be supported in NAV. My first reaction to this was: &amp;quot;Oh no, how will we import bulk data into NAV then, if we don&amp;#39;t have an XML file?&amp;quot;&lt;/p&gt;
&lt;p&gt;And there was another problem; you weren&amp;#39;t able to run an XML port directly. &lt;/p&gt;
&lt;p&gt;As some of you know I&amp;#39;m speaking past tense here. Somewhere in the release process of NAV 2009, Microsoft listened to the community or had a brain wave and fitted in some new features for XMLports.&lt;/p&gt;
&lt;p&gt;For those of you, who aren&amp;#39;t familiar with the new features, just read along!&lt;/p&gt;
&lt;h2&gt;New properties&lt;/h2&gt;
&lt;p&gt;First of all, Microsoft added a number of properties to the XMLport that make this object type a lot more useful than it already was.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://dynamicsuser.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/marcos/1732.20110415_5F00_01.jpg"&gt;&lt;img src="http://dynamicsuser.net/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/marcos/1732.20110415_5F00_01.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;On the left side, the XMLport properties in NAV 4.0, on the right side the properties in NAV 2009 R2. Note that some of the new properties look a lot like properties that we all know so well from dataports! &lt;/p&gt;
&lt;p&gt;Does this mean you can use an XMLport as a RTC supported dataport? Yes you can!&lt;/p&gt;
&lt;p&gt;Now just look at some of those new properties&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :&lt;/p&gt;
&lt;table cellpadding="0" cellspacing="0" border="1"&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;td width="121" valign="top"&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="background-color:#ffffff;"&gt;Property name&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td width="151" valign="top"&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="background-color:#ffffff;"&gt;Allowed Values&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td width="342" valign="top"&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="background-color:#ffffff;"&gt;Usage&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td width="121" valign="top"&gt;
&lt;p&gt;Format&lt;/p&gt;
&lt;/td&gt;
&lt;td width="151" valign="top"&gt;
&lt;p&gt;Xml, Variable Text, Fixed Text&lt;/p&gt;
&lt;/td&gt;
&lt;td width="342" valign="top"&gt;
&lt;p&gt;Tells the xmlport which type of formatting to handle. When setting this to variable or fixed text, you do not longer have an xmlport but a dataport in disguise.&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="121" valign="top"&gt;
&lt;p&gt;FileName&lt;/p&gt;
&lt;/td&gt;
&lt;td width="151" valign="top"&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/td&gt;
&lt;td width="342" valign="top"&gt;
&lt;p&gt;The filename to use for the xmlport.&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="121" valign="top"&gt;
&lt;p&gt;FieldDelimiter&lt;/p&gt;
&lt;/td&gt;
&lt;td width="151" valign="top"&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/td&gt;
&lt;td width="342" valign="top"&gt;
&lt;p&gt;This property replaces the &amp;quot;FieldStartDelimiter&amp;quot; and &amp;quot;FieldEndDelimiter&amp;quot; properties of the dataport. In here you can set the characters that specify the beginning and end of a field.&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="121" valign="top"&gt;
&lt;p&gt;FieldSeparator&lt;/p&gt;
&lt;/td&gt;
&lt;td width="151" valign="top"&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/td&gt;
&lt;td width="342" valign="top"&gt;
&lt;p&gt;This is the replacement for the old FieldSeparator property, for CSV files you can use &amp;#39;;&amp;#39; here.&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="121" valign="top"&gt;
&lt;p&gt;RecordSeparator&lt;/p&gt;
&lt;/td&gt;
&lt;td width="151" valign="top"&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/td&gt;
&lt;td width="342" valign="top"&gt;
&lt;p&gt;This is the character that separates records when using a non-XML format. By default, this is &amp;quot;&amp;lt;NewLine&amp;gt;&amp;quot;.&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="121" valign="top"&gt;
&lt;p&gt;TableSeparator&lt;/p&gt;
&lt;/td&gt;
&lt;td width="151" valign="top"&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/td&gt;
&lt;td width="342" valign="top"&gt;
&lt;p&gt;This is the character that separates tables when using a non-XML format. By default, this is a double &amp;quot;&amp;lt;NewLine&amp;gt;&amp;quot;.&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="121" valign="top"&gt;
&lt;p&gt;UseRequestForm&lt;/p&gt;
&lt;/td&gt;
&lt;td width="151" valign="top"&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/td&gt;
&lt;td width="342" valign="top"&gt;
&lt;p&gt;This property sets if you use a requestformpage when running the XMLport (!)&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Is this starting to look like a dataport or not? &lt;img src="http://dynamicsuser.net/emoticons/emotion-5.gif" alt="Wink" /&gt;&lt;/p&gt;
&lt;h2&gt;RequestOptionsPage&lt;/h2&gt;
&lt;p&gt;Another little known feature of the XMLport is the RequestOptionsPage. &amp;nbsp;In here you can customize the equivalent of the old RequestOptionsForm that we know so well from the old Dataport.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://dynamicsuser.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/marcos/0878.20110418_5F00_02.jpg"&gt;&lt;img src="http://dynamicsuser.net/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/marcos/0878.20110418_5F00_02.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Note that the caption of this page is used when running the XML Port, so keep this in mind.&lt;/p&gt;
&lt;h2&gt;Creating a simple RTC text export&lt;/h2&gt;
&lt;p&gt;To make all if this a little more clear, I&amp;#39;ve created a small example XML port that can export/import customer information in a CSV format.&lt;/p&gt;
&lt;p&gt;First we create a new XMLPort with the following layout.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://dynamicsuser.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/marcos/6076.20110418_5F00_03.jpg"&gt;&lt;img src="http://dynamicsuser.net/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/marcos/6076.20110418_5F00_03.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Keep in mind that the first element in a text-XMLport has to be a &amp;quot;Text&amp;quot; source type; I called this one &amp;#39;Root&amp;#39;. The second element is a &amp;#39;Table&amp;#39; element called Customer, with the Customer table as the data source.&lt;/p&gt;
&lt;p&gt;Next I added the different fields I want to export/import. In this case the fields &amp;quot;No.&amp;quot; and &amp;quot;Name&amp;quot;.&lt;/p&gt;
&lt;p&gt;So far we still got a normal XMLport that would produce the data in XML as a result. To get a CSV file format, I changed the following properties.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://dynamicsuser.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/marcos/1667.20110418_5F00_04.jpg"&gt;&lt;img src="http://dynamicsuser.net/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/marcos/1667.20110418_5F00_04.jpg" border="0" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Finally, I filled the caption at the RequestOptionsPage and saved and compiled the XMLport.&lt;/p&gt;
&lt;h2&gt;How to run the XMLport?&lt;/h2&gt;
&lt;p&gt;In the old days, you had to run an XMLport from code. So next to the XMLport object you had to use a codeunit, report or function to get it to do its magic.&lt;/p&gt;
&lt;p&gt;In the RTC this is not an issue anymore. Just add the XMLport to the RTC Menu suite and you are good to go!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://dynamicsuser.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/marcos/0537.20110418_5F00_05.jpg"&gt;&lt;img src="http://dynamicsuser.net/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/marcos/0537.20110418_5F00_05.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;When running the RTC, you&amp;#39;ll find the XMLport in the menu suite. Just click it and you&amp;#39;ll get our new XMLports RequestOptionsPage!&lt;/p&gt;
&lt;p&gt;&lt;a href="http://dynamicsuser.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/marcos/3757.20110418_5F00_06.jpg"&gt;&lt;img src="http://dynamicsuser.net/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/marcos/3757.20110418_5F00_06.jpg" border="0" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;a href="http://dynamicsuser.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/marcos/0537.20110418_5F00_05.jpg"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Just set the filters and click &amp;#39;OK&amp;#39;. Next you&amp;#39;ll get the following dialog.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://dynamicsuser.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/marcos/4265.20110418_5F00_07.jpg"&gt;&lt;img src="http://dynamicsuser.net/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/marcos/4265.20110418_5F00_07.jpg" border="0" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you choose to open the file, you&amp;#39;ll see the result of our work.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://dynamicsuser.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/marcos/1067.20110418_5F00_08.jpg"&gt;&lt;img src="http://dynamicsuser.net/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/marcos/1067.20110418_5F00_08.jpg" border="0" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The conclusion: We no longer even need the dataport! Because now, all Dataport functionality is merged in the XMLport.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://dynamicsuser.net/aggbug.aspx?PostID=212715" width="1" height="1"&gt;</content><author><name>MarcoV</name><uri>http://dynamicsuser.net/members/MarcoV/default.aspx</uri></author><category term="NAV 2009" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/NAV+2009/default.aspx" /><category term="RTC" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/RTC/default.aspx" /><category term="Tips and tricks" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/Tips+and+tricks/default.aspx" /><category term="NAV 2009 R2" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/NAV+2009+R2/default.aspx" /><category term="Dataport" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/Dataport/default.aspx" /><category term="XMLPort" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/XMLPort/default.aspx" /></entry><entry><title>Tip: NAV Classic Server – hidden features</title><link rel="alternate" type="text/html" href="/blogs/marcos/archive/2011/04/14/tip-nav-classic-server-hidden-features.aspx" /><id>/blogs/marcos/archive/2011/04/14/tip-nav-classic-server-hidden-features.aspx</id><published>2011-04-14T06:40:00Z</published><updated>2011-04-14T06:40:00Z</updated><content type="html">&lt;p&gt;It has been a while since my last blog post. There were a couple of reasons for this: &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;First, my wife and me are expecting our third child, so I was busy redecorating &lt;img src="http://dynamicsuser.net/emoticons/emotion-1.gif" alt="Smile" /&gt;&lt;/li&gt;
&lt;li&gt;Second, I was so busy the last month at work with my projects&lt;/li&gt;
&lt;li&gt;And third, I didn&amp;#39;t have any inspiration for a new post.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;But all that changed last week when our newest MVP &lt;a href="http://dynamicsuser.net/members/lvanvugt/default.aspx"&gt;Luc van Vugt&lt;/a&gt; wanted to install multiple classic servers on a single machine. (I know, this is old school NAV). The installation went ok, but &lt;/p&gt;
&lt;p&gt;In the old days (if I recall this correctly NAV 3.70 and earlier) all you had to do was create a copy of the server folder change the name of the second server and make an entry in the hosts and service files for each server and you &amp;nbsp;were good to go. (Note: these two files are in the well-known &amp;quot;C:\Windows\System32\drivers\etc&amp;quot; folder) To change a setting to one of the servers, you just opened the folder of the corresponding server and with the &amp;quot;server.exe&amp;quot; you could change the settings for that server.&lt;/p&gt;
&lt;p&gt;In the latest NAV versions things started to work a little different. I&amp;#39;ll explain this in the following example.&lt;/p&gt;
&lt;h2&gt;Setting the hosts and services file&lt;/h2&gt;
&lt;p&gt;As in the old days, we are going to change the entries in the hosts and service files on the server (and client) machines. &lt;/p&gt;
&lt;p&gt;Add the following entries to the hosts file:&lt;/p&gt;
&lt;p&gt;&lt;i&gt;127.0.0.1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; server1&lt;br /&gt;127.0.0.1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; server2&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;(Note that on the client machines 127.0.0.1 should be replaced by the server&amp;#39;s ip-address.)&lt;/p&gt;
&lt;p&gt;Add the following entries to the services file:&lt;/p&gt;
&lt;p&gt;&lt;i&gt;server1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2407/tcp&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #NAV Server 1&lt;br /&gt;server2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2408/tcp&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #NAV Server 2&lt;/i&gt;&lt;/p&gt;
&lt;h2&gt;Now, what&amp;#39;s new then?&lt;/h2&gt;
&lt;p&gt;With the old NAV versions the trick was to make a copy of the server folder and change the settings of that copy to the new server in the command prompt.&lt;/p&gt;
&lt;p&gt;So, for changing a setting of one server you just had to browse to the appropriate folder and change the settings using the &amp;quot;server.exe&amp;quot; in that directory. The settings were stored in the directory itself in a &amp;quot;dbms.zup&amp;quot; file.&lt;/p&gt;
&lt;p&gt;Now, the copy process is still the same, but there have been some strange glitches now since NAV started to use the windows profiles to store its settings.&lt;/p&gt;
&lt;p&gt;The settings are no longer stored per server folder but in the registry. Changing the server name with &amp;quot;server servername=&amp;lt;yourservername&amp;gt;&amp;quot; will allow you to change the server settings for that server using the command prompt.&lt;/p&gt;
&lt;p&gt;When installing the server as a service these latest settings are stored in the registry.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://dynamicsuser.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/marcos/5460.20110414_5F00_01.jpg"&gt;&lt;img src="http://dynamicsuser.net/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/marcos/5460.20110414_5F00_01.jpg" border="0" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As the screen capture above shows, the registry settings can be found by using &amp;quot;regedit&amp;quot;. &lt;/p&gt;
&lt;p&gt;The strange thing is that you can edit the values in here, but when I got the settings of the server in the command prompt I still got the old settings. The settings that are used in the command prompt also stored in the &amp;quot;dbms.zup&amp;quot; file. &lt;/p&gt;
&lt;p&gt;Now here&amp;#39;s where it gets tricky, when I just change the folder to the second server in the command prompt. I get a list of the server I changed the latest. These settings get copied out of the &amp;quot;dbms.zup&amp;quot; file and not from the registry!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://dynamicsuser.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/marcos/7183.20110414_5F00_02.jpg"&gt;&lt;img src="http://dynamicsuser.net/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/marcos/7183.20110414_5F00_02.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Latest server settings are shown above. I first installed &amp;quot;SERVER1&amp;quot; in the &amp;quot;c:\server\&amp;quot; folder and then installed &amp;quot;SERVER2&amp;quot; into the &amp;quot;c:\server2\&amp;quot; folder. &amp;nbsp;Now change to the folder of the first server and type &amp;quot;server&amp;quot; and see what happens:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://dynamicsuser.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/marcos/1667.20110414_5F00_03.jpg"&gt;&lt;img src="http://dynamicsuser.net/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/marcos/1667.20110414_5F00_03.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;So IF you plan to install two classic servers on one machine, in my humble opion the best practice is to put the complete command string in a batch file (i.e. &amp;quot;Server1.bat&amp;quot; and &amp;quot;Server2.bat&amp;quot;) in its corresponding folder. &lt;/p&gt;
&lt;p&gt;You probably are thinking by now, why still copy the folder. I asked myself that question too.. When trying to run the two services from the same directory (different database with a different server name) I ran into the following error: &lt;/p&gt;
&lt;p&gt;&lt;i&gt;&amp;quot;You cannot open another database or create a new database because the database was opened on the server with the program property database=&amp;lt;database name&amp;gt;. ...&amp;quot;&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;Since the path of the server.exe is also stored in the registry, my conclusion was that running the exact same executable twice is giving this problem.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://dynamicsuser.net/aggbug.aspx?PostID=212236" width="1" height="1"&gt;</content><author><name>MarcoV</name><uri>http://dynamicsuser.net/members/MarcoV/default.aspx</uri></author><category term="Tips and tricks" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/Tips+and+tricks/default.aspx" /><category term="classic server" scheme="http://dynamicsuser.net/blogs/marcos/archive/tags/classic+server/default.aspx" /></entry></feed>