Thursday, October 21, 2010

He could have been talking about most software dev shops:

"There is nothing more difficult...than the introduction of a new
order of things. Because the innovator has for enemies all those who
have done well under the old conditions, and lukewarm defenders in
those who may do well under the new. This coolness rises...partly
from the incredulity of men, who do not readily believe in new things
until they have had long experience with them."
--Machiavelli

Tuesday, June 8, 2010

While trying to install Visual Studio 2010 after having uninstalled Visual Studio 2010 Release Candidate on my machine I got the following error. The solution was simple, though--after uninstalling RC just delete the old Visual Studio 10 (and 9 and 8, if appropriate) folders and restart installation.

---------------------------

Microsoft Visual Studio 2010 Ultimate Setup

---------------------------

Error 1935.An error occurred during the installation of assembly 'Microsoft.VisualStudio.Platform.WindowManagement.resources,version="10.0.0.0",publicKeyToken="b03f5f7f11d50a3a",processorArchitecture="MSIL",fileVersion="10.0.30319.1",culture="en"'. Please refer to Help and Support for more information. HRESULT: 0x80070005.

---------------------------

Monday, September 17, 2007

Great Uses of AJAX

There is a lot of talk about AJAX these days, but very few sites are doing a truly great job of implementing this technology in a seamless and "natural" manner. I'm keeping a list here of sites that do a good job of presenting their sites with more than just "oh/ah" factor and actually make this technology integral to a great user experience.

  1. http://www.pandora.com/ Uses AJAX extensively and, some might say, gratuitously, but to nice effect.
  2. http://www.slashdot.org/ The usually gee-wiz-phobic site's Threshold Slider is pretty nifty. Dead simple, quick and it improves your experience and allows instant feedback on your interaction with their site. Nice.

Monday, August 27, 2007

IIS 7.0 Gives HTTP 500 Internal Server Error for all Requests--The Answer is in the Pipeline

Our company runs a variety of applications based on the ASP.NET 2.0 Framework. Our standard environment is to run these apps on Windows Server 2003 machines with IIS 6.0, but I'm a bit more bleeding edge and chose to install Vista, and thus IIS 7.0, the last time I rebuilt my machine. I have encountered a few issues here and there, but perhaps the most frustrating was the HTTP 500 Internal Server Error I would get every time I hit the site on my Vista machine.

It turns out that my problem was in the Managed Pipeline Mode. We are using a variety of Handlers and Listeners to support logging and error tracing and they were not working in Integrated mode. Switching to Classic fixed it right up, though.

Sweet! Now on to the next challenge.

Friday, August 17, 2007

How to Set Network Access for DTC in Windows Vista

Finally, a developer related post by the Cranky Developer. I am using Transaction Scope in ADO.NET 2.0 to maintain cross database transactions. It's a great technology, but as anyone who has used it knows it takes some fiddling with the configuration of the participating machines in order to work correctly. In my case I was getting the "Network access for Distributed Transaction Manager (MSDTC) has been disabled. Please enable DTC for network access in the security configuration for MSDTC using the Component Services Administrative tool." error.

No sweat, the solution is pretty simple--in versions of Windows previous to Vista you would just go to Administrative Tools and open Component Services and change the settings in the MSDTC tab of the properties of My Computer. It's changed significantly in Vista, however. For starters, the Component Services console isn't linked from the Administrative Tools any more. To start it you have to open %windir%\System32\compexp.msc.


The difference is that the properties you're looking for are no long on My Computer, but "Local DTC". To get to it go to Component Services\Computers\My Computer\Distributed Transaction Coordinator\Local DTC and use the Security Tab.

Check Network DTC Access, Allow Remote Clients, Allow Inbound and Allow Outbound and you're set.

Friday, June 29, 2007

Yes, you can buy an extra Sirius Conductor remote

We bought a Sirius Conductor SCH1W satellite radio and remote recently. Our challenge was that we have all of our home entertainment and amplifier equipment in our living room, but we have speakers in our upstairs bedrooms. We needed a device that would allow control of the audio source in the living room, would be simple to use, and perhaps most importantly, one with a remote user interface. Having an IR blaster controlling an iPod wouldn't do you much good if you couldn't see what you were playing.

The Sirius Conductor, with its RF remote, fit the bill perfectly. As you can see it has a nice, large LCD display and works through walls (though unfortunately I was unable to get enough range when I tucked it away inside of our oak entertainment center, but the radio unit is small enough that it's not too obtrusive to leave it exposed).

Anyway, the device works great as a Sirius radio. What turned out to be an unexpected bonus is its excellent universal capabilities. Of the stack of admittedly cheap universal remotes I have none was able to communicate so quickly and easily and with all my devices as the Conductor. It can support up to 6 devices, has an extensive list of existing codes for programming a wide variety of devices, and even has learning and macro capabilities. Come that with the built in IR blaster and I can even control IR devices through walls using its Z-Wave RF capabilities.

Even better is the fact that the radio's base station can communicate with multiple remotes, and a remote can communicate with multiple radios. I finally have a solution that will allow me to consolidate all of my components down to one remote, and a remote that can be used anywhere in the house. I can also consolidate to a single "remote platform" so that my wife and I don't have to face a different remote for every task. The remote clone feature, which will let me set up one remote and make a copy of it with the second will be very handy. Very nice!

Now all I needed was an extra remote. You can't buy them from the normal channels, but after calling tech support at Crutchfield.com they were nice enough to give me the phone number for Directed Electronics (Directed.com) the company that manufacturers the radios, 1-800-876-0800. The staff there was friendly and I worked my way to customer service, then the tech support department before finally getting to parts. Tell them you need a replacement remote for model # SCH1W.

They are shipping me a new remote for a less than $27! Amazing. I'm getting this sophisticated RF and learning remote for $32.73 with shipping. Quite the deal.

Update (August 7th 2007):



Well, it's been quite a challenge but I've gotten my Conductor set working nicely. The first issue I had was that the IR blaster didn't work. Both Directed and Crutchfield were very helpful but we were unable to get the IR blaster working and they explained that I would have to wait over 3 months for a replacement unit.

The second issue was that no matter what I did I could not get the second remote to pair. The way it is supposed to work is that you pair one remote to the tuner then use the setup menus to do a "Remote Copy" from the primary remote to the new secondary remote. It would seem to work with no errors saying "Transmitting" on one, "Receiving" on the other, then "Success!" on both. However, the second remote would always report "out of range".

Luckily the replacement unit arrived from Crutchfield earlier than expected. I was able to pair the new remote to the new receiver then do a remote copy from the new remote to my old remote. Now I can have one remote on the third floor of the house and use the other as my multi-function remote for my entertainment center in the living room. Excellent!

It has taken much longer than expected, but I'm very pleased with the results. Along the way the guys at Directed and Crutchfield were great, gladly sending me replacements that I needed before I even returned the units I had. They didn't always have the answer but they were always polite and supportive and in the end it's working great.

Thanks!

Thursday, June 14, 2007

YAGCHS (Yet Another Google Checkout Horror Story)

O.K., "horror" might be strong, but I've learned my lesson and will not be using Google Checkout again.

The basic concept of Google Checkout is brilliant. I trust Google, so I store my personal data (importantly my credit card) with them and I am able to shop without revealing this sensitive information to whichever vendor I'm dealing with. Excellent!

The problem, however, is the complete lack of customer service of any type. See, I made a mistake and Google still has my old address. The order went through and now I have a total of three packages heading to the home of the people who bought my house. So I call up UPS and they tell me I have to contact the vendor to change the destination address. I then contact J&R Electronics and they say that for all customers except those using Google Checkout that would be no problem, but Google Checkout orders cannot be modified in any way. The same is true of my order with Buy.com, and in fact you have to go to a special page on Buy.com's site to even search for your order to get the tracking number.

The solution? Well, Google Checkout could fix it if it weren't for the fact that they do not have any customer service, not even through email. It was definitely my mistake to send these items to the wrong address initially, but it's apparent that Google Checkout works fine as long as, well, everything works fine. If there is any deviation from a standard transaction you're completely out of luck. Now all I can do is sit and watch helplessly as my new Sony 6.1 Home Theater Receiver, 500 GB external hard disk and USB 2.0 hub are individually traveling across the countryside to the incorrect address. Quite frustrating, as you can imagine.