<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Geekswork - Technology Blog</title>
	<atom:link href="http://geekswork.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://geekswork.wordpress.com</link>
	<description>Geek Speak... Only Technology... Only Solutions...</description>
	<lastBuildDate>Thu, 11 Dec 2008 12:34:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='geekswork.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Geekswork - Technology Blog</title>
		<link>http://geekswork.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://geekswork.wordpress.com/osd.xml" title="Geekswork - Technology Blog" />
	<atom:link rel='hub' href='http://geekswork.wordpress.com/?pushpress=hub'/>
		<item>
		<title>How to eliminate duplicate records from a database table?</title>
		<link>http://geekswork.wordpress.com/2008/12/11/how-to-eliminate-duplicate-records-from-a-database-table/</link>
		<comments>http://geekswork.wordpress.com/2008/12/11/how-to-eliminate-duplicate-records-from-a-database-table/#comments</comments>
		<pubDate>Thu, 11 Dec 2008 12:34:50 +0000</pubDate>
		<dc:creator>geekswork</dc:creator>
				<category><![CDATA[1]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Duplicate Records]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://geekswork.wordpress.com/?p=26</guid>
		<description><![CDATA[Description of the problem: A database table by name MyTable has 3 data fields MyID, MyName, MyAddress. • MyID is Identity and primary key (PK) with Int data type • MyName is a VarChar(200) data type • MyAddress is TEXT data type Accidently, the PK and Identity is removed and there are duplicate records in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=geekswork.wordpress.com&amp;blog=5784703&amp;post=26&amp;subd=geekswork&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong><em>Description of the problem:</p>
<p></em></strong>A database table by name MyTable has 3 data fields MyID, MyName, MyAddress.<br />
• MyID is Identity and primary key (PK) with Int data type<br />
• MyName is a VarChar(200) data type<br />
• MyAddress is TEXT data type</p>
<p>Accidently, the PK and Identity is removed and there are duplicate records in the table. Now we need to introduce the PK back on MyID by cleaning the database table. There are 10,000,000 records in the table and we really do not know which record has got duplicated and how many times. The focus is to eliminate duplicate records from the database table and introduce the PK back on MyID field.</p>
<p><em><strong>Solutions/Approach:</strong></em></p>
<p>• Introduce an additional column by name RecID and make it Identity column<br />
• Run the below query<br />
<span style="color:#990000;">Delete from MyTable Where RecID Not In<br />
(Select Min(RecID) from MyTable Group By MyID)</span></p>
<p><span style="text-decoration:underline;"><em>General Syntax:</em></span><br />
<span style="color:#990000;">Delete from [TableName] Where [NewIdentityCol] Not In<br />
(Select Min([NewIdentityCol]) from [TableName] Group By [ColNameHavingDuplicate])</span></p>
<p>• Remove the new column RecID<br />
• Introduce Identity and PK back on MyID field</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/geekswork.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/geekswork.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/geekswork.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/geekswork.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/geekswork.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/geekswork.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/geekswork.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/geekswork.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/geekswork.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/geekswork.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/geekswork.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/geekswork.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/geekswork.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/geekswork.wordpress.com/26/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=geekswork.wordpress.com&amp;blog=5784703&amp;post=26&amp;subd=geekswork&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://geekswork.wordpress.com/2008/12/11/how-to-eliminate-duplicate-records-from-a-database-table/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cfb4135381b4ea5506d6a95723eb34e8?s=96&#38;d=identicon" medium="image">
			<media:title type="html">geekswork</media:title>
		</media:content>
	</item>
		<item>
		<title>CDOSYS Weird Problem – The email body contains ! symbol in-between the content</title>
		<link>http://geekswork.wordpress.com/2008/12/11/cdosys-weird-problem-%e2%80%93-the-email-body-contains-symbol-in-between-the-content/</link>
		<comments>http://geekswork.wordpress.com/2008/12/11/cdosys-weird-problem-%e2%80%93-the-email-body-contains-symbol-in-between-the-content/#comments</comments>
		<pubDate>Thu, 11 Dec 2008 09:55:41 +0000</pubDate>
		<dc:creator>geekswork</dc:creator>
				<category><![CDATA[Classic ASP]]></category>
		<category><![CDATA[Mail Components]]></category>
		<category><![CDATA[! symbol]]></category>
		<category><![CDATA[CDOSYS]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[Line Break]]></category>

		<guid isPermaLink="false">http://geekswork.wordpress.com/?p=23</guid>
		<description><![CDATA[Problem: The code is simple and straight. The code builds HTML email and uses CDOSYS object to send the email to recipients. Logic is simple, build an HTML mailer string in a VBScript variable myMailBody. Assign the variable myMailBody to the HTML Body of the email using CDOSYS object and send the mailer to recipients. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=geekswork.wordpress.com&amp;blog=5784703&amp;post=23&amp;subd=geekswork&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong><em>Problem:</p>
<p></em></strong>The code is simple and straight. The code builds HTML email and uses CDOSYS object to send the email to recipients. Logic is simple, build an HTML mailer string in a VBScript variable myMailBody. Assign the variable myMailBody to the HTML Body of the email using CDOSYS object and send the mailer to recipients. But the problem starts here… <span style="text-decoration:underline;"><em>When the recipient views the mailer, S/He can see an ! symbol in-between the mailer content</em></span>.</p>
<p><em><strong>Solution:</strong></em></p>
<p>After a long research and trials found the solutions for this issue; it is bit weird but solves the issue. <span style="text-decoration:underline;"><em>The HTML mailer string built in the VBScript variable myMailBody should include <strong>&amp;VBCRLF</strong> (Line Break) on or before every 1024th character in the string. If not done, the CDOSYS object adds ! symbol in the mailer body at every 1024th character.</em></span></p>
<p>So, in case if you have the mailer body built using a variable (let us say it is in a loop), add &amp;VBCRLF at the end of the string to insert line break. This should solve the problem.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/geekswork.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/geekswork.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/geekswork.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/geekswork.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/geekswork.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/geekswork.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/geekswork.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/geekswork.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/geekswork.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/geekswork.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/geekswork.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/geekswork.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/geekswork.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/geekswork.wordpress.com/23/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=geekswork.wordpress.com&amp;blog=5784703&amp;post=23&amp;subd=geekswork&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://geekswork.wordpress.com/2008/12/11/cdosys-weird-problem-%e2%80%93-the-email-body-contains-symbol-in-between-the-content/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cfb4135381b4ea5506d6a95723eb34e8?s=96&#38;d=identicon" medium="image">
			<media:title type="html">geekswork</media:title>
		</media:content>
	</item>
		<item>
		<title>How to clear Internet Explorer Browser History from Command Line?</title>
		<link>http://geekswork.wordpress.com/2008/12/10/how-to-clear-internet-explorer-browser-history-from-command-line/</link>
		<comments>http://geekswork.wordpress.com/2008/12/10/how-to-clear-internet-explorer-browser-history-from-command-line/#comments</comments>
		<pubDate>Wed, 10 Dec 2008 12:23:30 +0000</pubDate>
		<dc:creator>geekswork</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[Browser History]]></category>
		<category><![CDATA[Clear Cookies]]></category>
		<category><![CDATA[Clear History]]></category>
		<category><![CDATA[Internet Explorer]]></category>

		<guid isPermaLink="false">http://geekswork.wordpress.com/?p=20</guid>
		<description><![CDATA[Is it possible to clear Internet Explorer Browser History from Command Line? The answer is yes, very much. You can opt to write a batch file with the set of commands discussed below. To check and use these commands, open the command prompt and copy/paste the command; and press enter to execute it. Please note [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=geekswork.wordpress.com&amp;blog=5784703&amp;post=20&amp;subd=geekswork&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Is it possible to clear Internet Explorer Browser History from Command Line? The answer is yes, very much. You can opt to write a batch file with the set of commands discussed below. To check and use these commands, open the command prompt and copy/paste the command; and press enter to execute it.</p>
<p>Please note that these commands are applicable only for IE on Windows XP or Vista.</p>
<p><em><strong>Temporary Internet Files</strong></em><br />
<span style="color:#990000;">RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 8</span></p>
<p><em><strong>Cookies</strong></em><br />
<span style="color:#990000;">RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 2</span></p>
<p><em><strong>History</strong></em><br />
<span style="color:#990000;">RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 1</span></p>
<p><em><strong>Form Data</strong></em><br />
<span style="color:#990000;">RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 16</span></p>
<p><em><strong>Passwords</strong></em><br />
<span style="color:#990000;">RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 32</span></p>
<p><em><strong>Delete All</strong></em><br />
<span style="color:#990000;">RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255</span></p>
<p><em><strong>Delete All &#8211; &#8220;Also delete files and settings stored by add-ons&#8221;</strong></em><br />
<span style="color:#990000;">RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 4351</span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/geekswork.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/geekswork.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/geekswork.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/geekswork.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/geekswork.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/geekswork.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/geekswork.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/geekswork.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/geekswork.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/geekswork.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/geekswork.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/geekswork.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/geekswork.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/geekswork.wordpress.com/20/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=geekswork.wordpress.com&amp;blog=5784703&amp;post=20&amp;subd=geekswork&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://geekswork.wordpress.com/2008/12/10/how-to-clear-internet-explorer-browser-history-from-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cfb4135381b4ea5506d6a95723eb34e8?s=96&#38;d=identicon" medium="image">
			<media:title type="html">geekswork</media:title>
		</media:content>
	</item>
		<item>
		<title>Internet Explorer &#8211; Image files is saved as .BMP for GIF/JPG formats</title>
		<link>http://geekswork.wordpress.com/2008/12/10/internet-explorer-image-files-is-saved-as-bmp-for-gifjpg-formats/</link>
		<comments>http://geekswork.wordpress.com/2008/12/10/internet-explorer-image-files-is-saved-as-bmp-for-gifjpg-formats/#comments</comments>
		<pubDate>Wed, 10 Dec 2008 12:21:00 +0000</pubDate>
		<dc:creator>geekswork</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[Content Expiry]]></category>
		<category><![CDATA[Image Files]]></category>
		<category><![CDATA[Internet Explorer]]></category>

		<guid isPermaLink="false">http://geekswork.wordpress.com/?p=18</guid>
		<description><![CDATA[Problem: The website uses all GIF and JPG format images; but in IE when the same image file saved, saves the image file in .BMP format. IE File Save As saves for all image files in .BMP format Solution: There are three reasons for the problem. o There may be damaged ActiveX or Java Objects [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=geekswork.wordpress.com&amp;blog=5784703&amp;post=18&amp;subd=geekswork&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong><em>Problem:</p>
<p></em></strong>The website uses all GIF and JPG format images; but in IE when the same image file saved, saves the image file in .BMP format.</p>
<p><span style="color:#990000;"><br />
<em>IE File Save As saves for all image files in .BMP format</em><br />
</span></p>
<p><em><strong>Solution:</strong></em></p>
<p>There are three reasons for the problem.</p>
<p>o There may be damaged ActiveX or Java Objects in the Download programs section of Internet Explorer. To resolve, remove damaged objects from Temporary Internet Files and Folders.</p>
<p>o The browser cache may be full and will need to be emptied. To resolve, clear all temporary files from the Temporary Internet Files and Folders; and free-up the cache.</p>
<p>o IIS has immediate Content Expiry applied on the website, which expires immediately the HTTP header values of the page containing the information about the image file and its format. Remove Content Expiry from the website and apply it only on the folder which require page expiry immediate.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/geekswork.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/geekswork.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/geekswork.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/geekswork.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/geekswork.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/geekswork.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/geekswork.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/geekswork.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/geekswork.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/geekswork.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/geekswork.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/geekswork.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/geekswork.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/geekswork.wordpress.com/18/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=geekswork.wordpress.com&amp;blog=5784703&amp;post=18&amp;subd=geekswork&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://geekswork.wordpress.com/2008/12/10/internet-explorer-image-files-is-saved-as-bmp-for-gifjpg-formats/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cfb4135381b4ea5506d6a95723eb34e8?s=96&#38;d=identicon" medium="image">
			<media:title type="html">geekswork</media:title>
		</media:content>
	</item>
		<item>
		<title>File Upload shoots error &#8220;Invalid Procedure Call Or Argument&#8221;</title>
		<link>http://geekswork.wordpress.com/2008/12/10/file-upload-shoots-error-invalid-procedure-call-or-argument/</link>
		<comments>http://geekswork.wordpress.com/2008/12/10/file-upload-shoots-error-invalid-procedure-call-or-argument/#comments</comments>
		<pubDate>Wed, 10 Dec 2008 08:19:51 +0000</pubDate>
		<dc:creator>geekswork</dc:creator>
				<category><![CDATA[Classic ASP]]></category>
		<category><![CDATA[double-byte character]]></category>
		<category><![CDATA[File Upload]]></category>
		<category><![CDATA[session.codepage]]></category>

		<guid isPermaLink="false">http://geekswork.wordpress.com/?p=14</guid>
		<description><![CDATA[Problem: The File upload code works fine in the local environment, but shoots error on the production server as shown below. &#60; % ……… vDataBounds = MidB(biData, nPosBegin, nPosEnd-nPosBegin) …………% &#62; Invalid Procedure Call Or Argument Solution: MID is intended for use with languages that use the single-byte character set (SBCS), whereas MIDB is intended [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=geekswork.wordpress.com&amp;blog=5784703&amp;post=14&amp;subd=geekswork&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong><em>Problem:</p>
<p></em></strong>The File upload code works fine in the local environment, but shoots error on the production server as shown below.</p>
<p><span style="color:#990000;"><br />
<em>&lt; % ………<br />
vDataBounds = MidB(biData, nPosBegin, nPosEnd-nPosBegin)<br />
…………% &gt;</p>
<p>Invalid Procedure Call Or Argument</em></span></p>
<p><em><strong>Solution:</strong></em></p>
<p>MID is intended for use with languages that use the single-byte character set (SBCS), whereas MIDB is intended for use with languages that use the double-byte character set (DBCS). The default language setting on your computer affects the return value in the following way:</p>
<p>o MID always counts each character, whether single-byte or double-byte, as 1, no matter what the default language setting is.</p>
<p>o MIDB counts each double-byte character as 2 when you have enabled the editing of a language that supports DBCS and then set it as the default language. Otherwise, MIDB counts each character as</p>
<p>Add the following code in the action page where file upload operation is done:<br />
<span style="color:#990000;"><em>&lt; % Session.CodePage = 1252 % &gt;</em></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/geekswork.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/geekswork.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/geekswork.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/geekswork.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/geekswork.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/geekswork.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/geekswork.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/geekswork.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/geekswork.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/geekswork.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/geekswork.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/geekswork.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/geekswork.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/geekswork.wordpress.com/14/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=geekswork.wordpress.com&amp;blog=5784703&amp;post=14&amp;subd=geekswork&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://geekswork.wordpress.com/2008/12/10/file-upload-shoots-error-invalid-procedure-call-or-argument/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cfb4135381b4ea5506d6a95723eb34e8?s=96&#38;d=identicon" medium="image">
			<media:title type="html">geekswork</media:title>
		</media:content>
	</item>
		<item>
		<title>IIS 6 &#8211; Enabling Web Service Extensions</title>
		<link>http://geekswork.wordpress.com/2008/12/10/iis-6-enabling-web-service-extensions/</link>
		<comments>http://geekswork.wordpress.com/2008/12/10/iis-6-enabling-web-service-extensions/#comments</comments>
		<pubDate>Wed, 10 Dec 2008 08:14:52 +0000</pubDate>
		<dc:creator>geekswork</dc:creator>
				<category><![CDATA[Classic ASP]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[Web Service Extensions]]></category>

		<guid isPermaLink="false">http://geekswork.wordpress.com/?p=12</guid>
		<description><![CDATA[To help minimize the attack surface of the server, IIS 6.0 is not installed on Windows Server 2003 by default. When you first install IIS 6.0, it is locked down — which means that only request handling for static Web pages is enabled, and only the World Wide Web Publishing Service (WWW service) is installed. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=geekswork.wordpress.com&amp;blog=5784703&amp;post=12&amp;subd=geekswork&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To help minimize the attack surface of the server, IIS 6.0 is not installed on Windows Server 2003 by default. When you first install IIS 6.0, it is locked down — which means that only request handling for static Web pages is enabled, and only the World Wide Web Publishing Service (WWW service) is installed. <span style="text-decoration:underline;"><em>None of the features that sit on top of IIS are turned on, including ASP, ASP.NET, CGI scripting, FrontPage® 2002 Server Extensions from Microsoft, and WebDAV publishing.</em></span> If you do not enable these features, IIS returns a 404 error. You can enable these features through the Web Service Extensions node in IIS Manager.</p>
<p><em><strong>When does this value require change?</strong></em></p>
<p>If you are running ASP or ASP.Net or CGI Scripting application(s) on IIS 6, you would need to allow the relevant web extensions. By default all dynamic scripts on IIS 6 are disallowed.</p>
<p>Related Web References:<br />
o <a href="http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/596ff388-bc4c-472f-b029-aea2b0418bea.mspx?mfr=true"><span style="color:#501100;">http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Libr&#8230;</span></a><br />
o <a href="http://support.microsoft.com/kb/332060"><span style="color:#501100;">http://support.microsoft.com/kb/332060</span></a></p>
<p><em><strong>How to make the Change?</strong></em></p>
<p>o Open IIS 6 and choose “<em>Web Service Extensions</em>”<br />
o The right panel will display the list of web service extensions available with its current status<br />
o Choose appropriate web extension and click on “Allow” button to enable chosen web extension</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/geekswork.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/geekswork.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/geekswork.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/geekswork.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/geekswork.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/geekswork.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/geekswork.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/geekswork.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/geekswork.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/geekswork.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/geekswork.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/geekswork.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/geekswork.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/geekswork.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=geekswork.wordpress.com&amp;blog=5784703&amp;post=12&amp;subd=geekswork&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://geekswork.wordpress.com/2008/12/10/iis-6-enabling-web-service-extensions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cfb4135381b4ea5506d6a95723eb34e8?s=96&#38;d=identicon" medium="image">
			<media:title type="html">geekswork</media:title>
		</media:content>
	</item>
		<item>
		<title>IIS 6 &#8211; Application Pool</title>
		<link>http://geekswork.wordpress.com/2008/12/10/iis-6-application-pool/</link>
		<comments>http://geekswork.wordpress.com/2008/12/10/iis-6-application-pool/#comments</comments>
		<pubDate>Wed, 10 Dec 2008 08:10:40 +0000</pubDate>
		<dc:creator>geekswork</dc:creator>
				<category><![CDATA[IIS]]></category>
		<category><![CDATA[Application Pool]]></category>
		<category><![CDATA[Website]]></category>
		<category><![CDATA[Worker Process]]></category>

		<guid isPermaLink="false">http://geekswork.wordpress.com/?p=9</guid>
		<description><![CDATA[Application Pool is a new feature introduced in IIS 6. An Application Pool can contain one or more applications and allows us to configure a level of isolation between different Web applications. For example, if you want to isolate all the Web applications running in the same computer, you can do this by creating a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=geekswork.wordpress.com&amp;blog=5784703&amp;post=9&amp;subd=geekswork&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Application Pool is a new feature introduced in IIS 6. <span style="text-decoration:underline;"><em>An Application Pool can contain one or more applications and allows us to configure a level of isolation between different Web applications</em></span>. For example, if you want to isolate all the Web applications running in the same computer, you can do this by creating a separate application pool for every Web application and placing them in their corresponding application pool. Because each application pool runs in its own worker process, errors in one application pool will not affect the applications running in other application pools. Deploying applications in application pools is a primary advantage of running IIS 6.0 in worker process isolation mode because you can customize the application pools to achieve the degree of application isolation that you need.</p>
<p><strong>Why is this required?</strong></p>
<p>If you want to isolate all the Web applications running in the same computer, you can do this by creating a separate application pool for every Web application and placing them in their corresponding application pool. Because each application pool runs in its own worker process, errors in one application pool will not affect the applications running in other application pools.</p>
<p><span style="text-decoration:underline;">Related Web References:</span><br />
o <a href="http://www.developer.com/net/asp/article.php/2245511"><span style="color:#501100;">http://www.developer.com/net/asp/article.php/2245511</span></a><br />
o <a href="http://www.windowsnetworking.com/articles_tutorials/Working-Application-Pools-Internet-Information-Server.html"><span style="color:#501100;">http://www.windowsnetworking.com/articles_tutorials/Working-Applica&#8230;</span></a></p>
<p><strong>How to create an Application Pool?</strong></p>
<p>o Open IIS 6 and choose “Application Pools”<br />
o Right click on “Application Pools” and choose “New” and then choose “Application Pool”<br />
o A new window is open asking for the Application Pool details<br />
o Give the name for the new application pool ID, for example “MyPool”<br />
o Choose the radio button “Use existing application pool as template” and choose “DefaultAppPool” from the dropdown list<br />
o Click on “Ok” button to create the Application Pool “MyPool”</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/geekswork.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/geekswork.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/geekswork.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/geekswork.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/geekswork.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/geekswork.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/geekswork.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/geekswork.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/geekswork.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/geekswork.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/geekswork.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/geekswork.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/geekswork.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/geekswork.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=geekswork.wordpress.com&amp;blog=5784703&amp;post=9&amp;subd=geekswork&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://geekswork.wordpress.com/2008/12/10/iis-6-application-pool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cfb4135381b4ea5506d6a95723eb34e8?s=96&#38;d=identicon" medium="image">
			<media:title type="html">geekswork</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL Server Permissions &#8211; Fixing Orphaned Users</title>
		<link>http://geekswork.wordpress.com/2008/12/09/sql-server-permissions-fixing-orphaned-users/</link>
		<comments>http://geekswork.wordpress.com/2008/12/09/sql-server-permissions-fixing-orphaned-users/#comments</comments>
		<pubDate>Tue, 09 Dec 2008 17:31:33 +0000</pubDate>
		<dc:creator>geekswork</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Restore Database]]></category>
		<category><![CDATA[User Permission]]></category>

		<guid isPermaLink="false">http://geekswork.wordpress.com/?p=5</guid>
		<description><![CDATA[Problem: The database backup is taken from the development environment and the BAK file is restored on the production server. On restoring the database from the BAK file, the database users with DB Owner rights are also restored along with the database. But checking the security &#62;&#62; user list in SQL server does not display [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=geekswork.wordpress.com&amp;blog=5784703&amp;post=5&amp;subd=geekswork&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><em><strong>Problem:</strong></em></p>
<p>The database backup is taken from the development environment and the BAK file is restored on the production server. On restoring the database from the BAK file, the database users with DB Owner rights are also restored along with the database. But checking the security &gt;&gt; user list in SQL server does not display these users. The SQL server does not allow deleting the users from the database manually as they own objects in the DB. SQL Server does not allow creating the DB user and assign DB Owner rights for the user to the restored DB.</p>
<p><span style="color:#090000;"><em>Cannot delete the user as it own objects in the database.</em></span></p>
<p><em><strong>Solution:</strong></em></p>
<p>The database users as explained in the problem above are called “Orphaned Users”. Run the following query in “Masters” DB to sync the Orphaned User.</p>
<p><span style="color:#090000;"><em>sp_change_users_login &#8216;auto_fix&#8217;, &#8216;User Name&#8217;</em></span></p>
<p>User Name here is the name of the orphaned database user.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/geekswork.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/geekswork.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/geekswork.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/geekswork.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/geekswork.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/geekswork.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/geekswork.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/geekswork.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/geekswork.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/geekswork.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/geekswork.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/geekswork.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/geekswork.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/geekswork.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=geekswork.wordpress.com&amp;blog=5784703&amp;post=5&amp;subd=geekswork&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://geekswork.wordpress.com/2008/12/09/sql-server-permissions-fixing-orphaned-users/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cfb4135381b4ea5506d6a95723eb34e8?s=96&#38;d=identicon" medium="image">
			<media:title type="html">geekswork</media:title>
		</media:content>
	</item>
		<item>
		<title>IIS 6 &#8211; AspMaxRequestEntityAllowed in Metabase.XML</title>
		<link>http://geekswork.wordpress.com/2008/12/08/hello-world/</link>
		<comments>http://geekswork.wordpress.com/2008/12/08/hello-world/#comments</comments>
		<pubDate>Mon, 08 Dec 2008 19:30:33 +0000</pubDate>
		<dc:creator>geekswork</dc:creator>
				<category><![CDATA[Classic ASP]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[File Upload]]></category>
		<category><![CDATA[IIS 6]]></category>
		<category><![CDATA[Metabase.XML]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[The AspMaxRequestEntityAllowed property specifies the maximum number of bytes allowed in the entity body of an ASP request. If a Content-Length header is present and specifies an amount of data greater than the value of AspMaxRequestEntityAllowed, IIS returns a 403 error response. This property is related in function to MaxRequestEntityAllowed, but is specific to ASP [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=geekswork.wordpress.com&amp;blog=5784703&amp;post=1&amp;subd=geekswork&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div class="postbody">The AspMaxRequestEntityAllowed property specifies the maximum number of bytes allowed in the entity body of an ASP request. If a Content-Length header is present and specifies an amount of data greater than the value of AspMaxRequestEntityAllowed, IIS returns a 403 error response. This property is related in function to MaxRequestEntityAllowed, but is specific to ASP request. The default value of this property in IIS6 is 200 KB.</div>
<p><strong>When does this value require change?</strong></p>
<p>If the ASP application requires transferring larger data through ASP request, the default value of 200 KB is necessarily requires a change to higher values (in bytes).</p>
<p><span style="text-decoration:underline;"><em>Related Web References:</em></span><br />
o <a href="http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/a6401b5e-c902-4035-90aa-ee46c270d357.mspx?mfr=true"><span style="color:#501100;">http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Libr&#8230;</span></a><br />
o <a href="http://support.softartisans.com/kbview_900.aspx"><span style="color:#501100;">http://support.softartisans.com/kbview_900.aspx</span></a><br />
o <a href="http://forums.aspfree.com/microsoft-iis-12/aspmaxrequestentityallowed-increasing-the-value-in-iis-6-0t-129770.html"><span style="color:#501100;">http://forums.aspfree.com/microsoft-iis-12/aspmaxrequestentityallow&#8230;</span></a></p>
<p><strong>How to make the Change?</strong></p>
<p>o To make changes in “<em>AspMaxRequestEntityAllowed</em>” property in “<em>Metbase.XML</em>” file of IIS 6, either the web server (IIS 6) has to be stopped or “Enable Direct Metabase Edit” option should be enabled to avoid web server down time</p>
<p>o To enable the option “<em>Enable Direct Metabase Edit</em>”<br />
 Open IIS 6 on the hosted server<br />
 Right click on the web server and choose “Properties”<br />
 Under the tab “Internet Information Services”, select the checkbox for “Enable Direct Metabase Edit”<br />
 Click “Apply” and then “Ok” button to update the settings</p>
<p>o Locate the “<em>Metabase.XML</em>” file in the folder “<em>c:\Windows\System32\InetSrv\</em>”</p>
<p>o Open the “Metabase.XML” file in a text editor and search for the keyword “<em>AspMaxRequestEntityAllowed</em>”</p>
<p>o Change the default value to the desired value as indicated below</p>
<p>200 KB = 200 * 1024 = 204800<br />
01 MB = 01 * 1024 * = 1024 1048576<br />
02 MB = 02 * 1024 * = 1024 2097152<br />
05 MB = 05 * 1024 * = 1024 5242880<br />
10 MB = 10 * 1024 * = 1024 10485760<br />
15 MB = 15 * 1024 * = 1024 15728640<br />
20 MB = 20 * 1024 * = 1024 20971520<br />
25 MB = 25 * 1024 * = 1024 26214400</p>
<p>o Save the “Metabase.XML” file to apply the changes in the settings</p>
<p>o Start the web server (IIS 6) if stopped; if “Enable Direct Metabase Edit” option was enabled, IIS 6 do not require a restart</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/geekswork.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/geekswork.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/geekswork.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/geekswork.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/geekswork.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/geekswork.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/geekswork.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/geekswork.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/geekswork.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/geekswork.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/geekswork.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/geekswork.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/geekswork.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/geekswork.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=geekswork.wordpress.com&amp;blog=5784703&amp;post=1&amp;subd=geekswork&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://geekswork.wordpress.com/2008/12/08/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cfb4135381b4ea5506d6a95723eb34e8?s=96&#38;d=identicon" medium="image">
			<media:title type="html">geekswork</media:title>
		</media:content>
	</item>
	</channel>
</rss>
