Geeks With Blogs

Tim Huffam Dotting the I and crossing the T of I.T. October 2005 Entries
Cheatsheet: Quick install PHP and PhpMyAdmin
These notes apply to PhpMyAdmin 2.6.4-pl3 on a Windows box (in my case XP Pro). PHP v 5 (5.1.4): Unzip download eg into c:\php Add the php dir to the PATH environment variable. Copy php.ini-dist into windows dir (eg c:\windows) as php.ini (the php install docs incorrectly state that you only need to add the php dir to the PATH env var - and dont have to move any files into the windows dirs - however that's bollocks - at a bear minimum you need the ini in your windows dir.) NOTE: This is the development ......

Posted On Monday, October 31, 2005 3:25 PM

PHPMyAdmin - Client does not support authentication protocol requested by server; consider upgrading MySQL client
This seems to be quite a common error for many people installing PhpMyAdmin for the first time. The phpmyadmin (pma) docs mention it - basically stating that the mysql client is out of date. In the past I've solved this by updating my version php, and also by using the manual install as the windows installer package uses (well it used to) an old version of the mysql client library. However today I discovered a simple workaround here (thanks a million to Ram Prasad who posted it!!!!) - and what a ......

Posted On Monday, October 31, 2005 6:39 AM

CodeSmith templates for DNN module development, BLL, DAL, etc

Check out these babies.  Bloody marvellous!

 

Posted On Thursday, October 27, 2005 10:21 AM

Convert VB.NET to C#

Just found a neat web app for doing this here - great job James!

He writes about it here.

Posted On Thursday, October 27, 2005 3:54 AM

"Error 1308. Source file not found" occurs when installing MSDN Library
This error occurs if you try to install the MSDN library using a network or localdrive install - where you've copied the content of the CD's/ISO's into separate directories, eg: c:\msdn_2005Oct_disc1c:\msd... To solve this problem, copy the contents of all dirs into 1, eg just copy the Program Files directory from all other disc dirs (in this example (c:\msdn_2005Oct_disc2 & c:\msdn_2005Oct_disc3) into the first disc dir (c:\msdn_2005Oct_disc1). Then re-run the ......

Posted On Wednesday, October 19, 2005 10:57 AM

Displaying RSS XML as HTML using javascript
Here's an HTML page containing javascript functions for displaying an RSS feed in nicely formatted HTML. Licence Agreement: To use this work, you, the licencee, agree to purchase, me (Tim Huffam) a pint of beer. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HT... HTML RSS Viewer </TITLE><script> var rssDoc = new ActiveXObject("MSXML2.DOMDo... rssDoc.onreadystatechange = popData; function displayRSS(path){ mainTitle.href = ......

Posted On Monday, October 17, 2005 12:06 PM

Displaying RSS XML as HTML using a XSLT transformation
Thought it was about time there was a xsl template for allowing you to view RSS... so here's a basic one I've knocked up.. feel free to use (note that I've added some jigery-pokery so it caters for encoded embedded html within the rss description element). I'll follow this post with another one showing how to acheive this using javascript (ajax style). To use, just save the following xsl to a file, then add a reference to it in your rss feed with the following line: <?xml-stylesheet type="text/xsl" ......

Posted On Monday, October 17, 2005 11:57 AM

'System.Security.SecurityException: Requested registry access is not allowed.' when writing to event log
I got this error when I try to create an eventlog source and when I try to write to the new event log (after resorting to manually creating the event log source) with my ASP.NET application. See the end of this post for the full error message and stack trace. This seems to be a very commom problem - and not consistent either. My guess is that it's due to the tightening of security recently, ie XP SP2. Use of the Network Service account (on win2k3) or AD accounts can help. To resolve you need to give ......

Posted On Wednesday, October 5, 2005 8:46 AM

Syntax error converting from a character string to uniqueidentifier.
I got this error (Syntax error converting from a character string to uniqueidentifier.) when trying to run the following SQL insert from within Query Analyser: insert into [dbo].[TeamUsers] ([TeamId], [UserId], [RoleType]) values (3, 'f7b681c0faeb11d69aed0008c7... Column UserID is a uniqueidentifier. So I tried it without the quotes: insert into [dbo].[TeamUsers] ([TeamId], [UserId], [RoleType]) values (3, f7b681c0faeb11d69aed0008c7e... .. but got this error: The name 'f7b681c0faeb11d69aed0008c7... ......

Posted On Tuesday, October 4, 2005 2:40 PM

Copyright © Tim Huffam | Powered by: GeeksWithBlogs.net