<?xml version="1.0" encoding="utf-8"?>
<feed xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xml:lang="en-us" xmlns="http://www.w3.org/2005/Atom">
  <title>My Fried Tech!</title>
  <link rel="alternate" type="text/html" href="http://www.myfriedmind.com/techBlog/" />
  <link rel="self" href="http://www.myfriedmind.com/techBlog/SyndicationService.asmx/GetAtom" />
  <icon>favicon.ico</icon>
  <updated>2010-08-17T11:44:14.3107105-05:00</updated>
  <author>
    <name>Matt Mcknight</name>
  </author>
  <subtitle>oddities from my work</subtitle>
  <id>http://www.myfriedmind.com/techBlog/</id>
  <generator uri="http://dasblog.info/" version="2.3.9074.18820">DasBlog</generator>
  <entry>
    <title>Sharepoint OWA Webparts Prompting for Username And Password</title>
    <link rel="alternate" type="text/html" href="http://www.myfriedmind.com/techBlog/2010/08/17/SharepointOWAWebpartsPromptingForUsernameAndPassword.aspx" />
    <id>http://www.myfriedmind.com/techBlog/PermaLink,guid,732b2e19-45e1-4b53-8831-a60f74eacd3e.aspx</id>
    <published>2010-08-17T09:07:49.7589593-05:00</published>
    <updated>2010-08-17T09:07:49.7589593-05:00</updated>
    <category term="Sharepoint 2007" label="Sharepoint 2007" scheme="http://www.myfriedmind.com/techBlog/CategoryView,category,Sharepoint2007.aspx" />
    <category term="Sharepoint 2010" label="Sharepoint 2010" scheme="http://www.myfriedmind.com/techBlog/CategoryView,category,Sharepoint2010.aspx" />
    <author>
      <name>papabear</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
If you want to use OWA webparts with Integrated Authentication or Basic and have it
default to the user that is logged on, the steps are simple - leave the username blank
(see below).
</p>
        <p>
          <img src="http://www.myfriedmind.com/techBlog/content/binary/mailConfiguration.gif" style="margin-left: 30px;" border="0" />
        </p>
        <p>
But if you have done that you may be surprised to find that it continually prompts
you to log in on that page EVEN THOUGH YOU ARE ALREADY logged on. 
<br /></p>
        <p>
          <img src="http://www.myfriedmind.com/techBlog/content/binary/loginPrompt.gif" style="margin-left: 30px;" border="0" />
        </p>
        <p>
Not putting in the info gives you a beautiful 401 error: 
</p>
        <p>
          <img src="http://www.myfriedmind.com/techBlog/content/binary/401Error.gif" style="margin-left: 30px;" border="1" />
        </p>
        <p>
Luckily the resolution is simple. 
<br /></p>
        <p>
What you want is that you will be logged on to the mail server with the current user
name and password. But if you open up the security settings on your browser you will
find out that this is not the option.
</p>
        <p>
          <img src="http://www.myfriedmind.com/techBlog/content/binary/logonwithuandp.gif" style="margin-left: 30px;" border="0" />
        </p>
        <p>
There are two ways to resolve this - both involve changing the setting. You can either
change the zone that it defaults to (ie make Local Intranet always do 'Automatic logon
with current user name and password') or you can put the mail server in the Trusted
Zones.
</p>
        <p>
I like the latter. 
<br /></p>
        <p>
Go into the Securities tab, click on 'Trusted Sites' icon and then click on the 'Sites'
button.
</p>
        <p>
          <img src="http://www.myfriedmind.com/techBlog/content/binary/trustedSitesTab.gif" style="margin-left: 30px;" border="0" />
          <br />
        </p>
        <p>
Once you are in there you can add the FQDN of the mail server (since you will be using
its cert)...
</p>
        <p>
          <img src="http://www.myfriedmind.com/techBlog/content/binary/trustedSite.gif" style="margin-left: 30px;" border="0" />
        </p>
        <p>
Voila!!! 
</p>
        <p>
Note: if you want to do this on a larger scale I would suggest you turn to your handy-dandy
Group Policy editor. You can find what you are looking for User Configuration / Windows
Settings. I will leave the rest of the steps up to you...<br /></p>
        <img src="http://www.myfriedmind.com/techBlog/content/binary/gpIESites.gif" style="margin-left: 30px;" border="0" />
        <img width="0" height="0" src="http://www.myfriedmind.com/techBlog/aggbug.ashx?id=732b2e19-45e1-4b53-8831-a60f74eacd3e" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Unable to connect via Remote Desktop to Windows 2008 server</title>
    <link rel="alternate" type="text/html" href="http://www.myfriedmind.com/techBlog/2010/08/03/UnableToConnectViaRemoteDesktopToWindows2008Server.aspx" />
    <id>http://www.myfriedmind.com/techBlog/PermaLink,guid,14097a04-1beb-43fd-b763-5f236ac8f58b.aspx</id>
    <published>2010-08-03T15:50:12.2141265-05:00</published>
    <updated>2010-08-03T15:50:12.2141265-05:00</updated>
    <category term="Windows 2008" label="Windows 2008" scheme="http://www.myfriedmind.com/techBlog/CategoryView,category,Windows2008.aspx" />
    <author>
      <name>papabear</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
I could not remote desktop to one of my servers so I actually had to get up and walk
over to it. 
<br /></p>
        <p>
Sheesh!
</p>
        <p>
I had the firewall already happy, had Remote Desktop enabled. Luckily, the solution
was fairly easy to fix. The server was part of a cluster and it had the network connection
listed as Public, not Work. If this happens to you, simply open up the Network and
Sharing Center, right click on the appropriate 'active network' and select Work.
</p>
        <p>
My favorite bit in the description for Work network is "Don't choose this for public
places such as coffee shops or airports." Hey, but what if I work there???<br /></p>
        <p>
          <img src="http://www.myfriedmind.com/techBlog/content/binary/publicNetwork.jpg" border="0" />
        </p>
        <img width="0" height="0" src="http://www.myfriedmind.com/techBlog/aggbug.ashx?id=14097a04-1beb-43fd-b763-5f236ac8f58b" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Error 80070643 installing KB  974417 on Windows XP</title>
    <link rel="alternate" type="text/html" href="http://www.myfriedmind.com/techBlog/2010/07/06/Error80070643InstallingKB974417OnWindowsXP.aspx" />
    <id>http://www.myfriedmind.com/techBlog/PermaLink,guid,c51ed953-6ccf-49d2-8b6b-12828c40776d.aspx</id>
    <published>2010-07-06T14:03:14.3050327-05:00</published>
    <updated>2010-07-06T14:03:14.3050327-05:00</updated>
    <category term="WSUS" label="WSUS" scheme="http://www.myfriedmind.com/techBlog/CategoryView,category,WSUS.aspx" />
    <category term="XP" label="XP" scheme="http://www.myfriedmind.com/techBlog/CategoryView,category,XP.aspx" />
    <author>
      <name>papabear</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
First off, I apologize for the lack of pictures. I find they make explanations easier.
Unfortunately I resolved this months ago and so all my pictures have been mislaid...<br /></p>
        <p>
Trying to push out KB 974417 a while back I noticed that certain machines were getting
an error. A lot of research via the web uncovered that the issue lay in the fact that
those machines had KB 976569 already installed. For some reason this later, not critical
update (only important) was preventing KB 974417 from installing. This can happen
when a machine is running a variety of updates and gets the order off.<br /></p>
        <p>
The solution was fairly simple - you just needed to UNINSTALL KB 976569 and INSTALL
974417 and you would be fine. The problem is that you can not UNINSTALL KB 976569
via WSUS. You get a little notification that it can not be selected for uninstall.
The probable reason is that it is part of a .net 2.0 update and other updates follow
after. So you have to manually uninstall it, or some such.
</p>
        <p>
One of the nice things about WSUS (and also a rather scary security question) is that
it runs with higher privileges, which it needs to install the updates. As a result
if you have locked users out from installing software willy-nilly (technical term)
than you run into a problem when you try to uninstall in that you need to give them
the same permissions.
</p>
        <p>
Okay, let's start at the beginning - I won't bore you with all the different permutations
I went through in determining my final process - I was writing code to wrap the uninstall
in a security wrapper, etc, etc. I will take you to what I did and you can decide
for yourself if this is how you want to do it.
</p>
        <ul>
          <li>
Note #1 - use MSIExec to uninstall the package. Critical note, you can not specify
the package itself (since this is an update to .net) you need to specify the GUID
of .net and then the GUID of the package itself. Like so: 
<br />
msiexec /package {C09FB3CD-3D0C-3F2D-899A-6A1D67F2073F} /uninstall {621253FA-14E8-34AB-82B3-22590E6A961A}
/passive</li>
          <li>
Note #2 - I wrapped the MSIExec in a little C# program I used to bump up the perms
- basically I used the ability of ProcessStartInfo to pass in a username and password
(thanks to David Hayden's nice post on this). I will expand on that in another post
if someone asks. I had the dickens of a time (another technical term) using Runas
which might seem the more obvious way to go for you non-programmers, but never could
get it to work. This was quick and dirty for me.</li>
          <li>
Note #3 - I stuck the C# program (called RemoveKB976569.exe) out on Netlogon and used
schtasks to remotely create a timed task to run on whatever remote computer I wanted
to affect. Like so:<br />
schtasks /create /s \\&lt;computername&gt; /RU &lt;adminUsername&gt; /RP &lt;adminPassword&gt;
/TN RemoveKB /TR &lt;domainControllerNetlogonPath&gt;\RemoveKB976569.exe /SC ONCE
/ST &lt;timeToRunTasks&gt; /V1</li>
        </ul>
        <p>
Now, granted, you could touch every box if you wanted to. This was my attempt not
to have to. Complicated, yes. Successful, yes.
</p>
        <p>
Have fun...<br /></p>
        <img width="0" height="0" src="http://www.myfriedmind.com/techBlog/aggbug.ashx?id=c51ed953-6ccf-49d2-8b6b-12828c40776d" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Moving System Databases in sql 2008</title>
    <link rel="alternate" type="text/html" href="http://www.myfriedmind.com/techBlog/2010/06/25/MovingSystemDatabasesInSql2008.aspx" />
    <id>http://www.myfriedmind.com/techBlog/PermaLink,guid,338f7be8-6723-4849-afd5-30eeb9eb0035.aspx</id>
    <published>2010-06-25T09:52:37.706-05:00</published>
    <updated>2010-06-24T09:52:37.7068662-05:00</updated>
    <category term="Sql" label="Sql" scheme="http://www.myfriedmind.com/techBlog/CategoryView,category,Sql.aspx" />
    <category term="Sql 2008" label="Sql 2008" scheme="http://www.myfriedmind.com/techBlog/CategoryView,category,Sql2008.aspx" />
    <author>
      <name>papabear</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
I stumbled across this - <a href="http://deepakrangarajan.blogspot.com/2008/11/moving-system-databases-in-sql-server.html">http://deepakrangarajan.blogspot.com/2008/11/moving-system-databases-in-sql-server.html.</a></p>
        <p>
          <a href="http://deepakrangarajan.blogspot.com/2008/11/moving-system-databases-in-sql-server.html">:)<br /></a>
        </p>
        <img width="0" height="0" src="http://www.myfriedmind.com/techBlog/aggbug.ashx?id=338f7be8-6723-4849-afd5-30eeb9eb0035" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Sql 2008 'truncate_only' is not a recognized BACKUP option.</title>
    <link rel="alternate" type="text/html" href="http://www.myfriedmind.com/techBlog/2010/06/24/Sql2008TruncateonlyIsNotARecognizedBACKUPOption.aspx" />
    <id>http://www.myfriedmind.com/techBlog/PermaLink,guid,c2d85130-7467-4578-9b16-a58ad2c13330.aspx</id>
    <published>2010-06-24T08:38:55.9509654-05:00</published>
    <updated>2010-06-24T08:38:55.9509654-05:00</updated>
    <category term="Sql" label="Sql" scheme="http://www.myfriedmind.com/techBlog/CategoryView,category,Sql.aspx" />
    <category term="Sql 2008" label="Sql 2008" scheme="http://www.myfriedmind.com/techBlog/CategoryView,category,Sql2008.aspx" />
    <author>
      <name>papabear</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
If you have ever had to truncate a log in Sql 2005, the 'with truncate_only' is fairly
familiar. Unfortunately for you, if you have it in your scripts, it has been removed
in Sql 2008. 
</p>
        <p>
You can use the Sql Management Studio to shrink the log files, I can post later about
how to do this, but for some databases it will appear not to work (even if it throws
no error). The log files stay the same size.
</p>
        <p>
What may be the issue is that the Database is using a Full vs a Simple backup recovery
method. You can find out more about the difference between the two here -&gt; <a href="http://msdn.microsoft.com/en-us/library/ms187048.aspx">http://msdn.microsoft.com/en-us/library/ms187048.aspx</a>.
What we are concerned about is the note show below:<br /></p>
        <blockquote>
          <p>
            <img id="alert_note" alt="Note" src="http://i.msdn.microsoft.com/Hash/030c41d9079671d09a62d8e2c1db6973.gif" title="Note" xmlns="" class="cl_IC101471" />
            <strong>Note</strong>
            <br />
Under the simple recovery model, the transaction log is automatically truncated to
remove any inactive virtual log files. Truncation usually occurs after each checkpoint
but can be delayed under some conditions. For more information, see <span><a href="http://msdn.microsoft.com/en-us/library/ms189085.aspx">Transaction
Log Truncation</a></span>. 
</p>
        </blockquote>
        <p>
What this means in the short run is that by switching your backup recovery method
to Simple, you will instantly be able to shrink your log file.
</p>
        <p>
Ex: <font color="#000080"><i>Alter Database %your Db Name Here% Set Recovery Simple</i></font></p>
        <p>
I would be remiss if I did not mention this note from the page on the Simple recovery
method:
</p>
        <blockquote>
          <p>
            <img id="alert_caution" alt="Important note" src="http://i.msdn.microsoft.com/Hash/030c41d9079671d09a62d8e2c1db6973.gif" title="Important note" xmlns="" class="cl_IC46226" />
            <strong>Important</strong>
            <br />
The simple recovery model is inappropriate for production systems for which loss of
recent changes is unacceptable. In these cases, we recommend that you use the full
recovery model. For more information, see <span><a href="http://msdn.microsoft.com/en-us/library/ms190217.aspx">Backup
Under the Full Recovery Model</a></span>.
</p>
        </blockquote>
        <p>
One could always switch it to Simple, truncate, and switch back to Full, but it would
probably be better to keep it at Full and establish a more functional means to keep
those pesky log files small...<br /></p>
        <img width="0" height="0" src="http://www.myfriedmind.com/techBlog/aggbug.ashx?id=c2d85130-7467-4578-9b16-a58ad2c13330" />
      </div>
    </content>
  </entry>
  <entry>
    <title>PrintDialog not working on Windows 7</title>
    <link rel="alternate" type="text/html" href="http://www.myfriedmind.com/techBlog/2010/05/28/PrintDialogNotWorkingOnWindows7.aspx" />
    <id>http://www.myfriedmind.com/techBlog/PermaLink,guid,67b87879-2bef-4088-87be-9f033b3448ac.aspx</id>
    <published>2010-05-28T14:35:48.6133702-05:00</published>
    <updated>2010-05-28T14:35:48.6133702-05:00</updated>
    <category term="c#" label="c#" scheme="http://www.myfriedmind.com/techBlog/CategoryView,category,c.aspx" />
    <category term="Coding Tricks" label="Coding Tricks" scheme="http://www.myfriedmind.com/techBlog/CategoryView,category,CodingTricks.aspx" />
    <category term="Windows 7" label="Windows 7" scheme="http://www.myfriedmind.com/techBlog/CategoryView,category,Windows7.aspx" />
    <author>
      <name>papabear</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
Updating a program of mine I noted that when I called the PrintDialog and passed it
my PrintDocument (or variant thereof), I did not get any said PrintDialog.
</p>
        <p>
Long story short - you just set the UseEXDialog to true:
</p>
        <p>
PrintDialog _printDialog = new PrintDialog();<br />
_printDialog.UseEXDialog = true;
</p>
        <p>
See <a href="http://msdn.microsoft.com/en-us/library/system.windows.forms.printdialog.useexdialog.aspx">http://msdn.microsoft.com/en-us/library/system.windows.forms.printdialog.useexdialog.aspx</a> for
more info<br /></p>
        <img width="0" height="0" src="http://www.myfriedmind.com/techBlog/aggbug.ashx?id=67b87879-2bef-4088-87be-9f033b3448ac" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Unable to map drive in Windows 7</title>
    <link rel="alternate" type="text/html" href="http://www.myfriedmind.com/techBlog/2010/05/03/UnableToMapDriveInWindows7.aspx" />
    <id>http://www.myfriedmind.com/techBlog/PermaLink,guid,2f3013ae-7be2-4245-8604-fe4cdb4b5d6d.aspx</id>
    <published>2010-05-03T12:59:54.296-05:00</published>
    <updated>2010-08-17T11:44:14.3107105-05:00</updated>
    <category term="Windows 7" label="Windows 7" scheme="http://www.myfriedmind.com/techBlog/CategoryView,category,Windows7.aspx" />
    <author>
      <name>papabear</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
While trying to map a drive to an older server in w07 it informed me that the network
password was wrong, even though I KNEW it was correct.
</p>
        <p>
          <img src="http://www.myfriedmind.com/techBlog/content/binary/w07netError.jpg" style="margin-left: 20px;" border="0" />
        </p>
        <p>
After a lot of hunt and peck I came across the issue - basically by default it refuses
to transmit the login except in the highest format (NTLM v2). Which makes sense, and
is undoubtedly documented somewhere. EXCEPT IN THE ERROR THAT IS RETURNED! I mean
it might at least give a hint rather than just rejecting the password.
</p>
        <p>
Solution (demonstrated just on a local box but this can also be done via a domain
Group Policy): go into your Local Security Policy.
</p>
        <p>
          <img src="http://www.myfriedmind.com/techBlog/content/binary/w07MapDriveLSPLink.jpg" style="margin-left: 20px;" border="0" />
        </p>
        <p>
Go into Security Settings/Local Policies/Security Options and go down to "Network
Security: Lan Manager authentication level"<br /></p>
        <p>
          <img src="http://www.myfriedmind.com/techBlog/content/binary/w07lspscreen.jpg" style="margin-left: 20px;" border="0" />
        </p>
        <p>
Set it to "Send LM &amp; NTLM - use NTLMv2 session security if negotiated". This will
give you backward compatibility.
</p>
        <p>
          <img src="http://www.myfriedmind.com/techBlog/content/binary/w07NetFix.jpg" style="margin-left: 20px;" border="0" />
        </p>
        <p>
Of course, the real solution is to move everything to NTLMv2...
</p>
        <img width="0" height="0" src="http://www.myfriedmind.com/techBlog/aggbug.ashx?id=2f3013ae-7be2-4245-8604-fe4cdb4b5d6d" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Wsus Windows 2008 R2 x64 giving Error Code 80070490 on KB937723 update</title>
    <link rel="alternate" type="text/html" href="http://www.myfriedmind.com/techBlog/2010/04/21/WsusWindows2008R2X64GivingErrorCode80070490OnKB937723Update.aspx" />
    <id>http://www.myfriedmind.com/techBlog/PermaLink,guid,347682b4-62b3-42f5-bc5a-22ca806d3d99.aspx</id>
    <published>2010-04-21T10:34:16.3753417-05:00</published>
    <updated>2010-04-21T10:34:16.3753417-05:00</updated>
    <category term="Windows 2008" label="Windows 2008" scheme="http://www.myfriedmind.com/techBlog/CategoryView,category,Windows2008.aspx" />
    <category term="WSUS" label="WSUS" scheme="http://www.myfriedmind.com/techBlog/CategoryView,category,WSUS.aspx" />
    <author>
      <name>papabear</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
My Windows Update service on one a w08r2 x64 box told me that I had an update.
</p>
        <p>
          <img style="padding-left: 15px;" src="http://www.myfriedmind.com/techBlog/content/binary/wsus1Update.jpg" border="0" />
        </p>
        <p>
So I checked and discovered that it was KB967723.
</p>
        <p>
          <img style="padding-left: 15px;" src="http://www.myfriedmind.com/techBlog/content/binary/wsusKB937723.jpg" border="0" />
        </p>
        <p>
I ran the install but it failed with error code 80070490
</p>
        <p>
          <img style="padding-left: 15px;" src="http://www.myfriedmind.com/techBlog/content/binary/wsusKB937723Error.jpg" border="0" />
        </p>
        <p>
After trying various solutions (such as turning off the Windows Update service and
moving the log files) I finally manually downloaded the problematic file and installed
it. No more problems. I don't know what was the issue - was it snagging the x86 version?
was it getting the Vista one? Whatever triggered it, this resolved it.<br /></p>
        <p>
Download Locations:
</p>
        <ul>
          <li>
x64 - <a href="http://www.microsoft.com/downloads/details.aspx?familyid=6E46822E-F79D-492D-AD01-EE680AD324F5&amp;displaylang=en">http://www.microsoft.com/downloads/details.aspx?familyid=6E46822E-F79D-492D-AD01-EE680AD324F5&amp;displaylang=en</a><br /></li>
          <li>
x86 - <a href="http://www.microsoft.com/downloads/details.aspx?familyid=35c1d5a9-a953-4fc6-90c0-d2358c7b89e6&amp;displaylang=en">http://www.microsoft.com/downloads/details.aspx?familyid=35c1d5a9-a953-4fc6-90c0-d2358c7b89e6&amp;displaylang=en</a><br /></li>
        </ul>
        <img width="0" height="0" src="http://www.myfriedmind.com/techBlog/aggbug.ashx?id=347682b4-62b3-42f5-bc5a-22ca806d3d99" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Windows 2008 pushing inherited permissions down</title>
    <link rel="alternate" type="text/html" href="http://www.myfriedmind.com/techBlog/2010/04/09/Windows2008PushingInheritedPermissionsDown.aspx" />
    <id>http://www.myfriedmind.com/techBlog/PermaLink,guid,b27538d2-f0e4-4c80-b6b5-c39f87667c13.aspx</id>
    <published>2010-04-09T10:17:48.743-05:00</published>
    <updated>2010-04-09T10:18:05.6412296-05:00</updated>
    <category term="Windows 2008" label="Windows 2008" scheme="http://www.myfriedmind.com/techBlog/CategoryView,category,Windows2008.aspx" />
    <author>
      <name>papabear</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
We recently had a case where a user moved a folder into another folder expecting that
the permissions in the parent folder would automatically roll on down. Of course they
did not, when you copy WITHIN a volume it maintains its original perms.
</p>
        <p>
What was really interesting is what happened when we tried to use the ole 'Replace
all child object permissions with inheritable permission from this object'. Although
the user was copied down, the perms were not. The user DID NOT get the inherited perms
on the sub objects.
</p>
        <p>
You have to dig to find the correct checkbox.
</p>
        <ul>
          <li>
Open up the properties for the parent folder</li>
          <li>
Selected "Advanced"</li>
          <li>
Select "Change Permissions"</li>
          <li>
Make sure "Replace all child object permissions with inheritable permissions from
this object" is checked.</li>
          <li>
Click on the user/group that you want to push the perms down for and select the "Edit"
button</li>
          <li>
Make sure that the "Apply these permissions to objects and/or containers within this
container only IS CHECKED (note it is not checked in my image)</li>
          <li>
Click 'OK' till you are done...</li>
        </ul>
        <br />
        <img src="http://www.myfriedmind.com/techBlog/content/binary/permRolldown.jpg" border="0" />
        <img width="0" height="0" src="http://www.myfriedmind.com/techBlog/aggbug.ashx?id=b27538d2-f0e4-4c80-b6b5-c39f87667c13" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Frontpage 2002 and 'Unable to read configuration for Microsoft Information Server'</title>
    <link rel="alternate" type="text/html" href="http://www.myfriedmind.com/techBlog/2010/04/08/Frontpage2002AndUnableToReadConfigurationForMicrosoftInformationServer.aspx" />
    <id>http://www.myfriedmind.com/techBlog/PermaLink,guid,6dcbb43a-5553-4dd6-91c5-b23a6fc64924.aspx</id>
    <published>2010-04-08T11:33:54.883-05:00</published>
    <updated>2010-04-09T11:33:54.88304-05:00</updated>
    <category term="Visual Studio" label="Visual Studio" scheme="http://www.myfriedmind.com/techBlog/CategoryView,category,VisualStudio.aspx" />
    <category term="IIS" label="IIS" scheme="http://www.myfriedmind.com/techBlog/CategoryView,category,IIS.aspx" />
    <author>
      <name>papabear</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
I am cross referencing this to Visual Studio 2008 since I first ran into this trying
to connect to the remote website. I got yelled at:
</p>
        <img src="http://www.myfriedmind.com/techBlog/content/binary/noFPExtVS08.jpg" border="0" />
        <p>
When I looked I found that it had been installed and even approved to run:
</p>
        <p>
          <img src="http://www.myfriedmind.com/techBlog/content/binary/fpeExtensionsAllowed.jpg" border="0" />
        </p>
        <p>
So I right clicked on the Website, choose All Tasks, and Configure Server Extensions
2002<br /></p>
        <p>
          <img src="http://www.myfriedmind.com/techBlog/content/binary/fpeConfigureSelect.jpg" border="0" />
          <br />
        </p>
        <p>
I got yelled at, AGAIN!
</p>
        <p>
          <img src="http://www.myfriedmind.com/techBlog/content/binary/fpeUnableToReadConfig.gif" border="0" />
        </p>
        <p>
This looked a LOT more serious. But luckily some web browsing gave me an hint. What
you did not see was that the Microsoft Sharepoint Adminstration site was stopped.<br /></p>
        <p>
          <img src="http://www.myfriedmind.com/techBlog/content/binary/fpeMSAStopped.jpg" border="0" />
        </p>
        <p>
So I started it up, and voila!<br /></p>
        <img width="0" height="0" src="http://www.myfriedmind.com/techBlog/aggbug.ashx?id=6dcbb43a-5553-4dd6-91c5-b23a6fc64924" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Clustered Hyper-V showing 'Saved-Critical' and failing to restore virtual machine state</title>
    <link rel="alternate" type="text/html" href="http://www.myfriedmind.com/techBlog/2010/03/30/ClusteredHyperVShowingSavedCriticalAndFailingToRestoreVirtualMachineState.aspx" />
    <id>http://www.myfriedmind.com/techBlog/PermaLink,guid,c8778e2a-350e-42a8-96c3-f3d63566cb1c.aspx</id>
    <published>2010-03-30T10:46:33.43-05:00</published>
    <updated>2010-03-29T10:46:33.4308175-05:00</updated>
    <category term="Clustering" label="Clustering" scheme="http://www.myfriedmind.com/techBlog/CategoryView,category,Clustering.aspx" />
    <category term="Virtual Server" label="Virtual Server" scheme="http://www.myfriedmind.com/techBlog/CategoryView,category,VirtualServer.aspx" />
    <author>
      <name>papabear</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
I rebooted my clustered Hyper-V server. When I logged back on a test Virtual Server
was showing a 'Saved-Critical' state. Attempting to start it resulted in the error
message 'failed to restore virtual machine state'.
</p>
        <p>
          <img src="http://www.myfriedmind.com/techBlog/content/binary/hyperV_noRoll.JPG" border="0" />
        </p>
        <p>
The issue? I had not made the VM clustered, so it was trying to launch the server
without having access to the drive where the VM was stored. DOH!!!
</p>
        <p>
Roll it back and start it, no problemo....<br /></p>
        <img width="0" height="0" src="http://www.myfriedmind.com/techBlog/aggbug.ashx?id=c8778e2a-350e-42a8-96c3-f3d63566cb1c" />
      </div>
    </content>
  </entry>
  <entry>
    <title>ISA 2006 and Status: 64 The specified network name is no longer available</title>
    <link rel="alternate" type="text/html" href="http://www.myfriedmind.com/techBlog/2010/03/29/ISA2006AndStatus64TheSpecifiedNetworkNameIsNoLongerAvailable.aspx" />
    <id>http://www.myfriedmind.com/techBlog/PermaLink,guid,8c1d7081-9784-4298-a0d1-022264029789.aspx</id>
    <published>2010-03-29T10:28:31.4134175-05:00</published>
    <updated>2010-03-29T10:28:31.4134175-05:00</updated>
    <category term="Isa 2006" label="Isa 2006" scheme="http://www.myfriedmind.com/techBlog/CategoryView,category,Isa2006.aspx" />
    <author>
      <name>papabear</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
Recently someone reported that a banner ad they wanted posted on a page was not showing
up internally, although it did when viewed from their home. The banner ad was a hyperlinked
picture - snagged from an external site. What was happening internally was that the
image simply did not appear, although the rest of the page rendered fine and the call
to the remote site's page (wrapped in a javascript script tag) was in the page source.
</p>
        <p>
When I tried to open the specific page I received a error status 64 - The specified
network name is no longer available.
</p>
        <p>
          <img src="/techBlog/content/binary/noHeader.JPG" border="1" />
        </p>
        <p>
Suspecting that the blockage was caused by ISA, and also suspecting that the blockage
might actually be a good thing, I loaded fiddler on a outside client and tried to
access the page. Sure enough, fiddler (once again) came through. The issue? In the
words of fiddler 'This buggy server did not return headers.'
</p>
        <p>
The issue is that whoever was returning the code stripped out all headers. While browsers
will let that pass, ISA will block it. 
<br /></p>
        <p>
The solution? Fix those darn headers!!!!<br /></p>
        <img width="0" height="0" src="http://www.myfriedmind.com/techBlog/aggbug.ashx?id=8c1d7081-9784-4298-a0d1-022264029789" />
      </div>
    </content>
  </entry>
  <entry>
    <title>ISA 2006, Sharepoint 2010 giving HTTP 500 internal server error on HTTP Filter</title>
    <link rel="alternate" type="text/html" href="http://www.myfriedmind.com/techBlog/2010/03/16/ISA2006Sharepoint2010GivingHTTP500InternalServerErrorOnHTTPFilter.aspx" />
    <id>http://www.myfriedmind.com/techBlog/PermaLink,guid,cdda7744-3202-4fdb-b4ac-f6dcafac4ea2.aspx</id>
    <published>2010-03-16T14:26:51.76-05:00</published>
    <updated>2010-03-16T14:27:45.8999943-05:00</updated>
    <category term="Isa 2006" label="Isa 2006" scheme="http://www.myfriedmind.com/techBlog/CategoryView,category,Isa2006.aspx" />
    <category term="Sharepoint 2010" label="Sharepoint 2010" scheme="http://www.myfriedmind.com/techBlog/CategoryView,category,Sharepoint2010.aspx" />
    <author>
      <name>papabear</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
Recently when playing around with the Sharepoint 2010 beta I extended a site to use
Forms and passed that through ISA 2006.
</p>
        <p>
This is all very basic stuff, there are a number of good references on how to set
this up, but what I did not expect was the http 500 internal error on my browser (see
below).
</p>
        <img src="http://www.myfriedmind.com/techBlog/content/binary/sp2010HttpFilterError.JPG" border="1" />
        <p>
The solution was to modify the HTTP filter (egad! an error message that actually gives
the correct problem!) within ISA for that Rule (right-click the rule and select "Configure
HTTP") and uncheck "Verify normalization" (see image below). I do not know if this
is restricted to Sharepoint, but I suspect that will all the razzle-dazzle that SP2010
is trying to pull off it is tripping over the big feet of ISA... 
<br /></p>
        <img src="http://www.myfriedmind.com/techBlog/content/binary/sp2010HttpFilterFix.JPG" border="0" />
        <img width="0" height="0" src="http://www.myfriedmind.com/techBlog/aggbug.ashx?id=cdda7744-3202-4fdb-b4ac-f6dcafac4ea2" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Sharepoint 2010 Configuration Wizard "Failed To Register Sharepoint Services" with System.Security.Cryptography.CryptographicException Object Already Exists</title>
    <link rel="alternate" type="text/html" href="http://www.myfriedmind.com/techBlog/2010/03/12/Sharepoint2010ConfigurationWizardFailedToRegisterSharepointServicesWithSystemSecurityCryptographyCryptographicExceptionObjectAlreadyExists.aspx" />
    <id>http://www.myfriedmind.com/techBlog/PermaLink,guid,b34d9c25-df01-4292-bf34-8195bd0171f6.aspx</id>
    <published>2010-03-12T13:08:17.9321015-06:00</published>
    <updated>2010-03-12T13:08:17.9321015-06:00</updated>
    <category term="Sharepoint 2010" label="Sharepoint 2010" scheme="http://www.myfriedmind.com/techBlog/CategoryView,category,Sharepoint2010.aspx" />
    <category term="Windows 2008" label="Windows 2008" scheme="http://www.myfriedmind.com/techBlog/CategoryView,category,Windows2008.aspx" />
    <author>
      <name>papabear</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">Working on the SP2010 beta I bumped into
an issue with search. I decided, after various attempts to fix it different ways,
to rerun the Sharepoint 2010 Products Configuration Wizard. But when I did I ran into
an error on Step #5 - namely a System.Security.Cryptography.CryptographicException
of "Object Already Exists".<br /><br /><img src="http://www.myfriedmind.com/techBlog/content/binary/rsaSP2010Error.jpg" border="0" /><br /><p>
This was verified by checking the logs. I tried many, many things to resolve it, including
making sure "Network Service" had full control over the 14-hive, per <a href="http://www.dev4side.com/community/blog/2010/3/1/principal-errors-during-sharepoint-2010-beta-2-installation.aspx">this
blog</a> and setting up Network Service using the aspnet_regiis -SampleKeys, etc.
I even disabled the UAC (<a href="http://www.myfriedmind.com/techBlog/2009/10/20/UACAndDomainAdminsPermissionsIssueOrPocketFullOfKryptonite.aspx">see
my earlier post for an explanation</a>).
</p><p>
No dice.<br /></p><p>
The resolution lay, as you may be suspecting, in messed up perms on the RSA folder,
specifically C:\Program Data\Microsoft\Crypto\RSA\<font color="#ff0000">MachineKeys</font>.
I had checked to the RSA level and Administrators had full perms (I was logged on
as with an Administrative account) but I had not taken the next step and checked MachineKeys.
</p><p>
Turns out that that folder had removed all perms from Adminstrators. I ended up having
to take ownership of the folder and give Admins full perms again. Sure enough - it
worked...
</p><p>
As a bonus it DID fix my Search problem (I was getting "The search request was unable
to connect to the Search Service.").
</p><p>
Maybe.<br /></p><img width="0" height="0" src="http://www.myfriedmind.com/techBlog/aggbug.ashx?id=b34d9c25-df01-4292-bf34-8195bd0171f6" /></div>
    </content>
  </entry>
  <entry>
    <title>Sharepoint 2010 Products Configuration Wizard gives you "Unhandled exception" 0x80070005 (E_ACCESSDENIED)</title>
    <link rel="alternate" type="text/html" href="http://www.myfriedmind.com/techBlog/2010/03/12/Sharepoint2010ProductsConfigurationWizardGivesYouUnhandledException0x80070005EACCESSDENIED.aspx" />
    <id>http://www.myfriedmind.com/techBlog/PermaLink,guid,b65df6c7-ec01-4e20-8bb3-38efcaa8a7e9.aspx</id>
    <published>2010-03-12T11:19:22.7345031-06:00</published>
    <updated>2010-03-12T11:19:22.7345031-06:00</updated>
    <category term="Sharepoint 2010" label="Sharepoint 2010" scheme="http://www.myfriedmind.com/techBlog/CategoryView,category,Sharepoint2010.aspx" />
    <category term="Sql 2008" label="Sql 2008" scheme="http://www.myfriedmind.com/techBlog/CategoryView,category,Sql2008.aspx" />
    <author>
      <name>papabear</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">Trying to run the SP 2010 Config Wizard
to resolve a Search issue I ran into the problem shown below.<br /><br /><img src="http://www.myfriedmind.com/techBlog/content/binary/sp2010configwizerror.JPG" border="0" /><br /><br />
The resolution was that I was logged in with an account that was not used in the SQL
database (remember you need the perms)...<br /><img width="0" height="0" src="http://www.myfriedmind.com/techBlog/aggbug.ashx?id=b65df6c7-ec01-4e20-8bb3-38efcaa8a7e9" /></div>
    </content>
  </entry>
  <entry>
    <title>Sql 2008 and 'Agent XPs' component is turned off as part of the security configuration of this server when creating a Maintenance Plan</title>
    <link rel="alternate" type="text/html" href="http://www.myfriedmind.com/techBlog/2010/02/09/Sql2008AndAgentXPsComponentIsTurnedOffAsPartOfTheSecurityConfigurationOfThisServerWhenCreatingAMaintenancePlan.aspx" />
    <id>http://www.myfriedmind.com/techBlog/PermaLink,guid,abf61892-5a93-4794-93b4-a5ebc68c18eb.aspx</id>
    <published>2010-02-09T13:55:42.1805226-06:00</published>
    <updated>2010-02-09T13:55:42.1805226-06:00</updated>
    <category term="Sql" label="Sql" scheme="http://www.myfriedmind.com/techBlog/CategoryView,category,Sql.aspx" />
    <category term="Sql 2008" label="Sql 2008" scheme="http://www.myfriedmind.com/techBlog/CategoryView,category,Sql2008.aspx" />
    <author>
      <name>papabear</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">If you try to create a Maintenance Plan
on Sql 2008 you may ge<img src="http://www.myfriedmind.com/techBlog/content/binary/AgentXPSError.JPG" align="right" border="0" />t
the following error:<br />
'Agent XPs' component is turned off as part of the security configuration of this
server. A system administrator can enable the use of 'Agent XPs' by using sp_configure....<br /><br />
The reason is simple - the Sql Server Agent Service, which handles Maintenance plans
among other things, is not started automatically. The service is set to Manual start.
The solution is simple - just set it to Automatic (so it starts in case of a reboot)
and start it up!<br /><br />
You can, of course, do this through windows services, but you can also do it through
the Sql tools - specifically the "Sql Server Configuration Manager".<br /><br /><h3>Step 1 - open up the Sql Server Configuration Manager and click on 'Sql Server
Services in the left pane. You will see that the SQL Server Agetn is Stopped and has
its 'Start Mode' set to Manual.
</h3><br /><img src="http://www.myfriedmind.com/techBlog/content/binary/AgentXpsInfo.JPG" border="0" /><br /><br /><h3>Step 2 - double click on the Sql Server Agent in the right tab and its properties
will appear. Click on the 'Start' button to begin it running.
</h3><br /><img src="http://www.myfriedmind.com/techBlog/content/binary/AgentXPSStartService.JPG" border="0" /><br /><br /><h3>Step 3 - now click on the 'Service' tab and change the Start Mode to Automatic.
This will ensure that if your server restarts this service will start as well (and
hence you will get your Maintenance plans.
</h3><br /><img src="http://www.myfriedmind.com/techBlog/content/binary/AgentXpsServiceSetting.JPG" border="0" /><br /><br />
Now, give yourself a raise and take the rest of the day off....<br /><img width="0" height="0" src="http://www.myfriedmind.com/techBlog/aggbug.ashx?id=abf61892-5a93-4794-93b4-a5ebc68c18eb" /></div>
    </content>
  </entry>
  <entry>
    <title>Sharepoint 2010 Beta and PDF Icons</title>
    <link rel="alternate" type="text/html" href="http://www.myfriedmind.com/techBlog/2010/02/05/Sharepoint2010BetaAndPDFIcons.aspx" />
    <id>http://www.myfriedmind.com/techBlog/PermaLink,guid,29067664-d84e-4529-a1fb-37969ea0804e.aspx</id>
    <published>2010-02-05T10:12:13.7210526-06:00</published>
    <updated>2010-02-05T10:12:13.7210526-06:00</updated>
    <category term="Sharepoint 2010" label="Sharepoint 2010" scheme="http://www.myfriedmind.com/techBlog/CategoryView,category,Sharepoint2010.aspx" />
    <author>
      <name>papabear</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
Just a quick note that foxit software's instructions on adding a pdf icon apply to
Sharepoint 2010 just like they did to MOSS 2007: <a href="http://www.foxitsoftware.com/pdf/ifilter/installation.html" target="_blank">http://www.foxitsoftware.com/pdf/ifilter/installation.html</a>.
The only difference is that you do this in hive 14 not hive 12 (ie Drive:\Program
Files\Common Files\Microsoft Shared\Web Server Extensions\14\Template\). 
</p>
        <img width="0" height="0" src="http://www.myfriedmind.com/techBlog/aggbug.ashx?id=29067664-d84e-4529-a1fb-37969ea0804e" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Exchange 2007 Management Shell Pipelining example</title>
    <link rel="alternate" type="text/html" href="http://www.myfriedmind.com/techBlog/2009/12/09/Exchange2007ManagementShellPipeliningExample.aspx" />
    <id>http://www.myfriedmind.com/techBlog/PermaLink,guid,e92a6c5a-2605-4719-9d17-f8036905e7e2.aspx</id>
    <published>2009-12-09T12:10:03.813-06:00</published>
    <updated>2009-12-09T12:11:14.3608253-06:00</updated>
    <category term="Exchange 2007" label="Exchange 2007" scheme="http://www.myfriedmind.com/techBlog/CategoryView,category,Exchange2007.aspx" />
    <author>
      <name>papabear</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
There are many nice things to like about x07's Management Shell, but one of the best
is pipelining. In short what pipelining does is allow you to feed the results from
one cmdlet into another. As you can imagine that increases your capability exponentially.
It is called pipelining because you use the pipe (|) symbol to separate the cmdlets.<br /></p>
        <p>
Let us say, for example, that you want to grant a Full Access perms to the mailbox
Bob.Marley for Lenny.Scott:<br /></p>
        <p>
Get-Mailbox Bob.Marley | Add-MailboxPermission -User 'myDomain\Lenny.Scott' -AccessRights
FullAccess
</p>
        <p>
What if you want to give Lenny.Scott Full Access to ALL maillboxes:
</p>
        <p>
Get-Mailbox | Add-MailboxPermission -User 'myDomain\Lenny.Scott' -AccessRights FullAccess
</p>
        <p>
What if you want to give Lenny.Scott Full Access to only the mailboxes in the Sales
Database:
</p>
        <p>
Get-MailboxDatabase myX07Server\Sales | Get-Mailbox | Add-MailboxPermission -User
'myDomain\Lenny.Scott' -AccessRights FullAccess<img src="http://www.myfriedmind.com/techBlog/content/binary/caution.jpg" align="right" border="0" /></p>
        <p>
The above example shows how you can pipeline into another pipeline. However, if you
really wanted to do this you might use the Add-ADPermission cmdlet:
</p>
        <p>
Get-MailboxDatabase myX07Server\Sales | Add-ADPermission -User 'myDomain\Lenny.Scott'
-AccessRights GenericAll
</p>
        <p>
This capability is stunning in its power, which should also be a little terrifying. 
</p>
        <p>
Use With Caution...<br /></p>
        <img width="0" height="0" src="http://www.myfriedmind.com/techBlog/aggbug.ashx?id=e92a6c5a-2605-4719-9d17-f8036905e7e2" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Man in the Middle Web Services and XML Serialization errors</title>
    <link rel="alternate" type="text/html" href="http://www.myfriedmind.com/techBlog/2009/11/19/ManInTheMiddleWebServicesAndXMLSerializationErrors.aspx" />
    <id>http://www.myfriedmind.com/techBlog/PermaLink,guid,b41b4f63-6aaa-49cb-b1b8-de5b2dabfcea.aspx</id>
    <published>2009-11-19T16:29:18.324-06:00</published>
    <updated>2009-11-19T16:30:43.5282829-06:00</updated>
    <category term="Asp.Net" label="Asp.Net" scheme="http://www.myfriedmind.com/techBlog/CategoryView,category,AspNet.aspx" />
    <category term="c#" label="c#" scheme="http://www.myfriedmind.com/techBlog/CategoryView,category,c.aspx" />
    <category term="Coding Tricks" label="Coding Tricks" scheme="http://www.myfriedmind.com/techBlog/CategoryView,category,CodingTricks.aspx" />
    <category term="VB.Net" label="VB.Net" scheme="http://www.myfriedmind.com/techBlog/CategoryView,category,VBNet.aspx" />
    <category term="Web Services" label="Web Services" scheme="http://www.myfriedmind.com/techBlog/CategoryView,category,WebServices.aspx" />
    <author>
      <name>papabear</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
I was setting up a Man in the Middle webservice to intercept a message coming in so
that I could do some processing of it on the side. Don't worry, it was our webservice.
My process is fairly simple:
</p>
        <ol>
          <li>
accept the submitted object 
</li>
          <li>
forward the object to the old web service 
</li>
          <li>
do what I wanted with the info</li>
        </ol>
        <p>
Step #2 appears fairly straightforward, and for the most part it is. 
</p>
        <ol>
          <li>
Create a (new) Web Service. 
</li>
          <li>
Expose the same public WebMethods. 
</li>
          <li>
Add a 'Web Reference' to the (old) Web Service 
</li>
          <li>
Create a new Web Service object of the old Web Service 
</li>
          <li>
Pass the received object onward</li>
        </ol>
        <p>
The problem that occurs is that because the (new) Web Service has to be all-inclusive
it creates its own object type. While this is acceptable in .Net (since it goes by
.net classnames) this gets all out of whack in the XML. This is because the XML uses
a different namespace process - and since the (new) Web Service uses the same object
as the (old) Web Service, albeit with a different .net namespace one of the things
that it includes as an Attribute is the XML namespace. So
</p>
        <ul>
          <li>
The two classes have different .net namespaces 
</li>
          <li>
The two classes have the exact same XML namespace</li>
        </ul>
        <p>
The compiler does not catch this because it is only looking at the .net namespace.
So it will give you all sorts of helpful suggestions. 
</p>
        <p>
However....
</p>
        <p>
There is a simpler way to do it. Basically, since you KNOW that the incoming and outgoing
objects are the same, you are simply going to override the class that the Web Reference
uses to tell it to use the original class.
</p>
        <p>
If you initially open up the Web Reference to your (old) Web Service you are not going
to see the file you need. You need to go up to the File Menu and select Project, Show
All Files. 
</p>
        <p>
          <img src="http://www.myfriedmind.com/techBlog/content/binary/MiMXMLShowAll.gif" border="1" />
        </p>
        <p>
Now you will see the file that you want over in the Solution Exploerer -&gt; Reference.cs. 
</p>
        <p>
          <img src="http://www.myfriedmind.com/techBlog/content/binary/MiMXMLReference.gif" border="1" />
        </p>
        <p>
Open that puppy up and make the necessary changes, just remember to wipe out the (new)
objects that will be in there. All you want to leave are the methods, and those should
now be passing the classes from the (old) Web Service.
</p>
        <p>
Happy coding!
</p>
        <p>
 
</p>
        <img width="0" height="0" src="http://www.myfriedmind.com/techBlog/aggbug.ashx?id=b41b4f63-6aaa-49cb-b1b8-de5b2dabfcea" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Sql 2008 Disk Allocation Unit Size</title>
    <link rel="alternate" type="text/html" href="http://www.myfriedmind.com/techBlog/2009/11/10/Sql2008DiskAllocationUnitSize.aspx" />
    <id>http://www.myfriedmind.com/techBlog/PermaLink,guid,d92d1c31-e8d7-41fd-98f7-3327b84f6160.aspx</id>
    <published>2009-11-10T11:22:50.5350093-06:00</published>
    <updated>2009-11-10T11:22:50.5350093-06:00</updated>
    <category term="Sql" label="Sql" scheme="http://www.myfriedmind.com/techBlog/CategoryView,category,Sql.aspx" />
    <author>
      <name>papabear</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">Installing a new sql 2008 box and thought
I would throw out the reminder to partition the drives that sql uses to 64k (not the
default 4k) due to Sql's 'extents', which come in packages of eight 8k boxes...<br /><p></p><img width="0" height="0" src="http://www.myfriedmind.com/techBlog/aggbug.ashx?id=d92d1c31-e8d7-41fd-98f7-3327b84f6160" /></div>
    </content>
  </entry>
  <entry>
    <title>Hyper-V, Windows 2008 R2, and 'MyVM' could not initialize error</title>
    <link rel="alternate" type="text/html" href="http://www.myfriedmind.com/techBlog/2009/10/29/HyperVWindows2008R2AndMyVMCouldNotInitializeError.aspx" />
    <id>http://www.myfriedmind.com/techBlog/PermaLink,guid,b9c0d0ba-743f-47f7-bc53-45106be9bbf2.aspx</id>
    <published>2009-10-29T10:18:14.5383022-05:00</published>
    <updated>2009-10-29T10:18:14.5383022-05:00</updated>
    <category term="Virtual Server" label="Virtual Server" scheme="http://www.myfriedmind.com/techBlog/CategoryView,category,VirtualServer.aspx" />
    <category term="Windows 2008" label="Windows 2008" scheme="http://www.myfriedmind.com/techBlog/CategoryView,category,Windows2008.aspx" />
    <author>
      <name>papabear</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
There appears to be an issue with w08r2 when it comes to using Hyper-V. When
attempting to launch your VM you might encounter the error: The application
encountered an error while attempting to change the state of %yourVM%.
</p>
        <p>
          <img src="http://www.myfriedmind.com/techBlog/content/binary/vmRootPermsError.JPG" border="0" />
        </p>
        <p>
The solution seems very simple (thanks to this post) which is that you need
to give 'Authenticated Users' the 'List folder / read data' permission
at the root of the drive that contains the Virtual Machines (and you ONLY need
to do it at that level, not the ones below).
</p>
        <p>
Why this solves the problem I do not know, but here are the steps (with some pictures)
to walk you through the process:
</p>
        <p>
1 - Open up the root of the drive's properties and choose the Security tab. Click
on the Advanced button
</p>
        <p>
          <img src="http://www.myfriedmind.com/techBlog/content/binary/vmRootPermsAdv.JPG" border="0" />
        </p>
        <p>
2. Click on 'Change Permissions'
</p>
        <p>
          <img src="http://www.myfriedmind.com/techBlog/content/binary/vmRootPermsChange.JPG" border="0" />
        </p>
        <p>
3. Click on 'Add', Type in 'Authenticated Users' and hit the OK button, you should
see the screen below. Change the "Apply to:" to be "This folder only" and put a check
in to the "List folder / read data" check box. Click 'OK'
</p>
        <p>
          <img src="http://www.myfriedmind.com/techBlog/content/binary/vmRootPermsSettings.JPG" border="0" />
        </p>
        <p>
4. Make sure NOT to check the 'Replace all child objects...' checkbox. Check your
settings, and click OK. Click OK to close the Properties screen for the drive and
you should be good to go.
</p>
        <p>
          <img src="http://www.myfriedmind.com/techBlog/content/binary/vmRootPermsNoCheck.JPG" border="0" />
        </p>
        <img width="0" height="0" src="http://www.myfriedmind.com/techBlog/aggbug.ashx?id=b9c0d0ba-743f-47f7-bc53-45106be9bbf2" />
      </div>
    </content>
  </entry>
</feed>