http://petri.co.il/installing-active-directory-windows-server-2008.htm
All About SharePoint is a blog about SharePoint, InfoPath and related technologies. It was started in 2005 and has good readership in many countries. It covers SharePoint 2003, 2007, 2010, 2013, 2016 and Office 365. You can read articles, tips, tutorials and news. It has code samples and complete applications as well.
Wednesday, November 30, 2011
How to install AD on Windows Server 2008
http://petri.co.il/installing-active-directory-windows-server-2008.htm
Wednesday, November 23, 2011
The form tamplate cannot be activated because it is still being uploaded to the farm
The element comment is used but not declared in the DTD Schema
InfoPath cannot open a new form.
The form contains schema validation errors.
The element ‘comment’ is used but not declared in the DTD/Schema.
The form should be published to the SharePoint library. After you have published the form, make sure you select the correct content type to load the form.
1. You have different options when publishing browser-enabled InfoPath form. Make sure you select “SharePoint Library” when publishing it.
2. By default when you click New button, the default content type is selected. To open your browser-enabled form, make sure you click the arrow with the new button and select the right content type.
3. You can change default content type and even remove it if you want. Go to library settings. Under “Library Tools” select “Library” tab and then select “Library Settings”.
4. Under “Content Types”, select “Change new button order and default content type” link. Here you can change the order and make your browser form default. To delete content type, click it and then delete it.
Tuesday, November 22, 2011
Value cannot be null. Parameter name formTemplate
Value cannot be null
Parameter name: formTemplate
It happens when you are removing the template using the Central Admin site. After you have started the removal process, the form does not disappear immediately from the listed forms and if you try to remove it again, you will get this error because the form had already been removed. Just go back using the browser’s back button and you won’t see the form listed there anymore.
HTTP Error 500.19 - Internal Server Error
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
Solution:
Change the .NET framework in application pool to version 2.0 to resolve this problem. You get this error if you change framework version to 4.0.
I dont see Remove solution link
This is because the solution is still deployed to one of the web applications in your farm. Retract it from all web applications and then you will see the Remove Solution link.
Site interface looks messed up after deploying SharePoint 2007 site definition in SharePoint 2010
- Open the site in SharePoint Designer
- Go to Master Pages.
- You will see different master pages. Your custom master page is set to default automatically when you deploy the site definition. Right click default.master and select “Set as Default Master Page”.
Figure 1: Set as Default Master Page
Message is:
- If we install site definitions (created in SharePoint 2007) directly in SP 2010, the interface is totally messed up (because it uses new SharePoint interface) and we have to revert to the old v3 interface (using steps shown above).
- If we upgrade SharePoint 2007 sites to SP 2010 (using attach DB method), the sites use old v3 interface by default but if we visually upgrade them to use v4 interface, they seem to work fine. No issues!
the type or namespace name 'Administration' does not exist in the namespace 'Microsoft.SharePoint'
SharePoint 2007 site definitions and site templates don't work in SharePoint 2010
Site templates in 2010
Access denied by business data connectivity
1. Go to central admin site. Click “Application Management”.
Figure 1: Manage service applications
2. Click “Manage service applications” under “Service Applications”.
3. Locate “Business Data Connectivity Service”
Figure 2: BCS service
4. Select the application that has problem and then Click “Set Object Permission” button in the ribbon.
Figure 3: Set Object Permission
5. Assign permissions to the user.
Figure 4: Assign permissions
Add user first and then assign permissions to them. You can select edit, Execute, Selectable In Clients, Set Permissions from the list. Check “Propagate permissions to all methods of this external content type …”.
Can we create InfoPath form based on an external content type in InfoPath designer
SPD does not open sharepoint sites
Server error: The URL “http://server/_vti_bin/_vti_aut/author.dll” is not contained within a Microsoft SharePoint Foundation Site.
Again, this error occurs if you have created a web application but have not created site collection yet and you try to open it in designer.
Figure 1: Server error
Second reason SharePoint designer fails to open a site is that there are two sites bound to the same port. Extend the application and create new IIS site and then open with SharePoint designer, it will now open. The problem is that if IIS has more than one binding then site will not open with SPD. Check IIS. If there are two sites bound to the same port the site will not open. Simply shutting down one site will NOT resolve the problem. You have to extend the application to the new IIS port.
There is a possibility that you will see sites and folders in designer now but clicking them will not open them. Again, the solution is to extend your site to a port other than port 80. Port 80 is the default port and have binding to default site. If you can somehow remove existing bindings, you may use port 80 as well but I haven’t tried it.
Starting user profile service
1. Go to central admin site, click “System Settings” and then select “Manage services on server”.
Figure 1: Manage services on server
2. Locate “User Profile Service” and start it.
3. After starting user profile service, you will also want to start “User Profile Synchronization Service”.
Figure 2: Start user profile service
When you try to start the sync service, you get following error:
Note: If SharePoint Central Administration is deployed on this machine, you must recycle Internet Information Services after provisioning the User Profile Synchronization Service.
Figure 3: Provide credentials
Enter your credentials and click OK. Restart IIS. You may first have to create service application if you have not already done so.
Starting Business Connectivity "Services"
Figure 1: Manage services
Figure 2: Start BCS
Start Stopped Services
Figure 1: Upgrade and Migration
Figure 2: Enable features on existing site
Figure 3: Manage services on server
The form cannot be rendered. This may be due to a misconfiguration of the Microsoft SharePoint Server State Service
Figure 1: Form error
Figure 2: Farm Configuration
Migrating SharePoint 2007 to SharePoint 2010 - Some tips
Figure 1: Create new web application
- Custom site definitions
- Custom style sheets, including cascading style sheets, and images
- Custom Web Parts
- Custom Web services
- Custom features and solutions
- Custom assemblies
- Web.config changes (such as security)
- Administrator-approved form templates (.xsn files) and data connection files (.udcx files) for InfoPath
You must export form templates and data connection files from the original environment and then import them to the new environment. For more information, see Plan to upgrade form templates during an upgrade to SharePoint Server 2010 and Perform post-upgrade steps for a database attach upgrade (SharePoint Server 2010). - Any other components or files on which your sites depend.
CorasWorks Solves Mixed Content Problems for SharePoint (Via Stephen E. Arnold)
Extracted from the original post
CorasWorks is a company that creates third party SharePoint solutions that specialize in business collaboration and project management. They combined their headlining products CorasWorks Cim for Social Business Collaboration and CorasWorks PPM for Project Portfolio Management and demonstrated how the two applications can work together to formulate robust business solutions. The features of this effort are summarized in “Drive Exceptional Results By Combining Social Business Collaboration and Project Management” from William’s Blog/CorasWorks.
CorasWorks has discovered three business scenarios in which their products are used the most: project collaboration, project initiation/approval/management, and innovation management. For a project collaboration solution, CorasWorks acts like SharePoint by providing a meeting point for users to contribute and share their projects. Project Initiation, Approval and Management Work stream is the workhorse solution for CorasWorks it combines the most prominent features of their applications.
“Our full demonstration shows an integrated work stream where you start with people entering their ideas for projects. This gives them visibility and allows for robust collaboration. Then, the projects are evaluated via the Cim Process Management site that enables management and subject matter expert collaboration. Once approved, you are ready to go into the project execution phase. The approved projects may be pushed into the PPM Program Management Office. Or, they can be pushed into a PPM Project Portfolio to kick off the project.”
SharePoint 2010 and AD FS–Part 2
Extracted from the original article
In the first part of this series we looked at the problem we were trying to solve by using these products together. In this part we are going to look at the setup and configuration of the AD FS server.
AD FS Service Account
When you install AD FS 2.0 you have the possibility to choose between a single server AD FS or a AD FS farm (which you can add servers to). It’s a good idea to configure a farm (even if you’re going to use a single server scenario, because it provides flexibility for the future should you need it). The only difference with configuring it as a farm is that for the farm you’ll need an AD service account that has an SPN configured on it, that’s all!
So in this step we’ll create the service account and register the SPN.
· Open AD user and computers and create a user (in this example AdfsSvc)
There a two possible ways to add the SPN to the user
· command line : setspn -a host/logon.example.com AdfsSvc
· GUI: Enable Advanced Features view on AD users and computers. Right-click the Service account. Select the Attribute Editor tab and scroll to servicePrincipalName and select edit. Add the SPNhost/logon.example.com
· ADFS 2.0 installation
· Logon to the server which will function as Federation Server. Download ADFS 2.0 RTW and start the installation by running AdfsSetup.exe. Choose Federation Server.
· The installation wizard will also install some additional features (.net Framework, IIS). Once installation is complete the ADFS 2.0 console will open. Do not run the configuration wizard yet.
· For complete article click here
Making sense of SharePoint 2010 (Via Tim)
Extracted from the original post
Customizing, extending and sharing
Adoption of Microsoft SharePoint is growing rapidly, with Microsoft reporting “double-digit growth” in its latest financials, yet it remains widely misunderstood. What can you do with SharePoint, what is the difference between the free SharePoint Foundation and the full product, and what are the pros and cons?
Microsoft calls SharePoint a “business collaboration platform”, a suitably vague description for a multi-faceted product. SharePoint can be a content management system for an internal or external website, a document management system, a business search portal, and more.
So what is SharePoint really? Technically, it is an ASP.NET application which runs on Internet Information Services (IIS), Microsoft’s web server, and which stores most of its data in a SQL Server database. Conceptually, it is the outcome of Microsoft’s efforts over many years to create a web storage system, a document repository accessible via a web browser. One reason for SharePoint’s growth is that it answers the question: how can we give employees remote access to internal documents? If you are using a traditional file server, this normally requires a VPN (virtual private network), a viable option but one which can compromise security as well as making heavy demands on bandwidth. SharePoint enables remote document access without a VPN.
For complete post click here
Monday, November 21, 2011
Connecting SharePoint to SQL Server the right way (Via THOMAS VOCHTEN)
Extracted from the original post
When configuring or setting up SharePoint, there are some practices that I take for granted. One of those things is to always refer to SQL server with the hostname only. You might think that using a fully qualified domain name (FQDN) is always a good practice, but in this case it isn’t. Just to be sure what I’m talking about:
Wrong:
New-SPConfigurationDatabase –DatabaseServer host.domain.tld …
Right:
New-SPConfigurationDatabase –DatabaseServer hostname …
Of course, the same is true when connecting or creating a farm in the SharePoint Configuration Wizard – but real admins use the command line, right?
Information about this topic is not only difficult to find, but also ambivalent – even on TechNet. The last time I was faced with this problem was when setting up the user profile service in SharePoint 2010. Spencer Harbar has documented this issue on his blog. However, for some applications (like Data Protection Manager) it seems to be a problem when you don’t use a fully qualified domain name for SharePoint.
A good practice to connect SharePoint to SQL Server is to use a SQL Alias, I’ve already written about this in earlier blog posts.
How to Control the OpenDocument Behavior in Office 365 SharePoint Online (Via Jesper Osgaard1)
Extracted from the original post
As described in an earlier blog post SharePoint Online comes with a very useful template "Express Team Site", from which you can easily fire up Office documents by clicking the built in icons (see below). Default behavior is that the document opens in the Office rich client if such is installed on the PC. If no Office is installed on the PC, the document will open up in Office Web Apps.
Some of you are perhaps wondering if you can in fact force the latter - make the documents open up in Office Web Apps no matter what. It can be done by disabling an add-on in IE (see how to further down in this blog post).
If you disable this add-on the behavior will change as follows:
How to Work with Managed Metadata Columns by Using the SharePoint Client Object Model (Mia Kaushalendra Kumar)
Extracted from the original post
Managed metadata is a hierarchical collection of centrally managed terms that you can define and then use as attributes for items in Microsoft SharePoint Server 2010. Managed terms can act as sources of data for columns in libraries or lists. To manage the taxonomy column by using the server object model, there are APIs available under the Microsoft.SharePoint.Taxonomy namespace. However, handling managed metadata columns by using the client object model requires a different strategy.
Managed Metadata Columns
To work with managed metadata columns by using the SharePoint client object model, it helps to have an understanding of how managed metadata columns store values in lists. Consider the following details:
Managed Metadata Columns are derived from SPFieldLookup
TaxonomyFieldValue has a WSS identifier that is the Lookup ID property of the term in the TaxonomyHiddenList list. TheTaxonomyHiddenList list can be viewed by navigating to /Lists/TaxonomyHiddenList/AllItems.aspx. This list contains the details of all of the terms that are used in any managed metadata column.
For Each Managed Metadata Column, the List has Two Columns
For every metadata column, there are two columns in the list. One column is created with a field name of type Taxonomy Field and other column is created with the name in format fieldnameTaxHTField0 of type Note. Details of the taxonomy hidden column (fieldnameTaxHTField0) can be found in the XML of the taxonomy field. The XML of a taxonomy field is similar to the following. The Text Field highlighted in yellow contains the GUID of the hidden column.
Sunday, November 20, 2011
Migrating from SharePoint 2007 to SharePoint 2010
- Custom site definitions
- Custom style sheets, including cascading style sheets, and images
- Custom Web Parts
- Custom Web services
- Custom features and solutions
- Custom assemblies
- Web.config changes (such as security)
- Administrator-approved form templates (.xsn files) and data connection files (.udcx files) for InfoPath
You must export form templates and data connection files from the original environment and then import them to the new environment. For more information, see Plan to upgrade form templates during an upgrade to SharePoint Server 2010 and Perform post-upgrade steps for a database attach upgrade (SharePoint Server 2010). - Any other components or files on which your sites depend.