November 2008 Entries

IIS 6.0 with Windows Authentication PITA

A small thing really, but one that cost me a full day of digging and my scalp is sore from all the scratching and hair pulling. It all started when the test server was hosed (rebuilt) without asking me if it affect anything I was doing. Without going to much into the history, an application that should have been on production was on staging and being used as the production application. Stop right there - don't start pointing fingers cause I've got no control over this other than the continual protesting that I have been doing. Not to mention that the...

Sending DateTime Parameters from AJAX to WCF Operations (methods)

Yesterday I got stuck on a problem with a DateTime parameter I was attempting to submit to a WCF operation (method). I was trying to call call the operation using POST and the format was JSON. I was getting the value from the javascript Date object like this:var eventDate = new Date();var json = { date : "/Date(" + eventDate.getTime() + ")/" };// value of date would be "/Date(65746416843)/"(yes that number is completely off the top of my head)But after the POST operation the date on the server side was 7 hours ahead. I knew it was because I am...

 

 

Copyright © Mark J. Miller