Tag | FAIL Posts

Well, I was recently laid off from my Job of 5 years at Sage Software.. Sage has gone through 2 or 3 rounds of layoffs so far, the latest letting go of 500 employees in North America.. ..."To help us better bring our costs in line with revenues, we are reducing staff by about 500 positions across the company, which includes employees as well as open positions that are being closed permanently. " So, I've decided to take the opportunity to upgrade my Microsoft Certifications to the latest and greatest.. ...
*Moved to: Fail a build if tests failIt took me longer than I thought it would to find this, but is you are using TFS2008 and you want builds to fail if any of the tests fail then you can add the following to the tests properties group in your build project (TFSBuild.prof) <PropertyGroup> <!-- TEST ARGUMENTS If the RunTest property is set to true, then particular tests within a metadata file or test container may be specified here. This is equivalent to the /test switch on mstest.exe. <TestNames>BVT;HighPr... ...
This year Codestock is selecting their sessions by attendee votes. As people register for Codestock, they are are asked to select the sessions that they would most like to see. While I think this is a way cool and awesome method for selection, it is driving me crazy wondering what the results will be!! Here are the sessions that I have submitted. If you would like to see these at Codestock, register online and vote for me!! Speaker Name Kirstin Juhl Session Name WPF Databinding ++ Technology WPF ...
First of all, thanks to all those brilliant people who made the long arduous journey to the UK (and to all those who just happened to be near by). I know it must have killed you to be so far away for so long. I can only imagine how hard it was for you. All of us that couldn’t go really feel for you and feel your pain. Okay! So, for those of us that couldn’t go, some of these guys really did a tremendous job of twittering what was going on during the conference. They absolutely did not have to do ...
If you don’t know what eager loading is, Jump to “What’s eager loading?”. Eager Loading Syntax If you are eager loading Products for example in a typical (Categories 1<->* Products) relation, the standard syntax would like: DbDataContext.Categories.In... What is the problem with that? The “Products” part. The word “Products” is a string. If I rename the Products table to ShopProducts or whatever or even remove it from this data diagram and have it elsewhere, or even something ...
Lets see how to export SQL Server data into Excel. First we have to enable the Ad Hoc Distributed Queries option. Enable Ad Hoc Distributed Queries EXEC sp_configure 'show advanced options', 1; GO RECONFIGURE; GO EXEC sp_configure 'Ad Hoc Distributed Queries', 1; GO RECONFIGURE; GO After enabling it, we can proceed further to write the query for exporting the SQL Serer Data. Export into Excel Query: INSERT INTO OPENROWSET('Microsoft.ACE.O... 'Excel 8.0;Database=C:\testing.xls;', 'SELECT Name, ...
I was recently working on a driver that would fail to work about 50% of the time when the system booted. The driver used to work, and it hadn’t been changed. I started reviewing the change log for the entire BSP, not too many changes to existing files and a few new drivers were added. None of the changes looked like they could affect the problem, or at least not when I was reviewing the code quickly. After some work, I decided to probe the reset line to the chip that the driver controlled. To my ...
The error message “C2220: warning treated as error - no 'object' file generated” is output when the compiler option -WX is enabled and the code being compiled has a warning. When building with Platform Builder, the –WX compiler option is added when the environment variable WARNISERROR is set. WARNISERROR is a handy environment variable for managing compiler warnings. With WARNISERROR set, warnings will cause the build to fail and therefore causes Software Engineers to clean up their code. The error ...
Hi, this is my first post ever, so please forgive me for any mistake. Today, I faced a common problem (counting the distinct results from google) in one of applications my company develops. Software uses binary serialization to transfer data between client and server. Today, client was using a dll which has a different version number on server, causing both client ans server to fail deserialize data. following exception was thrown "The located assembly's manifest definition does not match the assembly ...
When I ran code analysis on my project, I predictably had some complaints concerning naming. Obviously, kodefu is not a dictionary term. The solution is to add a custom dictionary to the project. <Dictionary> <Words> <Recognized> <Word>Kodefu</Word... </Recognized> </Words> </Dictionary> I added this dictionary and reran code analysis. Complete fail; it still did not recognize kodefu. Whoever wrote the msdn documentation forgot to mention an essential ...
Check out John Papa’s blog for much more detail and camera work… I’m just doing highlights. Web… Each of the tools can be used independently or integrate with each other or open source tools Expression Web 3: Standards based web authoring, Multi-laguage, Secure FTP, CSS Diagnostics, SuperPreview Erik Saltwell demoing Expression Web 3 SuperPreview – split screen or full, and can pick the browser to view it in, also can side-by-side the various browsers, or layering them one over the other to see problems. ...
I’ve recently been working a fair bit with WCF and web services in and out of BizTalk. One of the things this involves is hooking up some orchestration ports using the generated port types when the target service is consumed. Once the consuming wizard is done, the generated port type definitions can then be edited to include a fault message. I chose to assign the out-the-box BTS.soap_envelope_1__1+Fault message. Now, the physical 2-way send port the orchestration wires up to has a custom receive ...
Do you keep getting the annoying windows installer keeps popuping up asking for "SKU011.cab" file when ever you open any product of the Microsoft Office 2003 Suite (Office, Excel, Outlook ...)? Here is a quick fix which actually worked Caution: Editing your registry may cause your system to fail to start; modify at your own risk! So please don't send me any nasty messages if you happen to screw anything up. Click on "Start" > "Run" and type "regedit" (without the quotes, please!). Navigate to ...
I have been busily working away at building infrastructure for the Dare to Dream Difference Challenge. Since my last post, I have finished the hardware prototype, although I still need a cabinet. The project now consists of a Device Solutions Tahoe II development board, an XBee Series 2 module, an AR1010 FM Receiver, an LM4832N audio amplifier, and two 0.5 watt speakers (pictured here). Not pictured is the ZigBee base station. I have made a shift in the approach I was taking for the software. Originally, ...
I have a small confession to make... A little TFS web service I built over the past few days was the first “real” production-ready application I’ve ever written from scratch where I’ve been good about maintaining unit tests. I even pushed myself to practice real-live TDD, and then even use Moq. I have to tell you, that I am now a firm believer in the benefits of leaning very heavily on your unit tests. Of course I've always believed others' stories, and have even worked on projects/products where ...
In Parts 1 and 2 of this series we covered some of the pitfalls and precautions the need to be taken when deploying SharePoint artifacts such as Site Columns, and Content Types. Wrapping up these posts we will discuss how to deploy Page Layouts successfully. And just so that we are still on the same page, these posts are focused on deploying using the SharePoint Solution deployments not creating these artifacts using SharePoint Designer or the Web Interface. Page Layouts Page Layouts are a great ...
Its been quite a while since I took a Microsoft Certification exam - June 2005 to be precise when I took the final exam to get my MCSD .Net certification. I have therefore resolved to get back on the technical horse, as it were, and take the 70-241 exam: "Developing Business Process and Integration Solutions by Using Microsoft BizTalk Server 2006 R2" Despite working with BizTalk since the introduction of BTS2004 back in, erm, 2004, I have never actually undertaken to get certified in it. Also, I ...
Just thought I'd summarize what I've learned so far ... a particular slide stood out for me.... Box in white around everything is the service and everything outside of it is the public internet. LB is a load balancer which takes input off the public internet and feeds it to the webrole ‘N’ = as may copies of the webrole you want all distributed behind the load balancer. This is the only way that input is coming into the system. No one in the world can hit and IP address of one of your boxes directly. ...
So as I mentioned in my last post I have this large-ish .Net application which has a pretty low quality level. The first task was to convince the powers that be that there is sufficient benefit to be had to justify the cost of dedicating 1-2 developers to focusing on quality improvements. Now we need a plan for how to approach making quality improvements. Ultimately I think we are going to need to do some major work refactoring large parts of the application (hopefully we can break these down to ...

To run the tests that use MBUnit, you should install the following plugin for resharper: MbUnit Plugin Resharper, in this case you'll never fail again when you choose 'Run Unit Tests' in the context menu.

I decided to install sql server 2008 and all went well suprisingly But after trying to connect to Reporting Services 2008 and tried running Reporting Services Configuration Manager I get error :"No report servers were found. Details: Invalid namespace" Below is a solution i was from one of the MSDN posts: Steps to modify the ReportingServices.MOF file to fix this issue: 1. Locate the existing MOF file (example: %ProgamFiles%\Microsoft SQL Server\MSRS10.SQL2008\Repor... Services\ReportServer\bin\r... ...
Very occassionally I need to mock a service that must do something more than just returning a value. Consider the contrived example of a Worker object that has a property called Count. During the execution of the function under test the Worker object is passed to an IIncrementer service to increment its Count property by one. [Test] public void DoStuffTest() { var incrementer = new Mock<IIncrementer>(); WOrker worker = new Worker(incrementer); incrementer.Expect(i => Increment(worker)); ...
Perhaps you've experienced the scenario where you hit the F5 key on the Group Overview in the BizTalk Admin console and instead of seeing your message queues, you see instead the very ugly () message: Failed to create a CLSID_BizTalkPropertyBagFac... COM component installed with a BizTalk server. A dynamic link library (DLL) initialization routine failed. (WinMgmt) Go to the event viewer and look for any COM/COM+ errors under applications. Chances are you will see a conflict with WMI services--perhaps ...
Have you ever had the annoying message on Windows XP indicating "New Hardware Found"....and then prompts you to select the path of the driver file? Or have you booted your PC and later on found that your CD/DVD Rom is missing and no matter what you do it just won't install? Well this might just help you out. Regedit to the rescue (Modify at your own Risk) Caution: Editing your registry may cause your system to fail to start; modify at your own risk! So please don't send me any nasty messages if you ...
Greetings Geekdom. My apologies for the long absence and my apology to the gentlemen who I was conversing with regarding is Automated Testing "testing" First to you: I got your response email. I will post it up here in the next day or two with my thoughts on your questions. Second to the geeksphere: My absence can only be blamed on two things: hectic holidays and being extremely busy at work. All I've wanted to do since Thanksgiving was come home and veg out. And if I wasn't veg'ing out, I was out ...
Starting with Windows CE 6.0 kernel mode drivers cannot call User Interface (UI) functions. To overcome this Windows CE 6.0 provides the UIProxy and a new function, CeCallUserProc(). Kernel mode drivers can call CeCallUserProc() to request that a user mode dll be loaded and a function in the dll be called. When writing the driver, also write the user mode dll and provide functions that will present a UI for the driver. Luca Calligaris was nice enough to provide an example function in response to ...
As soon as I got my mitts on the M3 build of Windows7 at the PDC last year, the first thing I tried was to run it in Fusion on my 15 inch MacBook Pro. It ran just fine sans one little thing – I could never get it to recognize the Marvell Ethernet adapter. Wireless worked fine, but for what I do at work wireless means a constant VPN connection and that was a pain. I did some searching, found one person that had it working on an older MacBook with a different Ethernet chipset. Once the new beta 1 build ...
One of Microsoft’s announcements on CES09 was Microsoft Tag. Do you remember last try of Microsoft to create mobile barcodes on Live platform? I remember it. So why Windows Live Barcode was deprecated, while Microsoft creates new one? What the key difference between Quick Response approach, barely adopted by industry and new colorful MS stuff? Let’s try to understand differences and approximate future fail or success on this technology. Key differences: The only information contains inside MS Tag ...
KernelRelocate() copies initialized global variables to RAM, and sets uninitialized global variables to zero. KernelRelocate() is called from both the bootloader and the kernel. If you are more familiar with writing applications that run within an Operating System (OS) then needing KernelRelocate() is different. When you run an application within an OS, initialization of global variables is automatically performed for the application by the OS. But, the bootloader and the kernel are the OS, so they ...
In embedded systems, like Windows CE, it is possible to have more bytes in the Operating System (OS) than there is space to store the OS on the device. It is also possible to have more bytes in the OS than you have allocated for saving the OS on the device. The first could be a bigger problem than the second. The Board Support Package (BSP) contains a file that allocates space for the OS. The file is config.bib (for more on config.bib see Platform Builder: Config.bib.) The space for the OS is allocated ...
UPDATE – DON’T DO THIS FIX AS IT WORKED FOR ONLY A SHORT WHILE. IT RETURNED BACK TO THE SAME PROBLEM AS BEFORE. YOU CAN DO THIS TO TURN YOUR ZUNE OFF FOR THOSE THAT ARE REPORTING HEATING PROBLEMS, ETC. UPDATE 2 – It seems this update will work if you want to use your Zune for a short while. It has to do with the clock on the Zune it seems. You can do this and it will work, but once you plug it into charge in your computer – it will fail again. UPDATE 3 – Microsoft has posted their fix: http://www.zune.net/en-us/s... ...
Our company has a pretty wide mix of systems Windows mostly VB & .Net and Solaris Java & C++. Standards without standards. Our company’s standard for interoperability is web services, however that’s more or less where standardisation stopped. The protocols and general design of the web services is down to the individual teams. On the whole the java guys produce XML schemas for there messages, then use this to generate web service stubs using various toolkits, the .Net guys tend to just create ...
In other posts, I have discussed persistent registry (Windows CE: Persisting Registry Changes from an Application) but what if we want to set the registry back to some known point? There are some functions to save the registry, or parts of the registry, and the restore them later. Save and Restore the Entire Registry The functions RegCopyFile() and RegRestoreFile() can be used to save the registry to a file and then restore the registry with that file later. The following are two very simple applications ...
1. Introduction This article shows how you can use attributes to validate your business objects. You may have had to write tones of code to validate your business objects without taking advantage of attributes. The value of attributes comes when you need to apply the same rules on a number of properties and the only thing you have to do is to decorate your property accordingly. For other articles on attribute based validation please check the Visual Studio Magazine and Ennis Ray Lynch, Jr. 2. Background ...
I started this blog back in September with a particular purpose in mind. Every yahoo and his brother has a blog these days, and by far the majority of them are absolute trash, but every so often there's a gem. As developers, we seem to mostly agree on which ones are the gems. Non-developers most likely have different lists, depending on their focus. There's a long list of blogs I love to read, and couldn't possibly hope to be counted among them, but one day I realized something. There's a lot of ...
So some of you have no idea who I am. I don't even know who I am sometimes. What self respecting 26 year old knows who they are. Anyway, I moved to Kansas City about a year and a half ago and I was depressed when I moved. I had just started to get involved with the St. Louis Jewish Community. I was going to go to start school again, but my job basically was we want to move you to Kansas City and we don't really have other options. I knew how it went. I was 24 years old. I had to move. My boyfriend ...
Recently, I ran into a problem where I needed to cast from an unknown type to a known type. Normally this would be fine as I a generic cast. For example... 1 public static T ValueOf<T>( this OracleCommand command, string parameterName ) 2 { 3 return (T)command.Parameters[param... 4 } The parameter of course returns an object and I wanted to streamline the parameter value lookup process. All was well until I started using ODP.Net (instead of Microsofts OracleClient). With the OracleClient, ...
Most people know that when processing a message through the XmlDisassembler, if not explicitly told which schema to use through configuration, the disassembler would try to resolve the correct schema based on the message’s root node and namespace. Most would also know, usually through the experience of getting it wrong so many times first, that if more than one assembly contains the same combination of root node and namespace for a schema, the receive pipeline, containing the disassembler, would ...
A business classic tells us that Quality Is Free. The title is intentionally provocative: no, quality isn't free, it just pays for itself. But first, you have to pay for it. And that, unfortunately, is where we fail in the quality game so often. Corporations seem addicted to the practice of compartmentalized budgeting, or what I think of as "bucket budgeting": you've got a bunch of different buckets you pour money into at the start of the fiscal period; and each bucket can only be spent on a particular ...
If my previous posting was kind of sophisticated, this one is a lot more down-to-earth and basic... I've been struggling during the morning trying to use the "Call Orchestration" feature of BizTalk. A pretty straightforward feature. But, I couldn't just get it to work. If the called orchestration was in the same project as the calling orchestration, it worked Just Fine<tm>, but as soon as I tried to put the called orchestration in its proper place, it just failed. The solution? Well, I got ...
Note: This was originally chapter 13 of my book, UML Applied: A .NET Perspective from Apress. My editor and my tech reviewer read it; and both said, "We like it; but what does it have to do with UML?" So I came up with a more on-topic closing chapter. But I still like it. It sums up my view of the software development profession quite nicely. So I thought I would share it here. Somewhere, deep in our prehistory... A man tells a story, a story of a hunt. Perhaps it's a hunt he's planning. Or perhaps ...
Every Windows CE device has a file named CEConfig.h in the \Windows folder. This file can be used to conditionally compile code against different projects or SDKs. It can also be used to determine the license level of a Windows CE OS. CEConfig.h is created when a Windows CE OS project is built, or more specifically sysgened, using Platform Builder. CEConfig.h contains macro definitions for the OS components included in the project. In other words, it can tell the C code about the features that will ...
Recently I wrote a cheat sheet for pinvoking in .NET. Shortly after I got a question in comments about how to deal with variable arguments, when it's more, then one parameter. Also what to do if those arguments are heterogeneous? Let's say, that we have following method in C: int VarSum(int nargs, ...){ va_list argp; va_start( argp, nargs ); int sum = 0; for( int i = 0 ; i < nargs; i++ ) { int arg = va_arg( argp, int ); sum += arg; } va_end( argp ); return sum; } We can expose this method to C# ...
Well, maybe that's not exactly how he put it; but he referenced a post where I wrote: Richard Hale Shaw makes an interesting argument against the C# using statement (not the using directive; and thank you, C# team, for that bit of confusing language). I disagree with him; but it will take time and sleep before I can fully explain why. The short preview: he says you can't force people to use your class correctly; I say I can, and I'll show you how, soon.And he writes: Always wondered what you had ...
(Reposted from Agile Summer Camp. The team will edit and improve that version, filling in the gaps in my memory and understanding. This is my rough draft.) Organized by Chris Woodruff with the able assistance of Josh Holmes and Michael Eaton, Agile Summer Camp 2008 was a fantastic success. This is an Agile Summer Camp Diary, documenting bits and pieces of a fun, rich, informative weekend with a crowd of unwashed geeks. No text page (nor even sadukie's great pictures) can capture the full experience ...
Life is sometimes sweeter than we realize. Sometimes we just forget to see it. We complain about work, bills, co-workers and spouses and sometimes forget to look at how awesome our lives really are. I LOVE being a programmer. I've done a lot of different jobs and I didn't come to programming until my mid-to-late twenties, so I've experienced some really crappy jobs that paid even crappier. At my current job, I was given the freedom to choose how I would develop this new project, what language, what ...
What a month November is turning out to be. All kinds of good things happening in my life, all at the same time. PodCampAZ What a weekend!!! Over 500 people came together to network, learn, win prizes, eat, drink, be merry, etc. My sessions weren't as full as I would have liked (10 to 20 in each), but those that were there were very willing to talk about the topics at hand. Other than session time, I spent the days running around getting the prizes sorted. Unlike last year's epic fail on the prize ...
I was recently working on creating a custom configuration section (deriving from ConfigurationSection) to provide some configuration metadata to an app I’m working on. In creating a ConfigurationElement, I wanted to validate that one of the attributes of the element was a valid value for the application. While looking at the example here I noticed the use of various validation attributes applied to validate the format of configuration values. The CallbackValidatorAttribute and CallbackValidator seemed ...
For a few weeks now we have had some problems with BizTalk tracking data not being right in some testing environments on a large project. The link below is to a forum post which discusses our problems (thanks Thiago for your help troubleshooting this): http://forums.microsoft.com... The basic problem was that for some reason tracking data seemed to be backing up in the messagebox and not getting through to the Tracking Database. We went through all ...
*Moved to: Unlikely bloggers…I always like to see people for whom it is traditionally unlikely to blog to start contributing to that big knowledgebase in the either that is the blogosphere. I would like to call attention to Eric McCarthy who started blogging today and call out to all other helpdesk Hero’s to join the fray… Technorati Tags: Personal Fail *Moved to: Unlikely bloggers…Read more...Follow my new blog on http://blog.hinshelwood.com ...