How to install a BizTalk 2013 Beta development environment

Last Tuesday the BizTalk Server Team announced the release of Microsoft BizTalk Server 2013 Beta, formerly known as Microsoft BizTalk Server 2010 R2. If you are a BizTalk professional as I am, you surely would be very excited to get your hands on the software bits.

In this post I’ll explain to you how to build a BizTalk 2013 Beta x64 development environment so you could begin to experiment with the product.

Install Microsoft Windows Server 2012

This is pretty straight forward, just like Windows 2008 and 2008 R2. You can follow the instructions detailed here.

Install IIS 8.0

1) In the Server Manager Dashboard select Add roles and features

image

2) Click Next in the welcome window.

image

3) Select Role-based or feature-based as Installation Type and click Next

image

4) Select your current server and click Next

image

5) Select the Web Server (IIS) role

image

6) Confirm the features required by clicking Add Features

image

7) Select the Application Server role and click Next

image

8) In Features select .NET Framework 3.5 Features. Microsoft SQL Server 2012 requires the .NET Framework 3.5 assemblies so you will need to have them already installed later in the setup process.

image

9) In Application Server click Next

image

10) Select the following role services:

  • .NET Framework 4.5
  • Distributed Transactions
  • Web Server (IIS) Support
  • Windows Process Activation Support

image

11) Click Add Features for each requirements as needed.

image

image

image

image

image

12) Select Create a self-signed certificate as an option for the WS-AT encryption. You can install the certificate once Microsoft BizTalk Server 2013 Beta has been installed.

image

13) In the Web Server Role (IIS) window click Next.

image

14) Leave the default role services and click Next.

image

15) Review the installation selections and click Install.

image

16) Once the wizard has finished click Close.

image

Install Microsoft Excel 2013

1) Accept the license terms and Click Continue.

image

2) Click on Costumize

image

3) Select only Microsoft Excel and Microsoft InfoPath. You can also install the full Microsoft Office 2013 suite if you like to.

image

4) Wait for the installation process to end.

image

5) Once the installation has been finished click Close.

image

Install Visual Studio 2012

1) Agree to the license terms and click Next

image

2) Confirm the optional features to install and click Install.

image

3) Wait for the installation process to end.

image

4) Once the installation process has finished close the Wizard.

image

Install Microsoft SQL Server 2012

1) In SQL Server Installation Center click Installation

image

2) Click on New SQL Server stand-alone installation or add features to an existing installation.

image

3) Wait for the Setup Support Rules to be validated and click OK

image

4) Enter your product key and click Next.

image

5) Agree to the license terms and click Next.

image

6) Let the installation wizard check for product updates and click Next.

image

7) Once the setup files had been installed click on Ok in the computer restart confirmation window.

image

8) Make sure there are not critical errors in the Setup Support Rules and click Next.

image

9) In Setup Role select SQL Server Feature Installation and click Next.

image

10) Select the following features and click Next.

  • Database Engine Services
    • SQL Server Replication
    • Full-text and Semantic Extractions for Search
  • Analysis Services
  • Reporting Services – Native
  • Client Tools Connectivity
  • Integration Services
  • Management Tools – Basic
    • Management Tools – Complete

As this is a development environment you should consider installing also the Documentation Components.

image

image

11) Validate the Installation Rules summary and click Next.

image

12) Select Default instance in Instance Configuration and click next.

image

13) Review the Disk Space Requirements and click Next.

image

14) Enter the proper account information for each SQL Service instance and click Next.

image

15) In Database Engine Configuration leave de default values and click on Add Current User, then click next.

image

16) Enter the account information for the Analysis Services administration role and click Next.

image

17) In Reporting Services Configuration select Install and configure and click Next.

image

18) In Error Reporting click Next.

image

19) Review the Installation Configuration Rules summary and click Next.

image

20) Review the features to be installed and click Install.

image

21) Once the installation has finished click Close.

image

Install SQL Server 2012 SP1

1) Download and install the Microsoft SQL Server 2012 SP1.

Disable Shared Memory

1) In the Start Screen click on SQL Server Configuration Manager

image

2) Expand SQL Server Network Configuration and click Protocols for MSSQLSERVER. Disable Shared Memory

image

Install SharePoint Foundation 2013

1) Download and run the SharePoint Foundation 2013 installation file.

2) Click on Install software prerequisites.

image

3) In the welcome window click Next.

image

4) Accept the license terms and click Next.

image

5) Once the installation is completed click on Finish.

image

Install SharePoint Foundation

1) Click on Install SharePoint Foundation.

image

2) Accept the license terms and click Continue.

image

3) Select Complete as Server Type and click Install Now.

image

4) If your computer is running stand alone, once the installation is completed don’t run the SharePoint Product Configuration Wizard.

image

5) In the Start Screen click on SharePoint 2013 Management Shell

image

6) Run the New-SPConfigurationDatabase cmdlet and enter the proper values.

image

7) In the Start Screen launch the SharePoint 2013 Products Configuration Wizard.

image

8) In the welcome window click Next.

image

9) Select Do not disconnect from this server farm and click Next.

image

10) In the Central Administration Web Application configuration window leave the default values and click Next.

image

11) Review the configuration information and click Next.

image

12) Once the configuration has finished click Finish.

image

13) In the Initial Farm Configuration Wizard click OK.

image

14) Start the wizard.

image

15) Enter the service account and services to install information and click Next.

image

image

16) Enter the initial site collection information and click OK.

image

17) Once the process has been completed Close the Farm Configuration Wizard.

image

Install Microsoft BizTalk 2013 Beta

1) Download and run the Microsoft BizTalk 2013 installation file.

2) Download the prerequisites CAB file.

3) Click on Install Microsoft BizTalk Server 2013 Beta

image

4) Accept the default product key and click Next.

image

5) Accept the license agreement and click Next.

image

6) In Customer Experience Improvement Program select to participate or not and click Next.

image

7) Select the following additional components and click Next:

  • Enterprise Single Sign-On Administration
  • Enterprise Single Sign-On Master Secret
  • Developer Tools and SDK
  • Documentation
  • Server Runtime
    • BizTalk EDI/AS2 Runtime
    • Windows Communication Foundation Adapter
  • Administration Tools and Monitoring
    • Windows Communication Foundation Administration Tools
  • Additional Software

image

image

8) Select the prerequisites file previously downloaded and click Next.

image

9) Review the installation summary and click Install.

image

10) Enable Microsoft Update and click Next.

image

12) Once the installation is finished click Finish.

image

At this point you are now ready to configure your BizTalk installation just like you would do in BizTalk 2010.

image

image

In my development environment I’ve tested all the common adapters and they work just fine, event with SharePoint 2013. I’ll be conducting more tests with other adapters like SAP and Azure and I’ll keep you posted on my findings.

November 12, 2012 at 12:03 pm Leave a comment

Install Windows 8 Media Center

One of the most missed features in Windows 8 is the Media Center. Citing costs restrictions Microsoft decided to make Media Center available as a separate purchase in Windows 8. The good news is that for a limited time and until January 31, 2013, Microsoft has made Media Center available for free to current Windows 8 Pro users.

To get your free copy you first need to get to the Feature Pack page in the Windows 8 site.

SNAGHTML35f0d69

Enter your email address and request your product key:

image

Approximately one day later you will receive an email with the product key assigned to you.

SNAGHTML3792d77

Now you can proceed to add the Windows 8 Media Center Pack to your Windows copy.

Acces the charms bar and select Search.

image

Enter add features in the search box, and then tap or click Settings.

image

Tap or click Add features to Windows 8.

image

In the UAC window click Yes.

image

Select I already have a product key.

image

Enter the product key provided to you in the email.

image

Accept the license terms and click the Add features button.

image

Wait for the wizard to end. Your computer will restart automatically.

image

Once your computer has restarted you should see the Windows Media Center tile in your Start screen

image

November 2, 2012 at 10:43 am Leave a comment

How to create a BizTalk 2010 R2 CTP Virtual Machine in Windows Azure

At TechEd 2012 members of the BizTalk product team promised a CTP release for BizTalk 2010 R2 in July.  This was true, but the CTP was made available only for a company that qualified for the TAP program. This changed a couple of weeks ago when the Windows Azure Team announced the availability of BizTalk Server 2010 R2 CTP Release in Windows Azure Virtual Machines gallery.

Now you can setup a complete BizTalk 2010 R2 CTP environment easily and quickly, without having the hassle of procuring hardware for your physical servers or virtual machines in your organization.

To create your BizTalk 2010 R2 CTP virtual machine you need access to a Windows Azure subscription. If you don’t have one already, you can sign up for Windows Azure 90-day free trial here.

Once you have your Azure subscription just follow these simple steps to get your environment up and running:

1) Sign in to the Windows Azure Management Portal.

SNAGHTML73c8b24

2) On the command bar, click New.

SNAGHTML74417aa

3) Click Virtual Machine, and then click From Gallery.

SNAGHTML74d3a95

4) In VM Box Selection click Platform Images, select the Microsoft BizTalk Server 2010 R2 CTP image, and then click the arrow to continue.

image

5) In VM Configuration enter the Virtual Machine name and the Administrator’s password. Select the size needed for your application. Click the right arrow.

SNAGHTML74614ec

6) You can connect virtual machines together under a cloud service but for testing purposes select Standalone Virtual Machine. Enter the DNS name for the VM, select the storage account for the VHD file and select the proper Affinity Group according to your geographic location.

SNAGHTML746d8c7

7) In VM Options select None. Tis page apply only if you are connecting this virtual machine to other virtual machines or if you are adding the virtual machine to a virtual network. Click the check mark to create the virtual machine.

SNAGHTML747d889

The VM creation process takes some minutes. Meanwhile you can watch its progress in the All Items page.

SNAGHTML74841d6

Once the VM has been created and provisioned its status will change to Running.

SNAGHTML7489dab

Click in the VM name and you will be redirected to its Dashboard, from here you can perform common administrative tasks as Restart, Shutdown or even delete the VM if necessary.

SNAGHTML151ee78f

In order to access your BizTalk 2010 R2 CTP VM you need to click in the Connect icon. This will download a remote desktop shortcut to your PC. Just double click it and you will be connected to the VM.

image

image

As you can see Windows Azure facilitates enormously the creation of VMs for software evaluation purposes. You can also learn more about the new features in BizTalk 2010 R2 CTP in this great post by Nitin Mehrotra.

September 17, 2012 at 8:42 am Leave a comment

Implementing the Microsoft BizTalk 2010 Adapter for mySAP Business Suite

Microsoft BizTalk Server 2010 has a lot of great capabilities and one of the most interesting is the BizTalk Adapter Pack because it provides service enablement for Line of Business (LOB) applications on top of the .NET Windows Communication Foundation (WCF) technology. Out of the box it supports popular packaged applications and databases like:
  • SAP
  • Siebel eBusiness Applications
  • Oracle eBusiness Suite
  • Oracle Database
  • SQL Server Database

Because of its easy of use one of the most popular scenarios in which you implement the BizTalk Adapter Pack is to integrate Microsoft BizTalk Server and mySAP Business Suite.

In this post I’ll show you how to implement the Microsoft BizTalk 2010 Adapter for mySAP Business Suite Client Version 7.1 in a development environment. There are several configurations supported for production and development but for this post we’ll use the one suggested for 32-bit BizTalk processes:

 image

The VM configured for this implementation consists of the following characteristics:

Hardware
Intel Core i7 @ 2.2GHz
4GB RAM
100GB HDD

Software
Windows 2008 R2 Enterprise x64 SP1
SQL Server 2008 R2 Developer x64 SP1
BizTalk Server 2010 Developer x64
Visual Studio 2010 Ultimate SP1

In order to begin the installation process you first need to install several DLLs required by the BizTalk Adapter Pack to interface with the SAP system. Most of the packages that contain these DLLs must be downloaded from the SAP Service Marketplace by the SAP administrator in your organization. This is required because access to the SAP Software Distribution Center is restricted by a ‘Download Software’ authorization object. This ensures that software is downloaded only by authorized users.

Because we are planning to use only 32-bit only hosts there is no need to install the x64 versions of the RFCSDK, R3DLLINS and Visual C++ run-time DLLs.

1) Download and extract the RFCSDK 7.0 (Unicode) (32-bit) client files
Confirm that SAP GUI for Windows is not installed. Uninstall SAP GUI if installed.

Get RFCSDK at SAP software download center (http://service.sap.com/swdc)

Download RFC_9-20000972.SAR (RFC) and extract using SAPCAR.exe. From command prompt  execute SAPCAR –xvf <file path>

image

image

image

image

2) Copy required files (icudt30.dll, icuin30.dll, icuuc30.dll, librfc32u.dll, libsapu16vc71.dll, libsapucum.dll) to c:\windows\sysWOW64

File version of icudt30.dll, icuin30.dll, icuuc30.dll : 3.0.0.0
File version of librfc32u.dll : 7000.0.100.5358
File version of libsapu16vc71.dll, libsapucum.dll : 7000.100.13.42057

image

image

3) Download and setup R3DLLINS.exe (SAP Note 684106) for SAP release 6.40 and 7.00
Get attached file of SAP note 684106 (http://service.sap.com/notes)
Related files : msvcr71.dll, msvcp71.dll, mfc71.dll, mfc71u.dll
File version of msvcr71.dll : 7.10.3052.4
File version of other files : 7.10.3077.0

image

image

4) Download and setup Microsoft Visual C++ run-time DLLs required for SAP 7.1 client (SAP Note 684106) from the following link http://go.microsoft.com/fwlink/?LinkId=107086

image

Once the SAP prerequisites are installed we can proceed to setup the remaining BizTalk components.

5) Install the Windows Communication Foundation Line of Business SDK 2010 x64.

Execute the AdapterFramework.msi installer located in the BizTalk Server  2010 installation media.

image

image

image

image

In a production environment you should only install the WCF LOB SDK Runtime, in this case we are setting up a development server so we will install all the features.

image

image

6) Install the BizTalk 2010 Adapter Pack x86. If you are planning to use the SAP Adapter in x64 Hosts you should also install de x64 version of the Adapter Pack.

Execute the AdapterSetup.msi installer located in the BizTalk Server 2010 installation media.

image

image

image

For this installation select only the following features:

  • Microsoft BizTalk Adapter for mySAP Business Suite
  • .Net Framework Data Provider for mySAP Business Suite

image

image

image

image

At this point you have installed successfully the Microsoft BizTalk 2010 Adapter for mySAP Business Suite. Now you can configure and test it.

SAP Adapter Configuration

Ton configure the SAP Adapter you need to perform the following steps:

1) Open the BizTalk Administration Console. Expand the Adapters folder and right click New – Adapter

image

2) Enter a meaningful name for the adapter and select WCF-SAP from the adapters drop down list.

image

3) Click OK in the warning window.

image

Now the WCF SAP Adapter has been added in BizTalk make sure it is configured to use the proper Adapter Handler (x86 or x64) according with the Adapter Pack version previously installed.

image

Consuming the Adapter in Visual Studio

Once the SAP Adapter is installed and configured you can consume it from Visual Studio to extract the metadata and message formats needed to communicate with SAP.

For example, lets suppose we want to construct and send a MATMAS IDOC to SAP, to do so we only need to do the following easy steps:

1) Open a BizTalk project in Visual Studio, right click over it and select Add – Add Generated Items

image

2) Select Consume Adapter Service – Consume Adapter Service and click on Add

image

3) In the Consume Adapter Window select sapBinding and click on Configure

image

4) In Security select you SAP credentials type and enter them

image

5) Go to URI Properties and enter the connection parameters

image

image

6) In Binding Properties set Enable BizTalk Compatibility Mode to True and click on OK

image

7) Click Connect

image

8) Select the proper Contact Type, Category (BAPI, IDOC, RFC), and Operation (MATMAS03). Click Add, enter a file name prefix and click OK.

image

Once the service has been imported you will see an XSD of the operation previously selected and the correspondent binding file needed to configure the BizTalk port.

image

From here you would implement your BizTalk application as usual, using the supplied XSD to build the messages needed to communicate with SAP.

Send Port Configuration

Once your BizTalk application has been deployed you can use the WFC-Custom binding file generated in Visual Studio

image

or manually create an specific transport configuration

image

just don’t forget to specify the SOAP Action Header as in the XML binding file otherwise you’ll get an error like this:

image

Conclusion

Implementing the Microsoft BizTalk 2010 Adapter for mySAP Business Suite is an easy task once you have all the files from de SAP Service market place. Having it in place allows you to considerably reduce the amount of time needed to develop intercommunication processes with SAP.

You can learn more about the Microsoft BizTalk 2010 Adapter Pack in the following guides:

Microsoft Windows Communication Foundation (WCF) Line of Business (LOB) Adapter SDK 2010 Documentation

Microsoft BizTalk Adapter Pack 2010 Documentation

August 30, 2012 at 10:58 am 2 comments

Implementing Office Web Apps Server Preview 2013

A couple of weeks ago I posted about how to install a SharePoint 2013 Preview Environment. Today I’m going to explain to you how to enable Office Web Apps Server 2013 Preview in that same environment.

Office Web Apps allows you to visualize and edit Excel, Word, PowerPoint and One Note documents online using only your web browser. In SharePoint 2010 the Office Web Apps services had to be installed in each server in the farm, in SharePoint 2013 this approach changes and Office Web Apps is installed in a separate server within the SharePoint infrastructure. The installation and configuration process has also been streamlined and now it only takes a few clicks to perform.

This time we will use the same VMs created in the previous post and the process is going to take place in two servers: the Web Apps and the SharePoint VMs.

Office Web Apps Server

Prerequisites

First you need a new Windows 2012 Server Installation. Once the operative system is installed you must proceed to install the product prerequisites.

1.- Open the Server Manager console and click on Add roles and features.

SNAGHTML681708f

2.- In the first screen of the Add Roles and Features Wizard click the Next button.

image

3.- Continue with the wizard and select Role-based or feature-based installation. Click on Next.

image

4.- Leave the default server selected and click on Next.

image

5.- In Server Roles select Web Server (IIS)

image

6.- Confirm the required features for the Web Server role by clicking on Add Features. Click Next to continue.

image

7.- In Features select Ink and Handwriting Services and click Next.

image

8.- In the next screen click on Next.

image

9.- In Role Services make sure the following components are selected:

  • Management Tools
    • IIS Management Console
  • Web Server
    • Common HTTP Features
    • Default Document
    • Static Content
  • Security
    • Request Filtering
    • Windows Authentication
  • Application Development
    • .NET Extensibility 4.5

    image

    • ASP.NET 4.5

    image

    • ISAPI Extensions
    • ISAPI Filters
    • Server Side Includes
  • Performance
    • Static Content Compression
    • Dynamic Content Compression

Once all the services are selected click on Next.

image

10.- Confirm the installation selections and click on Next.

image

Once all the installation task have been completed click on Close to end the wizard.

image

Office Web Apps 2013 Preview

Now that the prerequisites have been installed you can proceed to download the Office Web Apps 2013 Preview. Install the product following these brief instructions:

1.- Run the installer, accept the License Terms and click on Continue.

image

2.- Accept the default file location and click on Install Now

image

3.- Wait for the setup to finish and click on Close.

image

4.- At this point Office Web Apps 2013 has been successfully installed and needs to be configured. Office Web Apps 2013 doesn’t have a configuration application or wizard so you must use PowerShell cmdlets to do so. First, open a PowerShell prompt as Administrator.

image

5.- Import the Office Web Application module into Windows PowerShell for all servers that will run Office Web Apps Server Preview. Type the following command, and then press ENTER.

   1: Import-Module OfficeWebApps

image

6.- Create a new Office Web Apps Server farm that consists of a single server using the following parameters:

  • InternalURL <OfficeWebAppsURL>: name of the server that runs Office Web Apps Server Preview
  • AllowHttp: configures the farm to use HTTP
  • EditingEnabled : enables editing in Office Web Apps Preview when it is used together with SharePoint 2013 Preview.
   1: New-OfficeWebAppsFarm –InternalURL http://servername –AllowHttp -EditingEnabled

image

7.- You can verify that the Office Web Apps Server farm was created successfully accessing the following URL:

   1: http://servername/hosting/discovery

If Office Web Apps Server Preview works as expected, you should see a Web app Open Platform Interface (WOPI)-discovery XML file in your web browser.

image

Office Web Apps 2013 Configuration

Now that the Office Web Apps 2013 server setup has been finalized we need to configure SharePoint 2013 to use Office Web Apps 2013. Be sure to perform these commands on a server that runs SharePoint 2013 Preview, not on a server that runs Office Web Apps Server Preview.

1.- Open a PowerShell prompt as Administrator

image

2.- Import the SharePoint Server 2013 Preview Windows PowerShell modules using the following command:

   1: Add-PsSnapin Microsoft.SharePoint.PowerShell

image

3.- Create the HTTP binding between SharePoint 2013 Preview and Office Web Apps Server Preview using the New-SPWOPIBinding cmdlet and the following parameters:

  • WacServerName: FQDN name of the URL that you set for the internal URL. This is the point of entry for Office Web Apps Server Preview traffic.
  • AllowHTTP: Allows SharePoint 2013 Preview to receive discovery information from the Office Web Apps Server farm by using HTTP
   1: New-SPWOPIBinding -ServerName <WacServerName> -AllowHTTP

image

4.- Run the following command to change the zone protocol Office Web Apps Server uses to communicate with SharePoint Server 2013 to HTTP.

   1: Set-SPWopiZone internal-http

image

Using Office Web Apps 2013

At this point Office Web Apps 2013 Preview is ready and fully enabled in your SharePoint infrastructure.

Access your site collection and click in the ellipsis at the right of the Modified date column.

SNAGHTML6634d46

image

Now you will be presented with a scrollable preview of your document.

image

This preview provides quick access to three main options:

  • Download a copy of the document.
  • Print it to PDF.
  • Embed information in the document.

You can also click on the orange dot at the right to go directly to the online version of the document and from there choose to open the document in its offline application or in Web Apps.

image

image

Under the preview you also are going to find quick links to these three main actions:

  • Edit the document.
  • Share the document.
  • Follow document updates.

image

And if you click the ellipsis more options are presented including the ability to edit the document in your browser.

image

image

The online version of Excel, SharePoint, Word and One Note includes the most used functionality and enables you to access and work with your documents from any computer that has installed any of the supported browsers.

This functionality is taken one step further in Office 365 ProPlus with Office on Demand in which the Office program (Word, Excel o PowerPoint) is streamed instantly to the PC and is not permanently installed. Office on Demand will work on Windows 7 and newer PCs that have Internet access.

August 14, 2012 at 12:36 pm 2 comments

Correct a duplicated SID in a Virtual Machine clone

Las week I was creating a virtual machine proof of concept environment for a SQL 2008 R2 project. My design included 2 VMs with Windows Server 2008 R2 x64, one for the domain controller and the other for SQL 2008 R2.

To speed up the set up process I used a VM already existent and from there I created the two linked clones I needed.

Everything went ok with the domain controller VM set up but when I was installing the SQL Server VM this error showed up on the service accounts configuration screen:

image

image

image

No matter how I tried to enter the credentials I always got the same error. More strangely, if I added a domain account to any local group in the server the next time I opened the same group to inspect its contents the account didn’t show up!

After digging for more information in the windows logs of the server I started to figure out this problem was related to the processing of Security Identifiers (SID) between my domain controller and SQL Server VMs.

To learn more about them I turned to my trusted source, the TechNet Blogs, and found this interesting post by Mark Russinovich on SIDs. As it turns out my suspicions were right and my problem was originated because the domain controlled cloned VM had the same SID as the SQL Server VM and this is not a supported configuration:

“Every Domain has a unique Domain SID that’s the machine SID of the system that became the Domain’s first DC, and all machine SIDs for the Domain’s DCs match the Domain SID. So in some sense, that’s a case where machine SIDs do get referenced by other computers. That means that Domain member computers cannot have the same machine SID as that of the DCs and therefore Domain.”

To make sure this was my case I downloaded PsGetSid and ran it on each of the two VMs:

Domain Controller VM

PsGetSid v1.44 – Translates SIDs to names and vice versa
Copyright (C) 1999-2008 Mark Russinovich
Sysinternals – www.sysinternals.com

SID for \\dcserver:
S-1-5-21-1054048706-2572955003-3949901901

SQL Server VM

PsGetSid v1.44 – Translates SIDs to names and vice versa
Copyright (C) 1999-2008 Mark Russinovich
Sysinternals – www.sysinternals.com

SID for \\sqlserver:
S-1-5-21-1054048706-2572955003-3949901901

 

As you can see I was right and both VMs had the same SID because the cloning process didn’t affect this value.

Now that I had identified the problem I used the Sysprep tool to generate a new SID for the SQL Server VM. The process is pretty simple and goes like this:

1.- Run the Sysprep tool from your C:\Windows\System32\sysprep folder

image

2.- In the only configuration screen of the application select the following options:

image

image

3.- Once the Sysprep ends processing the VM is restarted and the classic initial configuration screens are displayed.

image

Once you end up configuring the operative system you can use PsGetSid again to make sure a new SID has been created for your VM.

image

Now the problem is solved and authentication against the domain could proceed without any error at all.

When doing this procedure bear in mind a new SID would invalidate the current Windows activation for the VM and a new one would be required.

August 3, 2012 at 3:17 pm Leave a comment

Installing a SharePoint 2013 Development Environment

As soon as the SharePoint 2013 Preview was released a couple of weeks ago I proceeded to build a development environment so I could experience first hand the new installation process and technologies like NAPA. This is how I built it.

1.- Install Windows Server 2012 RC

First you need to download and install Windows Server 2012 Release Candidate. The installation process is just like the one in Windows 2008, the only difference is that you must choose between a server core or GUI installation.

image

If you are new to the Metro interface in Windows 2012 I recommend you to read the Desktop Windows 8 survival guide by Tim Anderson before proceeding any further.

Also remember to create the domain accounts needed to perform the SQL and SharePoint Server installations (SQL Service, SharePoint Setup and SharePoint Farm)

2.- Install SQL Server 2012

Once the operative system is installed, you can proceed to install SQL Server 2012 Developer Edition. The steps involved are quite similar to the SQL Server 2008 Setup so I won’t get in too much detail.

Once the setup is running in the feature selection windows make sure you select the following options.

image

In the Reporting Services Configuration leave the default options and click Next.

image

Once all the configuration information has been entered verify the features summary and click on Install to proceed.

image

Make all the components installed Ok and click on Close.

image

After SQL Server 2012 is installed don’t forget to assign the proper permissions to the SharePoint setup and farm accounts.

3.- Install SharePoint 2013 Prerequisites

At this point you have already installed the operative system and database. Now you need to download the Microsoft SharePoint 2013 Preview.

Once the installation media has been downloaded mount the corresponding image and run the prerequisites setup. This process is just like in SharePoint 2010

image

Once all the prerequisites are properly installed and configured review the report and click on Finish.

image

4.- Install SharePoint Server 2013

With the prerequisites in place the last step to end the installation process is to run the SharePoint Server setup.

image

Just like in SharePoint Server 2010 don’t forget to select Complete as Server Type and proceed with the installation process.

image

If everything goes Ok and no errors are present in the process at the end of it you will be prompted to run the configuration wizard.

image

5.- Run the SharePoint Server 2013 Configuration Wizard

Here also everything is pretty much the same as in SharePoint 2010, however in SQL Server 2012 the traditional permissions defined for the SharePoint setup account (dbcreator and securityadmin) are not enough and the configuration fails when trying to set the max degree of parallelism setting in the SQL Server database instance.

image

To overcome this error you can previously log into the SQL Server instance and manually change the setting

SNAGHTML96314f

or run the following commands in the server:

image

With the setting corrected you can now continue with the configuration wizard

image

image

image

6.- Launch the SharePoint Central Administration website

If no more errors were generated in the Configuration Wizard the confirmation window will be show and you will be redirected to the SharePoint Central Administration website.

image

Because this is a development server installation it is Ok if you choose to use the wizard to configure the SharePoint farm. Be advised however, that this is not recommended for production environments.

image

In the next screen select the services you want to run in the farm and the domain account needed to operate them.

image

Once the services are correctly provisioned you can enter the parameters needed to create the first site collection of the farm

image

image

Let the wizard end and click on Finish

image

Now your farm and site are ready and you can proceed with the next steps

SNAGHTMLabca44[5]

6.- Install Microsoft Office Professional Plus 2013

You can get the Office 2013 installation media by two means:

a) Download the offline ISO files

b) Register for the Office 365 ProPlus Preview.

Once the installation media is in place simply accept the Terms and Conditions and install Office Professional Plus 2013

image

image

7.- Install SharePoint Designer 2013

Download the SharePoint Designer 2013 installation file and run the set up process.

image

image

image

8.- Install Visual Studio 2012 Release Candidate

Download the Visual Studio 2012 RC installation media and proceed with the setup process.

image

image

image

9.- Install Microsoft Developer Tools for Visual Studio 2012

Right now Visual Studio 2012 doesn’t have native support for SharePoint 2013 development, only for the 2010 version.

image

To enable SharePoint 2013 project templates and artifacts in Visual Studio 2012 you need to download the Office Developer Tools for Visual Studio 2012 web installer.

image

Run the installer

image

In the description screen click on the Install button to proceed

image

If you want to know what specific components are being installed just click on More information

image

Once the installer ends review the status screen and click on Finish.

image

Now open Visual Studio 2012 and make sure the new SharePoint 2013 project templates are available.

image

image

At this point you are ready to begin testing and developing for SharePoint 2013 Preview.

As you can see, the current installation process for SharePoint 2013 is almost exactly the same as in SharePoint 2010. If you are familiar with the former you should not have any complications in setting up a test environment.

From here you can proceed and test the new NAPA toolset or even download and configure the new Office 2013 Web Apps .

July 31, 2012 at 2:38 pm 1 comment

Older Posts


August 2016
M T W T F S S
« Nov    
1234567
891011121314
15161718192021
22232425262728
293031  

Categories


Follow

Get every new post delivered to your Inbox.