Sage SalesLogix Real time Sync Issue

2 windows service components handle message synchronization for the Sage SalesLogix Mobile platform. The connector and Real-Time sync engine handle the synchronization process in different ways. Firstly the synchronization data is created and passed through the connector for all synchronization scenarios. The real-time engine is responsible for detecting and notifying a users device that new data (that has been identified in a watch) exists in the main database. If we look as the connector as the right hand, and the real-time sync as the left hand there is a time were the right does not know what the left is doing. This occurs specifically when you initiate the full sync on the device (initial load) and real-time is enabled. Since real-time is is initiated and the full sync has started and can take some tome to process it is possible that the real-time can disrupt the load process. This happens because the when a real-time sync occurs it looks into the queue to see if another sync is occurring and cancels it with the assumption that the current state of the database is newer and the changes will rollup, with the hope of reducing bandwidth requirements. In most scenarios this would be a good thing except for the initial load where having the load canceled is not such a good thing.

To get around this issue ensure that your admin does not turn on real-time sync for a given user until their initial load is completed. This will allow the connector to work undisturbed and get the load data onto the users device.

– mark

Meeting by the Lake

Having a beer, sitting in the sun by the lake I met with Barnaby Jeans, a Microsoft Senior Development Evangelist. It was an adhoc meeting after Cory Fowler, my web developer introduced us virtually.

It is a beautiful sunny day here in Cambridge, and in the relaxed setting of the lake the conversation jumped from subject to subject. It was great to speak with Barnaby and for me he provided some insight to some of the technologies that I had yet to GROK in a meaningful way. I really like that the conversation had nothing to do with the purchasing a product, or pushing a specific solution but an open and frank communication, much of the time were I was leading and Barnaby was just listening, and absorbing my thoughts. Those who now me personally understand how frank I can be.

I have had one misconception that I wanted to clear up here with regards to Microsoft Azure. Up to this point I had this notion that Azure changes some of my development processes and that the code we write would need to target Azure specifically. I am very pleased to see that this is not a true statement and its quite possible to host a 3.5/4.0 framework based web up unchanged (except for web config changes to point to the DB).

So this left me with Azure being more of a deployment/IT thing then specifically a development concern. Some of the current products I work on cannot still host within Azure (Barnaby will get back to me) due to some legacy COM infrastructure but from a new development side the platform became a little more compelling.

Now I have to work out the dollars and cents and ensure that from business standpoint the hosting/communication costs and SQL costs justify a move over to Azure for our website.

I appreciate Barnaby‚Äôs time and look forward to further conversations. Of late I have been having a bit of concern on execution especially around  the new platforms that are coming out from the competitors, but I am still pretty much a Microsoft Stack guy.

IPad Intial Thoughts

I Picked up an IPad the second day it was available in Canada. It really did not give my purchase much thought other then a simple wish for a competing MS os based table be available. I really believe that moving forward NUI will drive the innovation of application development. What we percieve as strange methodologies now will take over as natural extensions on how we view and manage data. So, given that really the only compelling product that could give me a glimpse of different ways of interaction (specifically touch) was the IPad I plunked down the more then 1000 bucks. I have also signed up the the Rogers 3G service which in my opinion is pricey with 6GB of total downloads per month , but it looks from all indications that carriers are all moving to a bandwidth cap. So I have had this device for several weeks now, bought a few apps/games, uploaded a bunch of PDFs and setup a RSS reader. Each night when I am done writing code, meeting with customers or what ever the day has brought I turn on the IPad and catch up on my Blog reading and ocassionaly read some content from the PDFS. From a reading experience the IPad is very nice, easy on the eyes and natural from page turns, resize of the document and switching from landscape to portrate. For me me really that is currently the basis in which I use this device. I have still not gotten into the development of applications for the IPhone or IPad even though I have purchased some books and signed up to the Apple developer program. I think currently I still have the initial barrier of having to code in Objective-c. From that standpoint I really home that some of the MS based oems get their shit in gear and release a compelling slate. What I guess I do not understand, is why it seems from a first glance that the inital adopters HP,… chose to build on a windows 7 based OS instead of a mobile OS such as the one that is being used for the WP7 devices. From a memory and performance standpoint it seamed at least to me to be a more compelling answer. I guess for now I will hope for a great device to be introduced that will give us the tools to build compelling .net/silverlight – cloud/local storage solutions … but I wont wait long if execution continues to fail.