Skip to main content

Leave your toolbox at home

So if you are an IT Pro or a developer worthy of that title, then you must have at least seen the stuff Mark Russinovich and his team built called SysUtils, and if you have been around for long enough you have you them. Well I keep my favourites on my flash drive but sometimes I’ll forget it or be roped into a situation where I wasn’t expecting to need them.

Well there is a solution for that now besides going to the web site and downloading them, it’s called Live! Yip, Microsoft’s hosted solutions, have the solution in two forms. Firstly there is a file listing page http://live.sysinternals.com which just lists all the files so in one click you can get the tool you need, but even better, it’s also published as a file share! So if you open \\Live.sysinternals.com\tools you can actually browse a file share for the tool you need.

The Zen of Hosting: Part 2 - 40000 Foot View

So part 1 was the reasoning and the bulk of the non-technical in the series, this post is about the high level view of the architecture. At it's core a hosted network is just a normal network except that it needs to not only service one organisation but multiple organisations. The biggest problem with this is that most networking technologies aren't designed for handling multiple organisations and a core strategy for VirtualBox was to use Microsoft technologies (we are a Microsoft Gold Partner and that’s where are strongest skills are as an organisation). So lets look at what that could mean:
  • User Management: Active Directory
  • Email: Microsoft Exchange Server 2007
  • Portal/Intranet: Microsoft Office SharePoint Server
  • CRM: Microsoft Dynamics CRM
  • Database: Microsoft SQL Server
  • ERP: Microsoft Dynamics GP

This shouldn’t be a shocker of a list, in fact it’s kind of the standard shopping list for any Microsoft based solution but the problem is that some of these products don't easily allow multiple organisations to use them. So lets just start with the most commonly used item on that list: Active Directory, which in my view is also the like the least able to cope with multiple organisations.

Based on what I have seen most large companies, which have a need for multiple organisations in a single deployment, seem to set up a forest and trusts and connect multiple domains together in the forest. This lets each domain be individually named and managed and provides the security for central administration and prevents each domain from doing anything to other domains. The problem with this is that it is multiple domains, which means that the administration overhead is very high, I think I would need a server at least per domain, and I really only want one because I don’t want to deploy everything multiple times. Each service should be deployed once and used many.

Well Microsoft has actually solved this with an interesting solution named Hosted Messaging and Collaboration (HMC), which is currently in version 4.0. HMC is developed by the same division as developed one of my other favourite technologies, Customer Care Framework (CCF). HMC shares the same thought leading as CCF.  What I mean by this is they are are taking very new or different ideas and providing a solution to deliver them. The solution for HMC is delivered in the same way as CCF, in that it is a guidance package.

Next time I will jump into what is HMC and then after that we’ll get back to how HMC allows us to to take one AD domain and put multiple companies into it.


 

MSCRM 4.0 Developer Errors: My new pet hate

So if you follow all the posts on this site you'll know that I am involved with a hosted MSCRM system.  This is a great system as it allows multiple customers to share a single deployment, and while it has seperated most of the functions so that each customer is seperated nicely there are a few that are not. Developer errors are one of those, if you enable them, you enable them for all customers.

As a hosting providing I do not want to have to enable it globally as it means that the user interface for an error is ugly and I do not want to have to take individual support calls for customers to turn it on and off all the time.

This workflow job was canceled because the workflow that started it included an infinite loop

 Found the best little tip for workflow creation in MSCRM 4.0. See there is a loop detection in the system which detects if the same workflow rule is called 8 times and if it is, stops the workflow from running with the message: "This workflow job was canceled because the workflow that started it included an infinite loop".
This happens even where there is no infinite loop (i.e. when you have catered for it). Well until today when I stumbled across a post on the news groups which clarifies that it is only 7 times per hour. If you stay under that, so once per day or once per year it won't fail.

You can read the actual post at: http://forums.microsoft.com/Dynamics/ShowPost.aspx?PostID=3021749&SiteID=27

MSDN Library Broken

So if you install the Internet Explorer 8 demo and you use Visual Studio, you will find that help gets broken. All that is happening is that the hxds.dll which dexplorer.exe needs gets provisionally blocked from running. The easiest way to fix it, is to start the MSDN library outside of Visual Studio and you should get prompted to run the add-on. If you run it, Internet Explorer will then be happy with it and the MSDN library will start to work
.
File attachments
Clipboard01.png (66.65 KB)

Duplicating the ReportServer virtual directory

I watched a guy (doesn't work with me, works for another company) today duplicate a SQL Reporting Services ReportServer virtual directory by saving the existing one to file using normal IIS and creating a new one. There is a decent enough reason for doing this, but that doesn't matter.
This failed, badly. Reporting services kept complaining about not being able to find the <server path>/REPORTSERVER/bin folder.

The solution to this actually was to remove the folder he created, use reporting services configuration tool to create a  new one and then do an IIS reset (thanks Bruce for the iis reset). This created a perfectly working report server folder and with the original one left untouched it continued to work correctly.

Website Update

So it is time again for my website to get some attention. So in addition to upgrading from Drupal 5.7 to 6.2 (and the only module I couldn't get was twitter, no big loss), and updating Gallery2 to it's newest version, it also got a new theme and logo
The logo still needs a bit of tweaking though...

One of the other motivators besides the software upgrades, and the fact with me finishing Assassins Creed (which has left a void) was the old site (or theme, not sure) did not render correctly at all in IE 8! So this new one renders very well in IE 8 and FF.

Let me know if you like the new look more or less! If Google can get so much attention for just changing their favicon, maybe I could get some too... LOL
 

The Zen of Hosting: Part 1 - Who, What, Where, Why, and How

So I haven't posted for way too long due to a massive new initiative which I have been involved in, namely setting up a hosting solution provider called VirtualBox. This has been a very enlightening experience in terms of many new skills which I have learnt and a much deeper understanding of the products I worked with. So as a personal outcome from that investment I have written a series on what I have learnt. 

This series is kinda different from my normal blog posts, for a number of reasons. Firstly this is one of the few times I have written the posts out long before posting them (normally I post as I think). This has given me the chance to re-read them and change them so hopefully the quality of this is higher (as a side I used Microsoft OneNote to write this). The length of each post in this series is also MUCH longer than my normal (average of 450 words per post) and lastly this is one of the few times I actually blog about what I doing at work and mention some of the exact products, customers and technologies I am involved with. The reason for this is not because normally I am not proud of what I do or who I do it with, but because I like to keep things separate, but this time I am so excited (kid on xmas eve type) that I really can't not share what has been accomplished by the small team who I feel privileged to work with on this.

Firstly what is a hosting solution provider? Well traditionally when you have wanted an application, like Microsoft Exchange you would go out buy a server, buy the licenses, get an IT Pro in to do the install and configuration. Well a hosting solution provider (HSP) changes the entire game by removing the buying from the traditional way. So you want Microsoft Exchange and you have it, instantly!

Why would anyone go this route? Well there is a couple of benefits for anyone such as turn around time of minutes from needing it to having it ready, getting proven systems in place from day one or having a guide on how your environment is setup which means as you bring on staff you just give them the guide and in a few days of reading and asking questions (and lots of googling) they have a wealth of understanding of the environment from the package (better yet if you can afford a few lab machines and run Hyper-V or Virtual Server they could even do the deployment of the environment to really understand it). But if you are a point haired boss type there is one very important business factor... MONEY.

So for the SME market the significant cost benefits come from them as paying for only what you consume. Licensing for Exchange for instance lets you purchase mail boxes with no support for calendars or tasks (i.e. Just mail) if that's all you need for just a few dollars per month. The HSP also will invest far more in hardware and staff thus providing faster, bigger, better (insert your favourite positive adjective here) that what the SME company could get themselves.

For the enterprise customer an HSP can be a very different route in that it allows an IT dept to move away from the traditional model and allows them to set themselves up as an HSP for the rest of the business. This means that they can lower cost of licensing, properly manage budgets between them and other departments, react quicker to business needs, and lastly once they have moved through the life cycle of setting this could actually allow them to start to offer the services outside the business allowing them to stop being a cost centre and start to become a revenue centre.

That's enough from me sounding like a business expert, so what can you expect in the series coming up? Well we will next tackle the overviews of the system, and then start to dive into some of the cooler technologies.

MSCRM Workflow Stopping, IFD cannot login, Async Service Crashing

Eek, my first post in 50 days. I have been very busy on a new business venture which is very exciting from an offering and technology view. So lots of long nights with not enough time to blog. I will be posting a huge multipart blog on the expierences of that in the near future. Add to that finding out I will be a parent in Jan '09 it's been extra hectic.

Anyway on to the my new favorite issue of MSCRM 4.0, the async service crashing. Should it crash it takes down lots of features, to name some big ones:
  • Imports
  • Data Duplication
  • Workflow
  • Logging into a IFD deployment via the forms login
Well this can occur if you have added a new deployment to your MSCRM deployment which contained workflows which were running. These rogue workflows crash async with a lovely message in the eventlog (The entity with ObjectTypeCode = 0 was not found in the MetadataCache.). Well Microsoft have released a hotfix for this issue, which is available at http://support.microsoft.com/kb/950680/en-us

MSCRM 4.0 Error: Invalid Action

So I had a great surprise this morning walking into the office, MSCRM 4.0 greated me with Invalid Action, The Selected Action Was Not Valid. This is after a long weekend with no one doing anything, or any system changes. So first I check if it's my machine only, nope everyone. Next I check if the server does it to itself by logging on to the server and opening MSCRM, still same problem. IIS reset, same problem. Check services, same problem. Check if SQL is up and the database is fine, yip.

Then suddenly someone mentions an issue on MOSS where they can't edit a document... I wonder if it's related so I log on to the SQL box and check the disk space and (DUM DUM DUM!!) there is no space left on the disk drive for the databases. A quick clean of the transaction logs and the system is back up and running great.