Search

rafelo

Advancing Productivity and Operational Efficiency through Cloud Services and Apps

Month

November 2009

Installing SharePoint 2010 on Windows 7 Gotchas

As we approach the Holiday weekend, I suspect many of you will be installing SharePoint 2010 for the very first time… and a good portion of you on Windows 7.

Personally, I found the MSDN article Setting Up the Development Environment for SharePoint Server to be very helpful, and was my main point of reference when I performed the installation But I did have to work my way through several steps that were simply not very clear, and troubleshoot at least one error. In this blog posting, I will help walk you through some of the confusing/unclear steps, and help you overcome (maybe avoid altogether) the error that I encountered.

Note – Remember, this posting assumes that you are following the steps outlined in the MSDN Article: Setting Up the Development Environment for SharePoint Server

Step 1 is strictly geared towards helping you choose your operating system. This posting specifically focuses on installing SharePoint 2010 on Windows 7… remember it must be a 64 bit version and you should have at least 4GB of RAM.

Step 2 is where the confusion begins:

  • The very first sub-step refers to a SharePoint.exe file that for many of us was nowhere to be found. This SharePoint.exe file is actually the single executable contained within the ISO image of the SharePoint 2010 Beta 2 download… for me the file was titled: en_office_sharepoint_server_2010_beta_x64_x16-19249.exe. Depending on the build and version you downloaded, it could have a different name.
  • Copy this file locally (do not run it), they suggest copying it to C:\SharePointFiles
  • Given the complex name I chose to rename it to SharePoint.exe you may consider doing this as well as it makes the following steps easier.
  • The second sub-step instructs you to run a command to extract the installation files. It shows you 2 sample commands, one of which is:

    c:\SharePointFiles\SharePoint /extract:c:\SharePointFiles

    Here simply replace SharePoint with the name of the executable, the command should work just fine if you’ve renamed the executable to SharePoint.exe

    Examples:
    c:\SharePointFiles\SharePoint.exe /extract:c:\SharePointFiles
    or
    c:\SharePointFiles\OfficeServer.exe /extract:c:\SharePointFiles
    or
    c:\SharePointFiles\en_office_sharepoint_server_2010_beta_x64_x16-19249.exe /extract:c:\SharePointFiles

  • Perform sub-steps 3 to 5 (these should be pretty straight forward)
  • Skip sub-step 6 altogether…it only applies to Vista
  • Install each of the pre-requisites outlined in step 7.
  • Copy the script in step 8 into Notepad and remove all line breaks. It should look something like follows:
    start /w pkgmgr /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-ApplicationDevelopment;IIS-ASPNET;IIS-NetFxExtensibility;IIS-ISAPIExtensions;IIS-ISAPIFilter;IIS-HealthAndDiagnostics;IIS-HttpLogging;IIS-LoggingLibraries;IIS-RequestMonitor;IIS-HttpTracing;IIS-CustomLogging;IIS-Security;IIS-BasicAuthentication;IIS-WindowsAuthentication;IIS-DigestAuthentication;IIS-RequestFiltering;IIS-Performance;IIS-HttpCompressionStatic;IIS-HttpCompressionDynamic;IIS-WebServerManagementTools;IIS-ManagementConsole;IIS-IIS6ManagementCompatibility;IIS-Metabase;IIS-WMICompatibility;WAS-WindowsActivationService;WAS-ProcessModel;WAS-NetFxEnvironment;WAS-ConfigurationAPI;WCF-HTTP-Activation;WCF-NonHTTP-Activation
  • Copy the script and execute it in the command prompt. (I suspect you may receive several errors during this step if some of the services are missing or have already been preconfigured) Sub-step 9 should help you troubleshoot any errors you encounter during the activation of these services.

  • Restart your computer and on to Step 3.

Step 3 is pretty straight forward and should not give you much of a headache as long as you follow the instructions. There is a required hotfix, which they didn’t list in the instructions… I’ll get to it shortly:

  • Know that you must choose “Standalone” configuration in sub-step 3. If you run into errors after choosing “Server Farm”, you are on your own.
  • Stop on sub-step 5 and install SQL Server 2008 KB 970315 x64 per the instructions. But do not run the Configuration Wizard just yet.
  • Download and run the WCF hotfix from http://go.microsoft.com/fwlink/?LinkID=166231. If you don’t you will receive an exception while running the Configuration Wizard (more details on the error here and here.)
  • Run the SharePoint Configuration Wizard.

Steps 4 and 5 instruct you to install Visual Studio 2010 and Create a Hyper-V virtual hard disk from the installation.

It would be a shame for you to leave out installing SharePoint Designer 2010 Beta 2.

That should be it… Have fun coding with Visual Studio 2010 and SharePoint 2010.

digg_url = “https://blog.rafelo.com/2009/11/installing-sharepoint-2010-on-windows-7.html”;digg_title = “Installing SharePoint 2010 on Windows 7 Gotchas (What SharePoint.exe?)”;digg_bgcolor = “#FFFFFF”;digg_skin = “compact”;

digg_url = undefined;digg_title = undefined;digg_bgcolor = undefined;digg_skin = undefined;

SharePoint 2010 on Windows 7 Exception – UserProfileException: Unrecognized attribute ‘allowInsecureTransport’

If you tried installing SharePoint 2010 Beta 2 on Windows 7 (or Windows Server 2008 R2) shortly after its release; you may have ran into the following error:

Failed to create sample data.
An exception of type Microsoft.Office.Server.UserProfiles.UserProfileException was thrown.  Additional exception information: Unrecognized attribute ‘allowInsecureTransport’. Note that attribute names are case-sensitive. (C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\WebClients\Profile\client.config line 56)
Microsoft.Office.Server.UserProfiles.UserProfileException: Unrecognized attribute ‘allowInsecureTransport’.

This error is caused by a known issue with Token Authentication and WCF. A fix has been released and is now available  at http://go.microsoft.com/fwlink/?LinkID=166231.

If you didn’t uninstall after receiving the error, simply install the hotfix, and re-run the SharePoint 2010 Products Configuration Wizard.

 

digg_url = “https://blog.rafelo.com/2009/11/sharepoint-2010-on-windows-7-exception.html”;digg_title = “SharePoint 2010 on Windows 7 Exception – UserProfileException: Unrecognized attribute \’allowInsecureTransport\'”;digg_bgcolor = “#FFFFFF”;digg_skin = “compact”;digg_url = undefined;digg_title = undefined;digg_bgcolor = undefined;digg_skin = undefined;

How to video: Creating a Basic SharePoint 2010 Feature using Visual Studio 2010

A couple of weeks ago I demoed an example of how to create a basic SharePoint 2010 “Change Site Title” feature using Visual Studio 2010. A video of the demo is now available on the SharePoint Tech Dives site at http://www.sptechdives.com/?p=185

digg_url = “https://blog.rafelo.com/2009/11/how-to-video-creating-basic-sharepoint.html”;digg_title = “How to video: Creating a Basic SharePoint 2010 Feature using Visual Studio 2010”;digg_bgcolor = “#FFFFFF”;digg_skin = “compact”;digg_url = undefined;digg_title = undefined;digg_bgcolor = undefined;digg_skin = undefined;

Missed the SharePoint Conference? Check out “Best of SharePoint” (2010) – Coming to Houston Nov 12th

Following the excitement of Microsoft’s SharePoint Conference 2009, Catapult Systems is bringing this exclusive information back to you! Be the first to learn about improvements made to the platform and how they can add value to your organization. Catapult Systems and Microsoft invite you to join our solution experts for this free, one-day, all-access Best Of SharePoint event that will showcase composites of the very best sessions on Microsoft’s market-leading SharePoint products and technologies.

Nov, 10 – Best of SharePoint – Dallas
LIVE  —  Microsoft Dallas Office

Nov, 12 – Best of SharePoint – Houston
LIVE  —  Microsoft Houston Office

Nov, 19 – Best of SharePoint – Denver
LIVE  —  Loews Hotel

digg_url = “https://blog.rafelo.com/2009/11/missed-sharepoint-conference-check-out.html”;digg_title = “Missed the SharePoint Conference? Check out “Best of SharePoint” (2010) – Coming to Houston Nov 12th”;digg_bgcolor = “#FFFFFF”;digg_skin = “compact”;digg_url = undefined;digg_title = undefined;digg_bgcolor = undefined;digg_skin = undefined;

Announcing SharePoint Tech Dives, coming to Houston Texas on November 11th, 2009.

A little bit about SharePoint Tech Dives (http://www.sptechdives.com): Each meeting is an open forum for discussion and learning around specific topics chosen by the community. Technology experts provide structure and guidance around each of the topics selected, while attendees are encouraged to ask questions as well as share their views, experiences, and opinions. At the end of each meeting attendees will help determine the topic for the following meeting.

Next Event – Wednesday, November 11th from 6:30 pm to 8:30 pm.
Developing SharePoint Features, Feature Receivers, and Feature Staplers

During this session we will discuss best practices and provide guidance around SharePoint Feature development,  Feature Receivers, and Feature Staplers. The session will include a hands on lab with step by step instructions on how to create a simple Feature with a Feature Receiver and Stapler. We will also demo how to create a similar Feature for SharePoint 2010, using the upcoming version of Visual Studio.  Space is limited, so be sure to reserve your seat. We look forward to seeing you there.

digg_url = “https://blog.rafelo.com/2009/11/announcing-sharepoint-tech-dives-coming.html”;digg_title = “Announcing SharePoint Tech Dives, coming to Houston Texas on November 11th, 2009.”;digg_bgcolor = “#FFFFFF”;digg_skin = “compact”;digg_url = undefined;digg_title = undefined;digg_bgcolor = undefined;digg_skin = undefined;

The Evolution of the SharePoint Professional

I’ve been giving a lot of thought to how SharePoint 2010 is reshaping the future and the impact it will have on those of us who’ve been implementing and developing for SharePoint over the last several years. I look forward to dedicating a bit more time to this subject in a future post. The following is just a brief abstract of my thoughts regarding one of the areas that I feel will be affected the most, our roles.

MS has been making a lot of distinct references between what they call IT Pros (I’m not sure I agree with this term) and Developers in most of their SharePoint 2010 sites, presentations, and documentation. We’ve experienced the logical evolution of these 2 roles for several years, but for many of us, the line has remained somewhat gray. I suspect this to drastically change in the near future, and most who haven’t chosen to specialize in a specific track really need to start thinking about choosing a side, or risk getting overshadowed by experts coming from either direction. Of course regardless of what track you choose, you should dedicate time to learn at least the fundamentals of the other.

I suspect SharePoint will continue evolving to become the de facto web operating platform for companies and corporations world wide. If you think of the role Windows plays for each of the users in your company, and then think of your users as a collective; it shouldn’t be too difficult to visualize SharePoint as your companies OS on the web. Now consider the teams and roles that take part in managing, developing, and supporting Windows, along with all of the applications it runs in your company or corporation. How many all around experts are there. The division is not just technical in nature, there are several business aspects to it as well…ever heard the term “Segregation of Duties”. Suddenly “IT Pros” and “Developers” may not even seem like enough roles.

digg_url = “https://blog.rafelo.com/2009/11/evolution-of-sharepoint-professional.html”;digg_title = “The Evolution of the SharePoint Professional”;digg_bgcolor = “#FFFFFF”;digg_skin = “compact”;digg_url = undefined;digg_title = undefined;digg_bgcolor = undefined;digg_skin = undefined;

Create a free website or blog at WordPress.com.

Up ↑

%d bloggers like this: