<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Kevsters Blog</title>
	<atom:link href="http://iddles.co.uk/blogs/index.php/feed/" rel="self" type="application/rss+xml" />
	<link>http://iddles.co.uk/blogs</link>
	<description>A collection of thoughts, ramblings and stuff</description>
	<lastBuildDate>Sat, 08 May 2010 12:37:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Awesome Engineering</title>
		<link>http://iddles.co.uk/blogs/index.php/2010/05/awesome-engineering/</link>
		<comments>http://iddles.co.uk/blogs/index.php/2010/05/awesome-engineering/#comments</comments>
		<pubDate>Sat, 08 May 2010 12:37:28 +0000</pubDate>
		<dc:creator>Kevster</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://iddles.co.uk/blogs/index.php/2010/05/awesome-engineering/</guid>
		<description><![CDATA[Some folks amaze me with their skill.&#160; Its a simple thing really but just works…..&#160; have a look http://www.johnbenson.net/How_to_Convert_a_SIM_to_a_MicroSIM_with_a_Meat_Cleaver/How_to_Convert_a_SIM_to_a_MicroSIM_with_a_Meat_Cleaver.html More more – shall we say ingenious – have a look at one of my fave sites http://thereifixedit.com/]]></description>
			<content:encoded><![CDATA[<p>Some folks amaze me with their skill.&#160; Its a simple thing really but just works…..&#160; have a look</p>
<p><a title="http://www.johnbenson.net/How_to_Convert_a_SIM_to_a_MicroSIM_with_a_Meat_Cleaver/How_to_Convert_a_SIM_to_a_MicroSIM_with_a_Meat_Cleaver.html" href="http://www.johnbenson.net/How_to_Convert_a_SIM_to_a_MicroSIM_with_a_Meat_Cleaver/How_to_Convert_a_SIM_to_a_MicroSIM_with_a_Meat_Cleaver.html">http://www.johnbenson.net/How_to_Convert_a_SIM_to_a_MicroSIM_with_a_Meat_Cleaver/How_to_Convert_a_SIM_to_a_MicroSIM_with_a_Meat_Cleaver.html</a></p>
<p>More more – shall we say ingenious – have a look at one of my fave sites <img src='http://iddles.co.uk/blogs/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a title="http://thereifixedit.com/" href="http://thereifixedit.com/">http://thereifixedit.com/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://iddles.co.uk/blogs/index.php/2010/05/awesome-engineering/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cron</title>
		<link>http://iddles.co.uk/blogs/index.php/2010/03/cron/</link>
		<comments>http://iddles.co.uk/blogs/index.php/2010/03/cron/#comments</comments>
		<pubDate>Tue, 30 Mar 2010 20:48:37 +0000</pubDate>
		<dc:creator>Kevster</dc:creator>
				<category><![CDATA[Linux / *Nix]]></category>

		<guid isPermaLink="false">http://iddles.co.uk/blogs/?p=81</guid>
		<description><![CDATA[Useful CRON reference  guide available at: http://kevin.vanzonneveld.net/techblog/article/schedule_tasks_on_linux_using_crontab/]]></description>
			<content:encoded><![CDATA[<p>Useful CRON reference  guide available at:</p>
<div id="_mcePaste"><a href="http://kevin.vanzonneveld.net/techblog/article/schedule_tasks_on_linux_using_crontab/">http://kevin.vanzonneveld.net/techblog/article/schedule_tasks_on_linux_using_crontab/</a></div>
]]></content:encoded>
			<wfw:commentRss>http://iddles.co.uk/blogs/index.php/2010/03/cron/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cisco CUCM/Call Manager &#8211; Running on Sun&#8217;s Virtual Box</title>
		<link>http://iddles.co.uk/blogs/index.php/2010/02/cisco-cucmcall-manager-running-on-suns-virtual-box/</link>
		<comments>http://iddles.co.uk/blogs/index.php/2010/02/cisco-cucmcall-manager-running-on-suns-virtual-box/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 23:08:18 +0000</pubDate>
		<dc:creator>Kevster</dc:creator>
				<category><![CDATA[VMware / Virtual Box / HyperV]]></category>
		<category><![CDATA[VoIP and UC]]></category>
		<category><![CDATA[Cisco Call Manager]]></category>
		<category><![CDATA[CUCM]]></category>
		<category><![CDATA[Virtual Box]]></category>
		<category><![CDATA[VM]]></category>

		<guid isPermaLink="false">http://iddles.co.uk/blogs/?p=34</guid>
		<description><![CDATA[Well it is possible with a bit of hacking &#8211; but thats what its all about, isn&#8217;t it ! I actually used an existing working VM that had been built on VMware.  I will test building one from scratch on VirtualBox but not 100% sure it will work&#8230;. Anyhooo&#8230; 1) Get the existing VMDK and [...]]]></description>
			<content:encoded><![CDATA[<p>Well it is possible <img src='http://iddles.co.uk/blogs/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  with a bit of hacking &#8211; but thats what its all about, isn&#8217;t it !</p>
<p>I actually used an existing working VM that had been built on VMware.  I will test building one from scratch on VirtualBox but not 100% sure it will work&#8230;.</p>
<p>Anyhooo&#8230;</p>
<p>1) Get the existing VMDK and copy it to your Virtual Box machine repository<br />
2) Create a new VM using a Linux, Redhat, 1024MB RAM etc machine and set the disk as the VMDK<br />
3) Modify the machine &#8211; I removed the sound card<br />
4) Locate the machines XML config file.   The directory is set in VirtualBox&#8217;es config.  Edit it and add the following:</p>
<pre>Add the following lines to it in the "&lt;ExtraData&gt; &lt;/ExtraData&gt;" section:

&lt;ExtraDataItem name="VBoxInternal/Devices/pcbios/0/Config/DmiBIOSVersion" value="6 "/&gt;
&lt;ExtraDataItem name="VBoxInternal/Devices/pcbios/0/Config/DmiSystemVendor" value="VMware"/&gt;
&lt;ExtraDataItem name="VBoxInternal/Devices/pcbios/0/Config/DmiBIOSVendor" value="Phoenix Technologies LTD"/&gt;
&lt;ExtraDataItem name="VBoxInternal/Devices/pcbios/0/Config/DmiSystemProduct" value="VMware Virtual Platform"/&gt; </pre>
<p>(That bits from <a href="http://ubuntuforums.org/showthread.php?t=1029144">http://ubuntuforums.org/showthread.php?t=1029144</a>)</p>
<p>5) Next follow the guide here <a href="http://www.blindhog.net/how-to-get-root-access-on-call-manager-56-server/">http://www.blindhog.net/how-to-get-root-access-on-call-manager-56-server/</a> to get root access.  Make sure you use the CentOS Disk 1 rather than the Live Disk&#8230;&#8230;.grrrrr</p>
<p>6) Edit the /usr/local/bin/base_scripts/hardware_check.sh script to look like this:</p>
<p>We essentially comment out the hardware check and validation <img src='http://iddles.co.uk/blogs/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<pre style="padding-left: 30px;">function check_deployment()
{
    local tmp_deployment</pre>
<pre style="padding-left: 30px;">    initProductLibrary
    tmp_deployment="$deployment"</pre>
<pre style="padding-left: 30px;">    # Check the deployment
<span style="color: #000000;">#    isHardwareValidForDeployment $tmp_deployment
#    rc=$?
#   if [ $rc -ne 0 ]; then
#         log info "$tmp_deployment deployment Not Supported"
#         return 1
#    fi</span>
    # Deployment is supported by this hardware
    log info "$tmp_deployment deployment Is Supported"
    return 0
}</pre>
<p> 7) Save it and reboot</p>
<p> <img src='http://iddles.co.uk/blogs/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> The VM should come up and work !</p>
]]></content:encoded>
			<wfw:commentRss>http://iddles.co.uk/blogs/index.php/2010/02/cisco-cucmcall-manager-running-on-suns-virtual-box/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Quickie: Setting Company Name for Mac OSX XCODE</title>
		<link>http://iddles.co.uk/blogs/index.php/2010/01/quickie-setting-company-name-for-mac-osx-xcode/</link>
		<comments>http://iddles.co.uk/blogs/index.php/2010/01/quickie-setting-company-name-for-mac-osx-xcode/#comments</comments>
		<pubDate>Fri, 15 Jan 2010 15:13:00 +0000</pubDate>
		<dc:creator>Kevster</dc:creator>
				<category><![CDATA[OSX]]></category>
		<category><![CDATA[XCODE]]></category>

		<guid isPermaLink="false">http://iddles.co.uk/blogs/?p=30</guid>
		<description><![CDATA[Quick note to remember how to set company name in the OSX XCODE environment.  Taken from http://macdevelopertips.com/xcode/change-company-name-in-xcode.html/trackback 1) Open Terminal 2) Run &#62;&#62;&#62;&#62; defaults write com.apple.Xcode PBXCustomTemplateMacroDefinitions '{ORGANIZATIONNAME="YourNameHere";}' 3) Done]]></description>
			<content:encoded><![CDATA[<p>Quick note to remember how to set company name in the OSX XCODE environment.  Taken from <a href="http://macdevelopertips.com/xcode/change-company-name-in-xcode.html/trackback" target="_blank">http://macdevelopertips.com/xcode/change-company-name-in-xcode.html/trackback</a></p>
<div>
<pre>1) Open Terminal</pre>
<pre>2) Run &gt;&gt;&gt;&gt;   defaults write com.apple.Xcode PBXCustomTemplateMacroDefinitions '{ORGANIZATIONNAME="YourNameHere";}'</pre>
<pre>3) Done</pre>
</div>
]]></content:encoded>
			<wfw:commentRss>http://iddles.co.uk/blogs/index.php/2010/01/quickie-setting-company-name-for-mac-osx-xcode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sun Virtual Box &#8211; Cloning machines</title>
		<link>http://iddles.co.uk/blogs/index.php/2010/01/sun-virtual-box-cloning-machines/</link>
		<comments>http://iddles.co.uk/blogs/index.php/2010/01/sun-virtual-box-cloning-machines/#comments</comments>
		<pubDate>Mon, 04 Jan 2010 16:13:41 +0000</pubDate>
		<dc:creator>Kevster</dc:creator>
				<category><![CDATA[VMware / Virtual Box / HyperV]]></category>
		<category><![CDATA[Virtual Box]]></category>
		<category><![CDATA[VM]]></category>

		<guid isPermaLink="false">http://iddles.co.uk/blogs/?p=28</guid>
		<description><![CDATA[I&#8217;m a big fan of Sun&#8217;s Virtual Box &#8211; its cross platform (I run it on Windows 7 X64,OS X and Ubuntu), FREE and works Cloning machines is pretty the same as all OS&#8217;s, with one slight twist&#8230;.. 1) Copy the VDI file you want to clone/backup. 2) This file won&#8217;t boot because it has [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m a big fan of Sun&#8217;s Virtual Box &#8211; its cross platform (I run it on Windows 7 X64,OS X and Ubuntu), FREE and works <img src='http://iddles.co.uk/blogs/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Cloning machines is pretty the same as all OS&#8217;s, with one slight twist&#8230;..</p>
<p>1) Copy the VDI file you want to clone/backup.</p>
<p>2) This file won&#8217;t boot because it has the same UUID as the first file you copied, so need to use VBoxManage utility to give it a new random UUID.</p>
<p>3) Open command prompt, and change to your Vbox directory with VBoxMange.exe in it. Probably located at C:\Program Files\Sun\xVM VirtualBox\</p>
<p>4) Run this command in command prompt<br />
VBoxManage internalcommands setvdiuuid &#8220;D:\My Virtual Machines\VDI\HardDiskName.vdi&#8221;</p>
<p>Obviously you would change the above path to point to your NEW VDI file that you created (not the original).</p>
]]></content:encoded>
			<wfw:commentRss>http://iddles.co.uk/blogs/index.php/2010/01/sun-virtual-box-cloning-machines/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cisco CUCM UCCX Queue Status Web Service</title>
		<link>http://iddles.co.uk/blogs/index.php/2009/08/cisco-cucm-uccx-queue-status-web-service/</link>
		<comments>http://iddles.co.uk/blogs/index.php/2009/08/cisco-cucm-uccx-queue-status-web-service/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 15:21:34 +0000</pubDate>
		<dc:creator>Kevster</dc:creator>
				<category><![CDATA[VoIP and UC]]></category>
		<category><![CDATA[Cisco Call Manager]]></category>
		<category><![CDATA[CUCM]]></category>
		<category><![CDATA[IPCC]]></category>
		<category><![CDATA[UCCX]]></category>

		<guid isPermaLink="false">http://iddles.co.uk/blogs/?p=26</guid>
		<description><![CDATA[Heres a snip of somthing I wrote as an &#8216;add on&#8217; the the free, Open Source SourceForge IPCC Wallboard package. This uses code from the IPCC Wallboard package to access UCCX&#8217;s Historical database, and allows for queue information to be displayed on a Cisco IP Phone. The formattings nasty as the IP Phone does not [...]]]></description>
			<content:encoded><![CDATA[<p>Heres a snip of somthing I wrote as an &#8216;add on&#8217; the the free, Open Source<a href="http://sourceforge.net/projects/ipccwallboard/" target="_blank"> SourceForge IPCC Wallboard</a> package.</p>
<p>This uses code from the IPCC Wallboard package to access UCCX&#8217;s Historical database, and allows for queue information to be displayed on a Cisco IP Phone.</p>
<p>The formattings nasty as the IP Phone does not operate as a standard browser so theres lots of spaces and stuff to get things positioned right.</p>
<p>Ill post some information about how to get it working as a service in CUCM later&#8230;</p>
<pre>&lt;%On Error Resume Next

//**************************************************************************************//
//   Service:      Phone Wallboard Display                            //
//   AUTHOR:      Kevin Iddles, Yawns.com Limited                        //
//   PURPOSE:     Display UCCX Queue information on IP Phone - Exposed as a service    //
//   VERSION:     1.1                                    //
//**************************************************************************************//

//**************************************************************************************//
//   History:
//        1.1 - Updated to parse query strings from CUCM to allow for spaces
//        1.0 - Updated for use on customer sites including layout
//              0.1 - Based on original version from Cisco Netpro
//**************************************************************************************//

%&gt;
&lt;!--#include file="parameters.asp"--&gt;
&lt;%
Response.AddHeader "Refresh", RefreshTime

//********************************START SQL MODULE**************************************//

//**************************************************************************************//
//   Module:      SQL Database Connector                                                    //
//   AUTHOR:      Jeremy Fielder, Leo Mourits                                                //
//   PURPOSE:     Performs Database Connections and retrieves relavent recordSets.        //
//**************************************************************************************//

If IPCCversion = 3 Then
 WBConnect = "Provider=SQLOLEDB; Data Source = " &amp; DBsource &amp; "; Initial Catalog = " &amp; DBdatabase &amp; "; User Id = " &amp; DBuserID &amp; "; Password = " &amp; DBpass
ElseIf IPCCversion = 4 Then
 WBConnect = "Provider=SQLOLEDB; Data Source = " &amp; DBsource &amp; "\CRSSQL; Initial Catalog = db_cra; Integrated Security=SSPI;"
End If

Set cn = Server.CreateObject("ADODB.Connection")
 cn.open WBConnect

needor = "0"

If Request.QueryString("csqa") = "" Then
 sqlcsqa = ""
Else
 tmpcsqa = Request.QueryString("csqa")
 tmpcsqa = Replace(tmpcsqa, "%20", " ")
 sqlcsqa = " (CSQName Like '%" &amp; tmpcsqa &amp; "%')"
 needor = "1"
End if

If Request.QueryString("csqb") = "" Then
 sqlcsqb = ""
Else
 If needor = "0" Then
 tmpcsqb = Request.QueryString("csqb")
 tmpcsqb = Replace(tmpcsqb, "%20", " ")
 sqlcsqb = " (CSQName Like '%" &amp; tmpcsqb &amp; "%')"
 needor = "1"
 Else
 tmpcsqb = Request.QueryString("csqb")
 tmpcsqb = Replace(tmpcsqb, "%20", " ")
 sqlcsqb = " OR (CSQName Like '%" &amp; tmpcsqb &amp; "%')"
 End if
End if

If Request.QueryString("csqc") = "" Then
 sqlcsqc = ""
Else
 If needor = "0" Then
 tmpcsqc = Request.QueryString("csqc")
 tmpcsqc = Replace(tmpcsqc, "%20", " ")
 sqlcsqc = " (CSQName Like '%" &amp; tmpcsqc &amp; "%')"
 needor = "1"
 Else
 tmpcsqc = Request.QueryString("csqc")
 tmpcsqc = Replace(tmpcsqc, "%20", " ")
 sqlcsqc = " OR (CSQName Like '%" &amp; tmpcsqc &amp; "%')"
 End if
End if

If Request.QueryString("csqd") = "" Then
 sqlcsqd = ""
Else
 If needor = "0" Then
 tmpcsqd = Request.QueryString("csqd")
 tmpcsqd = Replace(tmpcsqd, "%20", " ")
 sqlcsqd = " (CSQName Like '%" &amp; tmpcsqd &amp; "%')"
 needor = "1"
 Else
 tmpcsqd = Request.QueryString("csqd")
 tmpcsqd = Replace(tmpcsqd, "%20", " ")
 sqlcsqd = " OR (CSQName Like '%" &amp; tmpcsqd &amp; "%')"
 End if
End if

If sqlcsqa = "" and sqlcsqb = "" and sqlcsqc = "" and sqlcsqd = "" Then
 sqlcsqa = " callsWaiting &gt; '0'"
End if

sqlGetCSQstats = "SELECT CSQName, availableAgents, callsWaiting, convOldestContact FROM RtCSQsSummary WHERE " &amp; sqlcsqa &amp; sqlcsqb &amp; sqlcsqc &amp; sqlcsqd &amp; " ORDER BY CSQName"

Set rs = server.createobject("adodb.recordset")
Set cm = Server.CreateObject("ADODB.Command")
 cm.ActiveConnection = cn
 cm.commandtext = sqlGetCSQstats
Set rs = cm.execute

Response.Write deptName %&gt;
|   Queue            |AA|CW| L Wait |
-------------------------------------------------
&lt;% While not rs.eof %&gt;|
&lt;%= rs("CSQName") %&gt; | &lt;%= rs("availableAgents") %&gt;  | &lt;%= rs("callsWaiting") %&gt;  |&lt;%= rs("convOldestContact")%&gt;&lt;%
 rs.moveNext
 wEnd
 rs.close
%&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://iddles.co.uk/blogs/index.php/2009/08/cisco-cucm-uccx-queue-status-web-service/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Change of Platform</title>
		<link>http://iddles.co.uk/blogs/index.php/2009/08/change-of-platform/</link>
		<comments>http://iddles.co.uk/blogs/index.php/2009/08/change-of-platform/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 14:21:27 +0000</pubDate>
		<dc:creator>Kevster</dc:creator>
				<category><![CDATA[Site Updates]]></category>
		<category><![CDATA[Community Server]]></category>
		<category><![CDATA[IIS7]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Windows 2008]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://iddles.co.uk/blogs/?p=23</guid>
		<description><![CDATA[Having run this blog and others on Community Server for quite a while not,  I decided it was time for a change. As this sites only used for blogs (no media, forums etc) there did not seem much point in continuing running the site on CS.  In addition, for some reason they have decided to [...]]]></description>
			<content:encoded><![CDATA[<p>Having run this blog and others on Community Server for quite a while not,  I decided it was time for a change.</p>
<p>As this sites only used for blogs (no media, forums etc) there did not seem much point in continuing running the site on CS.  In addition, for some reason they have decided to remove support for running multiple &#8216;virtual&#8217; CS sites within the same database.  Also I have issues with the stability, updates etc.  Hence moving this to WordPress.</p>
<p>Lets see how it goes&#8230;&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://iddles.co.uk/blogs/index.php/2009/08/change-of-platform/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 7 &#8211; How to add &#8216;difficult&#8217; applications to the tray</title>
		<link>http://iddles.co.uk/blogs/index.php/2009/08/windows-7-how-to-add-difficult-applications-to-the-tray/</link>
		<comments>http://iddles.co.uk/blogs/index.php/2009/08/windows-7-how-to-add-difficult-applications-to-the-tray/#comments</comments>
		<pubDate>Tue, 25 Aug 2009 19:45:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[Aero]]></category>
		<category><![CDATA[Tray]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Windows 7 rocks as they say.  Been running it for a long while now and makes Vista seem as bad a shell as XP these days. The Beta, then RC and now the RTM code is very, very solid.  Amazingly fast and a dream to use.   Owning a Mac as well, there are some compelling reasons why [...]]]></description>
			<content:encoded><![CDATA[<p>Windows 7 rocks as they say.  Been running it for a long while now and makes Vista seem as bad a shell as XP these days.</p>
<p>The Beta, then RC and now the RTM code is very, very solid.  Amazingly fast and a dream to use.   Owning a Mac as well, there are some compelling reasons why I still think its the premier desktop OS.</p>
<p>One annoyance though is being able to &#8216;pin&#8217; applications to the tray.  Depite all your efforts, some will not do it.  Instead follow this procedure how to do it.  Its a frig, but one that works !</p>
<p><a href="http://www.unawave.de/windows-7-tipps/folder-to-taskbar.html?lang=EN">http://www.unawave.de/windows-7-tipps/folder-to-taskbar.html?lang=EN</a> </p>
<p><img src="http://iddles.co.uk/aggbug.aspx?PostID=7181" alt="" width="1" height="1" /></p>
]]></content:encoded>
			<wfw:commentRss>http://iddles.co.uk/blogs/index.php/2009/08/windows-7-how-to-add-difficult-applications-to-the-tray/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flushing SQL Transaction Logs</title>
		<link>http://iddles.co.uk/blogs/index.php/2008/03/flushing-sql-transaction-logs/</link>
		<comments>http://iddles.co.uk/blogs/index.php/2008/03/flushing-sql-transaction-logs/#comments</comments>
		<pubDate>Tue, 25 Mar 2008 09:01:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[Flush]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Transaction Log]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Can never remember the syntax so here is is as a reminder: Make the database current then run DBCC   SHRINKFILE(&#8216;Foo_LOG&#8217;,1)    BACKUP   LOG Foo WITH TRUNCATE_ONLY     DBCC   SHRINKFILE(&#8216;Foo_LOG&#8217;,1)    go    ]]></description>
			<content:encoded><![CDATA[<p>Can never remember the syntax so here is is as a reminder:</p>
<p>Make the database current then run</p>
<p><span style="color: #0000ff; font-size: x-small;"><span style="color: #0000ff; font-size: x-small;"><font size="2" color="#0000ff"></p>
<blockquote><p><em>DBCC</em></p></blockquote>
<p></font></span></p>
<blockquote><p> </p></blockquote>
<p></span></p>
<blockquote><p><em><span style="font-size: x-small;"> SHRINKFILE</span><span style="color: #808080; font-size: x-small;">(</span><span style="color: #ff0000; font-size: x-small;">&#8216;Foo_LOG&#8217;</span><span style="color: #808080; font-size: x-small;">,</span><span style="font-size: x-small;">1</span><span style="color: #808080; font-size: x-small;">)<em><span style="color: #808080; font-size: x-small;"><em><font size="2" color="#808080"> </p>
<p></font></em></span> </p>
<p></em></span></em><span style="color: #0000ff; font-size: x-small;"><span style="color: #0000ff; font-size: x-small;"><font size="2" color="#0000ff"><em>BACKUP</em></p>
<p></font></span> </p>
<p></span></p>
<p><em><span style="font-size: x-small;"> </span><span style="color: #ff00ff; font-size: x-small;">LOG Foo</span><span style="font-size: x-small;"> </span><span style="color: #0000ff; font-size: x-small;">WITH</span><span style="font-size: x-small;"> TRUNCATE_ONLY <em><span style="font-size: x-small;"><em><font size="2"> </p>
<p></font></em></span> </p>
<p></em></span></em><span style="color: #0000ff; font-size: x-small;"><span style="color: #0000ff; font-size: x-small;"><font size="2" color="#0000ff"><em>DBCC</em></p>
<p></font></span> </p>
<p></span></p>
<p><em><span style="font-size: x-small;"> SHRINKFILE</span><span style="color: #808080; font-size: x-small;">(</span><span style="color: #ff0000; font-size: x-small;">&#8216;Foo_LOG&#8217;</span><span style="color: #808080; font-size: x-small;">,</span><span style="font-size: x-small;">1</span><span style="color: #808080; font-size: x-small;">)<em><span style="color: #808080; font-size: x-small;"><em><font size="2" color="#808080"> </p>
<p></font></em></span> </p>
<p></em></span></em><span style="font-size: x-small;"><em>go</em></p>
<p><span style="font-size: x-small;"><font size="2"> </p>
<p></font></span> </p>
<p></span></p></blockquote>
<p><img src="http://iddles.co.uk/aggbug.aspx?PostID=6434" alt="" width="1" height="1" /></p>
]]></content:encoded>
			<wfw:commentRss>http://iddles.co.uk/blogs/index.php/2008/03/flushing-sql-transaction-logs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ASP.Net and SharePoint</title>
		<link>http://iddles.co.uk/blogs/index.php/2008/03/asp-net-and-sharepoint/</link>
		<comments>http://iddles.co.uk/blogs/index.php/2008/03/asp-net-and-sharepoint/#comments</comments>
		<pubDate>Fri, 07 Mar 2008 14:04:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[IIS6]]></category>
		<category><![CDATA[IIS7]]></category>
		<category><![CDATA[Windows 2003]]></category>
		<category><![CDATA[Windows 2008]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Its taken me long enough but finally had a reason to write some true ASP.Net code.  One problem I hit was that trying to run code on a server that is running SharePoint Services &#8230;. so you need this exceprt&#8230;.  You may see this error: An error occurred during the processing of /test.aspx. Code blocks [...]]]></description>
			<content:encoded><![CDATA[<p>Its taken me long enough but finally had a reason to write some true ASP.Net code.  One problem I hit was that trying to run code on a server that is running SharePoint Services &#8230;. so you need this exceprt&#8230;.</p>
<p> <strong>You may see this error:</strong></p>
<div class="code">An error occurred during the processing of /test.aspx. Code blocks are not allowed in this file.</div>
<p><strong>Reason:  </strong>SharePoint does not allow server side code to execute in aspx pages contained in the SharePoint site.</p>
<p><strong>Fix:</strong>  Edit the web.config (I.E.<strong> C:\Inetpub\wwwroot\wss\VirtualDirectories\80\web.config</strong>) file:</p>
<div class="code"><span class="kwrd">&lt;</span><span class="html">PageParserPaths</span><span class="kwrd">&gt;</span><br />
        <span class="rem">&lt;!&#8211; To allow a single file: &#8211;&gt;</span><br />
        <span class="kwrd">&lt;</span><span class="html">PageParserPath</span> <span class="attr">VirtualPath</span><span class="kwrd">=&#8221;/test.aspx&#8221;</span> <span class="attr">CompilationMode</span><span class="kwrd">=&#8221;Always&#8221;</span> <span class="attr">AllowServerSideScript</span><span class="kwrd">=&#8221;true&#8221;</span> <span class="kwrd">/&gt;</span><br />
        <span class="rem">&lt;!&#8211; To allow global: &#8211;&gt;</span><br />
        <span class="kwrd">&lt;</span><span class="html">PageParserPath</span> <span class="attr">VirtualPath</span><span class="kwrd">=&#8221;/*&#8221;</span> <span class="attr">CompilationMode</span><span class="kwrd">=&#8221;Always&#8221;</span> <span class="attr">AllowServerSideScript</span><span class="kwrd">=&#8221;true&#8221;</span> <span class="kwrd">/&gt;</span><br />
        <span class="rem">&lt;!&#8211; To allow global within a subsite: &#8211;&gt;</span><br />
        <span class="kwrd">&lt;</span><span class="html">PageParserPath</span> <span class="attr">VirtualPath</span><span class="kwrd">=&#8221;/websitefoobar/*&#8221;</span> <span class="attr">CompilationMode</span><span class="kwrd">=&#8221;Always&#8221;</span> <span class="attr">AllowServerSideScript</span><span class="kwrd">=&#8221;true&#8221;</span> <span class="kwrd">/&gt;</span><br />
<span class="kwrd">&lt;/</span><span class="html">PageParserPaths</span><span class="kwrd">&gt;</span></div>
<p><img src="http://iddles.co.uk/aggbug.aspx?PostID=6426" alt="" width="1" height="1" /></p>
]]></content:encoded>
			<wfw:commentRss>http://iddles.co.uk/blogs/index.php/2008/03/asp-net-and-sharepoint/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
