I finally finished installing Team Foundation Server (TFS) on a virtual machine. My advice would be to read the installation help file provided in CHM format in the root of the installation media. I tried installing TFS at least 10 times before admitting to thy self that instructions were necessary, or I was going to be prematurely bald from pulling my hair out. Once I read the help files, the installation went very smooth. I plan to start using TFS for a small project, and I am sure there will more interesting stuff to post at that time. But, for now, this is a good milestone to have the environment up and running.
Tuesday, April 11, 2006
Team Foundation Server
Sunday, April 09, 2006
ISA Server 2004 SP2 bails on http://www.delta.com
I recently bumped into this annoying little problem with ISA Server 2004 SP2 where you get an error message when attempting to access http://www.delta.com. The error message is The HTTP request includes a non-supported header.
As described in the following news group posting, there is a hot fix available that resolved the issue for me. When calling Microsoft reference kb article 915045.
Saturday, April 08, 2006
CHM Help File - DNS Error
http://support.microsoft.com/kb/896358
I hope this helps you.
Friday, April 07, 2006
Windows Vista February CTP on Virtual Machine - II
So, I finally get
Windows Vista February CTP on Virtual Machine
If you are attempting to install the February CTP of Windows Vista on a Virtual Machine, be sure your DVD drive is configured to use the primary controller. If you use the secondary controller (which seemed to be the default when I was installing), you may get the following error message “An internal Setup error occurred while displaying the image selection wizard”.
This news group posting also discusses the issue.
My install is in progress, and my fingers are crossed that the install will complete successfully.
Thursday, March 02, 2006
ASP.NET 1.1 - Save ViewState in Session
So, the thought occurred to me that I should be able to store ViewState in Session. Below is the implementation in my Default.aspx
private string ViewStateName = "ViewStateName";
protected override object LoadPageStateFromPersistenceMedium()
{
string m_viewState;
LosFormatter m_formatter;
object viewStateBag;
m_viewState = Session[ViewStateName] == null ? null : (string )Session[ViewStateName];
m_formatter = new LosFormatter();
try
{
viewStateBag = m_formatter.Deserialize(m_viewState);
}
catch (Exception e)
{
throw new ApplicationException("The View State is invalid or corrupted", e);
}
return viewStateBag;
}
protected override void SavePageStateToPersistenceMedium(object viewStateBag)
{
// string file = GetFileName();
StringBuilder sb =
new StringBuilder();StringWriter sw =
new StringWriter(sb);LosFormatter formatter =
new LosFormatter();formatter.Serialize(sw, viewStateBag);
sw.Close();
Session[ViewStateName] = sb.ToString();
}
Tuesday, February 28, 2006
.NET Web Services, SOAP and handling exceptions
- Handling and Throwing Exceptions in XML Web Services
- SoapExtensionReflectors in ASP.NET Web Services - Matt Powell discusses ASP.NET Web service architecture and an extensible piece of the puzzle that is rarely discussed and is not well documented: The ability to extend the WSDL generation process during initial reflection of a Web service assembly.
- Fun with SOAP Extensions
Monday, February 27, 2006
SQL Server ASP.NET session storage
We recently started using SQL Server to store ASP.NET session on our web farm and encountered a problem where session was being lost. The following article indicates Session_End is not fired when using SQL Server to store session state. I was able to confirm this by creating simple application using SQL Server session state. What I also realized is this
- Session_End is not called when using SQL Server session storage. But, when Session.Abandon is called the stored procedure called ASPState..TempRemoveStateItem is triggered to remove the session row from the sql server database. This was confirmed using sql trace while running an ASP.NET application that called Session.Abandon.
My question is who calls the ASPState..TempRemoveStateItem stored procedure when Session_End event is not fired?
Wednesday, February 22, 2006
Microsoft Patterns and Practice Summit
Has anyone been to any of Microsoft patterns & practices Summit Events? I am considering attending the one in Boston, but soliciting feedback on these events. Considering they are actually publishing a list of speakers, it looks like they are, at least, more organized than last year.
Friday, February 17, 2006
RSS Reader Woes
I used several desktop RSS Readers and am not totally satisfied for the following reasons.
- I want to share my feed subscriptions and the items I marked as read between a desktop machine at a client site, and my laptop. There seem to be some ways to do this using an FTP server, but I am not sure my client’s firewall will allow the traffic.
- RssBandit, SharpReader, and RSSPopper all seem to store data in the user profile without making it easy (or, in some cases, not at all possible) to change where data is stored. At a client site, there is a cap on the allowed profile size, and the RSS Readers were consuming all of the profile space for my account. I do subscribe to a lot of feeds, but I like information.
My solution is to now find a web version of a reader. I decided that I don’t need to get notified on the hour when a new article has been published. Checking feeds once or twice a day should be sufficient.
Does anyone have a suggestion for a website where I can create an account and import my OPML file? It would be cool for my google account allow me to subscribe to feeds, and, ah, index them, so I can search them. J