<?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>Well Technically...</title>
	<atom:link href="http://welltechnically.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://welltechnically.com</link>
	<description>WeBLOGing the technical experiences of Denis Vujicic aka. MrEs</description>
	<lastBuildDate>Wed, 07 Dec 2011 02:01:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='welltechnically.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Well Technically...</title>
		<link>http://welltechnically.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://welltechnically.com/osd.xml" title="Well Technically..." />
	<atom:link rel='hub' href='http://welltechnically.com/?pushpress=hub'/>
		<item>
		<title>Using DBCC SHRINKFILE to shrink the transaction log Errors with &#8216;Cannot shrink log file 2 (LogFileName) because all logical log files are in use.&#8217;</title>
		<link>http://welltechnically.com/2011/07/06/using-dbcc-shrinkfile-to-shrink-the-transaction-log-errors-with-cannot-shrink-log-file-2-logfilename-because-all-logical-log-files-are-in-use/</link>
		<comments>http://welltechnically.com/2011/07/06/using-dbcc-shrinkfile-to-shrink-the-transaction-log-errors-with-cannot-shrink-log-file-2-logfilename-because-all-logical-log-files-are-in-use/#comments</comments>
		<pubDate>Wed, 06 Jul 2011 04:24:12 +0000</pubDate>
		<dc:creator>welltechnically</dc:creator>
				<category><![CDATA[SHRINKFILE]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[transaction log]]></category>
		<category><![CDATA[LSN]]></category>
		<category><![CDATA[OPENTRAN]]></category>
		<category><![CDATA[SP_ReplicationDbOption]]></category>

		<guid isPermaLink="false">http://welltechnically.com/?p=66</guid>
		<description><![CDATA[I recently had (relatively small, 4gb) database blow out with a transaction file of 160gb+. No matter what I tried I couldn&#8217;t truncate the logs and as a result I couldn&#8217;t shrink the file. Whenever I tried to run a DBCC SHRINKFILE to shrink the transaction log. SQL would error after a short time with &#8216;Cannot [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=welltechnically.com&amp;blog=9682009&amp;post=66&amp;subd=welltechnically&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I recently had (relatively small, 4gb) database blow out with a transaction file of 160gb+. No matter what I tried I couldn&#8217;t truncate the logs and as a result I couldn&#8217;t shrink the file. Whenever I tried to run a <em><strong>DBCC SHRINKFILE</strong></em> to shrink the transaction log. SQL would error after a short time with &#8216;Cannot shrink log file 2 (LogFileName) because all logical log files are in use.&#8217;</p>
<p>I recently solved this issue and it was a doozy; I found that in sys.databases, log_reuse_wait_desc was equal to &#8216;replication&#8217;. Apparently this means something to the effect of SQL Server waiting for a replication task to finish before it can reuse the log space.</p>
<p>So we fire the following query to find the cause of the Transaction Log growth and observe the following</p>
<p lang="en-IN"><em><strong>select log_reuse_wait_desc,name from sys.databases</strong></em></p>
<p style="padding-left:30px;"><em>log_reuse_wait_desc                                          name</em></p>
<p style="padding-left:30px;"><em>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;-</em></p>
<p style="padding-left:30px;"><em>REPLICATION                                                                             test</em></p>
<p>And to our surprise the log_reuse_wait_desc column reflects REPLICATION for a particular database, however replication had never been used on our DB nor on our server.</p>
<p>So to confirm this we fire the DBCC OPENTRAN which gives the undistributed LSN for the Transaction log and we get an undistributed LSN value as shown below</p>
<p lang="en-IN"><em><strong>DBCC OPENTRAN(13) </strong></em></p>
<p style="padding-left:30px;" lang="en-IN"><em> Transaction information for database &#8216;test’.</em></p>
<p style="padding-left:30px;" lang="en-IN"><em>Replicated Transaction Information:</em></p>
<p style="padding-left:30px;" lang="en-IN"><em>        Oldest distributed LSN     : (0:0:0)</em></p>
<p style="padding-left:30px;" lang="en-IN"><em>        Oldest non-distributed LSN : (43831:51:1)</em></p>
<p style="padding-left:30px;" lang="en-IN"><em>DBCC execution completed. If DBCC printed error messages, contact your system administrator.</em></p>
<p>So this confirms that above undistributed transaction is causing the Log Growth</p>
<p>Now in theory, you should be able to clear the state by running &#8216;sp_removedbreplication&#8217;; however for me &#8216;sp_removedbreplication&#8217; didn&#8217;t solve the issue. Instead SQL just returned saying that the Database wasn&#8217;t part of a replication&#8230;</p>
<p>I found my answer here:</p>
<p>* <a title="http://www.sql-server-performance.com/forum/threads/log-file-fails-to-truncate.25410/" href="http://www.sql-server-performance.com/forum/threads/log-file-fails-to-truncate.25410/" target="_blank">http://www.sql-server-performance.com/forum/threads/log-file-fails-to-truncate.25410/</a><br />
* <a title="http://blogs.msdn.com/b/sqlserverfaq/archive/2009/06/01/size-of-the-transaction-log-increasing-and-cannot-be-truncated-or-shrinked-due-to-snapshot-replication.aspx" href="http://blogs.msdn.com/b/sqlserverfaq/archive/2009/06/01/size-of-the-transaction-log-increasing-and-cannot-be-truncated-or-shrinked-due-to-snapshot-replication.aspx" target="_blank">http://blogs.msdn.com/b/sqlserverfaq/archive/2009/06/01/size-of-the-transaction-log-increasing-and-cannot-be-truncated-or-shrinked-due-to-snapshot-replication.aspx</a></p>
<p>Basically I had to create a replication, reset all of the replication pointers to Zero; then delete the replication I had just made.<br />
i.e.</p>
<blockquote><p><code>Execute SP_ReplicationDbOption {DBName},Publish,true,1<br />
GO<br />
Execute sp_repldone @xactid = NULL, @xact_segno = NULL, @numtrans = 0, @time = 0, @reset = 1<br />
GO<br />
DBCC ShrinkFile({LogFileName},0)<br />
GO<br />
Execute SP_ReplicationDbOption {DBName},Publish,false,1<br />
GO</code></p></blockquote>
<p>And I hope that this helps somebody else out there!</p>
<br />Filed under: <a href='http://welltechnically.com/category/shrinkfile/'>SHRINKFILE</a>, <a href='http://welltechnically.com/category/sql/'>SQL</a>, <a href='http://welltechnically.com/category/transaction-log/'>transaction log</a> Tagged: <a href='http://welltechnically.com/tag/lsn/'>LSN</a>, <a href='http://welltechnically.com/tag/opentran/'>OPENTRAN</a>, <a href='http://welltechnically.com/tag/shrinkfile/'>SHRINKFILE</a>, <a href='http://welltechnically.com/tag/sp_replicationdboption/'>SP_ReplicationDbOption</a>, <a href='http://welltechnically.com/tag/sql/'>SQL</a>, <a href='http://welltechnically.com/tag/transaction-log/'>transaction log</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/welltechnically.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/welltechnically.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/welltechnically.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/welltechnically.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/welltechnically.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/welltechnically.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/welltechnically.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/welltechnically.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/welltechnically.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/welltechnically.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/welltechnically.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/welltechnically.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/welltechnically.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/welltechnically.wordpress.com/66/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=welltechnically.com&amp;blog=9682009&amp;post=66&amp;subd=welltechnically&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://welltechnically.com/2011/07/06/using-dbcc-shrinkfile-to-shrink-the-transaction-log-errors-with-cannot-shrink-log-file-2-logfilename-because-all-logical-log-files-are-in-use/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/914783020ba11b846ea80e0247eecbde?s=96&#38;d=wavatar&#38;r=PG" medium="image">
			<media:title type="html">MrEs</media:title>
		</media:content>
	</item>
		<item>
		<title>Visual Studio 2008 &#8211; SignTool reported an error SignTool Error: Signtool requires CAPICOM version 2.1.0.1 or higher. Windows 7 and regsvr32.</title>
		<link>http://welltechnically.com/2009/12/31/visual-studio-2008-signtool-reported-an-error-signtool-error-signtool-requires-capicom-version-2-1-0-1-or-higher-windows-7-regsvr32/</link>
		<comments>http://welltechnically.com/2009/12/31/visual-studio-2008-signtool-reported-an-error-signtool-error-signtool-requires-capicom-version-2-1-0-1-or-higher-windows-7-regsvr32/#comments</comments>
		<pubDate>Thu, 31 Dec 2009 06:12:02 +0000</pubDate>
		<dc:creator>welltechnically</dc:creator>
				<category><![CDATA[CAPICOM]]></category>
		<category><![CDATA[regsvr32]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[SignTool]]></category>

		<guid isPermaLink="false">http://welltechnically.com/?p=56</guid>
		<description><![CDATA[Today I ran into an interesting error while trying to deploy a new version of a ClickOnce application that I maintain. When publishing my solution from Visual Studio 2008 (9) the following error would occur: SignTool reported an error SignTool Error: Signtool requires CAPICOM version 2.1.0.1 or higher. Please copy the latest version of CAPICOM.dll [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=welltechnically.com&amp;blog=9682009&amp;post=56&amp;subd=welltechnically&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today I ran into an interesting error while trying to deploy a new version of a ClickOnce application that I maintain. When publishing my solution from Visual Studio 2008 (9) the following error would occur:</p>
<blockquote><p><strong>SignTool reported an error SignTool Error: Signtool requires CAPICOM version 2.1.0.1 or higher. Please copy the latest version of CAPICOM.dll into the directory that contains SignTool.exe. If CAPICOM.dll exists, you may not have proper permissions to install CAPICOM.<br />
Follow these steps</strong></p></blockquote>
<p>The weird part was that I hadn&#8217;t change anything sine my last deployment and my solution would still build!</p>
<p>So, a quick google showed nothing much of interest until I found this page: <a title="VS2005 - Signtool requires CAPICOM version 2.1.0.1" href="http://geekswithblogs.net/hinshelm/archive/2007/02/07/105684.aspx">http://geekswithblogs.net/hinshelm/archive/2007/02/07/105684.aspx</a></p>
<p>However that wasn&#8217;t the complete solution as Windows 7 should be using CAPICOM 2.1.0.3; additionally I was on a 64bit version of the operating system. Luckily I found the location where Visual Studio 2008 holds it Capcom.dll by default (<em>C:\Program Files (x86)\Common Files\microsoft shared\CAPICOM\</em>); so with this knowledge, I was able to fix my issues with the following steps:</p>
<ul>
<li><strong>COPY </strong><em>C:\Program Files (x86)\Common Files\microsoft shared\CAPICOM\CapiCom.dll</em> <strong>TO </strong><em>C:\Windows\SysWOW64</em></li>
<li>Then simply run a command prompt as an administrator, navigate to <em>\windows\system32\</em> and run the RegSrv command:<em><strong> regsrv32.exe capicom.dll</strong></em></li>
</ul>
<p>I&#8217;ve got no idea what caused this issue, but hopefully this helps other because I wasn&#8217;t able to find a complete solution elsewhere on the internet</p>
<br />Posted in CAPICOM, regsvr32, Visual Studio, Windows 7 Tagged: CAPICOM, regsvr32, SignTool, Windows 7 <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/welltechnically.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/welltechnically.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/welltechnically.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/welltechnically.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/welltechnically.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/welltechnically.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/welltechnically.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/welltechnically.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/welltechnically.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/welltechnically.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/welltechnically.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/welltechnically.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/welltechnically.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/welltechnically.wordpress.com/56/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=welltechnically.com&amp;blog=9682009&amp;post=56&amp;subd=welltechnically&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://welltechnically.com/2009/12/31/visual-studio-2008-signtool-reported-an-error-signtool-error-signtool-requires-capicom-version-2-1-0-1-or-higher-windows-7-regsvr32/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/914783020ba11b846ea80e0247eecbde?s=96&#38;d=wavatar&#38;r=PG" medium="image">
			<media:title type="html">MrEs</media:title>
		</media:content>
	</item>
		<item>
		<title>MaxLength for DevExpress GridColumn or TextEdit components</title>
		<link>http://welltechnically.com/2009/11/13/maxlength-for-devexpress-gridcolumn-or-textedit-components/</link>
		<comments>http://welltechnically.com/2009/11/13/maxlength-for-devexpress-gridcolumn-or-textedit-components/#comments</comments>
		<pubDate>Fri, 13 Nov 2009 01:04:53 +0000</pubDate>
		<dc:creator>welltechnically</dc:creator>
				<category><![CDATA[DevExpress]]></category>
		<category><![CDATA[GridColumn]]></category>
		<category><![CDATA[GridControl]]></category>
		<category><![CDATA[GridView]]></category>
		<category><![CDATA[MaxLength]]></category>

		<guid isPermaLink="false">http://welltechnically.com/?p=46</guid>
		<description><![CDATA[We use and ♥ DevExpress controls! In WinForms, in ASP.net, in WPF, in anything! But every now and then you come across something that should be very simple to do, but it just isn&#8217;t so. So you just have to do things the hard way&#8230; this consumes time (to develop), this add complexity (to reading, understanding [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=welltechnically.com&amp;blog=9682009&amp;post=46&amp;subd=welltechnically&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>We use and ♥  DevExpress controls! In WinForms, in ASP.net, in WPF, in anything!</p>
<p>But every now and then you come across something that should be very simple to do, but it just isn&#8217;t so. So you just have to do things the hard way&#8230; this consumes time (to develop), this add complexity (to reading, understanding and debugging) and it adds noise (to the real logic and code).</p>
<p>One such little quirk that I&#8217;ve hit was that the GridColumn&#8217;s on the DevExpress GridControl/GridView have no way to set a MaxLength on the field. This is because they do not actually support editing but rather inherit this capability from a default BaseEdit instance within the cell.</p>
<p>The trick is then to grab this BaseEdit for the cell you want and set its MaxLength. The simplest and fastest was to do this is by using the GridView ShownEditor event as shown in this simple example.</p>
<pre>    private void gridViewItemList_ShownEditor(object sender, EventArgs e)
    {
        BaseEdit edit = ((BaseView) sender).ActiveEditor;
        GridView view = sender as GridView;

        if (view != null &amp;&amp; edit is TextEdit)
        {
            switch (view.FocusedColumn.FieldName)
            {
                case "Reorder":
                case "Code":
                    (edit as TextEdit).Properties.MaxLength = 25;
                    break;
                case "Alias":
                    (edit as TextEdit).Properties.MaxLength = 20;
                    break;
                case "Description":
                    (edit as TextEdit).Properties.MaxLength = 50;
                    break;

            }
        }
    }
</pre>
<p>Hopefully this helps as the alternative common approach is to create a repositoryItemTextEdit for each column, assign it to the column and then set up your repositoryItemTextEdit to behave the way you like, not nice if you have a few dozen columns !</p>
<br />Posted in DevExpress Tagged: DevExpress, GridColumn, GridControl, GridView, MaxLength <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/welltechnically.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/welltechnically.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/welltechnically.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/welltechnically.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/welltechnically.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/welltechnically.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/welltechnically.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/welltechnically.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/welltechnically.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/welltechnically.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/welltechnically.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/welltechnically.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/welltechnically.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/welltechnically.wordpress.com/46/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=welltechnically.com&amp;blog=9682009&amp;post=46&amp;subd=welltechnically&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://welltechnically.com/2009/11/13/maxlength-for-devexpress-gridcolumn-or-textedit-components/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/914783020ba11b846ea80e0247eecbde?s=96&#38;d=wavatar&#38;r=PG" medium="image">
			<media:title type="html">MrEs</media:title>
		</media:content>
	</item>
		<item>
		<title>Install Windows 7 from a Bootable USB Drive with a quick utility/tool</title>
		<link>http://welltechnically.com/2009/10/12/install-windows-7-from-a-bootable-usb-drive/</link>
		<comments>http://welltechnically.com/2009/10/12/install-windows-7-from-a-bootable-usb-drive/#comments</comments>
		<pubDate>Mon, 12 Oct 2009 10:16:52 +0000</pubDate>
		<dc:creator>welltechnically</dc:creator>
				<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[bootable]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[USB]]></category>

		<guid isPermaLink="false">http://welltechnically.wordpress.com/?p=28</guid>
		<description><![CDATA[Fred Health sent myself and a few of our other developers over to TechEd here in Australia. During our time at TechEd I went to a fun little session held by Andrew Dugdell titled, Windows 7 After Hours &#8211; Everything Microsoft put in there for you and not the company. During this session Andrew pointed [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=welltechnically.com&amp;blog=9682009&amp;post=28&amp;subd=welltechnically&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Fred Health sent myself and a few of our other developers over to TechEd here in Australia. During our time at TechEd I went to a fun little session held by Andrew Dugdell titled, <em>Windows 7 After Hours &#8211; Everything Microsoft put in there for you and not the company</em>.</p>
<p>During this session Andrew pointed us in the direction of a little tool that will allow you to create a Bootable USB drive that you can install Windows 7 off of. This comes in handy when you have dozens of installations to do and in our case at Fred Health, when you have a custom built Windows 7 installation built using the <a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=696dd665-9f76-4177-a811-39c26d3b3b34"> WAIK</a>.</p>
<p>One of my colleagues  was not able to  find this little tool on the net without actually going back through the presentation! So I thought I&#8217;d post some quick info here&#8230;</p>
<p><a title="A Bootable USB: Utility to Create Bootable USB Drive to Install Windows Vista, Server 2008 and 7" href="http://www.askvg.com/a-bootable-usb-utility-to-create-bootable-usb-drive-to-install-windows-vista-server-2008-and-7/" target="_self"><strong>A Bootable USB: Utility to Create Bootable USB Drive to Install Windows Vista, Server 2008 and 7</strong></a></p>
<p>A few other important things do know about building a bootable USB Windows 7 installation drive.</p>
<ul>
<li>Windows 7 ‘has all the bits’ for all of the versions (This includes the anytime upgrade)</li>
<li><a title="How to install any version (or SKU) of Windows 7" href="http://windows7center.com/news/how-to-install-any-version-or-sku-of-windows-7/" target="_blank">Simply deleting the “ei.cfg” on your USB key file will allow you to choose the version</a></li>
<li>USB keys with solid read (25MB/s) will rocket through</li>
</ul>
<br />Posted in Windows 7 Tagged: bootable, installation, USB, Windows 7 <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/welltechnically.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/welltechnically.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/welltechnically.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/welltechnically.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/welltechnically.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/welltechnically.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/welltechnically.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/welltechnically.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/welltechnically.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/welltechnically.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/welltechnically.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/welltechnically.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/welltechnically.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/welltechnically.wordpress.com/28/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=welltechnically.com&amp;blog=9682009&amp;post=28&amp;subd=welltechnically&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://welltechnically.com/2009/10/12/install-windows-7-from-a-bootable-usb-drive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/914783020ba11b846ea80e0247eecbde?s=96&#38;d=wavatar&#38;r=PG" medium="image">
			<media:title type="html">MrEs</media:title>
		</media:content>
	</item>
		<item>
		<title>How to launch Visual Studio as Administrator from a Solution file with UAC in Windows 7</title>
		<link>http://welltechnically.com/2009/10/06/how-to-launch-visual-studio-as-administrator-from-a-solution-file-with-uac-in-windows-7/</link>
		<comments>http://welltechnically.com/2009/10/06/how-to-launch-visual-studio-as-administrator-from-a-solution-file-with-uac-in-windows-7/#comments</comments>
		<pubDate>Tue, 06 Oct 2009 02:04:46 +0000</pubDate>
		<dc:creator>welltechnically</dc:creator>
				<category><![CDATA[UAC]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Administrator]]></category>
		<category><![CDATA[User Account Control]]></category>

		<guid isPermaLink="false">http://welltechnically.wordpress.com/?p=13</guid>
		<description><![CDATA[Fred Health is currently in the process of deploying Windows 7 to all of our office machines, including our development environments. And with the upgrade to Windows 7 we&#8217;re actually going to TRY and keep UAC on. Most of our software runs services (e.g. a self hosted WCF service), so visual studio needs to be [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=welltechnically.com&amp;blog=9682009&amp;post=13&amp;subd=welltechnically&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Fred Health is currently in the process of deploying Windows 7 to all of our office machines, including our development environments. And with the upgrade to Windows 7 we&#8217;re actually going to TRY and keep UAC on.</p>
<p>Most of our software runs services (e.g. a self hosted WCF service), so visual studio needs to be running as administrator (at least in Win7). With UAC on the only way you can accomplish this is to right click on Visual Studio, select ‘run as administrator’ and then open the Project/Solution from within Visual Studio.</p>
<p><em><strong><br />
</strong></em></p>
<p>This sucks because personally I like to be able to find the ‘solution file’ on my computer and simply double click on it.<br />
So to get Administrator elevation every time you launch VS, you need to change the ‘<em><strong>compatibility setting</strong></em>’ by:<br />
•    Right clicking on <em><strong>C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe</strong></em><br />
•    Then selecting <em><strong>Properties</strong></em>, selecting the <em><strong>Compatibility </strong></em>tab, and then checking the box <em><strong>‘Run this program as an Administrator’</strong></em></p>
<p><em><strong><br />
</strong></em></p>
<p>Now the second part is where the trick is, because the ‘solution file’ doesn’t actually launch VS itself, but rather a ‘<strong>VS Version Check Launcher</strong>’&#8230; which in turn launches VS<br />
So to fix this:<br />
•    Right click on <em><strong>C:\Program Files (x86)\Common Files\microsoft shared\MSEnv\VSLauncher.exe</strong></em><br />
•    Select <em><strong>Properties</strong></em>, select the <em><strong>Compatibility </strong></em>tab, and check the box <em><strong>‘Run this program as an Administrator’</strong></em></p>
<p><em><strong><br />
</strong></em></p>
<p>Hey presto&#8230; Now you can launch visual studio from your solution file, with UAC, and have the administrator elevation screen appear<em><strong>!<br />
</strong></em></p>
<br />Posted in UAC, Visual Studio, Windows 7 Tagged: Administrator, UAC, User Account Control, Visual Studio, Windows 7 <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/welltechnically.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/welltechnically.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/welltechnically.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/welltechnically.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/welltechnically.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/welltechnically.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/welltechnically.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/welltechnically.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/welltechnically.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/welltechnically.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/welltechnically.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/welltechnically.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/welltechnically.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/welltechnically.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=welltechnically.com&amp;blog=9682009&amp;post=13&amp;subd=welltechnically&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://welltechnically.com/2009/10/06/how-to-launch-visual-studio-as-administrator-from-a-solution-file-with-uac-in-windows-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/914783020ba11b846ea80e0247eecbde?s=96&#38;d=wavatar&#38;r=PG" medium="image">
			<media:title type="html">MrEs</media:title>
		</media:content>
	</item>
		<item>
		<title>Hello world!</title>
		<link>http://welltechnically.com/2009/09/28/hello-world/</link>
		<comments>http://welltechnically.com/2009/09/28/hello-world/#comments</comments>
		<pubDate>Sun, 27 Sep 2009 16:50:15 +0000</pubDate>
		<dc:creator>welltechnically</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Denis Vujicic]]></category>
		<category><![CDATA[Fred Health]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Welcome to Well Technically, Well Technically is a blog about my experiences, hardships, and wins as an IT professional. Although my role is technically a &#8216;Developer&#8217;; I am also a Domain Administrator at my place of work, Fred Health. This means I do everything from configure firewalls, fix printers, manage the LDAP (Active Directory), and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=welltechnically.com&amp;blog=9682009&amp;post=1&amp;subd=welltechnically&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Welcome to <span style="color:#ff6600;"><em>Well Technically,</em></span></p>
<p><em>Well Technically</em> is a blog about my experiences, hardships, and wins as an IT professional. Although my role is technically a &#8216;Developer&#8217;; I am also a Domain Administrator at my place of work, <a title="Fred Health" href="http://www.fred.com.au" target="_blank">Fred Health.</a> This means I do everything from configure firewalls, fix printers, manage the LDAP (Active Directory), and administrate Microsoft Exchange; to actually doing my job of writing software.</p>
<p>Fred Health is based in Australia and specialises in the wants, needs and whims of the pharmaceutical industry. Fred Health packs a very big punch for its size and is a Certified Microsoft Gold Partner&#8230; this means I get to play with all the latest cool toys <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />Posted in Uncategorized Tagged: Denis Vujicic, Fred Health <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/welltechnically.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/welltechnically.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/welltechnically.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/welltechnically.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/welltechnically.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/welltechnically.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/welltechnically.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/welltechnically.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/welltechnically.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/welltechnically.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/welltechnically.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/welltechnically.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/welltechnically.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/welltechnically.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=welltechnically.com&amp;blog=9682009&amp;post=1&amp;subd=welltechnically&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://welltechnically.com/2009/09/28/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/914783020ba11b846ea80e0247eecbde?s=96&#38;d=wavatar&#38;r=PG" medium="image">
			<media:title type="html">MrEs</media:title>
		</media:content>
	</item>
	</channel>
</rss>
