The specified path is invalid. When using UPLOADINTOSTREAM.
Published Jan 1, 2010 14:17 | Gaspode
I recently tried using UPLOADINTOSTREAM to load a file from the RoleTailored client into a temporary file on the NAV Server so that I could then process it. This is needed in NAV 2009 because it has three tiers and the tier on which the code executes does not necessarily have access to the files that...
NAV 2009 SP1 Web Services and InfoPath
Published Sep 8, 2009 12:02 | Gaspode
In November of 2008 I wrote an article about using the NAV 2009 Web Services on Gaspode’s Brain Dump. This article received a lot of comments, showing how much interest this topic generates. Sadly, due to some of the limitations with NAV Web Services at that time, the example did not work as well I would have liked. The update worked for a single record (the first record) but other records did not get updated. Today I tried the same example with NAV 2009 SP1 and I’m pleased to say it...
Option Type Parameter Values
Published Sep 8, 2009 3:27 | Gaspode
NAV Supports various data types for parameters to functions, one of which is an Option. An option data type is stored internally as a number but will appear on screen, in reports as text. In other systems this is referred to as an enumerated type. Option type fields make it easy to write self-explanatory code, for example: "Purchase Header".Type := "Purchase Header".Type::Invoice; is a lot easier to understand than "Purchase Header".Type := 2; Easier to understand means...
Microsoft Dynamics NAV 2009 SP1. Meh!
Published Sep 6, 2009 12:11 | Gaspode
If you got all your Christmas presents early, Christmas day would be a bit of a let down. I feel like that with NAV 2009 SP1. We got the marketing beta and got to see all of the cool things that are included and then the final release arrived and all I can say is “meh!” Don’t get me wrong, 2009 SP1 is a cool release full of lots of goodness. Some of the things in it are things that I am surprised were not there in the 2009 release (F8, Zoom, decent Matrix forms to name but a few...
Filed under:
Book Review: Scratch 1.4 Beginner’s Guide
Published Sep 1, 2009 12:27 | Gaspode
Author: Michael Badger Publisher: PACKT ISBN: 978-1-847196-76-7 Published: July 2009 Available from: http://www.packtpub.com/scratch-1-4-beginners-guide/book/mid/130709v31a3s I read recently that when writing for the web, you need to get to the point quickly because ‘Generation Y’ doesn’t have time for pre-amble and nice background stuff. So here goes… If you are remotely interested in learning to program in Scratch or helping your kids learn to program in Scratch, you should...
User Personalization in Web services got me again!
Published Aug 4, 2009 8:58 | Gaspode
In my last Web service gotcha post , I wrote about how a User Personalisation record is needed to ensure dates are handled correctly when executing Web services. Today I discovered that if you fill in the Company field on the user personalisation, you get a whole new set of problems. My process was executing the Companies method of the SystemService Web service to get a list of companies. It was then using the list of companies to call an interface job Codeunit Web service for each company in the...
Filed under: ,
Programming Microsoft Dynamics NAV 2009 Book Due Out August 2009
Published Jul 31, 2009 22:39 | Gaspode
I was on the PACKT web site the other day and I noticed that David Studebaker has written an update to his book on Programming Microsoft Dynamics NAV. I knew David was thinking about updating his book but had no idea it was so close to being finished. You can pre-order the book now by visiting the PACKT web site . I have not read the book yet but the site blurb says that the book thoroughly covers the new features of NAV 2009, including Service Pack 1. It will be interesting to see how this book...
Filed under: ,
Using a Service Account for Unattended Execution of NAV Web Services - Gotcha
Published Jul 23, 2009 2:43 | Gaspode
If you are planning on using the new NAV 2009 Web services capabilities as a means of running scheduled tasks, you must ensure that the Windows user account that is to be used to execute the task has a User Personalisation record with the correct Language ID. 5129 is the English (New Zealand) language ID and If you do not have a record, or you use the English (United States) setting then you will find date fields are validated using the US M/dd/YYYY date format. This is likely to cause you a problem...
Filed under: ,
Programming from Scratch
Published Jul 20, 2009 12:09 | Gaspode
I remember the first program I wrote. It was with my brother, Mike, on his Sinclair ZX81. We made a simple game in which a parachutist dropped from the sky and had to land on a platform. The platform appeared in a random position and the player could move the parachutist left and right as he dropped from the sky. We had fun and learnt a lot about programming. I went on to be a professional programmer and my brother went on to be a professional parachutist. Actually that last part is a lie. I'm...
Filed under: ,
Sure Step is now available to all Partners
Published Jul 14, 2009 2:52 | Gaspode
It was announced at the Worldwide Partner Conference that the Dynamics Implementation Methodology Sure Step is now available for download by all partners and not just those with a Partner Service Plan. Chapter 4: The Implementation Process focuses on using Sure Step as an implementation methodology for Dynamics NAV and provides many additional tips for a successful implementation. Learn more at PartnerSource > Partner Essentials > Sure Step .
Filed under:
Using Reflection to call NAV 2009 Web Services
Published Jul 11, 2009 11:52 | Gaspode
Sometimes I just get an idea and want to see if I can get it working, and in the case of this one, I couldn’t think of a practical use for what I finished up with. Who knows, maybe you’ll find some use for it. The idea started life as a .NET application that would help me get the URLs for every possible...
Book Review: Microsoft Dynamics NAV 2009 INSIDE
Published Jun 28, 2009 6:09 | Gaspode
Authors: Rene Gayer, Michaela Gayer, Christian Hauptmann Publisher: MBS-Training ISBN: 978-3-9502492-6-2 Published: January 2009 Available from: http://msdynamicsbooks.com/product_info.php?products_id=207 The last time I reviewed a book was over a year ago and, looking back, I think I may have been a little harsh. In my review of David Studebaker’s book (Programming Microsoft Dynamics NAV) I complained that the book was rambling and contained many errors, although overall I thought it was a...
Filed under:
NAV 2009 3-tiers on 3 Machines Gotcha
Published Apr 7, 2009 14:01 | Gaspode
Here's a sneaky gotcha for the 3-tiered environment configuration. As you may know, configuring NAV 2009 to run using 3-tiers on 3 computers is not trivial. This is because we need to use delegation in order to allow the server tier to impersonate the client when connecting to the database tier....
Paper Prototyping for the Artistically Challenged
Published Mar 1, 2009 10:57 | Gaspode
I find when I am designing modifications for Dynamics NAV the best way to describe the proposed solution to the users is to show them a screen. For a long time now I have used a technique called "Paper Prototyping". It sounds very technical, but it really just means you draw what the screen...
NAV 2009 - 'A server was not found' message.
Published Jan 6, 2009 9:02 | Gaspode
The other day I was playing around with the Microsoft Dynamics NAV Server service that is used as part of the new three-tiered architecture of NAV 2009. I changed the credentials that the service was running under to be my own network credentials. Everything seemed to work fine and I was able to use...
More Posts Next page »