/// Frank Hagen: Professional Web Developer, C# User, Reformed Über-geek RSS 2.0
# Tuesday, May 15, 2007

I have been working in SharePoint 2007 lately.  Learning how to do things and getting our internal processes posted (and written).  SPS is incredibly easy to use and very powerful for this.  Some of the other things I want to do elude me.  Primary among them is a pull from Exchange.

For some reason, our Exchange server is setup on a different Active Directory domain, so when I try to pull the user-data out of it, I end up with two profiles for everyone.  I have not figured out a way to pull a users info across the domains.  The problem:  abc\frankhagen == AbCo\frankhagen.  But not to a comparison operator...  There must be a way around this, but I haven't figured it out.  So for now I use a BDC to pull in human info for each profile.  (Thanks to Sahil Malik for his excellent series of posts on BDC!) 

Word of warning for BDC: the XML import file is critical.  If you don't get it just right, it will not forgive you for hours.  Start ultra-simple and work your way into it.

Tuesday, May 15, 2007 1:42:29 PM (Eastern Daylight Time, UTC-04:00)  #    Comments [0] -
SharePoint
# Friday, May 04, 2007

"You're an amateur developer until you realize everything you write... sucks, basically."   
--Jeff Atwood on .NET Rocks! podcast #232 (23:44) - 26 Apr 2007

"The minute you realize that then you've crossed the threshold.  Now you're a professional developer..."

Friday, May 04, 2007 9:23:11 AM (Eastern Daylight Time, UTC-04:00)  #    Comments [0] -
Programming

When SharpReader starts displaying the message about not connecting to the server at 127.0.0.1:  Shutdown SR, turn off Automatically Detect Settings and any proxy settings in the LAN Settings configuration.

That should do it.

Friday, May 04, 2007 9:02:43 AM (Eastern Daylight Time, UTC-04:00)  #    Comments [0] -
System
# Monday, April 30, 2007

The Civil War is an interesting topic, here in the States.  There is an great deal of confusion and hypocrisy surrounding it and the events and politics around it, foremost being slavery.  Harry Turtledove is the master of alternate history fiction, and crafts the conflict into what is considered his best book.  I have read others of his, but always intended to read this one.

The Guns of the Southis told from the point of view of two very different personalities.  One is Nate Caudell, a 1st Sergeant of the Confederacy, and the other the infamous Robert E Lee.  As it becomes apparent that the war is lost for the South, a mysterious group of men introduce a new type of rifle to General Lee they call the AK-47.  Armed with the assault rifles and the ammunition to use them, the war quickly turns, as expected.  Without giving too much away, the first half of the book concerns the war and its conclusion very well, and the second half, the events after the war which prove even more complex than imagined.

Turtledove is an excellent author who has a great ability to show the surrounding issues equally well as the primary.  He attacks the idea that the Civil War was simply about slavery swiftly and competently, casts Lee in the light of the reluctant hero, and shows Lincoln as a man of integrity desperate to save the United States.  One of the review quotes on the reverse of the paperback edition suggests that every one studying Civil War history should read this book.  I think that should be expanded to everyone, except the people in the area of Virginia that I live in who think the Confederate Battle Flag is about "heritage":  they should read it twice.

Monday, April 30, 2007 12:13:22 PM (Eastern Daylight Time, UTC-04:00)  #    Comments [0] -
Books
# Wednesday, April 25, 2007

I guess today is Administrative Assistants Day.  Thank God, I know Iwouldn't be able to do my job everyday without them!  Who would... um... ah... Wait, I don't have one.  But it's a good thing they have their own special day.

You know, I think the guy who sweeps up the floors at the slaughterhouse needs a holiday too.   How about Offal Removal Specialist Day?

Here's a link!  link

Wednesday, April 25, 2007 8:49:26 AM (Eastern Daylight Time, UTC-04:00)  #    Comments [1] -
Rant
# Friday, April 20, 2007

1st issue:  The last post I made stripped out the syntax highlighting from Visual Studio.  Minor, but annoying.  I use the CopySourceAsHtml plugin for VS2005, but what's the point if its going to remove the coloring?

Strike 1.

Friday, April 20, 2007 10:32:33 AM (Eastern Daylight Time, UTC-04:00)  #    Comments [0] -
Blog
One best practice I insist on is codefile headers, especially since VSS makes this stupid easy.  Below is the format I currently use for C#.NET:

 

#region Version Header
/// <remarks>
/// ----------------------------------------------------------------------------
///   Application: XXXXXXXXXXXXX
///     $Workfile: Default.aspx.cs $
///   Description: Start page for XXXXXXXXXXX.
///        Author: Frank Hagen
///       Created: 11/22/2006
///     Copyright: © 2007 XXXXXXXXXXXXXXX.
/// ----------------------------------------------------------------------------
///      $Modtime:  $
///     $Revision:  $
///   Mod $Author: XXXXXXXXXX $
///  VSS $Archive: /XXXXX/XXXXX/XXXXX/Default.aspx.cs $
/// ----------------------------------------------------------------------------
/// </remarks>
#endregion
Friday, April 20, 2007 10:22:45 AM (Eastern Daylight Time, UTC-04:00)  #    Comments [1] -
.NET | Programming
It's been a slow effort to get this back online.  I had to hand edit my old feed to get it imported to WordPress.  Somebody could stand to get some good press writing a converter, although it'd probably never be more than a one-off.  Anyway, the old posts are in, I just need to go through and clean up every one of them.  So backfill will happen in reverse in order to minimize impact to the actual feed.
Friday, April 20, 2007 8:56:01 AM (Eastern Daylight Time, UTC-04:00)  #    Comments [0] -
Blog
<%--
--%>
Statistics
Total Posts: 189
This Year: 2
This Month: 0
This Week: 0
Comments: 74
Locations of visitors to this page
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2012
Frank W Hagen
Sign In
All Content © 2012, Frank W Hagen
Custom DasBlog theme based on 'Business' by Christoph De Baene