Windows 7 – Agile BI http://agilebi.com A community for sharing ideas about business intelligence development using agile methods. Sat, 14 Jan 2012 01:51:04 +0000 en-US hourly 1 https://wordpress.org/?v=6.2.2 Virtual PC and Windows 7 http://agilebi.com/blog/2010/10/07/virtual-pc-and-windows-7/ Thu, 07 Oct 2010 11:25:07 +0000 http://7.60 Continue reading ]]> This morning while trying to spin up one of my Virutal PCs I ran into some peculiar error messages.  In case the same thing happens to you, the workaround is pretty simple. 

When I opened Virtual PC and selected my VMC file I received the following message:

Could not register the virtual machine.  The virtual machine configuration could not be added. User does not have sufficient access rights.

Even if I ran Virtual PC as administrator I still got that error.  The fix is to create a new virtual machine.  When you do so, make sure to point to your existing VHD file.  At this point you’ll probaly get this message:

Virtual PC . . . was unable to write to one of its virtual hard disks.

The fix here is to reference the VHD file by share name, not drive name.  So instead of simply pointing to C:MyVirtualPCsMyFavoriteVirtualPC.vhd, you have to point to \ComputerName:MyVirtualPCsMyFavoriteVirtualPC.vhd.  Now, since I keep my VHD files on an external hard drive, this meant that I had to create a share on its parent directory. 

Thanks to Damir Dobric for posting the solution!

]]>
Exception: Microsoft.SharePoint.SPException: User cannot be found – Sharepoint 2010 Installation Failure http://agilebi.com/blog/2010/09/23/exception-microsoft-sharepoint-spexception-user-cannot-be-found-sharepoint-2010-installation-failure/ Thu, 23 Sep 2010 14:21:42 +0000 http://9.44 Continue reading ]]> Today I found myself trying to install Sharepoint 2010 on my laptop running Windows 7 Enterprise. After reading all of the caveats about doing such a thing, I still needed to get this done. The post that I followed was from Microsoft: http://msdn.microsoft.com/en-us/library/ee554869.aspx. Seemed pretty straight-forward: pre-configure, install prerequisites, blah, blah, blah. And it was all blah, blah, blah, until:

Error #1:

Failed to create the configuration database.
An exception of type System.Security.Cryptography.CryptographicException was thrown.  Additional exception information: The data is invalid.

Well…great. I received this error after I had successfully installed Sharepoint 2010 and was just starting up the Sharepoint 2010 Configuration Wizard.

After searching around for awhile, I came across a post that said this error is related to permissions on the Sharepoint directory. The Network Service account needs Full Control permissions on it.

So, navigate to %commonprogramfiles%Microsoft SharedWeb Server Extensions14 and give the Network Service user Full Control on that folder and all related subfolders and files.

OK. Got that error out of the way. Now to rerun the Sharepoint 2010 Configuration Wizard. And…

BOOM!! Error #2:

error2

What the heck?! This error proved to be more of a pain to diagnose. But again, Google to the rescue. A little background first though.

My computer is part of our domain here at the office. We have two wireless networks which do not talk to one another (for reasons not important). I found that this little error is related to the fact that the Configuration Wizard is trying to use my user credentials from AD to try and reach out to the Domain Controller for verification/authorization.

However, I was not on the network that had the Domain Controller on it. (My computer likes to randomly change wireless networks without telling me about it). So, all that I needed to do was to hop onto the wireless network with the Domain Controller and rerun the setup.

Woot!! Success!

I finished the Sharepoint Configuration Wizard, error free, and now have Sharepoint 2010 installed and working on my Windows 7 Laptop!

site

]]>