Migrated my blog - well, almost

In early January we got a message from our dear MVMPS.Com administrator (Susan) that we could migrate our blog from Community Server and onto Wordpress.

I decided that with 2011 being what it is - new year and all that - a new start was required, so i set out to migrate my blog.

The new blog can be found here: http://blogs.msmvps.com/brianmadsen

I've tried to migrate my entries, but it seems that something keeps blocking it after about 10 entries - and i'm working on fixing it.

Cheers,
Brian

Posted by Brian Madsen with no comments

Proud Daddy–My Clever Vegemite Gets An Award

Yesterday was the last assembly of the year for my oldest daughter, Flynn, at her school. So naturally I had to attend, especially as we’d been informed that she would be receiving an award.

Of course this meant we’d be there in full force, supporting our little girl (not so little any more tho).

So we get there and all the kids are seated (pre-primary to year 7) and each year has their own awards to hand out to those kids most deserving.

We slowly creep past the pre-primaries and we then get to year 1 – Flynn’s year – and the awards are announced. We wait patiently as three other girls gets their awards in different categories. Then, finally, the last category – Academic Excellence Math and Literacy – and Flynn is called out.

I’m snapping shots off as fast as I can, not paying attention to other parents, seating arrangements..you name it..this is my little girl who’s going to be rewarded for all of her hard work this year.

The teacher, Mrs. Plenty lists off the reasons for Flynn getting the award and I suddenly find myself sniffing with tears running down my face (yes, I blubbered like a prepubescent hormonal teenager).


Flynn - Amazingly Clever Vegemite 2

 

Flynn, I’m so proud of you. You’ve shown dedication and a work ethic way beyond my biggest dreams.

Whatever you do in life, whatever is thrown at you, look back and remember this day for I know I certainly will.

There is nothing life can throw at you that you can’t handle and I know that anything you set you mind to, you can do.

I was so proud to see you stand up there, smiling, and receiving your award. An award that you have worked so very hard at.

You are such a humble, unassuming girl, always ready to help others and never have you had a mean streak in you.

I know that you may not yet understand the significance of this award but it is proof that you have the right mindset, dedication and capability to face anything!

One day we will look back on this day…You dad. December 7, 2010.

Posted by Brian Madsen with 1 comment(s)

Microsoft BizSpark Azure Startup Camp, Perth–Value from attending

Over the last three days (Fri-Sun) I’ve been attending the Microsoft BizSpark Azure Startup Camp in Perth – first day was a Azure Discovery day, held at Burswood Entertainment Center (Friday) and the last two days has been the BizSpark Azure Camp.

Over the course of the first day we learned a lot of about how Azure is structured and the cost models.

The biggest value has probably been during the weekend here – the workshop/camp really gave us the opportunity to look at Azure with a hands-on focus.

Our group was divided up into small teams – Doug Paice was on my team (or, I was on his team??).

The value over these two days has predominantly been having unlimited access to Steve Nagi (Azure MVP) in both technical and architectural situations.

I would rate these three days as some of the best training I’ve done this year.

Obviously the next couple of months will see Catherine Eibner visit a whole host of other cities, so check out the dates for when she’s near you with the program:

https://www.microsoft.com.au/events/register/home.aspx?levent=394712&linvitation

Posted by Brian Madsen with no comments

Windows Phone 7 Deep Dive Workshops coming to Perth - Oct. 14-15 (free workshops)

Don't think i can stress how awesome this is - but Nick Randolph, from www.builttoroam.com is coming to Perth in October (14th and 15th) to hold the Windows Phone 7 Deep Dive Workshops that's been so phenomenal in both Sydney, Melbourne, Brisbane and Adelaide.

This will probably be the very first opportunity for us in Perth to get some serious exposure into the upcoming Windows Phone 7 release. For those that attended Tech.Ed 2010 you may have been sitting in on Nick's excellent presentations (btw, Nick rocks as a presenter!).

So, clock out of work and attend - places ARE limited (20-25) so be sure to keep an eye out for Nick's block (http://nicksnettravels.builttoroam.com/) for further details.

Update: Nick's blogged the details for the workshop as well, plus the registration link is now available. Check out Nick's blog:

http://nicksnettravels.builttoroam.com/blogengine/post/2010/09/29/Windows-Phone-7-Deep-Dive-Workshop-visiting-Perth.aspx

Prerequisites:

To get involved, you need Silverlight/WPF, C# .NET Framework skills and you should have completed a subset of hands on labs from the following:

The workshop will be run by Nick Randolph (that’s me!) from Built to Roam.  In case you’ve been wondering I’ve been working with Windows Phone for quite some time and have just a few blog posts talking about developing for Windows Phone. You can find my blog, here (http://nicksnettravels.builttoroam.com)  and my public profile at https://mvp.support.microsoft.com/profile/Nick.Randolph

Course Content:

Day 1
  • Session 1: Introduction and Windows Phone User Experience Overview
  • Session 2: Animation, Orientation and Overlays
  • Session 3: Application Lifecycle, Navigation, Application Tiles and Notification
  • Session 4: Tasks and Touch
  • Session 5: Working with the Accelerometer, Sounds and Location
Day 2
  • Session 6: Connecting and Consuming the Web
  • Session 7: Retrieving, Storing and Synchronizing Data
  • Session 8: Silverlight Analytics, Unit Testing and other Frameworks
  • Session 9: Security, Authentication and Performance

Registration links and details has yet to be published by Nick - but trust me, it's going to be a first come, first serve scenario so better make sure to get yourself registered as soon as it becomes available.

Posted by Brian Madsen with 1 comment(s)
Filed under: ,

LIDNUG is now using Eventbrite to schedule events - why?

The Linked .Net Users Group has grown quite big, with a very diverse member base, spread out over the whole world.

Since we began running monthly events we have been using LinkedIn's own, inbuilt Event system with quite a bit of mixed results.

Now, we're changing the event listings to Eventbrite - why?

Well, the Events application on LinkedIn has become stagnant - no movement or answers to any requests for feature updates has come from LinkedIn and there's been quite a few detrimental ones.

First and foremost, we've had some issues with Events dissapearing - luckily that got resolved and since late last year that hadn't happened again. But some fundamental features were needed, considering that we have members from all over the world.

#1 Support for time zones (yes, oddly enough, LinkedIn Events does not support time zones at all)
#2 Add event to calendar feature (yes, another feature we've requested)
#3 Ability to get a full listing (easily) of all attendees (this is handy for when we have prizes and such, naturally, the information would never, ever be forwarded to anybody)

A few other things made it easy for us to change - such as, you have to be logged in/a member of LinkedIn (ok, small issue seeing as almost all developers/professionals are on LinkedIn, right!) to be able to register for the events. With Eventbrite that's not needed.

Secondly, Eventbrite has a Developer API so now we can start to create custom features which will make it easier for members to get to our event details - and there's been a LOT of feature requests from members plus some great ideas from our GMs.

It's also now going to be easier than before to find our events - simply go here: http://lidnugevents.eventbrite.com/ and you can see the current listings for our events.

So, are we leaving LinkedIn? of course not - LIDNUG has thrived on LinkedInn - it's our official home. If you aren't already a member, join up and become involved with our very, very active discussions and job listings.

http://www.linkedin.com/groups?gid=43315

Lastly, our unofficial site has already (finally?) been released - we will of course continue to expand on that site, but our home is on LinkedIn.

http://www.lidnug.org

This is where we will store all of our recordings (we are migrating them from our old site as fast as possible) as well - so check it out as well.

Wife turned 40 (no, she doesn't look a day over 30!)

One of life's milestones was reached by my wife yesterday - she turned 40 and she decided to publish 40 life lessons and i figured to put it up here as well because, dang, she's far smarter and wiser than i am.

1. If you want joy in your life, seek it.
2. There is a lesson to be learned in everything.
3. Separate your whites from your colours.
4. White vinager is a brilliant softner and deodoriser in your wash.
5. A little often of everything makes a difference.
6. It's not selfish to say no.
7. Anyone that would deny you the ability to say no - stay away from.
8. If it looks like bullshit, smells like bullshit, it probably is bullshit.
9. There is no space for emotional blackmail and manipulation in a healthy autonomous relationships.
10. Your baggage is no excuse for bad behaviour.
11. Any parent that speaks ill of their children should be treated with caution.
12. The more you talk about your housework, the less you are actually doing.
13. Sheep poo is the answer to every gardening issue.
14. Cadbury fruit & nut plus loud music can get you through anything.
15. A good cup of tea can make you feel better.
16. You can never tell your children enough how much you love them, no matter how old they are.
17. You can't bullshit a 4yr old.
18. Tell your kids the truth and see them as individuals.
19. The truth is not ugly.
20. Emotions are not a weakness.
21. It's okay to not like someone. You don't have to be friends with everyone.
22. You are never too old for facebook.
23. Johnson baby wipes are a housewifes best friend.
24. Take your vitamins.
25. Fresh air never hurt anyone.
26. If you do nothing else, pluck your eyebrows neatly.
27. B-grade movies are cool.
28. You can not always judge a person from what they say, you must also look at what they do.
29. If it's like beating your head against a brick wall, walk away.
30. Sometimes it's best to say nothing.
31. Finish what you start and no it doesn't all have get done in one day.
32. If the laundry is dry, put it away that evening.
33. Puppies chew, cat's spew.
34. Dead rats in the wall cavity smell for a week.
35. Don't leave plastic in the sun if you want it to stay nice.
36. Good skin is basically nutrition plus genetics and no sun.
37. Sorbolene is brilliant with skin issues.
38. Old fashioned remedies are solid.
39. Camomile kills fungus.
40. You must learn not to blindly accept another persons perception of you and know yourself for who you actually are.

We had a cozy evening and albeit i ended up baking the wrong chocolate cake she had a good time.

Happy birthday sweetie!

Posted by Brian Madsen with no comments
Filed under:

Sharepoint 2010 split back-to-back woes

Been trying to get a PoC up and running (and completed of course) for a split back-to-back SharePoint 2010 setup with a "web front end" placed in a DMZ without domain trust.

Basically we have a SP 2010 application server/farm sitting internally (together with AD, SQL Server, Reporting Server et al) and want to join a SP 2010 server from within a DMZ.

Been trying to find out how this could be done and everything points to us having to use SQL Authentication when running the psconfig tool on the DMZ box.

It works, connects, authenticates and a ton of queries are of course fired across to the database - seeing authenticated calls in Profiler.

However, when running the following command:

psconfig -cmd configdb -connect -server xxx.xxx.xxx.xx -database "SharePoint_Config" -dbuser someuser -dbpassword somepassword -passphrase somepassphrase

I get the returne error:

PS C:\Windows\system32> psconfig -cmd configdb -connect -server xxx.xxx.xxx.xx -database "SharePoint_Config" -dbuser someuser -dbpassword somepassword -passphrase somepassphrase

SharePoint Products Configuration Wizard version 14.0.4762.1000. Copyright (C) Microsoft Corporation 2010. All rights reserved.

Performing configuration task 1 of 3
Initializing SharePoint Products configuration...

Successfully initialized the SharePoint Products configuration.

Performing configuration task 2 of 3
Connecting to the configuration database...

Failed to connect to the configuration database.

An exception of type System.ArgumentNullException was thrown. Additional exception information: Value cannot be null.
Parameter name: service

Total number of configuration settings run: 2
Total number of successful configuration settings: 1
Total number of unsuccessful configuration settings: 1
Successfully stopped the configuration of SharePoint Products.
Configuration of SharePoint Products failed. Configuration must be performed before you use SharePoint Products. For further details, see the diagnostic log located at C:\Program Files\Common Files\Microsoft Shared\Web Serve
r Extensions\14\LOGS\PSCDiagnostics_6_4_2010_12_0_24_805_767248449.log and the application event log.

At first we thought it was a firewall issue - but as i said, we're seeing the sql user connecting and sending across a tone of queries which all work. So, it doesn't appear to be the configuration database (also checked the database, no login failures et al).

Then we started looking through the log file and see some interesting stuff that i'm not entirely sure is relevant. But first, i should mention that the the Admin content database is called "SharePoint_Admin_Content" and that's also what's listen in the "Manage Content Databases" in the internal farm's Central Administration.

Here's the drop from the log file: 

06/04/2010 12:00:49 9 INF    Creating connection string for config db SharePoint_Config server xxx.xxx.xxx.xx

06/04/2010 12:00:49 9 INF    Creating connection string for admin content db SharePoint_AdminContent_9ddd2a49-a366-41b2-a70e-47f19b8ce0b8 server xxx.xxx.xxx.xx

06/04/2010 12:00:49 9 INF    Using sql auth for sql connection string

06/04/2010 12:00:49 9 INF    Openning configdb so that I can join it at server xxx.xxx.xxx.xx database SharePoint_Config in farm mode

06/04/2010 12:00:49 1 INF    Now, waiting for the task configdb to quit execution

06/04/2010 12:00:49 9 INF    Now joining to farm at server xxx.xxx.xxx.xx database SharePoint_Config

06/04/2010 12:01:34 9 ERR    Task configdb has failed with an unknown exception 

06/04/2010 12:01:34 9 ERR    Exception: System.ArgumentNullException: Value cannot be null.

Parameter name: service

 at Microsoft.SharePoint.Administration.SPServiceInstance..ctor(String name, SPServer server, SPService service)

 at Microsoft.SharePoint.Administration.SPFarm.Join()

 at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.CreateOrConnectConfigDb()

 at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.Run()

 at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()

06/04/2010 12:01:34 9 INF    Entering function Common.BuildExceptionMessage

06/04/2010 12:01:34 9 INF    Entering function StringResourceManager.GetResourceString

06/04/2010 12:01:34 9 INF     Resource id to be retrieved is ExceptionInfo for language English (United States)

06/04/2010 12:01:34 9 INF     Resource retrieved id ExceptionInfo is An exception of type {0} was thrown. Additional exception information: {1}

06/04/2010 12:01:34 9 INF    Leaving function StringResourceManager.GetResourceString

06/04/2010 12:01:34 9 INF    Leaving function Common.BuildExceptionMessage

06/04/2010 12:01:34 9 INF    Entering function Common.BuildExceptionInformation

06/04/2010 12:01:34 9 INF    Entering function Common.BuildExceptionMessage

06/04/2010 12:01:34 9 INF     Entering function StringResourceManager.GetResourceString

06/04/2010 12:01:34 9 INF     Resource id to be retrieved is ExceptionInfo for language English (United States)

06/04/2010 12:01:34 9 INF     Resource retrieved id ExceptionInfo is An exception of type {0} was thrown. Additional exception information: {1}

06/04/2010 12:01:34 9 INF     Leaving function StringResourceManager.GetResourceString

06/04/2010 12:01:34 9 INF    Leaving function Common.BuildExceptionMessage

06/04/2010 12:01:34 9 INF    Leaving function Common.BuildExceptionInformation

06/04/2010 12:01:34 9 ERR    An exception of type System.ArgumentNullException was thrown. Additional exception information: Value cannot be null.

Parameter name: service

System.ArgumentNullException: Value cannot be null.

Parameter name: service

 at Microsoft.SharePoint.Administration.SPServiceInstance..ctor(String name, SPServer server, SPService service)

 at Microsoft.SharePoint.Administration.SPFarm.Join()

 at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.CreateOrConnectConfigDb()

 at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.Run()

 at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()

06/04/2010 12:01:34 9 INF    Entering function Common.BuildExceptionInformation

06/04/2010 12:01:34 9 INF    Entering function Common.BuildExceptionMessage

06/04/2010 12:01:34 9 INF     Entering function StringResourceManager.GetResourceString

06/04/2010 12:01:34 9 INF     Resource id to be retrieved is ExceptionInfo for language English (United States)

06/04/2010 12:01:34 9 INF     Resource retrieved id ExceptionInfo is An exception of type {0} was thrown. Additional exception information: {1}

06/04/2010 12:01:34 9 INF     Leaving function StringResourceManager.GetResourceString

06/04/2010 12:01:34 9 INF    Leaving function Common.BuildExceptionMessage

06/04/2010 12:01:34 9 INF    Leaving function Common.BuildExceptionInformation

06/04/2010 12:01:34 9 INF    Entering function get CommandCollection.this[string key]

06/04/2010 12:01:34 9 INF    Entering function CommandCollectionBase.Get

06/04/2010 12:01:34 9 INF     Found value in collection for key global

06/04/2010 12:01:34 9 INF    Leaving function CommandCollectionBase.Get

06/04/2010 12:01:34 9 INF    Found command global in collection

06/04/2010 12:01:34 9 INF    Leaving function get CommandCollection.this[string key]

06/04/2010 12:01:34 9 INF    Entering function get CommandCollection.this[string key]

06/04/2010 12:01:34 9 INF    Entering function CommandCollectionBase.Get

06/04/2010 12:01:34 9 INF     Found value in collection for key initialize

06/04/2010 12:01:34 9 INF    Leaving function CommandCollectionBase.Get

06/04/2010 12:01:34 9 INF    Found command initialize in collection

06/04/2010 12:01:34 9 INF    Leaving function get CommandCollection.this[string key]

06/04/2010 12:01:34 9 INF    Entering function Command.this[string key]

06/04/2010 12:01:34 9 INF    Entering function CommandCollectionBase.Get

06/04/2010 12:01:34 9 INF     Found value in collection for key SINGLESERVER

06/04/2010 12:01:34 9 INF    Leaving function CommandCollectionBase.Get

06/04/2010 12:01:34 9 INF    Found parameter SINGLESERVER in collection

06/04/2010 12:01:34 9 INF    Leaving function Command.this[string key]

06/04/2010 12:01:34 9 INF    Entering function Command.this[string key]

06/04/2010 12:01:34 9 INF    Entering function CommandCollectionBase.Get

06/04/2010 12:01:34 9 INF     Found value in collection for key upgradesessionid

06/04/2010 12:01:34 9 INF    Leaving function CommandCollectionBase.Get

06/04/2010 12:01:34 9 INF    Found parameter upgradesessionid in collection

06/04/2010 12:01:34 9 INF    Leaving function Command.this[string key]

06/04/2010 12:01:34 9 INF    Entering function TaskBase.OnTaskStop

06/04/2010 12:01:34 9 INF    Creating the OnTaskStop event for task configdb

06/04/2010 12:01:34 9 ERR    Task configdb has failed

06/04/2010 12:01:34 9 INF    friendlyMessage for task configdb is An exception of type System.ArgumentNullException was thrown. Additional exception information: Value cannot be null.

Parameter name: service

06/04/2010 12:01:34 9 INF    debugMessage for task configdb is An exception of type System.ArgumentNullException was thrown. Additional exception information: Value cannot be null.

Parameter name: service

System.ArgumentNullException: Value cannot be null.

Parameter name: service

 at Microsoft.SharePoint.Administration.SPServiceInstance..ctor(String name, SPServer server, SPService service)

 at Microsoft.SharePoint.Administration.SPFarm.Join()

 at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.CreateOrConnectConfigDb()

 at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.Run()

 at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()

06/04/2010 12:01:34 9 INF    Entering function TaskBase.FireTaskStateChanged

06/04/2010 12:01:34 9 INF     Firing the OnTaskStateChanged event for task configdb

06/04/2010 12:01:34 9 INF     Entering function TaskDriver.TaskStateEventHandler

06/04/2010 12:01:34 9 INF     Entering function StringResourceManager.GetResourceString

06/04/2010 12:01:34 9 INF      Resource id to be retrieved is ConfigurationDatabaseTaskDisplayName for language English (United States)

06/04/2010 12:01:34 9 INF      Resource retrieved id ConfigurationDatabaseTaskDisplayName is configuration database

06/04/2010 12:01:34 9 INF     Leaving function StringResourceManager.GetResourceString

06/04/2010 12:01:34 9 INF     Received an TaskStateEventHandler event. task:configdb TaskBase.State:stopped

06/04/2010 12:01:34 9 INF     Entering function TasksQueue.IncrementTaskFailed

06/04/2010 12:01:34 9 INF      Incremented the number of tasks failed to 1

06/04/2010 12:01:34 9 INF     Leaving function TasksQueue.IncrementTaskFailed

06/04/2010 12:01:34 9 INF     Task configdb has stopped and failed. Total failed is now 1

06/04/2010 12:01:34 9 INF     Leaving function TaskDriver.TaskStateEventHandler

06/04/2010 12:01:34 9 INF     Entering function CommandLine.TaskStateEventHandler

06/04/2010 12:01:34 9 INF     Received an TaskStateEventHandler event. task:configdb TaskBase.State:stopped

06/04/2010 12:01:34 9 INF     Task configdb has stopped and failed. Total failed is now 1

06/04/2010 12:01:34 9 INF     Entering function Command.this[string key]

06/04/2010 12:01:34 9 INF      Entering function CommandCollectionBase.Get

06/04/2010 12:01:34 9 INF      Found value in collection for key disconnect

06/04/2010 12:01:34 9 INF      Leaving function CommandCollectionBase.Get

06/04/2010 12:01:34 9 INF      Found parameter disconnect in collection

06/04/2010 12:01:34 9 INF     Leaving function Command.this[string key]

06/04/2010 12:01:34 9 INF     Entering function Command.this[string key]

06/04/2010 12:01:34 9 INF      Entering function CommandCollectionBase.Get

06/04/2010 12:01:34 9 INF      Found value in collection for key connect

06/04/2010 12:01:34 9 INF      Leaving function CommandCollectionBase.Get

06/04/2010 12:01:34 9 INF      Found parameter connect in collection

06/04/2010 12:01:34 9 INF     Leaving function Command.this[string key]

06/04/2010 12:01:34 9 INF     Entering function Command.this[string key]

06/04/2010 12:01:34 9 INF      Entering function CommandCollectionBase.Get

06/04/2010 12:01:34 9 INF      Found value in collection for key create

06/04/2010 12:01:34 9 INF      Leaving function CommandCollectionBase.Get

06/04/2010 12:01:34 9 INF      Found parameter create in collection

06/04/2010 12:01:34 9 INF     Leaving function Command.this[string key]

06/04/2010 12:01:34 9 INF     Entering function StringResourceManager.GetResourceString

06/04/2010 12:01:34 9 INF      Resource id to be retrieved is ConfigurationDatabaseTaskConnectFailConfigDisplayLabel for language English (United States)

06/04/2010 12:01:34 9 INF      Resource retrieved id ConfigurationDatabaseTaskConnectFailConfigDisplayLabel is Failed to connect to the configuration database.

06/04/2010 12:01:34 9 INF     Leaving function StringResourceManager.GetResourceString

06/04/2010 12:01:34 9 INF     Last message from task configdb is An exception of type System.ArgumentNullException was thrown. Additional exception information: Value cannot be null.

Parameter name: service

06/04/2010 12:01:34 9 INF     Leaving function CommandLine.TaskStateEventHandler

06/04/2010 12:01:34 9 INF    Leaving function TaskBase.FireTaskStateChanged

06/04/2010 12:01:34 9 INF    Leaving function TaskBase.OnTaskStop

06/04/2010 12:01:34 9 INF   Leaving function TaskThread.ExecuteTask

06/04/2010 12:01:34 1 INF   Entering function StringResourceManager.GetResourceString

06/04/2010 12:01:34 1 INF    Resource id to be retrieved is ConfigurationDatabaseTaskDisplayName for language English (United States)

06/04/2010 12:01:34 1 INF    Resource retrieved id ConfigurationDatabaseTaskDisplayName is configuration database

06/04/2010 12:01:34 1 INF   Leaving function StringResourceManager.GetResourceString

06/04/2010 12:01:34 1 ERR   Task configuration database failed, so stopping execution of the engine

06/04/2010 12:01:34 1 INF   Entering function Command.this[string key]

06/04/2010 12:01:34 1 INF    Entering function CommandCollectionBase.Get

06/04/2010 12:01:34 1 INF    Found value in collection for key disconnect

06/04/2010 12:01:34 1 INF    Leaving function CommandCollectionBase.Get

06/04/2010 12:01:34 1 INF    Found parameter disconnect in collection

06/04/2010 12:01:34 1 INF   Leaving function Command.this[string key]

06/04/2010 12:01:34 1 INF   Entering function Command.this[string key]

06/04/2010 12:01:34 1 INF    Entering function CommandCollectionBase.Get

06/04/2010 12:01:34 1 INF    Found value in collection for key connect

06/04/2010 12:01:34 1 INF    Leaving function CommandCollectionBase.Get

06/04/2010 12:01:34 1 INF    Found parameter connect in collection

06/04/2010 12:01:34 1 INF   Leaving function Command.this[string key]

06/04/2010 12:01:34 1 INF   Entering function Command.this[string key]

06/04/2010 12:01:34 1 INF    Entering function CommandCollectionBase.Get

06/04/2010 12:01:34 1 INF    Found value in collection for key create

06/04/2010 12:01:34 1 INF    Leaving function CommandCollectionBase.Get

06/04/2010 12:01:34 1 INF    Found parameter create in collection

06/04/2010 12:01:34 1 INF   Leaving function Command.this[string key]

06/04/2010 12:01:34 1 INF   Entering function StringResourceManager.GetResourceString

06/04/2010 12:01:34 1 INF    Resource id to be retrieved is ConfigurationDatabaseTaskConnectFailConfigDisplayLabel for language English (United States)

06/04/2010 12:01:34 1 INF    Resource retrieved id ConfigurationDatabaseTaskConnectFailConfigDisplayLabel is Failed to connect to the configuration database.

06/04/2010 12:01:34 1 INF   Leaving function StringResourceManager.GetResourceString

06/04/2010 12:01:34 1 ERR   Failed to connect to the configuration database.

An exception of type System.ArgumentNullException was thrown. Additional exception information: Value cannot be null.

Parameter name: service

System.ArgumentNullException: Value cannot be null.

Parameter name: service

 at Microsoft.SharePoint.Administration.SPServiceInstance..ctor(String name, SPServer server, SPService service)

 at Microsoft.SharePoint.Administration.SPFarm.Join()

 at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.CreateOrConnectConfigDb()

 at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.Run()

 at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()

Now i'm not sure where it's getting "SharePoint_AdminContent_9ddd2a49-a366-41b2-a70e-47f19b8ce0b8" from as that database doesn't exist and has never existed. the SharePoint admin content database is called "SharePoint_AdminContent".

I'm also seeing the DMZ server show up in "Manage Servers In Farm" with a message saying "Not Configured".

so what am i missing here...

this is a clean install - i blew away the first SharePoint install after i got the first set of problems.

Environment is:

Windows Server 2008 R2
SharePoint 2010
SQL Server 2008 R2

Ideas?

Posted by Brian Madsen with no comments
Filed under:

LIDNUG: Scott Guthrie Talks Shop V - May 13, 10am PDT

Yeps folks - it's that time of the quarter again - Scott Guthrie is returning to LIDNUG for his quarterly Q&A session, Scott Guthrie Talks Shop.

Considering how many HUGE releases there's been since he last appeared on LIDNUG, i'd dare say that this is going to be a whopping great event.

Come along and spend some time together with The Gu and ask him all the questions that you've really been wanting to ask!

Venue: Live Meeting
Date: May 13, 10AM PDT
Register here: http://bit.ly/9LPzH7 (you'll need a LinkedIn account)

Follow us on twitter: http://www.twitter.com/lidnug
Follow us on Facebook: http://www.facebook.com/lidnug

And why not join LIDNUG and participate in our discussions: http://bit.ly/8dt6VF

 

Posted by Brian Madsen with no comments
Filed under:

Developing for the web - HTML5 vs RIA plugin

 


I'm interested to see what the thoughts are for people on web development, where it's heading and the valid replacement of Flash, Silverlight, Pivot and JavaFX by HTML5.

To start the discussion from one end (and to advocate at least one perspective, playing devils advocate here), then i don't think HTML5 will replace the RIA plug-ins.

I know that one of the aims of HTML5 is to eliminate the need for those plug-ins in the browser today.

Do you believe it'll fully eliminate the need for those plugins? Personally my opinion is that it wont. The capabilities offered via those plugins far exceeds the capabilities offered by HTML5 to date (remember, HTML5 is still beta/draft etc).

Now it is obvious that HTML has had an upgrade pending since the last release and this is definitely a step in the right direction.

What's your take on it?

 

Posted by Brian Madsen with no comments
Filed under: , , ,

Securing your application. Part 2 - Securing your data

We've just had a look at how to secure your connection in Part 1 so obviously everything is now all *** dorey on that end.

Some of the other areas that you naturally have to look at is the environment/infrastructure/network and your data itself. It's not much use to encrypt and secure the data that you're transferring if the actual data itself isn't protected.

What i hear you say? my IT guys got that under control..firewalls up the wazzooo...everything's patched and service packed!

Of course that's not really enough and we know this - we just sometimes choose to leave that in the hands of those other people - network engineers.

If we look at SQL Server 2008 then there's a lot of new capabilities available to us for data security.

SQL Server 2008 Encryption Capabilities

  • in-built cryptography hierachy for the creation of assymetric, symmetric keys as well as certificates
  • Transparent Data Encryption (using database encryption keys - DEK)
  • Signing of code modules (using keys or certificates)

Creating certificates

 It's not that  complex to create a certificates (btw, all SQL Server certificates comply wit hthe IETF X.509v3 certificate standards) on SQL Server 2008., it's as simple as using T-SQL.

Self-signed certificate

CREATE CERTIFICATE name ENCRYPTION BY PASSWORD = 'strong password goes here' WITH SUBJECT = 'subject goes here' EXPIRY_DATE = 'expiry date goes here'

Certificate from a signed executable file

CREATE CERTIFICATE name FROM EXECUTABLE FILE = 'file path goes here.dll'

Certificate from a file

CREATE CERTIFICATE name FROM FILE = 'file path goes here.cer' WITH PRIVATE KEY (FILE = 'file path goes here.pvk', DECRYPTION BY PASSWORD = 'strong password goes here')

Using Transparent Data Encryption

TDE is a real-time, physical I/O encryption/decryption of both the database file and the log file - this is done by using the database encryption key (DEK).

The DEK is stored in the boot record and is a symmetric key which is also secured by a certificate.

It's important to note that TDE does not encrypt the transfer of data (eg. it encrypts the data itself, but not the connection/network communication) and that you should always back up the certificate and private key for it.

The simple steps of using TDE are:

  • Create master key
  • Create certificate protected by said master key
  • Create database encryption key and protect it with the certificate we created earlier
  • Set ENCRYPTION to ON for the database

This is again done with T-SQL:

USE master; GO
CREATE MASTER KEY ENCRYPTION BY PASSWORD = 'strong password goes here'; GO
CREATE CERTIFICATE name WITH SUBJECT = 'subject for the certificate goes here'; GO
USE database_name; GO
CREATE DATABASE ENCRYPTION KEY WITH ALGORITHM = algorithm_choice_here ENCRYPTION BY SERVER CERTIFICATE name_from_certificate_we_just_created; GO
ALTER DATABASE database_name SET ENCRYPTION ON GO

There's several types of algorithms you can use to create the database encryption key:

  • AES_128
  • AES_192
  • AES_256
  • TRIPLE_DES_3KEY

 -----------------------------------------------------------------------------------------

Securing your application. Part 1 - Securing your connection
Securing your application. Part 2 - Securing your data

Securing your application. Part 3 - Securing your code (coming)

Securing your application. Part 1 - Securing your connection

I guess this is one of my pet hates/loves - too often i come across applications that makes it's database connection strings freely available to anybody who knows where to look.

As a junior developer, the main focus is generally just to secure the connection string and leave it at that - the IT guys knows what they're doing. But, untold amount of data is being transfered across domains, networks or even in the public, without any thought for how that data is secured.

I'm sure many that's worked in the finance industry (banking anyone) is aware of how important it is to secure that data...we're dealing with money here, so it's an obvious fact that it needs to be safe.

So, how do we do it? or do we care? i mean, the famous last words of any application exposed to the public is "it wouldn't happen to me, right?".

Where do we start? 

Encrypting web.config connectionstrings

The obvious first choice would be to take whatever details you're storing in your config files and make it unavailable - check (web.config isn't readable from the web....or is it?).

naturally we don't want to encrypt everything - so lets just do those that are important for now.

Connectionstrings, encrypt:

aspnet_regiis -pe "connectionStrings" -app "/AppName" -prov "RsaProtectedConfigurationProvider"

ConnectionString, decrypt:

aspnet_regiis -pd "connectionStrings" -app "/AppName"

Now we've encrypted the connectionstring - data is safe..nah, of course not - this only encrypts that section of the web.config with a machine-level key. data is still being transfered between servers in plain text.

Next is a simple way to ensure that your data is being encrypted - get hold of a SSL and use the SQLClient connectionstring object's feature called Encrypt. this ensures that all data sent between the client and server are encrypted.

What other methods do you use/know that can make your application connections more secure?

There's many ways to skin a cat - but you have to start somewhere..

-----------------------------------------------------------------------------------------

Securing your application. Part 1 - Securing your connection
Securing your application. Part 2 - Securing your data

Securing your application. Part 3 - Securing your code (coming)

Posted by Brian Madsen with 1 comment(s)
Filed under: ,

Geeky Family Counselling, Boyfriend 5.0 upgrade to Husband 1.0

I had this sent to me yesterday and thought you might like to have a bit of a giggle!
--------------------------------------------------------------------------------

INSTALLING A HUSBAND
Dear Tech Support,

Last year I upgraded from Boyfriend 5.0 to Husband 1.0 and noticed a distinct slow down in overall system performance, particularly in the flower and jewellery applications, which operated flawlessly under Boyfriend 5.0.

In addition, Husband 1.0 uninstalled many other valuable programs, such as
Romance 9.5 and Personal Attention 6.5, and then installed undesirable programs such as

- NBA 5.0,
- NFL 3.0 and
- Golf Clubs 4.1.

Conversation 8.0 no longer runs, and Housecleaning 2.6 simply crashes the system.
Please note that I have tried running Nagging 5.3 to fix these problems, but to no avail.

What can I do?

Signed,
Desperate.
--------------------------------------------------------------------------------

DEAR DESPER ATE,
First, keep in mind, Boyfriend 5.0 is an Entertainment Package, while
Husband 1.0 is an operating system.

Please enter command: ithoughtyoulovedme.html, try to download Tears 6.2, and do not forget to install the Guilt 3.0 update.

If those applications work as designed, Husband 1.0 should then automatically run the applications Jewelry 2.0 and Flowers 3.5.

However, remember, overuse of the above application can cause Husband 1.0 to default to Grumpy Silence 2.5, Happy Hour 7.0, or Beer 6.1.

Please note that Beer 6.1 is a very bad program that will download the Snoring Loudly Beta.

Whatever you do, DO NOT under any circumstances install Mother-In-Law 1.0 (it runs a virus in the background that will eventually seize control of all your system resources.)

In addition, please do not attempt to reinstall the Boyfriend 5.0-program. This is an unsupported application and will crash Husband 1.0.

In summary, Husband 1.0 is a great program, but it does have limited memory and cannot learn new applications quickly.. You might consider buying additional software to improve memory and performance. We recommend:

- Cooking 3.0 and
- Hot Lingerie 7.7.

Good Luck!
Tech Support

LIDNUG: Scott Guthrie Talks Shop IV recording now live

After yet another fantastic session with Scott Guthrie last week, we’ve uploaded the recording from the session.

The man just simply doesn’t stop amazing me – his depth of knowledge is phenomenal, to put it mildly.

Naturally the upcoming releases of Visual Studio 2010, ASP.Net 4, .Net 4, Silverlight 4 etc were the most prominent topics for questions put Scott’s way.

To download the recording, go to our unofficial web site – www.lidnug.org/presentations.aspx

While you’re there, why not download Joe Albahari’s session recording – What’s new in C# 4.0 – this was probably one of the best technical sessions we’ve had yet.

The Rangers shipped Visual Studio 2010 TFS Upgrade Guide

Finally!!! I got a TFS 2008 setup (multi-server environment) here and we’re in the process of tackling the (historically that is) dreaded TFS upgrade…so it simply just couldn’t  come at a better time!

Pure Gold: Visual Studio 2010 TFS Upgrade

Visual Studio 2010 TFS Upgrade Guide
Welcome to the Team Foundation Server (TFS) 2010 Upgrade Guide. This guide covers scenarios which may be encountered during and after the upgrade process. It provides examples of most common and potential issues. It covers scenarios related to general Upgrade Process, Work Item Templates, Reports, and Enterprise TFS Management (ETM). Although this guide refers to TFS 2008 scenarios, almost all the concepts apply also to TFS 2005.

Visual Studio ALM Rangers
This guidance is created by the Rangers who have the mission to provide out of band solutions for missing features or guidance. This content was created with support from Microsoft Product Group, Microsoft Most Valued Professionals (MVPs) and technical specialists from technology communities around the globe, giving you a real-world view from the field, where the technology has been tested and used.

What is in the package?
A single document with the following contents:
1 Introduction
2 Upgrade Process
3 Scenarios
3.1 Upgrading Projects from Multiple TFS 2008 servers into one TFS 2010 server
3.2 Upgrading severs when SQL Mirroring is enabled
3.3 Recovering system if upgrade fails midway
3.4 Updating Team Project Portal for an existing Team project
3.5 Splitting Team Project Collection into Multiple Collections
3.6 When I move a Team Project Collection, how do I move the reports?
3.7 Bringing Workgroup Machine inside Domain
4 Frequently Asked Questions
4.1 Can I use a TFS2008 Process Template to create team projects in TFS 2010
4.2 How can I enable Agile Workbooks in upgraded Projects
4.2.1 Enabling the Product Backlog Workbook
4.2.2 Enabling the Iteration Backlog Workbook
4.3 How can I enable Test Case Management in upgraded project
4.4 How can I enable Branch Visualization in upgrade projects
4.5 How can I enable Lab Management in upgrade projects
4.6 What is WIT Admin Tool
4.7 What happens to my custom reports created in TFS2008 post upgrade?
4.8 Will my old TFS2008 reports work post upgrade?
4.9 Can I add a new Database to my existing TFS 2010 farm?
4.10 Error bringing cloned Team Project Collection online
4.11 Move Team Project Collection Database from one Database server to another Database Server
4.12 How to enable the TFS reports if the WSS server is upgraded to MOSS server?
4.13 How to Move Team Projects from one Team Project Collection to another
5 References

LIDNUG: What’s new in C# 4.0 with O’Reilly author and MVP, Joe Albahari

The Linked .Net Users Group is putting on a huge range of “shows” in the next couple of months – starting with an absolute kick-ass presentation by Joe Albahari (www.albahari.com) the author of C# 3.0 in a Nutshell and the upcoming of C# 4.0 in a Nutshell, plus not to forget he’s the creator of one of the best LINQ tools out there – LINQPad.

yes, i know that it’s on Australia Day here, but it’s at 7AM – not quite drunk yet and what better way to kick off the day with some supreme geekdom!

About the event:

Title What’s new in C# 4.0
Venue Live Meeting
Date January 26, 3PM PST
Cost FREE (duh!)
Presenter Joe Albahari (http://www.albahari.com)

joseph_albahari Joe Albahari, author of C# 3.0 in a Nutshell, is a software architect and developer with 17 years' experience in the health, education and telecommunication industries.

He is currently a Systems Architect at Technosis in Australia.

Joe has a keen interest in LINQ, and is author of LINQPad - the code snippet IDE for interactively querying databases in LINQ.

He specializes in integrating LINQ into corporate multi-tier applications and creating extensions to maximize query composability.

Joe is also a C# MVP.
About the event: C# 4.0 introduces some of the most controversial new language features to date - including optional parameters, named arguments and (horror) dynamic typing!

In this presentation, Joe will demonstrate C# 4.0's new features in a practical context, exploring potential uses, benefits, traps and best practices.

You'll see a novel design pattern that may change your opinion on dynamic programming, and also how C# 4.0 simplifies interop with Office, COM and dynamic languages such as Python.

Register for the event:
http://events.linkedin.com/LIDNUG-Whats-new-C-4-0-Joe-Albahari/pub/208474

MSDN AU Book club, Big algorithms made easy with F# (presented by Joel Pobar)

Microsoft Australia is really kicking off this year – seeing more and more this year – and it’s only January!!!!

Now, the fellas are going all out and throwing the MSDN Australia team in gear by launching the MSDN Australia Book Club – this event is organised by Andrew Coates.

First up is Joel Pobar who’s going to run through his awesome presentation “Big Algorithms made easy with Microsoft F#”.

Here’s some more information if you’re interested:

http://blogs.msdn.com/chlong/pages/msdn-book-club.aspx

Want to be first with the MSDN AU news? Why not join the MSDN AU LinkedIn Group and get the scoops straight away!

Visual Studio tips and tricks – the work goes on

One of my great friends, Zain Naboulsi, has taken up the gauntlet and is continuing Sara Ford’s work with the Visual Studio Tips and Tricks series.

Find the first 9-10 tips here:

http://blogs.msdn.com/zainnab/archive/tags/Tips+and+Tricks/default.aspx

It’s good to see Zain pump out the T&T’s as fast as he is, with VS2010 coming (hopefully) just around the corner.

LIDNUG: A lap around Telerik Developer Tools for Web Developers

First event for LIDNUG in 2010 – Telerik is sending their very best: Todd Anglin.

A fellow MVP and also Telerik Chief Evangelist, Todd Anglin’s known for his huge contributions to the community as well as his book “Introducing Silverlight 1.1” which was released in June 2009.

As usual, this is a Live Meeting event and will be recorded.

About the event:

Title: A lap around Telerik Developer Tools for Web Developers
Venue: Live Meeting
Date: January 7, 11:00AM PST
Cost: FREE (duh!)
Presenter: Todd Anglin (http://blogs.telerik.com/ToddAnglin/Posts.aspx)
  Todd_Anglin

Todd Anglin is an active .NET community member, President of the North Houston .NET User Group, an O’Reilly author, Microsoft MVP and Telerik's Chief Evangelist.

At Telerik, Todd is responsible for educating Telerik's global community of developers and helping ensure Telerik's products serve the needs of .NET developers around the world. In the general .NET community, Todd is an active author and speaker, focusing primarily on ASP.NET and Silverlight.

About the event:

telerik-logoAs pragmatic developers, we want to find ways to minimize the time we spend writing “standard” code so we can maximize the time we spend writing code that makes our businesses money.

Telerik offers many tools and components designed to enable just that: maximum developer productivity. Come join Telerik Chief Evangelist and Microsoft MVP Todd Anglin for a quick lap around the various tools and components Telerik now makes to maximize the speed of web development.

Everything from advanced server controls for ASP.NET AJAX to modern UI extensions for ASP.NET MVC to related tools like OpenAccess ORM and Telerik Reporting will be covered. Come figure out how these tools can be used together for great results in your next project.

Two Telerik Premium Collection licenses will be given away to randomly selected attendees of this session.

Register for the event: http://events.linkedin.com/LIDNUG-Lap-Around-Telerik-Developer/pub/147370

Developing with Windows 7 with Visual Studio 2010

WinCast on 12/15 @ 11:30am Pacific with Yochay Kiriaty


Title: Developing with Windows 7 with Visual Studio 2010 -- An Overview


Abstract: Yochay Kiriaty is Microsoft's premier Technical Evangelist on Windows 7. Come join the fun as he provides insight into how to leverage this exciting new platform with our latest tools. Learn about JumpLists, Thumbnails, and much more!

Here’s the link for the LiveMeeting session: https://www.livemeeting.com/cc/microsoft/join?id=3B784D&role=attend&pw=PN6.%3CQ%5Drb

Yochay’s blog: http://windowsteamblog.com/blogs/developers/default.aspx

MSDN Subscribers will get full version of Team Foundation Server

msdn Previously when you had a premium MSDN subscription, you’d get access to Team Foundation Server Workgroup edition (5 cals) which was perfect for small development teams. The full version had to be purchased as a seperate product – that’s no longer needed.

With the release of Visual Studio 2010 the MSDN team is expanding the content of the subscription to include a full blown version of Team Foundation Server 2010!

What this means is that you can get up and running now with Visual Studio 2010 Beta 2 and Team Foundation Server 2010 now and you’re covered for licensing with your MSDN subscription.

It’s obvious that we’re seeing big changes lately – perhaps some of it could be credited to Joerg Lindner? I’d like to think so.

See the details for the Ultimate MSDN offer for developers.

Posted by Brian Madsen with no comments
Filed under:
More Posts Next page »