Tag | FAIL Posts

Yesterday was the Microsoft Vista & IE7 Readiness Tour in Egypt, which is the first middle east country to host the tour [I didn't announce it before because it has a sort-of restricted registration]. It was soo cool to see the two great products in action (especially Vista), and think of new possibilities. It also was soo cool to meet Arab Team 2000 forum guys again, as we don't get to meet in real life except in Microsoft events! I also had some talk with Cyra Richardson, IE Team lead program ...
After my post the other day linking out to a post about authoring file systems on Linux with Mono, I decided that I wanted to try it out myself. So, I went and grabbed the latest Ubuntu, and sojourned out to install it under Virtual PC 2004. I remember trying to do this 6-12 months ago and having it fail _miserably_ for me (or most of the Linux distros for that matter) when trying to install under Virtual PC 2004. Eventually, I just gave up. Now that I have a little more knowledge on Linux and virtual ...
Bloglines is arguably one of the best feed aggregators available. Good reputation. Upcoming new beta (where's my invite?). Excellent speed and reliability. But jeez...how many times do I have to comment on how odd it is that such an application has no RSS feed? So I noticed today that they DO have an RSS feed now - in fact they have several. Even better - they've started using the link tag in their webpages to tell browsers about their feeds. Woohoo! Somebody gets an A in catch-up-to-the-rest-of-us ...
I'm still in the process of experimenting with the various options out there for CI that integrates well with Team System. I've been playing with CruiseControl.Net and the Team Build system. While doing this I've got a good grasp on what I would like to see from the ideal CI toolset. I want a build to run automatically whenever a developer checks in a changeset. (I don't want it to run every x minutes/seconds and just hope that it only captures one changeset per build). I want the developer that ...
Just passed my first MCP exam, developing and implementing windows app in C#.

Been studying pretty hard for about 10 days so chuffed to pass with 90% especially seeing Win apps is my weaker area :) that'll come back and bite me in the ass if i fail web apps!!! ;-) which is next.

Rewarded myself with a nice MS logo on my blog and CV!!! Might even have a few beers tonight!!!
We call our web services through TAM. Of course this is never done in development so when we started testing one of our applications the other day we got the following error: “The underlying connection was closed: A connection that was expected to be kept alive was closed by the server”. This happened on subsequent calls to services through the TAM from our .Net application and did not seem to happen from the Java side. The first call will work fine but the second or third call will fail ...
I've been thinking quite a bit recently about what makes a great MMORPG - Massively Multiplayer Online Role Playing Game - and yes, people really call it that. So below are my ideas on some of the elements. You want to make a game as compelling as possible for as long as possible while still keeping the player entertained. Frequent, small accomplishments will go a long way towards keeping the player entertained. It is common that the first 10-20 levels in a MMOG can be accomplished in a weekend by ...
After a few attempts and much frustration, yes I can say that you CAN install Virtual Server 2005 R2 on Windows Vista B2. I installed Vista Ultimate - July 2006 CTP I went into gpEdit.msc and turned off UAP (User Account Protection) - I found a blog online that indicated that this could interfere with the setup of VS 2005, and I have tried the installation with it on and I ran into the blue screen of death a couple of times. After disabling UAP - I did not have this issue. I found an excellent post ...
Recently I have been designing an Application Framework in .NET/ASP.NET 2.0. It went well and I was thinking of generating the documentation using Visual Studio 2005 as I used to do in VS 2003. I could not find something like “Build Comment Web Pages” under Tools and I realized that that option has been removed in 2005. MS talks of automating a lot of things and getting less and less work done for the developer and instead of improving that feature, it was totally removed. I searched ...
Welcome to Basically Basic! About Me Hi, I'm Alex Loret de Mola, and I'm a VB programmer. I know the last two words in that sentence sound contradictory to some people: and indeed, I can't blame you for feeling that way. However, I'm hoping that this blog will help to change the perspective of VB doubters, and help those who have already succumb to temptation. On this blog, I'll be talking about how you can perform advanced security, set up complex data structures, manage large scale projects and ...
How many times a day do you click the Windows Explorer shortcut in your Quick Launch toolbar and then navigate to the folder where you do most of your work? Here's a tip from the wonderful Windows Annoyances website that saves me the trouble of navigating the same path over and over again - I "Force Explorer to Start With the Folder You Want". Make me mad to think why Microsoft fail to provide easy documentation of explore.exe's command line options ...
I've been continuing my research and experimentation with TDD lately. For my tests that actually hit against the database (as opposed to the ones where I mock the database layer), I need to ensure that the database is in a reproducable state to ensure that the test itself is reproducable. I figured the best way to do this was to just re-create the database automatically every time my unit tests ran (well the ones that hit against the database anyways). I need to recreate not only the database schema ...
I believe the following is the fastest way to convert a non-typed list to a strongly typed (generic) list using C# .NET: public List ConvertToGenericList(IList listOfObjects) { ArrayList notStronglyTypedList = new ArrayList(listOfObjects); return new List(notStronglyTypedList.T... as T[]);} Note that this will fail if the non-typed collection contains anything that cannot be casted to type of T. Please let me know if there's a more efficient way to do this! Billy ...
Yeah, I'm guilty. I tried VSS 2005. To be absolutely honestly I have stayed away from VSS for so many years because I had no interest in losing my projects to corruption. This fear led me to be a Sourcegear Vault user, which by the way is a very nice product. Never the less I figure VSS 2005 must be better than it's previous release, VSS 6, so I decided to give it a shot on a small project. It went pretty well until I stumbled into the Internet Plug-in setup with SSL. VSS 2005, which it seems to ...
Hello all, in my various installs of TFS I’ve been doing while on the road I’ve encountered one unusual problem, if you use “ (double quote) in your password for either the service account or reporting account the setup will fail ?? I went but this was not apparent to me at first because I didn’t think I had a double quote in my password (I was installing in the UK where the keyboard is different). All was well in Windows (it don’t care, it’s just another special character) but TFS it cared and failed ...
A while ago I had to deal with the issue of concurrency in our application. We are developing an in-house ERP solution here (well not all parts of an ERP, but specifically the shop floor control and production scheduling portions right now). We have alot of different pieces of data and associated maintenance forms. We wanted to address the problem where if person A starts editing a record, then person B starts editing the same record, person B saves their changes, then person A saves their changes. ...
I've got the last of the game errors I was planning on addressing fixed, so now I'm just play testing and tweaking the game difficulty a bit. I also spent some time tonight cleaning up the project and removing those classes that I no longer use and I cleaned up some of my unused graphic files from the project directory. The only remaining floating (and concerning) issue is a weird texture issue I've experienced when testing the game on another computer, but I'm not sure what to do about it. All my ...
I was recently asked to help a customer resolve an issue where they felt that once the a couple of the new Citrix Servers were migrated from the old NT Domain to the new AD Domain the IM service appeared to fail - possibly due to restrictions in the GPO's? First of all, not the easiest nut to crack this one, this would appear to have been a number of compounding issues that caused the fault - and coupled with the GPO Security it was easy to believe that this had caused the fault. Check the registry ...
Some you have probably seen a post from last Tuesday entitled Floating Point Fun. If you have not read this I would recommend going back and reading it before continuing. In this post I discuss some of the interesting things that can happen when dealing with floating point math in C#, it is important to note that these items did not happen in version 1.x of the framework. The root of these problems is that when in a register the floating point is treated with a different precision than when it is ...
I was poking through Jason Haley's blog today when I came across one of his interesting links (which are usually pretty interesting btw). It pointed to a post by Phillip Haack titled A Testing Mail Server for Unit Testing Email Functionality. I generally enjoy reading about other’s unit testing experiences as I often gain quite a bit of perspective (and get to see a lot of problems I may not otherwise get to see). Basically what he has done is taken an open source SMTP server and used it for ...
Rocky blogs that 98% of the systems being built out there are "trivial" or at least can be solved by "trivial" solutions. Is this really the case? He also contends that most applications are a "viewer (form, page, screen)" over data and development tools such automat this, attributing unecessary complexity to tool vendors, framework builders, architects etc. I actually disagree with his assessment on the distribution of complexity. My developers spend much more of their time behind the screen than ...
Visual Studio has a nifty feature called Pre-Build and Post-Build events. These are used to include extra DOS commands before or after the build. But there's a gotcha! And it will bite you when you least expect it. In Visual Studio, there is NO ERROR CHECKING except at the end of an event. Any errors that happen prior to the final step are lost. Keep reading to see a workaround. Setting Build Events Build Events are accessed by right-clicking on a Project in the solution explorer and choosing "Build ...
Outlook Add-in Setup Project This section describes how to enhance the Setup project that is created when you create an Outlook add-in project. You learn how to: Modify the Setup project so that it installs the prerequisites: the Visual Studio 2005 Tools for Office Runtime, (optionally) the Visual Studio 2005 Tools for Office Language Pack, and the Office primary interop assemblies. Add a step to the Setup project to grant security trust to the customization assembly. Add launch conditions to the ...
In previous days, I talked about many other ways to write a secure application. Today I will cover exception management and handling as it pertains to application security. When dealing with Exceptions, it's a best practice to hide the implementation details of your applications from the user. This includes hiding information regarding implementation, any secure data, and system configuration. To provide a secure application with regards to exception handling: * Use a structured exception handling ...
Joshua Porter looks at why web apps fail and give seven really good reasons. It is well worth a read at: http://bokardo.com/archives... Here are the major points as well as how to deal with them: Focus on social instead of personal - Focus on user needs Trying to solve too many problems with one application - Deal with scope They’re about making someone other than the user happy - Identify customers They sell it the wrong way - Focus on what the product can do instead of ...
ASP.NET has openned a poll to ask the developers about their usage (if any) on the Unit Testing. Amazingly 45.63% of the developers are not aware of the Unit Test. And 31.88% of the developers have not implemented the Unit Tests in their application. This all leads to the quality of the product. Since, most of the above mentioned developers have not implemented Unit Tests, the probablity of bugs in the application is pretty high. What are Unit Tests? Unit Tests are created before a single line of ...
Dare I say it, I had fun writing the 70-301 this morning. I had fun with the 70-300 as well...I enjoy project/process type of discussions, and the 301 was chalk full of them. I started to feel a little too confident going down the stretch but tried to keep it in my head that it wasn't in the bag...which was a good thing, because...well, it wasn't in the bag. Passing was 700, I got 674. Yeah, that's right...I missed it by 26. Wow. If I'm going to fail something, at least let me fail big...don't jump ...
I kind of touched on this issue in my last Tanks update. Thomas was nice enough to leave a comment and a follow up post that he made. I went to leave a comment on his blog in response to his post but "anonymous" comments aren't allowed and, frankly, I don't want to sign up for an iBlogger account simply so I can leave a comment. So, with that said, I'm just going to post my response here. ------ When writing unit tests, I no longer really think about methods. What I have started to think about is ...
So after the previous post regarding Virtualization and what it might mean to Citrix's dominance I have done a bit of ferreting around and found some neat code over at MindVizTracker that has enabled me to add a Poll to ask you what you think? Have a look a below the Add on the left side and you should find something like this: Poll: Where are we in the Hype Cycle with regards to Virtualization?? Technology Trigger? Peak of Inflated Expectations? Trough of Disillusionment? Slope of Enlightenment? ...
In some situations it is helpful to maintain an XML document using a class that mimics the structure of the XML document. If the document has a schema there shouldn’t be any reason to code the class. If the schema is well written, then everything necessary to generate the class is in the schema. You could then write code along the lines of: MyDoc doc = new MyDoc(documentPath); doc.Collection["key"].Name = "Joe"; doc.Save(); There are 3 code generators I know of for generating these classes. ...
I am really facing a tough weekend. The other day I had my Data Structures midterm exam. On Sunday I have the Micro-controllers misterm exam ( this one is really really really really hard ! especially with the 983578734 :D page resource ! ) , and the funniest thing that I'm gonna be co-presenting in ATLAS session on Saturday .. :D I called my father, and I told him that I might fail in university but am not gonna skip my session in MAD .. hehehe .. “wish he didnt read this post :s .. lol “ ...
Most developers instruct Visual Studio to make local copies of DLLs. Whenever Visual Studio can detect a dependency between an executable and a DLL, it will copy the DLL into the directory where the executable is written. But Visual Studio can’t always see the dependencies. The typical solution for this situation is to do the copy by some other means. If the copy gets forgotten, you’ll usually find out at runtime when the CLR throws an exception because it can’t locate the DLL. ...
Atlas is pretty cool since it allows you to make client side calls and hence saves the postback. Although the postback is still called but on the client side. Your Atlas client side calls can fail if you do a Response.Write when the postback is true. So, don't do the Response.Write. Check out the code below: protected void Page_Load(object sender, EventArgs e) { if (Page.IsPostBack == true) { Response.Write("This response will kill the page."); } } powered by IMHO 1.3 ...
I have been seeing alot of questions lately in regard to context boundaries within domains and various methods of implementing the contracts between them. I figured it may be worthwhile to write up a little about the various mechanisms of handling this issue. For those who are unaware of what a context might be, a classic example would be a marketting domain that needs to access an accounting domain in order to perform some operation (or to retrieve some information). We seperate these domains as ...
So I'd visited a client early last week to look at a System at a bank that had been installed by another Integrator. I believe they'd installed it as a PreSales or Proof of Concept, so it was obviously done pretty quickly and they didn't neccessarily hang around to finish it all off..... (more's the pity?) So when I did have a look at it, I could understand the WI side, but I wasn't really conversant with how Connectra was setup. However I was able to clearly show that the reason that it wasn't working ...
NEW FEATURES IN BIZTALK 2006 CHEAT SHEET SET UP Automatic installation of redistributable components. In BizTalk Server 2006, the BizTalk team will provide a single file that contains the latest version of all redistributable components required by BizTalk Server, eliminating the need for users to search for the components themselves. Simplified setup experience for first-time users. BizTalk Server 2006 includes a significantly simpler installation experience for the developer, single machine user, ...
I've got to admit that I am one of life's individuals who considers email to be something of a pain in the backside. Okay, it's great if you want to get a message to someone quickly, it's cheaper than a second class stamp, but within the enterprise I think it can prove to be one of the biggest barriers to effective communication since the Berlin Wall. I listened with interest to Robert Scoble's comments in a recent Technet Radio piece where he is extolling the virtues of blogging within the enterprise. ...
John Piper is getting ready to have cancer surgery surgery tomorrow. With cancer there's never any promises, never any guarantees, never any for-sures. My uncle passed away from cancer last month, and another uncle is suffering from it right now, so I've seen first hand the devastation it can have on the person with it and on the family and friends. But as he blogged about it tonight, it wasn't about the what-ifs he was facing, or the comments of determination to defeat the disease. It was a list ...
If you're using the IBM AFP Print Driver (http://www-1.ibm.com/suppo... on Windows Server 2003, your applications may fail if you upgrade to Window Server 2003 SP1. Specifically, calls to the GDI function EndPage may return 0, which has the name ERROR_SUCCESS, and the message "The operation completed successfully." This is caused by the order of particular GDI calls. Specifically, DeviceCapabilities can't be called when the document is active (i. e., in between the calls ...
This has been a long day. You’ll notice that yourself. All the knowledge I gained was of the tricky little, not clear or notable, yet highly beneficent. We’ll see that as we go. I started the day with Stephen Forte; the guy is another geek. I guess he and Patrick are brothers or something not just friends, as they both have the same geek soul and extremely high sense of hummer. When it comes to fun and jokes, you have to remember Stephen. I spent the 2 first sessions with him. In the ...
I am big fun of Test Driven Development (TDD). I recently read quite good article about unit testing: Write Maintainable Unit Tests That Will Save You Time And Tears. Here is an extract of the article: Fail First (before you write piece of logic, write fail test first) - do not write any test, but simulate production environment that will use the logic so the test will remain as regression test of your logic. Requirements conflict (old UT fails when new funct. is introduced) - remove or enhance old ...
Well we are all talking about wiki's for business but what happens when those business people aren't in their office... they need it on the move. What device do most business people have with them. That would be their mobile phone. So the question now is how do we manage to get wiki's on mobiles and get them to be mobile enabled? Once again when looking at this we get into all the same sort of issues that arise from the likes of Mobile Mondays on data accessing across different platforms and with ...
I've been experiencing ?? annoying problem with our test SMTP server (it's a Windows 2003 machine running IIS6) - Emails were left "stuck" in the Queue folder. I had a look at the machine's System Event Log using "Event Viewer" and found this error message repeated for each email: "Message delivery to the host 'xxx.xxx.xxx.xxx' failed while delivering to the remote domain 'xxxx' The connection was dropped by the remote host." Luckily, I've found some Google Group posts referring to a tool called ...
Installating Certificates on WM2005 for smartphones By default WM2005 is locked so certificate installations fail (for ActiveSync with Exchange server etc). To unlock: 1. Change the policies in regedit on the device as follows: a. HKLM\Security\Policies\Poli... b. click "Values" soft-key c. Change 00001001 value to 1 d. Change 00001005 value to 40 e. Reboot device. 2. Run SDA Security Unlocker (attached to this message, or search for SDA_ApplicationUnlock.exe on Google) with the device connected ...
While a few people were at work yesterday I was able to get in another beta test for the upcoming new generation of certifications. The test was listed as below: Beta Exam 71-529: TS: Microsoft® .NET Framework 2.0 - Distributed Application Development [Beta version of Exam 70-529] Anyhow, here is my interpritation of the test. Since it was a Distributed test most of the material was centered around Web Services and Remoting. It was a total of 73 questions long and for the beta it gave a very ...
What I am about to describe will not be new to a lot of you, in fact BizTalk Bill suggested this technique a users group meeting. The fact is, that before Christmas I could find no documentation on it in my usual trawling of the blogosphere to see if there was a more elegant way with BizTalk 2004 to employ envelope splitting inside an Orchestration … I couldn’t find one. So I’m going to spell it out for you here.Before Christmas I was looking into a way of receiving a large amount ...
Not all string comparisons will perform the same but I was interested in seeing what exactly the differences were. Regardless of whether I was just performing 1 string comparison or 1 million, using the instance Equals() method was BY FAR the fastest. Of course the danger there is it will fail if the first string is null. Using == will always work regardless of nulls and for a million comparisons was almost as fast as Equals() and WAY faster than any other method (although it should be noted that ...
Custom Properties in AD , Open DirectorySearcher Queries and Large LDAP Queries QUESTION Mike, I am new to AD and LDAP but have programmed the last couple of years in C#. I have read your articles. I am trying to write a program that will go in and check three columns in a User OU for each of the objects in that OU. I need to check the sAMAccountName, EmployeeNumber and UIDNumber. I have to make sure that the EN and the UID are the same but they must be different than the sAMAccountName. I then must ...
With the launch of the release versions of Visual Studio 2005, and the gap to BTS 2006 we are in that intresting no mans land where we try to use the oldish and the new. This leads to a whole bunch of opinions such as 'You can't install Viz 2005 with BTS 2004'. Well we are trying and I intend to document the problems and the fixes as we go. Problem 1: BizTalk 2004 Web services publishing tool will fail to generate web services! Fix: Change the following registry key - HKEY_LOCAL_MACHINE\SOFTWARE... ...
As you have probably seen from other posts, Luke Stevens has an interesting blog post today entitled "Do I recommend my career?" You can see it here: Do I recommend my career Mostly I agree with his statements. Except for the following: Unlike most professions, you start in the middle. You don't have to spend your first few years paying your dues with low pay and long hours, unless you get suckered into it. It's just a matter of knowing your stuff and getting lucky in the job search. On the other ...