SharePoint Stuff

Using CDONTS on Windows 2003 Server?

Written by admin. Posted in Microsoft

Using CDONTS on Windows 2003 Server?


When using CDONTS on windows 2003 you recieve the following error message

Server object error ‘ASP 0177 : 800401f3’
Server.CreateObject Failed
.asp, line ‘x’


Microsoft Windows Server 2003 no longer supports Collaboration Data Objects (CDO) for NTS (CDONTS). Therefore, applications that use CDONTS will not function on Windows Server 2003.

Windows Server 2003 provides improved alternatives to CDONTS. To make CDONTS functioning on a Windows Server 2003-based computer, use one of the following solutions:

OPTION 1 (if you need CDONTS):

1. Download CDONTS.ZIP file from here . Once you have downloaded it unzip the CDONTS.DLL and put it into %systemroot%system32 folder (C:Windowssystem32 by default).

You can also find CDONTS.DLL from your Windows 2000 CD if you have one.

2. Register CDONTS.DLL on your server using the following command:

regsvr32 “%systemroot%system32cdonts.dll”

3. Once registered CDONTS.DLL you will need to make sure that Microsoft SMTP service is installed and running.

OPTION 2 (using CDOSYS):

Instead of using CDONTS use CDOSYS

Code example:


Set m = CreateObject(“CDO.Message”) m.From = “” m.To = “” m.Subject = “test 1” m.TextBody = “hello there” m.send


More Information

For more information please see;en-us;324649

Linux useful tools

Written by admin. Posted in LinkStation

Process management

ps -A = running processes
ps -aux = further running processes
kill = kill a process

Find File Commands

Find a file in all folders with it’s exact name
find . -name “exactname.ini” -print

Find a file in all folders but onlyh know part of the name
find . -name “*partofname*” -print

Find a file but can’t remember the name but know you used it in x about of days -1 (1day) -2 (2days) and so on
find . -mtime -1 -print

CPU Utilisation
top = cpu and memory stats

Hard disk information
Get Storage Configuration – also gets HD path
mdadm –detail /dev/md0

disk smart information
smartctl -i /dev/sdb3

Start/Stoping Services
initctl stop xbmc
initctl start vnc
initctl start xbmc

Installing Slimserver on the Linkstation

Written by admin. Posted in LinkStation

After flashing the Drive installing the tools and MySQL your ready to install slim 6.5.1

cd /mnt/hda/opt/
addgroup slimserv
adduser slimserv -g slimserv
passwd slimserv
tar -xzvf SlimServer_v6.5.1.tar.gz
mv SlimServer_v6.5.1 /mnt/slimserver
cd /mnt/slimserver/Bin
mkdir mipsel-linux-gnu-thread-multi
cd mipsel-linux-gnu-thread-multi
ln -s /mnt/hda/opt/mysql mysqld

enter the relevent paths for your install

Install /mnt/slimserver
Extract <enter with defaults>
Tmp /mnt/slimserver
mkdir /mnt/hda/opt/slim-data
cd /mnt/hda/opt/
chown -R slimserv:slimserv slim-data
cd /mnt/
chown -R slimserv:slimserv slimserver


To make it start automatically do this
cd /etc/init.d/
create a file called slimserver containing the following:


# slimserver init.d script for Linux
# Daemon needs to be your install path

test -x ${DAEMON} || exit 0

case “$1” in
 start) echo -n “Starting Slimserver: ”
  start-stop-daemon –start –quiet –exec $DAEMON
   –chuid ${USER} — –daemon
   –prefsfile=/mnt/hda/opt/slim-data/slimserver.pref –pidfile=${PIDFILE}
   –cachedir=/mnt/hda/opt/slim-data –pidfile=${PIDFILE}
  echo “slimserver started”

 stop) echo -n “Stopping Slimserver: ”
 start-stop-daemon –stop –quiet –user ${USER} –pidfile ${PIDFILE} –retry 5
 echo “done”

  force-reload|restart) $0 stop
   $0 start

  *) echo “Usage: $0 {start|stop|restart|force-reload}”
     exit 1;


exit 0


chmod +x /etc/init.d/slimserver
cd /etc/rc.d/rc2.d
ln -s /etc/init.d/slimserver S90slimserver
Slimserver runs well at streaming but the interface can be a bit sluggish – this I need to sort out later ..