Tag | FAIL Posts

Introduction I've been posting a lot about Silverlight lately, but hey, here is a WPF post, and about WPF integration, no less. Note: To fully understand this article, you should have a basic understanding of WPF, styles and templates, triggers, etc... Read the rest of this entry » ...
Recently, I came across a situation where my WebMethod was accessing the Session object. This particular WebMethod was used extensively by the application so I decided to write unit test for it. Here is a simple example of a webmethod. [WebMethod(EnableSession=tr... public int foo() { int userId = Convert.ToInt32(HttpContext... return userId; } First of all I don't really think that using HttpContext inside a WebMethod is a good idea. One of the main purpose of using web ...
When was .NET announced? Bill Gates delivered a keynote at Forum 2000, held June 22, 2000, outlining the .NET 'vision'. The July 2000 PDC had a number of sessions on .NET technology, and delegates were given CDs containing a pre-release version of the .NET framework/SDK and Visual Studio.NET. When was the first version of .NET released? The final version of the 1.0 SDK and runtime was made publicly available around 6pm PST on 15-Jan-2002. At the same time, the final version of Visual Studio.NET was ...
Just the US? I'd say this was across the board globally, there is a general decline in Newspaper and Magazine advertising that is heading to on-line substitutes, and those that don't get their head around this will be left as dinosaurs? Decline Of US Newspapers Accelerating Duncan Riley 32 comments » Figures released by the Newspaper Association of America show that the decline of newspapers is more rapid than previously thought, with total print advertising revenue in 2007 plunging 9.4% to $42 billion ...
There are some things that you just can't do with the native implementation of xsl. One alternative is to use the msxml:script block. The problem I am running into is the different implementations of the msxml:script in MSXML and System.Xml.Xsl . In MSXML vbscript is supported while System.Xml.Xsl does not support vbscript. System.Xml.Xsl supports C#,VB.Net, JScript, java, and other languages. The documentation is "XSLT Stylesheet Scripting Using <msxsl:script>" So if your xsl sheets were designed ...
Time for another adventure in F#, covering the 101 level basics of the language and why I think it's useful and how it can even help your C# as well. This time, I want to spend a good deal of time on pattern matching and a few other topics. Where We Are Before we begin today, let's catch up to where we are today: Part 1 - Basic functional programming Part 2 - Currying and Tuples Part 3 - Scope, Recursion and Anonymous Functions Part 4 - History of F#, Operators and Lists So, today, like I mentioned ...
I haven't tested this macro, but it should work: Dim oFSO Dim tblFile, tblWiseSourcePath Dim rowFile, rowWiseSourcePath Dim fileVersion Set oFSO = CreateObject("Scripting.Fil... Set tblFile = WTables("File") Set tblWiseSourcePath = WTables("WiseSourcePath") On Error Resume Next For Each rowFile In tblFile.WRows rowWiseSourcePath = tblWiseSourcePath.WRows(row... fileVersion = oFSO.GetFileVersion(rowWise... If fileVersion <> "" Then rowFile("Version") ...

Pretty full room. Sorry VERY full room. Glad I cam not too late, even managed to find a plug for my laptop.

Read the rest of this entry »

Lee Thé recenctly posted an article on SOA Governance based on coverage from the Enterprise Architecture Practioners Conference held last month in San Francisco. The article is an interesting conversation on how governance, EA, and SOA either work or fail together in todays enterprise IT space. One of my favorite qoutes from the article was from Kyle Gabhart, director of the SOA technology division at Web Age Solution. When asked about how to make governance and reusability happen: "Gabhart joked ...
Update: Fixed code changed from CTP and More in the series: IoC and the Unity Application Block Once Again IoC Containers, Unity and ObjectBuilder2 - The Saga Continues IoC Container, Unity and Breaking Changes Galore I thought after my recent F# post, I'd get back to the Unity post that was halfway done before the firestorm began... In a previous post, I showed how easy it was to create a basic application using the Unity Application Block. I'm always finding new ways to solve my problems and new ...
Another great meeting!!! Tonight I walked in with Bill; I got to help push the mounds of food and drinks in. As usual the meeting was held at the Microsoft Malvern campus. The meeting started with Dani Diaz our local MS rep. His course was named VS c# Tips and Tricks for the MS Visual Studio 2008 IDE. Dani started out with showing us around VS 2008, key commands, explaining the versioning and how it works, etc. Some of the key commands that he showed were pretty cool, ones I never saw before. Then ...
Training Kit & Second Chance Vouchers I just want to say "Thank You!" again for buying my book. I don't know what "good" sales are but it seems to me that the Training Kit for Exam 70-547 is selling well. Shameless Plug - If you haven't bought the book, feel free to do so at your favorite book site, such as Amazon.com: http://www.amazon.com/MCPD-... Don't forget to buy a copy of the other ...
This is an error message I got when trying to run unit tests within Visual Studio 2008 (developer edition): Failed to queue test run 'tim@MyComputer 2008-02-11 10:33:11': Test Run deployment issue: The location of the file or directory 'c:\nettiers\adventureworks... is not trusted. The application is .NetTiers generated app (pointing .nettiers to the Adventureworks db - Microsoft's SQL Server sample database). I believe the problem ...
Since I have a rather long commute to and from work, I have the opportunity to get caught up on all sorts of podcasts and such. Very recently, I listened to the DotNetRocks Episode 310 with Simon Peyton Jones on Haskell and Functional Programming. It seems that Carl and Richard are definitely on a functional programming trip, and I think Scott Hanselman has joined the group as well with his shows on Hanselminutes. Since I've been learning F# and such I thought this show was well worth a listen, and ...
This is beyond ridiculous! I have had 3 Xbox 360's fail on me, and that doesn't include the current system which came with a broken face plate. Now the HD-DVD drive is dead. Microsoft's quality control on this system is the worst I have ever experienced. I just spent 30 minutes with support where he kept asking me "Why are you using an external drive? Just put the HD-DVDs in the internal drive." I had to try very hard to convince him that not only would that not work but that Microsoft even makes ...
*Moved to: The SharePoint Plan: Database move headache mitigationSharePoint requires SQL Server. That's a given, but what if you want to move the SQL Server databases to another server? TFS is easy enough to move between servers, but SharePoint is NOT. The only answer I can find is to do a full backup and restore from SharePoint, which takes time and effort. The PlanRead more...Follow my new blog on http://blog.hinshelwood.com ...
Well, this has been an interesting adventure. I've known for a couple of months that my Windows XP Media Center install on my home computer was going downhill. The symptoms included the title bar of windows suddenly disappearing with the X (close) and min/max buttons reappearing once you hovered over approximately where they should have been displaying. Soon after that occurring, I would see strange and cryptic error messages when working in Internet Explorer. This would all start happening after ...
One of the requests that I've received from other developers is the ability to use SCSF for developing a module without including the shell in the solution. We develop a large number of modules independently in different groups and having the shell be a part of every module was getting to be a problem. The only issue that I was getting with getting this to work was that SCSF guidance package would fail in ViewTemplateCS when I would right click on a folder and tried to add a new view to the project. ...
I have been playing around with WatiN and quite frankly I think it is an awesome product. Today, I need to test if the validation controls are working properly or not so I used WatiN to write simple unit tests. The thing about validation controls is that they are displayed with the page with everything intact but are not visible. Here is the RequiredFieldValidation control HTML. <span id="rfvName" style="color:Red;visibility... is required</span> The interesting thing is visibility:hidden ...
When we unit test we make sure that the result is correct by comparing it to our expectations. But what if the result of the method or module is random? How do we unit test that module? Recently, I had to unit test a method which returned random output (strings). And I had to test that the method indeed returns a random output (string). Here is the method: [Test] public void TestCanGetRandomMessage() { string message = String.Empty; bool isRandom = false; for (int i = 0; i <= 5; i++) { int randomNumber ...
Sometimes back I wrote a blog post about Unit Testing Membership Providers. Yesterday, I had to do the same hence I turned back to my post but unfortunately I could not figure it out. After banging my head for several hours I finally figured out the problem. This post describes everything you need to do in order to unit test your providers. First create the custom provider which you would like to test. Here is my custom provider. My custom provider is created in a separate class library project. ...
In August I scaled a building for charity. Part of the deal was that we'd get video footage of the event as a keepsake. September went by...October...November...a... a few emails wondering what was up, and being told that they were waiting on the videographer, I figured all was just taking a bit longer. Unfortunately we got the news today that we probably wouldn't be getting it...that the person contracted to cut the videos wasn't returning messages and that the ability to even retrieve the original ...
Ive just got around to doing the MCTS BizTalk exam. Have been meaning to do it for ages but just been too busy, then i noticed that the Free 2nd Shot offer has just come back on so I thought id give it a blast. See the link below for details: http://www.microsoft.com/le... There is also an MCP offer for 25% off the cost of a MeasureUp practice exam. My plan was as follows: 1. Do a couple of practice exams 2. Have a crack at the proper exam and if I fail i would ...
RAID servers have an integral role in today’s businesses, businesses, companies, corporate firms et al. Microsoft Exchange Servers’ extensive communication and planning features have made them a necessity to the businesses. A server failure can be devastating and can cause user’s mail communications to go haywire and the planning features to fail making it intricate to organize meetings and email files become damaged. RAID Server is a Microsoft program that uses its network and has become very popular ...
Recently I migrated one of my solutions from .net 3.0 to .net 3.5. For the most part the migration went smoothly, except for an issue with the type provider, and XAML activated workflows that included accompanying .rules files. I was able to load and work with the workflows in the Visual Studio designer, but they would fail execution at runtime: line 402 error 1342: Activity 'PersistWasSucessful' validation failed: Can not find the condition "ParticipationSaved". ---> System.Workflow.ComponentMo... ...
If you are not familiar with the new LINQ syntax in .NET 3.5 I recommend you read up on that first. Language Integrated Query (LINQ) is the new foundation for querying anything (I mean anything) in .NET and a lot of effort has been put into LINQ and XML integration. I did some research a few months back on it but it was only recently that I realized how much Microsoft put into LINQ to XML. I am a huge fan of intellisense. That is the best thing that MS ever perfected in Studio. I spend a lot of time ...
Another small batch file hook for those running subversion on windows. This hook will allow users to update a log message on the old check-in. Note: Property changes are not versioned, so you will permanently loose the old message. Place this in a pre-revprop-change.cmd ------------- IF %5 EQU M GOTO CONT1 GOTO FAIL :CONT1 IF %4 EQU svn:log GOTO OK :FAIL echo "Changing revision properties other than svn:log is prohibited" &gt;&amp;2 exit 1 :OK exit 0 ------------ Technorati Tags: Subversion, ...
A psychology study entitled Unskilled And Unaware of It: How Difficulties in Recognizing One's Own Incompetence Leads To Inflated Self-Assessments opens with the following amusing anecdote: In 1995, McArthur Wheeler walked into two Pittsburgh banks and robbed them in broad daylight, with no visible attempt at disguise. He was arrested later that night, less than an hour after videotapes of him taken from surveillance cameras were broadcast on the 11 o'clock news. When police later showed him the ...
Really, it's not that hard! If the idea is remotely appealing to you, then I recommend that you throw caution to the wind and just commit to doing it. There are thousands of people who do it all the time that are fatter, lazier, slower, older, and saner than you'll ever be. You may actually enjoy it and decide to do several. At the very least, you'll probably feel better about yourself when you finally cross the finish line. Ok, enough with the pep talk, here are a few tips to get you started. Get ...
Ok, so I have a theme going and thought I might as well run with it. I promise this is the last "Is x Dead?" post. Of course BizTalk isn't dead. But it is going to change in the next couple of years. What I am talking about here is "Oslo", the recently announced, next-generation distributed computing vision from Microsoft. Oslo takes SOA to the Internet I was out at the SOA conference last week where Microsoft first publicly shared the vision that they are code-naming Oslo. There is a great story ...
Ok, so I have a theme going and thought I might as well run with it. I promise this is the last "Is x Dead?" post. Of course BizTalk isn't dead. But it is going to change in the next couple of years. What I am talking about here is "Oslo", the recently announced, next-generation distributed computing vision from Microsoft. Oslo takes SOA to the Internet I was out at the SOA conference last week where Microsoft first publicly shared the vision that they are code-naming Oslo. There is a great story ...
It's time for the next installment of the monthly Caffeinated Codey awards, where the link love flows for my favorite posts from the month. For Best Software As RoadKill Analalogy...Ben Scheirman on Don't Make Squirrel Burgers. The next time your boss tries to haggle you over the estimate, just pull out Ben's squirrel burger story. If that doesn't work, you may want to just feed your boss a squirrel burger when he's not looking, thereby earning you a several day deadline extension as he recovers ...
Click here for part 1, part 3, part 4, part 5 OK, so you probably read the horror story with the online PC builder. I figured by now you want to see the happy ending (don't get any ideas). After my refunds were processed by the PC builder from Hell, I set out to build my own rig from scratch. Coincidentally, my friend Eric Harrison turned me on to an issue of Maximum PC which has just hit the shelves. It described in detail a project that Maximum PC seems to undergo on a yearly basis called, Dream ...
*Moved to: Naming your servers in an enterprise environmentThis is an issue of contention in many companies, but I am firmly of the belief that server names should be at least consistent and at most should be able impart a large amount of information at a glance. Information should include: Where the server is What operating system it is running wither it is an application or database server (or a virtual hosting environment server) What the application or system it is running the environment it ...
*Moved to: Team Foundation Server SharePoint IntegrationWhy is there not more integration found in Team Foundation Server "out-of-the-box" with SharePoint 2007. It seams obvious to me that you would want to show your Work Items in SharePoint and integrate SharePoint Workflow into Team Foundation Server. It only make sense to be able to initially create a SharePoint Work item that is a request from a user into SharePoint, have some sort of approval workflow before assigning it to a project within ...
*Moved to: Amusing job requirementsI recently received a job spec that had the most ridiculous "Required" skill set for an "Analyst Programmer". I though I should share it with you as I have just spent the last 10 minutes cleaning tea out of my keyboard with cotton bud's. Here is how it was presented in the email: * C# Java Script Java * ASP.NET 1.1 ASP.NET 2.0 J2EE * Visual Studio 2003 SOA Visual Basic * Winforms Development Visual Studio 2005 Linux * SQL Server 2000 (TSQL and Database Design) AJAX ...
*Moved to: Experts Exchange Hell - The slowest site in the world.I know a couple of people who have been complaining that Experts Exchange was getting rather slow, and I had noticed the same. So I thought I would investigate how big the pages really are. The first test is to save the page "Complete List of Zone Areas.mht" and see how big/ or small it is...Well my jaw hit the floor and here is why:Read more...Follow my new blog on http://blog.hinshelwood.com ...
Last month, I talked about multi-targeting, one of the new features in Visual Studio 2008. According to Krzysztof, the idea of Red and Green bits made this possible. Everything sounds good, so far. However, there is a very limited number of APIs that have been added to the Red bits that the multi-targeting system isn't able to detect. What this means is that if you set the target to the .NET Framework 2.0 and use one of these new changes, the compiler will not issue a warning or an error. The application ...
*Moved to: Windows Live Writer Beta 3Well, a new version of WLW, Windows Live Writer Beta 3, is available. Its just a pity that I can't install it. Why do Microsoft insist on writing these bundle application for installing many products at once? I can see the point for home users, but at work you always get something blocked. They should provide the choice of using the bulk installer or using a direct download link. This would allow companies to unblock a specific URL without allowing users to download ...
Introduction The following article will provide recently found issues discovered when planning a system seperation using Merge Replication using Microsoft SQL 2000 Database Server. These issues (or pitfalls) were discovered first-hand in a real world environment at the company I work for when we were doing a monthly release of our in-house software, while getting ready for a complete System Seperation using Merge Replication. The resolutions offered in this article have been tested and are known ...
Looks like MS have not had a good month on this subject? Still, looks like there is light at the end of the tunnel? :-) Stealth Windows update prevents XP repair By Scott Dunn A silent update that Microsoft deployed widely in July and August is preventing the "repair" feature of Windows XP from completing successfully. Ever since the Redmond company's recent download of new support files for Windows Update, users of XP's repair function have been unable to install the latest 80 patches from Microsoft. ...
Microsoft announced the availability of a new Tafiti experimental search front-end based on Silverlight. I tried out the Halo 3 branded system, and it is visually very nice and functionally very smooth. However, as a search engine front-end, it is currently a failure. I sent the team the following feedback: Sorry guys, but I have to grade it as a complete failure. 1) You completely fail to operate under a common setting (popup blocker set at medium) in your own browser (IE7) 2) You cannot bypass ...
Dear Mr. Zombie, I recently had the opportunity to see your new Halloween movie. I would like to congratulate you on creating what might be the single most disturbing film I have ever witnessed. This is saying a lot, considering Pink Flamingos previously held that distinction. This is not to say it was a bad movie. Not at all, in fact, since I assume that "disturbing" was exactly what you aimed for. It was actually a pretty good movie. It lost a little steam near the end, but that's neither here ...
Participating in the open source community and becoming an avid code reader were two themes in my six month roadmap to becoming a better developer. I made progress in both of these areas in the last few days by downloading and exploring the source code for WatiN, an open source library that I have used recently for creating automated web tests. I still have quite a bit more exploring to do before I'll fully grok how WatiN works, but I thought I would share a few of the code reading techniques that ...
Last night, Kyle, Allie, Chelsea and I went to the Buzz Beach Ball here in Kansas City. Jeff Julian (sporting his very GWB appropriate geek shirt) and Doug Butscher (who I think I saw crowd surfing) were also there. I really liked Life In Jersey, the opening band. They sounded like Senses Fail and were really excited to be playing. Come to find out they are a local Kansas City band. Shiny Toy Guns stole the show in my opinion. They kind of have a Lords of Acid meets Roxette feel to them. Their whole ...
I'm sure there is a Microsoft exam on how to handle custom errors in ASP.NET, and even how to verify query strings before processing them. It might be in their forums, http://forums.microsoft.com, but not at this URL, http://forums.microsoft.com... Yep, we have a Server Error in '/Communities' Application in full display with instructions on how to turn on custom error handling. Obviously no web application I've every written would do something ...
*Moved to: Application OwnerIn my company it is the job of someone in business technology to manage production applications. Personally I think that this is a job for a Project Manager, not a developer, as it is about management and is not particularly technical. You do not actually have to carry out any of the work on the application, just: Manage the relationship with the vendor Manage the infrastructure teams to keep the application running Manage all issues and problems with the application Manage ...
*Moved to: An Application DeploymentWhy is it that vendors insist on developers staying up all night to write installation documentation for a 40 component on 19 server installation? Do they not realize that this is not the best way to have your documentation produced? What about the image that it presents to the customer, or the impact of someone actually following said documentation! That has been one of my tasks over the last week. I stalling a complex enterprise solution from documentation written ...
When you attempt to install the dotnet redistributable on a removable disk, the installation will fail about halfway, asking for a CD of the .NET 1.1 framework.

To fix the problem, you will have to set the volume name of the removable drive to URTSTDD1.

To set the volume name open up "My Computer" right click on the drive, select properties, and on the general tab enter in URTSTDD1 in the textbox at the top.
With all the "Become a Better Developer" movement going around, alot has been said about which technology books should be read. I'm going to offer a few books I read that aren't technical, but are still very relevant to our field. Bad Boy Ballmer - The Man Who Rules Microsoft (Fredric Alan Maxwell) Anyone who knows me knows that I'm a HUGE Steve Ballmer fan. Sure he throws chairs at employees who leave for Google, and sure he keeps his kids from buying anything Apple...but if you want to understand ...