Technology Errors

Windows TortoiseSVN SASL – sasl(-1): generic failure: unable to find a callback: 2

I beat my head on the wall for awhile with the below error because the information online was fairly limited. Let me start by saying that using TortoiseSVN as a SVN client for Windows will authenticate against a Linux server running svnserve using SASL DIGEST-MD5 encryption. This means you should be able to authenticate against svnserve set up with these options configured which are “use-sasl = true”, “min-encryption = 128”, and “max-encryption = 256”.

When all of this started my goal was to create a SVN server with one repo for testing. I upgraded from TortoiseSVN 1.5.2 to the latest stable build of TortoiseSVN which was version 1.6.1.1612. I downloaded the latest stable release from the TortoiseSVN site here. Once installed everything was going fine with my original goal until I got to checking out the repository on my local PC.

Technology Errors

SVN Checkout: svn: Cannot negotiate authentication mechanism

You may receive an error similar to the one below stating that SVN cannot negotiate the authentication mechanism during initial installation of Subversion. I received the below error when I was testing a new SVN repository I had set up on a CentOS Linux server and was attempting to checkout the repo from another CentOS Linux server. Below I describe basic configuration and what was done to move pas this error.

Error:
svn: Cannot negotiate authentication mechanism

Technology Insights

How to Open OneNote Files Without OneNote Being Installed: Open .one Files

Opening Microsoft Office OneNote files without OneNote being installed can be a bit of a pain but it is possible and therer are numerous options to do so. Below I will provide a couple different ways to go about reading the OneNote notebook or file. The first of which is if someone has sent you a .one (OneNote) file and you want to open it without having to ask them to provide a different format. The second method will be providing them numerous different formats that they could provide you the OneNote file in including Microsoft Word (.doc and .docx) and HTML.

The first method I will explain is opening the file without having to ask the person who sent you the file to do anything. Regardless of what method you want to use to view the files you will be required to download and install the trial of Microsoft Office OneNote that lasts for 60 days. After 60 days you should still be able to view files but you will not be able to edit them.

Technology Insights

Get physical path to SQL Server 2005 data files

To get the path where SQL Server 2005 stores data files for databases, you can use the following T-SQL script: USE master GO DECLARE @data_path nvarchar(256) SET @data_path = (SELECT SUBSTRING(physical_name, 1, CHARINDEX(N’master.mdf’, LOWER(physical_name)) – 1) FROM master.sys.master_files WHERE database_id = 1 AND file_id = 1) SELECT @data_path AS DataPath It uses the built-in “master”…

Technology Insights

WordPress NextGen Gallery Simpleviewer: viewer.sfw: Modify Caption Location

I use SimpleViewer to display some of the image galleries on my personal WordPress blog and decided I wanted to change the caption location. Moving the caption to below the image itself instead of below the thumbnails is easy however you must have the source code that comes with purchasing the product. I figure it is worth the money if this is a gallery you are using as it would cost much more in time to develop the gallery yourself.

The default location of the caption is shown below in the image.