Tuesday, March 30, 2010

Client Alias's.... don't forget your 32 bit apps

I have been caught out by this in the past myself and a colleague wasted a great deal of time trying all sorts of things only to find out there was a simple fix to all his connectivity woes.

Since the introduction of the 64-bit operating system we have seen applications become split into 32-bit (x86) and 64-bit (x64) branches. While the introduction of 64-bit was a god send for the application developer and server administrators who had been looking for ways to push more memory to applications to allow them to handle the huge tasks that today's business (and sometimes even the home user) wants to throw at them. The unfortunate down side to this was that 32-bit applications were cast out like the lepers of the Bible days and given their own registry space (ahhh you say, now he gets to the point of this, well all I can say is that it was worth it!!!)

If you don't know 32-bit and 64-bit applications have different registry spaces, because 32-bit applications cannot read anything within 64-bit memory. If you were to look at the registry on a 64-bit operating system it may not look different to the naked eye but if you look closely you will find that there is a new branch HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node and it is here were all the 32-bit applications store their registry settings.

So why is this important to anyone that has anything to do with database connections, because as you would be aware SQL Server allows you to configure Client Alias's within it's Configuration (of the connectivity tools) and it is through the use of these Alias's that we can map a Server Name (or even a made up friendly name) to a FQDN server address and non-standard TCP port. The problem is that on a 64-bit operating system there are both 32-bit and 64-bit Client Alias and depending on what the application you are connecting from is will depend on which type of alias it tries to read.

The times that I have usually come across this as a problem is when an installation package is asking for the SQL Server details of where it will create a database and the user is unaware if they are using a 32-bit or 64-bit application and create the Client Alias in the wrong branch.

So my rule is:
When you setup a Client Alias always set it up in both the 32-bit and 64-bit branches of the SQL Server Configuration Manager.


  1. Copying fendi shoes is very nice and very temperate.replica fendi I really like this replica fendi shoe. The store service is very good, the quality of fendi shoes is very good, and the price is very cost-effective,replica fendi woman bags I think I am very cheap, good quality and cheap

  2. I have been paying attention to replica watches.fake iwc watches After receiving the goods, I was very surprised, the leather strap is comfortable, the watch is light weight, high quality and the price is good.replica iwc portofino watches If you are looking for a watch that suits your everyday wear, this replica watch is definitely the perfect outfit. I will buy again!

  3. The AAA Cartier Replica watches sale at are uk replica watchesbest quality cheap fake watch from China,The high end Cartier replica watches include Ballon Bleu De Cartier, replica cartier watchesCalibre De Cartier,Cartier La Dona,Cartier Love Watch,Cartier Pasha,Cartier Roadster,Cartier Santos,Cartier Tank replica watches,We can shipp to Uk,USA,canada,australia,and almost all country worldwide

  4. Founded in London in 1996, cheap jimmy choo uk Jimmy Choo encompasses a complete luxury accessories brand. repliche Pumps Now overseen by Creative Director Sandra Choi, the label continues to offer graceful and feminine silhouettes that live up to its historic reputation. With a focus on shoes, offerings include stiletto heels, ankle boots, platforms, and strappy sandals, as well as casual high-tops and slip-ons. Created using premium suedes, innovatively treated leathers, and crystals, Jimmy Choo's collections achieve a daring vision of consummate beauty and quality.

  5. I bought it for my husband. This summer,discounted ray-ban sunglasses I only need a pair of sunglasses, I bought it when I saw this event. There are not many men's sunglasses brands. Ray-Ban is my favorite. This is not fancy. The logo is also small.discounted ray bans round It looks very representative. This is the glasses of their family. Husband is super like, happy.

  6. The complete selection of all replica Ray-Ban Sunglasses Ray-Ban sunglasses styles available online. replica Ray-Ban Sunglasses clubmaster Browse between new or classic frames, lenses and colors to find the shades that match your style. Discover the complete selection of women's sunglasses and men's designer shades through the iconic Ray-Ban models. Shop now on the official online store and receive free shipping on all orders.