I manage a server for a client that has the FileZilla Server running as a service. Every time I connect to the server and login the FileZilla Server Interface loads and pops into focus which after some time gets a bit annoying since it is rarely needed. It appears that the option to load the interface is set during the installation procedures and there is no obvious way to disable it post install. I did however come across a little gem in the registry that can sort the issue. All you need to do is navigate to the following key in the registry: [code language="xml"]HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionRun[/code] and remove the "<strong>FileZilla Server Interface</strong>" entry and the problem goes away!…
I'm not what you would call a serious Facebook user, I don't use it every day, probably once or twice a week but mainly to see what friends have been up to rather than to post anything. I have a few friends on Facebook that quite regularly spam me with event invitations that are and never will be of interest to me but I guess for most it is easier to say "send to everyone" than to actually take the time to select friends you actually might think the event is relevant to. I don't necessarily want to remove these friends however I don't want to to keep receiving their spammy event invitations and it's not immediately obvious how to do this on an individual basis so here is how you do it: Login to your Facebook account. From the "<em>Account</em>" menu item in the top left,…
In IIS on Windows 7 it appears that the 'old fashioned' method of using ASP.NET IIS Registration Tool (Aspnet_regiis.exe) is no longer the correct method to update the script maps. Instead the Windows feature should be enabled via the control panel by following the steps below: Open the Control Panel Select "Programs" Select "Turn Windows Features on or off" Locate the following node: <strong>Internet Information Services</strong> > <strong>World Wide Web Services</strong> > <strong>Application Development Features</strong> Tick the box for <strong>ASP.NET</strong> and confirm.…
Most projects I work on need a list of countries at some point so I put together a snippet of SQL that I could reuse to create and populate a countries table in the database with all countries as given in ISO 3166-1. After recently writing a utility class to populate list controls with world currencies according to ISO 4217 it got me wondering if I could also do the same for countries using only the .Net Framework. And so I came up with the following utility class to do the job. [code lang="csharp"] /// <summary> /// Populates the list control with countries as given by ISO 4217. /// </summary> /// <param name="ctrl">The list control to populate.</param>…
Ever needed to know which ASP.Net worker process (w3wp.exe) belongs to an App Pool? Well I did recently when I needed to attach to it for debugging and there was no obvious way to find out which process related to each app pool. A little bit of research led me to discover AppCmd.exe. I wrote a small batch file which will list them all for you and include the process id. Simply copy the following into a blank text file and save with a .bat extension and you can run it whenever you need to, alternatively just run the command through a standard command prompt. [code]cd %systemroot%system32inetsrv appcmd list wps pause[/code] You should end up with a line like the following for each worker process on your machine: [code]WP "5528" (applicationPool:DefaultAppPool)[/code]…
I recently had a client who had some issues delivering mail from their site so I went to look at the SMTP logs only to find that there were none there (I am embarrassed to say). I notice that I had configured the logs to be written to a custom directory on a separate drive from the operating system and thought that may have been the issue however it turns out that there are some steps that needs to be taken in order for SMTP logging to work on Windows Server 2008. It's odd enough that you need to use the legacy IIS 6 management console to administer your SMTP Server but there is also no obvious steps when setting up your server that indicate the requirements for SMTP logging. To get logging working you need to install the ODBC Logging module by following these steps: On…
I am working on a Job File System (JFS) for a client and they had the requirement to include a drop down list of currencies on their Purchase Order and Invoice documents, at first I was going to…
Recently I had to do some work on a legacy application for a client and they were getting errors when trying to upload some files that I would consider to be of relatively small sizes of around 300kb.…
This post is more of a note to myself but may save someone else a lot of wasted time trying to track down why they can no longer save selected nodes in Umbraco. In a recent project I created a number…
I have recently needed to use the Umbraco datePicker control in a usercontrol I was creating however I kept getting presented with an "Unknown server tag 'umbraco:datePicker" exception. After some digging around in the Umbraco Source it is confusingly not in the assembly I would have expected but it was in fact located in the cms.dll and not controls.dll. As a couple of other Umbracians posted this query a day or so after I found the solution I thought I would post it up for the benefit of others. Simply include the following in your usercontrol: <%@ Register TagPrefix="umbraco" Namespace="umbraco.controls" Assembly="cms" %> and then use it as follows: [code lang="csharp"]<umbraco:datePicker ID="datePicker1" runat="server" ShowTime="true"></umbraco:datePicker>[/code] I hope this is of help to others and can be refactored asap to avoid any further confusion.…