Microsoft SQL Server Profiler 2005 filter on database name

0 Comments

If you want to filter you’re Microsoft SQL Server 2005 profiler trace on database name: Check the “Show all columns” checkbox on the “Events Selection” tab. Then click on the column filters… button, you can

Microsoft SQL Server 2005 Maintenance Plan Wizard

0 Comments

This post describes the way I used the Microsoft SQL Server 2005 Maintenance Plan Wizard. When none default values are used, they will be listed below.   > To create a Microsoft SQL Server 2005

IIS 6 versus IIS 7 dialog comparison

0 Comments

I was looking for the "Change Execute Permissions" in IIS 7. In IIS 6 you would go to Web site > Properties > Home Directory Tab: But I could not find it in IIS 7.

Setting the GridView PagerStyle height in ASP .NET 2.0 with C#

0 Comments

When you set the PagerStyle Height property this will no allways set the correct height of the PageStyle. <asp:GridView ID="Test"> <PagerStyle Height="10px" /> </asp:GridView> To set the correct height use a CSS class: <asp:GridView ID="Test">

Delete IIS6 or IIS7 virtual directory on a website with hostheader, with C# and NANT

0 Comments

using System; using System.DirectoryServices; using System.Globalization; using Ada.Configurator.Common; using NAnt.Core.Attributes; using NAnt.Core; namespace AdaNantTasks { /// <summary> /// Delete an IIS virtual directory on a website with a hostheader. /// </summary> [TaskName("deleteVirtualDirectoryTask")] public class DeleteVirtualDirectoryTask

Create IIS6 or IIS7 virtual directory on a website with hostheader, with C# and NANT

2 Comments

using System; using System.DirectoryServices; using System.Globalization; using Ada.Configurator.Common; using NAnt.Core.Attributes; using NAnt.Core; namespace AdaNantTasks { [TaskName("createWebSite")] public class CreateWebsiteTask : Task { public NantLogger logger = new NantLogger(); private string m_server; [TaskAttribute("server", Required = true)]

Technology Summary

0 Comments

This post is just a note for me to track technologies.   JQuery

Dump IIS info with C#

0 Comments

To call the function use:  this.DumpIISInfo(new DirectoryEntry("IIS://localhost/w3svc")); /// <summary> /// Dump iis info /// </summary> /// <returns> /// 0 = All IIS information is written to the console /// 1 = Parameter entry was null