March 2009 Entries
Looking for a simple datepicker that uses AJAX.NET (to avoid full-page postbacks), for your date fields? Look no further! I was on the same "hunt", and ended up writing my own code for it (inspired by other examples/code I was looking at). The code does all the work using ASP:NET, nothing is done using JavaScript. Below is the code for the solution. This could (and should) be made into a UserControl if you need to use in more than one place In the .aspx file, put this: (As you see, I am referencing...
Sometimes, you get pretty unclear exception messages. The message below is one example of such: Exception type: TargetInvocationException Exception message: Exception has been thrown by the target of an invocation. [...some stuff removed...] Stack trace: at System.RuntimeMethodHandle.... target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.RuntimeMethodHandle.... target, Object[] arguments,...
Well, the title says it all... I was doing some work on one of our customer's servers, when I found a task in the Scheduled Tasks function in Windows that had the wrong name. Alright, I renamed it. The next time it was supposed to be run, Windows just ignored it! Very weird indeed. The solution? As always, the "toggle" trick. :-) We do it with Visual Studio (with the Copy Local setting for referenced assemblies), and, apparently, it can be done with Scheduled Tasks as well. Open the task, uncheck...
If you, like me, have set the GenerateCSFiles property to 1 (as described here) to get BizTalk to keep the .cs files after they have been generated from the orchestrations and maps, be a bit aware that it can cause some weird problems sometimes. I just had one of my orchestrations indicating that there was an error with some of the shapes. The map was missing, seemingly. The odd thing was that the whole solution was compiling correctly, so the problem seemed only to affect the editor. When looking...