Change Password Policy on Windows 2003 Server
Submitted by Ben Hodson on Mon, 12/01/2008 - 17:49In Windows 2003, when the server is a domain controller or password policy is in effect, you must have a "strong" password in order to create an account. By default, this password policy requires at least 7 characters and at least 1 numeric character or at least 1 special character (*&^%$#@, etc.)
When you attempt to create an account, you will probably see a dialog that says this:
Windows cannot set the password for [user] because:
Clustered Index vs. Non-Clustered Index in SQL Server
Submitted by Ben Hodson on Wed, 11/26/2008 - 13:46Those new to SQL Server performance tuning or database indexes in general are probably confused by the differences between clustered and non-clustered indexes. Usually, there is a performance problem that prompts research and you finally have to "bite the bullet" and look into what the hell these index types are.
What is a Database Index?
SQL Server 2005 Express and Full-text Indexing
Submitted by Ben Hodson on Tue, 11/25/2008 - 04:55When I went to install SQL Express the other day, I couldn't find Full-text indexing. Our immediate reaction was that Microsoft must have removed it as a "free component" in SQL Express. But after some further checking, it turns out that Full-text indexing is still available.
There are actually 2 versions of SQL Server 2005 Express. Both are free to download. You can download all versions here:
http://www.microsoft.com/express/2005/sql/download/default.aspx
Data Access Layer using SqlDataReader and C# - Joins
Submitted by Ben Hodson on Mon, 11/24/2008 - 16:10This is a follow-up post to the 2 previous posts that describe how to make a fast and efficient data access layer using SqlDataReader and C#. Here are the 2 previous posts that this relates to:
Data Access Layer using SqlDataReader and C#
Data Access Layer using SqlDataReader and C# - Code ExplanationC# Programmatically Manage Contacts in Microsoft Outlook
Submitted by Ben Hodson on Sun, 11/23/2008 - 20:59You can manage contacts in Microsoft Outlook (2000 or higher) using C# and Outlook COM Interop. Microsoft has made it easy with Outlook 2003 and Outlook 2007. There is an interop class library already available in Visual Studio so you don't have the generate the Interop wrapper yourself. In order to set this up, the first step is to add a reference to the Outlook Interop DLL in your .NET C# project. Go to "Add References" and choose the following:

Office 2007 Change Default Document Save Type
Submitted by Ben Hodson on Sun, 11/23/2008 - 19:38By default in Office 2007, documents are saved in the new "x" format. For instance, word documents are now saved with the ".docx" extension instead of the old ".doc". In many business environments, Office 2007 is still not the norm. In those cases, it becomes quite an annoyance to send office documents to other customers and collegues who do not have Office 2007.
ASP.NET Forms Authentication Simplified
Submitted by Ben Hodson on Sat, 11/22/2008 - 17:34There are so many tutorials online about Forms Authentication or other auth methods in ASP.NET that it is sometimes hard to wade through and get what you need. I've made a very simple wrapper class that you can include in your ASP.NET project to give you out of the box, basic forms authentication.
Install Windws 2003 Terminal Service Licenses (Remote Desktop)
Submitted by Ben Hodson on Wed, 11/19/2008 - 18:02By default in Windows Server 2003, you can be logged in via Remote Desktop (formerly known as Terminal Services or "TS" if you're "really cool.") up to 2 times. Basically, you can login as administrator or other account that belongs to the Remote Desktop Users group 2 times simultaneously without additional licenses.
C# Free Component to Generate PDF - Convert HTML to PDF
Submitted by Ben Hodson on Mon, 11/17/2008 - 10:20I was trying different components and methods of generating a PDF dynamically using C# and ASP.NET. There are quite a few pay-for
components with prices ranging between $250 and $1,000+ for a license. These pay-for products do a great job and some of them can
generate very complex PDF documents. But I just needed something that would generate simple PDF documents without too much in the way
of formatting.
There are also quite a few open source projects that provide rudimentary support for PDF creation. Many are pretty limited in their
Building a Web Service in ASP.NET 3.5
Submitted by Ben Hodson on Sun, 11/16/2008 - 18:55The steps to build a web service in ASP.NET 3.5 haven't changed much from previous versions but there are few new things to keep in
mind. The biggest new feature in ASP.NET 3.5 are the "AJAX-enabled" web services. You can now set up your web service to return in
either the standard SOAP/XML format or "AJAX-enable" your service with a single setting that will allow you to call your Web Service
methods directly in javascript in your ASPX pages.
Building a Simple Web Service
Popular Articles
Last viewed:
- C# Free Component to Generate PDF - Convert HTML to PDF
- MySQL Administrator - Can't see with Remote Desktop session connecting to Multiple Monitor Workstation
- SQL Server Management Studio Mulit-select Items to Delete
- Use FileZilla to Connect to a Windows FTP Server
- Access Master Page properties from the content page
- Explanation of Cross Domain and Client Access Policy files for Silverlight


Recent comments
11 hours 42 min ago
17 hours 17 min ago
1 week 1 day ago
1 week 1 day ago
1 week 1 day ago
1 week 4 days ago
2 weeks 13 hours ago
2 weeks 14 hours ago
2 weeks 14 hours ago
2 weeks 17 hours ago