Posts Tagged ‘SharePoint 2010’

InfoPath 2010 cannot connect to SharePoint 2010

March 15th, 2010

You have installed Office 2010 beta and you are trying to connect to SharePoint 2010 from InfoPath but you get an error.

The internet address is not valid

Figure 1: The Internet address is not valid.

You click OK and you get another error “The operation could not be completed”. Click Show Details >> and you will see error “Unable to connect to the SharePoint site”.

The operation could not be completed.

Figure 2: The operation could not be completed.

You try a little harder to connect to the SharePoint but this time you get yet another error “Network is down or you may not be connected to the network”. What do you do next? You check if the enterprise features are enabled or not. They are enabled. You check DNS settings. Settings are fine. Now what?

It happens if you have not created a top level site collection. Create a top level site collection and then try to connect and it should work. If you are not sure whether you have created a top level site collection or not, try to open the main site URL in the browser. If the site does not open then you have not created a top level site collection.  For example, http://sp2010/sites/spsite opens fine and you can access all areas of the site but http://sp2010 does not open, then you have not created a top level site collection and  in this case if you try to connect to http://sp2010/sites/spsite from InfoPath you will get an error.

To create a top level site collection, go to central admin site and follow these steps:

  1. Under Site Collections, click Create site collections link.
  2. Select web application where you want to create site collection from the drop down.
  3. Give title and description and select “/” from the URL drop down. Front slash stands for a top level site. You will not see it listed in the drop down if you have already created a top level site collection because you can only create one top level site collection per web application. You can create multiple sub site collections by selecting “/sites/” from the drop down and then entering the name of your site in the text box provided.
Root level site collection

Figure 3: Select top level for your site collection

 4. Select a template for your site and enter primary site collection administrator and click OK.

You are done. Now go and try to access the top level site link in InfoPath. It will work.

SP2010 Tip: Content Query Web Part missing in SharePoint 2010

February 6th, 2010

If you don’t see content query web part listed in the web parts list, this is because you have not enabled “Search Server Web Parts” feature in site collection features. Enable this feature and content query web part will show in the list of web parts.

content query web part

content query web part

Installing and configuring SharePoint 2010

January 15th, 2010

Download complete user guide “Installing and Configuring SharePoint 2010″:http://sharepoint2007tips.com/sharepoint2010book.aspx

 

Installing and configuring SharePoint 2010

Installing and configuring SharePoint 2010

The following steps show how to install SharePoint 2010 on VMware workstation 7.0. Host computer used during the preparation of this walk-through was a Vista (32-bit)  machine and guest machine used was VMware workstation 7.0 with Windows Server 2008 Service Pack 2 (64-bit).

Preparing your machine

Is your machine 64-bit compatible? Download following standalone utility from vmware.com that will check if your processor is 64-bit compatible or not:

http://download3.vmware.com/software/wkst/VMware-guest64check-6.0.0-45731.exe

If your machine is 64-bit compatible then second step is to confirm whether Virtualization Technology (VT) is enabled or not. To enable 64-bit support for virtual machines in VMware, you must enable Virtualization Technology (VT). VT provides greater flexibility and maximum system utilization. With VT, your machine will make the most of its underlying hardware. You can enable VT in the BIOS by going to advanced processor features and enabling Intel Virtualization Technology. The VT setting is locked at power on. After enabling VT in BIOS, save changes to the BIOS settings and then turn off power to the system. Your changes take effect when the system is turned on again. Simply rebooting the system without turning it off will not enable VT. This is called as power cycling the system.

Installation

 1. Install VMware
2. Install Windows Server 2008
3. Change computer name
4. Disable IE security
5. Install Active Directory Domain Services
6. Create an account for SQL
7. Install WCF Hotfix

http://go.microsoft.com/fwlink/?linkID=160770

8. Install .NET Framework 3.5 SP 1

http://www.microsoft.com/downloads/details.aspx?FamilyID=AB99342F-5D1A-413D-8319-81DA479AB0D7

9. Install hotfix (KB942288)
10. Install SQL Server 2008

http://www.microsoft.com/SQLserver/2008/en/us/trial-software.aspx

Download following setup package:

en_sql_server_2008_enterprise_x86_x64_ia64_dvd_x14-89207.iso (3,180,582 KB)

11. Install SQL Server 2008 SP 1

http://www.microsoft.com/downloads/details.aspx?familyid=66AB3DBB-BF3E-4F46-9559-CCC6A4F9DC19&displaylang=en

12. Install Cumulative update package 2 for SQL Server 2008 SP1

http://support.microsoft.com/kb/970315

 13. Install ADOMD.NET

http://go.microsoft.com/fwlink/?LinkId=130651&clcid=0×409

14. Install Geneva Framework 2 Beta

http://download.microsoft.com/download/F/3/D/F3D66A7E-C974-4A60-B7A5-382A61EB7BC6/MicrosoftGenevaFramework.amd64.msi

15. Install Microsoft Sync Framework v1.0

http://go.microsoft.com/fwlink/?LinkID=141237&clcid=0×409

16. Install Microsoft Filter Pack v2.0

http://go.microsoft.com/fwlink/?LinkId=166504

17. Install chart controls for .NET Framework 3.5

http://go.microsoft.com/fwlink/?LinkID=141512

18. Install Powershell v2.0 CTP3

http://go.microsoft.com/fwlink/?LinkId=165758

19. Install ADO.NET Data Services v1.5 CTP2

http://go.microsoft.com/fwlink/?LinkId=158354

20. Install Silverlight 3.0

http://go.microsoft.com/fwlink/?LinkId=166506

21. Install Application server and web server roles
22. Install SharePoint 2010

http://sharepoint2010.microsoft.com/try-it/Pages/Trial.aspx

It is not as easy as it seems. Finding correct links to download the pre-requisite software is the first hurdle. Then the ordering in which the software has to be installed is the second hurdle. What hotfixes are required and where to download them from is another issue. If you get stuck in any of the steps above, and need help, I would suggest you download the following user guide that explains each of the above steps in detail and has screenshots to help you complete the steps easily.

http://sharepoint2007tips.com/sharepoint2010book.aspx

The guide consists of 100+ pages and covers everything you need to know about the SharePoint 2010 installation.

 Look at the following questions to figure out if you need this guide or not:

1. How will you know if your machine is 64-bit compatible and ready for SharePoint 2010 installation?
2. If you are running 32 bit OS on your system, how will you install 64 bit SharePoint 2010 software?
3. If you don’t have hyper-V or don’t want to use hyper-V, what are your other options?
4. From where can you download VMware version that is required for SP 2010 installation?
5. How to prepare your machine for SharePoint 2010 installation? How to enable VT in BIOS? What to do if changes in BIOS do not take effect, etc?
6. What software pre-requisites to install and in what order?

http://sharepoint2007tips.com/sharepoint2010book.aspx

Successful SharePoint Community Launch

December 8th, 2009

SharePoint Pakistan User Group (SharePointPUG) held a successful event in Lahore on Dec 5,2 009. Event details can be found at the following URL:

http://splahore.eventbrite.com

SharePoint 2010 was showcased at the event. People showed great interest in this upcoming version of SharePoint. Beta is available and can be downloaded from the Microsoft site. Presenters showed new features available in the SharePoint 2010.

Fig 1: Jerry presenting SharePoint 2010

Fig 2: Audience viewing the SharePoint 2010 features

You can view more pictures by visiting the following URL:

http://cid-14111469622c2da2.skydrive.live.com/browse.aspx/SharePoint%20Pakistan%20User%20Group%20Meeting?ct=photos

Notes from SPSPhilly: Session Upgrading existing products to SP 2010

November 8th, 2009

SharePoint Saturday Philly

Session: Upgrading existing products to the new SharePoint 2010 by Shai Petel

null
 

  • Building  a new solution
    • VS 2010 extensions for WSS are required to build solutions.
       
  • Is your team ready for 2010?
    • Silverlight, ajax, json
    • Visual web parts
       
  • Prepare to be hosted
    • Limit customization to site collection level
    • Prefer to support sandboxed solutions
       
  • Creating a new web part?
    • Inherit from existing .net web part.
    • Sharepoint web part is for backward compatibility
    • Asp.net web parts are a good choice because they have the capability to be hosted in SP.
    • If you change the base type of an existing web part, it does not know how to serialize, it will stop functioning.
    • Connections out of the zone don’t work in asp.net web parts but those are not required in SP 2010 so it’s safe to use asp.net web parts
       
  • null

  • What is required to start development in SP 2010?
    • Visual studio 2010 + VSeWSS
    • SharePoint Designer 

The above two are the tools that are required for SP 2010 development in VS. 

You have following options to create development environment:

  1. Install in one server
  2. Client/server
  3. Virtualization (recommended) 

PROs and CONs: 

  1. Install in one server 

Pros: isolated, developer control, slower hardware, performance
Cons: win7/win 2008 64 bit, hard to backup, easy to mess up

  1. Client/server 

Pros: easy to backup, hard to mess up the server, slower computers, runtime
Cons: not isolated, no control on farm 

  1. Virtualization 

Pros: isolated, developer full control on farm, backup; duplicate; portable, restore
Cons: win7 or win2008 64bit only, strong computer 

  • VS 2010 has SharePoint templates for development.
    • Create a new solution
    • Choose a template
    • Setup trust level
    • Adding new components
    • One-click deploy or package
       
  • Visual web part
    • This project type cannot be sandboxed because requirements exceed limitation of sandboxing.
    • All files are inside MyWebpart folder.
    • VS 2010 creates a package for you. Package is for one project. It sounds limiting but it is not. You can use feature from on one project in another project. It sounds complicated. Copying feature to another project will link it. It will not create a new copy. You can share the elements of one web part package with other projects. You also have feature designer.
    • You can decide where to deploy the web part, for example, on the front end server.
       
  • Using shared resources in WSP
    • There is a disadvantage!

14 hive is not supported in sandboxed solutions

  • Some APIs will not work in sandboxed solutions
  • Groups cannot be added in sandboxed solutions, buttons can be added
  • New APIs: Microsoft.SharePoint.Linq.dll, Microsoft.SharePoint.Client.dll, Microsoft.SharePoint.Taxonomy.dll
  • When upgrading, keep namespaces and assembly evidence same. Also, keep elements GUID same.

(Note: These notes were taken during live blogging. Please ignore any typos or mistakes that you may find. Thanks)

Hardware for SharePoint 2010

November 3rd, 2009

AC has posted a fantastic article today. He talks about the hardware he uses for SharePoint 2010 development. Here is the link:

http://www.andrewconnell.com/blog/archive/2009/11/03/doing-sharepoint-2010-development-ndash-whatrsquos-in-your-rig.aspx

Article has some fine suggestions about the hardware that you can use and increase your development speed. These are not mandatory requirements by the way. You can use a low configuration laptop to do SharePoint 2010 development but that’s the primary difference between a novice and an expert. If you just want to experience SharePoint 2010 (no development), you can run it on a 32 bit system as well using virtualization. One of my SharePoint 2010 installations run on a 32 bit system. Following is the configuration I use for 32 bit system:

Lenovo T61 (IBM ThinkPad)
OS: Vista 32 bit
Processor: Intel Core 2 Duo T7700 @2.40 GHz 2.40 GHz
RAM: 4 GB (32 bit systems use only 3 GB)
HDD: 160 GB Single Partition

Virtualization:
VMWare Workstation 7
Windows Server 2008 R2

This is the minimum configuration I believe that you need to run SharePoint 2010 :) . You can increase the performance by adding a SSD (as suggested by AC) and/or increasing the RAM. For my daily use, I use a 64 bit system for SharePoint development. My 64 bit configuration is as following:

HP laptop
7200 RPM HDD
8 GB RAM
Quad Core Processor

Extending SharePoint 2010 tooling in Visual Studio 2010

October 22nd, 2009

http://weblogs.asp.net/erobillard/archive/2009/10/21/extending-visual-studio.aspx

Controlling SharePoint 2010 Deployment in VS 2010

October 22nd, 2009

http://weblogs.asp.net/erobillard/archive/2009/10/21/controlling-sharepoint-2010-deployment-in-vs-2010.aspx

SharePoint 2010 Links

October 19th, 2009

SharePoint 2010: Site exporting as WSP solution (Part 1):
http://weblogs.asp.net/soever/archive/2009/10/19/sharepoint-2010-site-exporting-as-wsp-solution-part-1.aspx

SharePoint 2010: Getting Publishing template working
http://weblogs.asp.net/soever/archive/2009/10/19/sharepoint-2010-getting-publishing-template-working.aspx

SharePoint 2010: When SQL memory usage keeps growing…
http://weblogs.asp.net/soever/archive/2009/10/19/sharepoint-2010-when-sql-memory-usage-keeps-growing.aspx

Single server complete install of SharePoint 2010

October 19th, 2009

http://sharepoint.microsoft.com/blogs/fromthefield/Lists/Posts/Post.aspx?List=0ce77946%2D1e45%2D4b43%2D8c74%2D21963e64d4e1&ID=112