<?xml version="1.0"?><rss version="2.0"><channel><title>Cosnetics Articles RSS 2.0 Feed</title><link>http://www.cosnetics.co.uk/</link><description>A variety of articles pertaining to web development and internet marketing</description><item><title>cannot manually edit applicationhost.config</title><link>http://www.cosnetics.co.uk/articles/cannot-manually-edit-applicationhost.config/</link><pubDate>29 December 2011</pubDate><description><![CDATA[
This was a good puzzle (relates to win2008 64bit), here are the steps to replicate: 


Navigate to Windows\System32\inetsrv\config
Open Applicationhost.config in notepadd++
Make a change to file and save it
Run appcmd list config -section you changed
Note change not showing
Feel confused
...]]></description></item><item><title>must declare the scalar variable</title><link>http://www.cosnetics.co.uk/articles/must-declare-the-scalar-variable/</link><pubDate>13 December 2011</pubDate><description><![CDATA[There are two commmon reasons for this error:


The parameter is simply misspelled
When using OleDb the parameters in the SQL are to be set to ? and not @paramname



For more details on these see http://blogs.msdn.com/b/spike/archive/2010/03/03/must-declare-the-scalar-variable.aspx



B...]]></description></item><item><title>classic asp and access not working on windows 2008 64bit</title><link>http://www.cosnetics.co.uk/articles/classic-asp-and-access-not-working-on-windows-2008-64bit/</link><pubDate>05 November 2011</pubDate><description><![CDATA[
There is not a 64 bit version of Jet 4, so classic asp that used it on an older server ported over will not run on
64 bit version of IIS.


But you can get a 64 bit ms access driver in this Office 2010 download from here:


http://www.microsoft.com/download/en/details.aspx?displaylang=en&am...]]></description></item><item><title>asp.net page titles are blank</title><link>http://www.cosnetics.co.uk/articles/asp.net-page-titles-are-blank/</link><pubDate>30 September 2011</pubDate><description><![CDATA[Recently encountered this rather strange phenomenon: when using master pages and setting the page title from the aspx the title was 
was appearing blank.

Did several different tests with the title being set in the on Page_Load event and in the Page_PreRender. Tried both  Me.Page.Title and Me.Tit...]]></description></item><item><title>sql to get totals for last six months</title><link>http://www.cosnetics.co.uk/articles/sql-to-get-totals-for-last-six-months/</link><pubDate>13 September 2011</pubDate><description><![CDATA[
Straight to the point on this one


SELECT TOP 6 SUM(gross), MONTH(transactiondate), YEAR(transactiondate) FROM [orders]
GROUP BY MONTH(transactiondate), YEAR(transactiondate) 
ORDER BY YEAR(transactiondate) DESC, MONTH(transactiondate) DESC


So we are grouping by month and year, then ord...]]></description></item><item><title>white space being counted as a node</title><link>http://www.cosnetics.co.uk/articles/white-space-being-counted-as-a-node/</link><pubDate>13 September 2011</pubDate><description><![CDATA[
Just spent a few hours feeling confused and irritated as to why a particular piece of javascript had stopped working. The script in question was looking through various collections of node types e.g. all the tds in a table, then performing a function on each of the items in that collection.

One...]]></description></item><item><title>cross page posting not working</title><link>http://www.cosnetics.co.uk/articles/cross-page-posting-not-working/</link><pubDate>02 April 2011</pubDate><description><![CDATA[
Had some fun and games recently with the cross page posting facility in asp.net 2. Consider this code snippet on the page that is being posted to (page2.aspx):



If PreviousPage IsNot Nothing AndAlso PreviousPage.IsCrossPagePostBack Then          

&nbsp; Dim str As String = ""
&nbsp; Dim ...]]></description></item></channel></rss>
