(Any\all answers to this post are assumed to begin with a "serves you right", so sarcasm is not necessary.. unless it helps you prove your point)
OK, so I just installed SharePoint 2010 on our new web server. Once complete, I received the directive that we shouldn't have our IIS webroot on our OS partition. As such, I found a handy-dandy blog post to move the IIS web root. All worked as expected, and my SP site even responded without any issues.
Then, I tried to start customizing my MasterPages, only to start receiving errors on attempting to render the controls. I found that my MasterPages can't resolve the web controls based on the tag prefix references:
<%@ Import Namespace="Microsoft.SharePoint" %> <%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=184.108.40.206, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=220.127.116.11, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register TagPrefix="wssuc" TagName="Welcome" src="~/_controltemplates/Welcome.ascx" %> <%@ Register TagPrefix="wssuc" TagName="DesignModeConsole" src="~/_controltemplates/DesignModeConsole.ascx" %> <%@ Register TagPrefix="wssuc" TagName="MUISelector" src="~/_controltemplates/MUISelector.ascx" %>
From there, I found yet another handy dandy blog post indicating taht I need to run some PowerShell commands as well, however, every attempt to do so yells at me, telling me that the term new-object Microsoft.SharePoint.SPSite is not recognized. Its almost like all references to the SharePoint objects are unrecognized on my server.
And so now I have quite the quandary. How do I update SharePoint to understand where my "14 hive" is? Shuold I just re-install SharePoint completely, now that IIS is configured to use my other drive as the default Inetpub? Has anyone installed SharePoint to a separate directory before, and perhaps can provide some tips? Please help!