This is a note to self (and anyone else who tries to access a virtual Ubuntu guest on Hyper-V from a RDP-session). Mouse capture does not work in Hyper-V when accessing it from a RDP-session unless you have installed the integration services in the guest OS. (MS does not provide integration services for Ubuntu…) In [...]
About Ola Herrdahl
AuthenticateRequest not raised when doing a Server.Transfer
I’ve recently enhanced a legacy product with support for “custom links” by writing a simple HttpModule.
The module is very simple, it hooks in to each request and check if a mapping exists for the current path.
In order to do this all it needs is a simple map of new to old (legacy) paths.
If a mapping is found, a call to Server.Transfer is done to transfer the request the the correct page.
This worked like a charm until I realized that the AuthenticateRequest was no longer raised when visiting a link that was served using my new module.
C programming sucks
I really love all the cryptic errors you can run into in this fantastic language. void replayAllPastEvents(DumbThing *dumbThing){ // read events from disk, bla bla bla apply(dumbthing, event); // <- explosion in this call // … } The code did compile but crashed due to a segmentation fault in the apply function. Can you spot [...]
Solving the html word wrapping problem in DayPilot Lite
A while ago I ported the DayPilot Lite calendar/schedule control into a Monorail view component and everything went smooth except for the word wrapping. Whenever an event in the calendar/schedule contained a word that did not fit the placeholder the entire description was hidden from the end user. It looked like this: When it should [...]
Scalability, Availability & Stability Patterns
Awesome presentation on Scalability, Availability & Stability Patterns by Jonas Bonér.
The call to method ‘Deserialize’ needs to be dynamically dispatched, but cannot be because it is part of a base access expression
Error 66 The call to method ‘Deserialize’ needs to be dynamically dispatched, but cannot be because it is part of a base access expression. Consider casting the dynamic arguments or eliminating the base access.
Invalid argument in JDBC call: parameter index out of range
16:45:04,220 WARN JDBCExceptionReporter:100 - SQL Error: -62, SQLState: SOO10 16:45:04,221 ERROR JDBCExceptionReporter:101 - Invalid argument in JDBC call: parameter index out of range: 7
xUnit.net QuickStart
A couple of months ago I was trying to explain the concept of unit test and test runners within Visual Studio for a couple of friends. Needless to say there was some confusion around the fact that you needed a plug-in (TestDriven.Net/ReSharper) in order to run a plug-in (Gallio) that runs a plug-in (xunit-runner) in [...]
Importing and exporting using Mercurial
This post will be a quick introduction to a revision control tool called Mercurial. (Mercurial is also known as hg from the chemical element Mercury’s symbol in the periodic table.) Background On my development machine I have a repository with a couple of commits I want to share with the rest of the team. Exporting [...]
Ola Herrdahl
Eventual consistent developer currently working on solving complex problems by applying simple solutions.
- CQRS for dummies November 13, 2011
- ASP.NET: System.IO.IOException: The file or directory is corrupted and unreadable. April 25, 2010
- Watin and portable Firefox March 15, 2011
- IntelliJ cannot create new class April 21, 2010
- Accessing Ubuntu running on Hyper-V over Remote Desktop November 20, 2010
- Document based sagas for dummies November 13, 2011
- CQRS for developers November 13, 2011
- CQRS for dummies November 13, 2011
- Access a Mercurial (BitBucket) repository using SSH key from TeamCity September 15, 2011
- Setting up kdiff3 for git on windows June 22, 2011
- Jigs: Thank you so much, you saved my life. I have been ...
- Document based sagas for dummies | Ola Kodar: [...] previous two post, CQRS for dummies and CQRS...
- CQRS for developers | Ola Kodar: [...] the CQRS for dummies post we can extract a c...
- Scott: WOW!! This saved me literally HOURS of searching!...
- Evgeni: check name of your package where you try to create...
Categories
- Error of the Day (14)
- Hailstorm (2)
- Software Development (4)
- Tips & Tricks (6)
- Web Development (1)
Recent Tweets
Follow @herrdahl on Twitter
Recent Comments