Geeks With Blogs
Per Lundberg Random thoughts from a BizTalk developer March 2009 Entries
ASP.NET 3.5/AJAX.NET-enabled datepicker snippet using the ASP:Calendar control
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 ......

Posted On Tuesday, March 24, 2009 8:50 AM

Trouble getting TargetInvocationException on your ASP.NET web application?`
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, ......

Posted On Thursday, March 19, 2009 1:26 PM

Scheduled tasks - task stopped running when I renamed it
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 ......

Posted On Thursday, March 12, 2009 10:54 PM

Be careful when setting GenerateCSFiles to 1
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 ......

Posted On Wednesday, March 11, 2009 12:19 PM

Copyright © plundberg | Powered by: