Once In A White Moon - by Gina Therese Hvidsten
© 2019
Once In A White Moon

Response.Redirect inside an UpdatePanel

Recently I’ve had more and more pages displaying unexpected behaviour. I had an UpdatePanel with a button inside it. The button’s Click event performed a Response.Redirect(), but nothing happened. The Javascript error console showed the following error message: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled. After some googling it seems that ASP.Net doesn’t quite support Response.Redirect() inside UpdatePanels any more. The solution was to make sure the button actually performed a full postback of the webpage, and not only a partial postback (as it would do because it was inside an UpdatePanel). There are two ways of doing […] Read more

Samba/Winbind connection issues

I recently had to reconfigure my linux (Ubuntu 10.04 LTS) servers.I had previously used these two howto’s to configure my servers.Suddenly one of them refused to properly connect with various error messages: # wbinfo -pPing to winbindd failed # wbinfo -uError looking up domain users # wbinfo -tchecking the trust secret via RPC calls failedCould not check secret After a week of googling I finally found the following solution, which did the trick for me. Stop smbd, nmbd and winbindd (make sure they are really dead using ps. winbindd still lingered after I stopped the service) Delete the linux computer from the Primary Domain Controller (using the Management Console) Delete the secrets database (/var/lib/samba/secrets.tdb) Join the domain again Start the daemons (smbd, nmbd and winbindd) […] Read more

Trying a new thing with my blog

Because I’m using Twitter, Facebook and Google+ I haven’t really made any good posts to my blog for a while. I’m trying to remedy this by taking my blog in a new direction. As a “Technology Enthusiast” I regularly get stuck in various situations where I have to do a lot of googling. Some times I can google for a week and not find a solution. When I finally do find a solution I’ve decided I should write about it on my blog so that others can (maybe) find the solution as well. So don’t be surprised when you see lots of technical stuff popping up on this blog instead of the usual ramblings about what happens (or not) in my life.

Give a little bit of yourself today and save a life tomorrow!

Today is the World Blood Donor Day. Donating blood is such an easy thing to do, and is also a very easy way to help save lives. You only give about 15-30 minutes of your time, and a pint of blood. Seeing how many lives are saved each year because of blood donors, the choice shouldn’t really be that hard to make, but still there is a profound lack of available blood in hospitals around the world. I am, of course, a donor. Even though I hate syringes and needles, I go through with the donation roughly once every three months. Being such an easy way to help others, I gladly do it. I get a gift from the local hospital every time I do […] Read more