Alexander’s Blog

December 4, 2010

Error: A problem occurred when Windows tried to activate. Error Code 0x8007232B.

by @ 11:49 am. Filed under Tips & Tricks, Windows 2008

Problem

If you try to activate a Windows Server 2008 R2 server you may receive the following error.

A problem occurred when Windows tried to activate. Error Code 0x8007232B.

You may encounter this error on other versions of Windows as well but I have experienced it in Windows Server 2008 R2. Here’s how you can resolve the error.

Solution

  1. Go to Control Panel -> System and Security -> System.
  2. In the Windows Activation section click Change product key.
  3. Enter your MSDN Multiple Activation Key (MAK) and click OK.
  4. You should now be able to activate your product.

December 3, 2010

SQL Server AdventureWorks Installation Issue

by @ 11:03 am. Filed under SQL Server, SharePoint, Tips & Tricks

The other day I was installing the AdventureWorks sample database for SQL Server 2008 R2 SR1from CodePlex. When I executed the AdventureWorks2008R2_SR1.exe file the installation wizard started as normal.

On the next screen, the Installation Instance box was empty.

I was logged in with an account that was a member of the Administrators group. I use this account (SP_Admin) to manage SharePoint Server 2010 on a Hyper-V image that we use to teach SharePoint 2010 classes for my company. I tried a few additional things, including enabling FILESTREAM for Transact-SQL access for the default SQL instance (SQL Server Configuration Manager -> SQL Server Services -> SQL Server (MSSQLSERVER) -> Properties -> FILESTREAM tab -> Enable FILESTREAM for Transact-SQL access) but nothing worked.

I realized that the account that had the sysadmin server role was the Administrator account on the server which runs Active Directory, SQL Server 2008 R2 and SharePoint Server 2010. I had a couple of choices. I could have logged in as the Administrator account and installed AdventureWorks, or I could give the SP_Admin account the sysadmin role for the SQL Server. I decided to take the easy rout since this is not a production server and added SP_Admin to the sysadmin server role. After that I was able to see the Default instance in the installation wizard and the path was pointing to the correct location.

I was able to successfully install AdventureWorks sample databases that we use in our SharePoint 2010 Bootcamp demos.

December 2, 2010

How to Customize the SharePoint Site Logo in the URL

by @ 12:43 pm. Filed under Browsers, SharePoint, Tips & Tricks

If you go to Google or Bank of America’s Web site you will notice that your browser displays a custom logo to the left of the URL. I have customized most of my Web sites the same way. When you bookmark the site it adds the logo next to the URL so it is easy to identify. To add this type of custom logo you can create your own favicon.ico file and upload it to the root of your Web site. Here’s what the end result will be in Internet Explorer.

In this article I will show you how to add a custom logo to your SharePoint site. There are lots of free utilities that you can use to create the .ico file. I use Easy Icon Maker to create .ico files for my sites from scratch but there are lots of other tools available that you may find more convenient. For example, some tools will let you save your existing .gif files as .ico files.

The add the custom logo to your SharePoint site, create the logo and save it as favicon.ico. You cannot use any other name, you must save the file as favicon.ico using a tool that allows you to create .ico files. Here are the steps to add your logo to SharePoint sites.

WARNING! Backup your SharePoint site collection. Anytime you use SharePoint Designer there is always a possibility that your site can get totally messed up, depending on the type of changes you are going to make. If you are not comfortable using SharePoint Designer 2010 and don’t understand the risks, do not perform these tasks.

  1. Upload your favicon.ico file to your SharePoint site collection using the browser.
  2. Open your site in SharePoint Designer 2010.NOTE: You can’t edit a MOSS 2007 site with SharePoint Designer 2010, or a SharePoint 2010 site with SharePoint Designer 2007.You have to use SharePoint Designer 2007 for MOSS 2007 sites and SharePoint Designer 2010 for SharePoint 2010 sites.
  3. If prompted, select edit the page layout option. You may also be asked to check out the document, which is necessary if you want to edit the master page.
  4. Go to the Master Pages library.
  5. Edit the Master Page for your site. I am using Team Site in my example so my master page is v4.master.
  6. Click the Edit file link under Customization heading otherwise you won’t be able to edit the page in SharePoint Designer 2010. When prompted Do you want to check it out?, select Yes.
  7. Switch to the Code view by clicking Code at the bottom of the page.
  8. Use the Find option on the ribbon to locate the tag “SharePoint:SPShortcutIcon” in the code. It’s usually located in the heading section at the beginning of the page.
  9. Edit the existing URL (/_layouts/images/favicon.ico) and replace it with the URL for the favicon.ico. You need to replace everything between the quotes. For example, replace the text /_layouts/images/favicon.ico with the URL to your favicon.ico file.
  10. If you uploaded the favicon.ico file to the Site Collection images than the URL might look like this.

    http://<YourSiteName>/SiteCollectionImages/favicon.ico.

  11. If you are not sure what site definitions are and what the effect might be then stop right here. Discard all changes and exit SharePoint Designer 2010. Otherwise, click Yes when you see the warning message about the Site Definition Page Warning.
  12. Save the v4.master page in SharePoint Designer.
  13. In the left hand Navigation window notice the green check mark next to the file v4.master. This means the file has been checked out. Right-click the file and Check In. Unless the file is checked-in, the changes will not be visible in the browser.
  14. In the Check In window select Publish a major version and click OK.
  15. When prompted for content approval, select Yes.
  16. You will be taken to the Master Gallery page where the approval status for the file will show pending.
  17. Click on the drop-down button and select Approve/Reject.
  18. In the Approve/Reject Window select the Approved button and click OK.
  19. As soon as you approve the document, the browser will display your custom logo.
  20. Now when you add the site to the Favorites in Internet Explorer or Bookmark the site in Firefox, the  address will also display the logo.

Copyright ©2010 Zubair Alexander. All rights reserved.

December 1, 2010

How to Determine the SharePoint 2010 Build Number

by @ 7:37 am. Filed under SharePoint, Tips & Tricks

Here is some information that might come handy while you are working with SharePoint Server 2010.

Farm Build Number

Central Administration -> System Settings -> Manage servers in this farm -> Configuration database version.

You can also use the Windows PowerShell script: (get-spfarm).buildversion

Products Build Number

Central Administration -> Upgrade and Migration -> Upgrade and Patch Management -> Check product and patch installation status.

Contact E-mail | Terms of Use | Privacy Policy

Copyright ©2010 Zubair Alexander. All rights reserved.

Internal Links

Search Blog

Categories

Archives

December 2010
M T W T F S S
« Nov   Jan »
 12345
6789101112
13141516171819
20212223242526
2728293031  

RSS Feeds

TechGalaxy Visitors

24 queries. 0.700 seconds