Archive for the 'SharePoint Infrastructure' Category



01
Mar
11

User Profile Synchronization Server Won’t Start and Other Errors

Let’s see, I installed the December 2010 CUs for SP 2010 and updated my VMs and host servers with Windows 2008 R2 SP1.  Long day…found a bad drive in one of my arrays that was forcing a controller reset degrading the array…that’s another story.

Tried to get into manage the User Profile Service (UPS) application and was met with an error and correlation ID.  Found that the User Profile Sync Service wasn’t started (?).

clip_image002

Tried starting it but it appeared that it didn’t want to start.

Checked out the logs from the correlation ID and searched using Google.

03/01/2011 09:32:42.95     w3wp.exe (0x0870)                           0x14F8    SharePoint Portal Server          User Profiles                     et8j    High        UserProfileServiceUserStatisticsWebPart:LoadControl failed, Exception: System.IO.FileLoadException: The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)     at Microsoft.Office.Server.UserProfiles.UserProfileConfigManager.InitializeIlmClient(String ILMMachineName, Int32 FIMWebClientTimeOut)     at Microsoft.Office.Server.UserProfiles.UserProfileConfigManager..ctor(UserProfileApplicationProxy userProfileApplicationProxy, Guid partitionID)     at Microsoft.SharePoint.Portal.WebControls.UserProfileServiceStatisticsWebPartBase.LoadControl(Object sender, EventArgs e)    f48806c2-7dac-439f-ba7d-078054357959

03/01/2011 09:32:42.95     w3wp.exe (0x0870)                           0x14F8    SharePoint Portal Server          User Profiles                     et8j    High        UserProfileServiceAudienceStatisticsWebPart:LoadControl failed, Exception: System.IO.FileLoadException: The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)     at Microsoft.Office.Server.UserProfiles.UserProfileConfigManager.InitializeIlmClient(String ILMMachineName, Int32 FIMWebClientTimeOut)     at Microsoft.Office.Server.UserProfiles.UserProfileConfigManager..ctor(UserProfileApplicationProxy userProfileApplicationProxy, Guid partitionID)     at Microsoft.SharePoint.Portal.WebControls.UserProfileServiceStatisticsWebPartBase.LoadControl(Object sender, EventArgs e)    f48806c2-7dac-439f-ba7d-078054357959

03/01/2011 09:32:42.95     w3wp.exe (0x0870)                           0x14F8    SharePoint Portal Server          User Profiles                     et8j    High        UserProfileServiceImportStatisticsWebPart:LoadControl failed, Exception: System.IO.FileLoadException: The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)     at Microsoft.Office.Server.UserProfiles.UserProfileConfigManager.InitializeIlmClient(String ILMMachineName, Int32 FIMWebClientTimeOut)     at Microsoft.Office.Server.UserProfiles.UserProfileConfigManager..ctor(UserProfileApplicationProxy userProfileApplicationProxy, Guid partitionID)     at Microsoft.SharePoint.Portal.WebControls.UserProfileServiceStatisticsWebPartBase.LoadControl(Object sender, EventArgs e)    f48806c2-7dac-439f-ba7d-078054357959

03/01/2011 09:32:42.98     w3wp.exe (0x0870)                           0x14F8    SharePoint Foundation             Runtime                           tkau    Unexpected    System.IO.FileLoadException: The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)    at Microsoft.Office.Server.UserProfiles.UserProfileConfigManager.InitializeIlmClient(String ILMMachineName, Int32 FIMWebClientTimeOut)     at Microsoft.Office.Server.UserProfiles.UserProfileConfigManager..ctor(UserProfileApplicationProxy userProfileApplicationProxy, Guid partitionID)     at Microsoft.SharePoint.Portal.UserProfiles.AdminUI.ProfileAdminPage.IsProfileSynchronizationRunning()     at Microsoft.SharePoint.Portal.WebControls.UserProfileServiceImportStatisticsWebPart.RenderSectionContents(HtmlTextWriter writer)     at Microsoft.SharePoint.Portal.WebControls.UserProfileServiceImportStatisticsWebPart.RenderWebPart(HtmlTextWriter write...    f48806c2-7dac-439f-ba7d-078054357959

03/01/2011 09:32:42.98*    w3wp.exe (0x0870)                           0x14F8    SharePoint Foundation             Runtime                           tkau    Unexpected    ...r)     at Microsoft.SharePoint.WebPartPages.WebPart.Render(HtmlTextWriter writer)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer)     at System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output)     at System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at Syst...    f48806c2-7dac-439f-ba7d-078054357959

03/01/2011 09:32:42.98*    w3wp.exe (0x0870)                           0x14F8    SharePoint Foundation             Runtime                           tkau    Unexpected    ...em.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at Microsoft.SharePoint.WebControls.UnsecuredLayoutsPageBase.RenderChildren(HtmlTextWriter writer)     at System.Web.UI.Page.Render(HtmlTextWriter writer)     at Microsoft.SharePoint.WebControls.UnsecuredLayoutsPageBase.Render(HtmlTextWriter writer)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)    f48806c2-7dac-439f-ba7d-078054357959

Found this blog post.

http://praveenbattula.blogspot.com/2010/05/userprofileserviceuserstatisticswebpart.html

I had gone through the Forefront issues before and had checked to insure they were running, so I performed an IISRESET.  Went back to look at the User Profile Sync Service and it showed to be started.

clip_image002[5]

All I needed was an IISRESET?  Maybe it was due to restarting all my servers in an incorrect order after the SP1 update.

26
Jan
11

Timer Job Failure on user profile service in SharePoint 2010

The incremental User Profile Service timer job was failing.

image

After looking around, I also noticed the User Profile Service would not start correctly.

image

The Forefront Identity Manager Service and Forefront Identity Manager Synchronization Service were both disabled for some reason.  I set them to Automatic.  They already had the SPFarm credentials assigned to them.

image

Now the User Profile Service starts correctly and the incremental job runs successfully.

References

Provisioning the User Profile Service Application

Forefront Identity Manager errors when starting the SharePoint 2010 User Profile Synchronization Service Application

Plan Security Hardening

Provisioning User Profile Synchronization

01
Dec
10

Updating the Application Pool Account on a SharePoint 2010 Site

I was working on changing the security on a 2010 site to use domain accounts instead of local and built-in accounts.  The problem I was having was that a non-administrative user couldn’t log into the SharePoint site, even though the user was a site collection administrator.

I created an app pool account to use (spDemoAppPool) and used SCA (SharePoint Central Administration) to register the account and assign the account to the application pool to replace the Network Service account.

image

image

After making this change, I ran the configuration wizard to have it fix the security on the app pool account.  However, I found that it didn’t fix all the security.  When looking at this Technet article, I found that the SQL security in the last two bullets was not correctly assigned.

http://technet.microsoft.com/en-us/library/cc678863.aspx#Section3

Other application pool accounts

The other application pool account must be a domain user account. This account must not be a member of the administrators group on any computer in the server farm.

The following machine-level permission is configured automatically: This account is a member of WSS_WPG.

The following SQL Server and database permissions are configured automatically:

  • This account is assigned to the db_owner role for the content databases.
  • This account is assigned to the db_owner role for search databases associated with the Web application.
  • This account must have read and write access to the associated service application database.
  • This account is assigned to the WSS_CONTENT_APPLICATION_POOLS role associated with the farm configuration database.
  • This account is assigned to the WSS_CONTENT_APPLICATION_POOLS role associated with the SharePoint_Admin content database.

If you use SQL Server Management Studio, you can find the SharePoint Config and Admin_content databases and look at the properties on the WSS_Content_Application_Pools database role.

image

image

From here, I selected the checkbox next to my spDemoAppPool account and clicked OK.

image

That appeared to fix my problem.

Now on to this problem…

http://www.thereforesystems.com/sharepoint-installation-failed-to-create-sample-data/

18
Nov
10

Setting up the IIS SMTP Server for Sending Email from SharePoint 2010 on Server 2008 R2

Insure that the IIS role is installed on your server.  Then, make sure that the SMTP Server feature is enabled.

image

The SMTP service should be started.

image

Open the IIS 6.0 Manager so you can manage the SMTP server settings.

image

Right-click to open the properties dialog.

Click the Authentication button.  Ensure that anonymous access is selected (SharePoint requires this).

image

Use the Connection button to Add computer(s) that can connect to this SMTP server.  Since it is anonymous, you want to be very selective.

image

Use the Relay button to add computers that can relay through the virtual server.  Again, necessary for security.

image

Select the Delivery tab.  We’re assuming you have to authenticate to your email provider to forward and send email through them.

image

Click the Outbound Security button.  This shows using basic authentication with TLS encryption (pretty standard from what I’ve seen).

image

Click the Outbound Connections button.  In many cases you’ll have to change the TCP port from the default of 25.  My provider uses 587.

image

Clicked the Advanced button.  In the Advanced Delivery dialog, enter the SMTP server in the Smart host field and a Masquerade domain.  The Masquerade domain name replaces the local domain name listing in Mail From lines in the SMTP protocol (your SMTP server may be in a domain such as mail.yourdomain.com).

image 

Set the Outgoing E-Mail Settings in SharePoint Central Administration.  Notice there are no security settings.

image

08
Sep
10

The Resource Object with Key ‘S2SearchAdminDashboard_Title’ was not Found

We were working on a search project and had three environments with which we were dealing:  Dev, Test and Production.  All had been seriously neglected in terms of service packs and cumulative updates, so we began the process of updating each environment from straight SP1 to SP2 (WSS and MOSS) with the Infrastructure Update (WSS and MOSS) and the latest (June 2010, KB983311, KB983310) cumulative updates. 

Dev and Test went without a hitch, but that wasn’t the case for Production.  When attempting to access the search administration pages, we were presented with "An error occurred during the processing of . The resource object with key ‘S2SearchAdminDashboard_Title’ was not found."  Ugh!

image

Doing some Googling turned up this article by Jeff DeVerter.  After I screwed up by copying two of the wrong files in his article (didn’t really matter because they were the same) without a positive result, my co-worker looked over my shoulder and identified my error (that sometimes happens when you are working late at night).  After getting the correct files copied from a good installation (our staging environment, in this case) to the SSP’s virtual directory, all was well with the world.

  • App_GlobalResources\searchadmin.en-us.resx
  • App_GlobalResources\SearchAdmin.resx
  • App_GlobalResources\sps.en-US.resx
  • App_GlobalResources\sps.resx
  • _app_bin\layouts.sitemap

Now, on to the August 2010 cumulative updates!

 

 

 

23
Jul
10

Toolbar Above “Select an Asset” Webpage Dialog Missing in SharePoint 2010

I’m seeing this on multiple SharePoint 2010 installation when dealing with a publishing site.  Colonel Forbin has posted this issue on social.msdn.com. 

When adding a picture to a publishing page and navigating through the dialogs, there used to be an upload feature on this dialog.  It seems that it’s not appearing for some reason.  Anyone else seeing this?

image

11
Jul
10

Running the Content Query Web Part (CQWP) on a Team Site Without the Publishing Infrastructure Feature Enabled in SharePoint 2010

I was doing a little monkeying around (read that "book editing") with SharePoint 2010 and decided to see if the similar post I read by Sameer Dhoot was still true in 2010.  If you are missing the CQWP in SharePoint, you’ll find that activating the Publishing Infrastructure feature will fix the problem, as the CQWP is added/enabled as part of the Publishing Infrastructure.  Well, what if you want to use it in a team site for some reason?  Turns out you can still do it.

If you simply export the CQWP from the web part gallery of your publishing site and import it to the web part gallery on your collaboration site, you won’t run into any problems.

image

You can export the web part by clicking the Edit icon and selecting the Export function in the ribbon.

image

The problems will start to occur when you try and use it.  You’ll get errors when your page on which you’ve added the CQWP attempts to render the web part.

image

In this version of SharePoint, there is a Style Library in both collaboration and publishing sites.  The important difference is that the collaboration site Style Library is empty.  This is where the problem resides.  You can either copy the content out of the publishing site style library or, you can create a list template out of the publishing style library and save the content with the template. 

Since the publishing site does not have a "Save document library as template" link, you’ll have to create one on your own.  Navigate to the library settings on your Shared Documents library and select the "Save document library as template" link.  You’ll notice that this is using the _layouts/savetmpl.aspx page and it is passing the List GUID as a parameter  (/_layouts/savetmpl.aspx?List=%7B1C534D30%2D9F2F%2D41A5%2DAC98%2D51CD244F532D%7D).

image

Navigate to the publishing site’s Style Library settings page (_layouts/listedit.aspx).  Now simply change the listedit.aspx to savetmpl.aspx and press enter.  Fill out the form being sure to "Include Content" and save it.

image

You should get a successful save.  Now navigate to the list template gallery.

image

Right-click and save the list template (STP) on your computer. 

image

Now all you need do is navigate to your site template gallery on your collaboration site and upload the STP file.  Then you can delete the existing Style Library and create a new list called Style Library from the template. 

image

You should now feel the love the the CQWP in your collaboration site.

image

Further investigation shows that the CQWP needs these three style sheets in order to function correctly:  ContentQueryMain, Header and ItemStyle.  Removing any of these from the Style Library will cause the CQWP to throw an error.  So, you could probably just export these styles and import them into your collaboration site’s Style Library and accomplish the same thing.

image

01
Jul
10

How Long Does It Take To Attach a 90 Gigabyte Content Database in SharePoint 2010?

Thought this might be an interesting graph for some folks.

This shows the elapsed time for upgrading a content database using the database attach method.  This was all done on a memory-starved, physical quad-core server with 4GB of memory that has SQL, SharePoint 2010 and Project Server 2010 on it.  This is NOT a final production configuration…it is merely a test to see what issues we are going to encounter during the upgrade to 2010.

image

So far, it doesn’t look like Bamboo or SharePoint Solutions have their 2010 products in production yet, so we didn’t have all the binaries on the test box.  But, that didn’t stop us from being able to successfully get through the database attach (mount) PowerShell command:

Mount-SPContentDatabase

Now we have to wade through the "not best practice" UI customizations that were done to our 2007 web apps.  Looks like it’s time for an extreme makeover!

22
Jun
10

What To Do When You Can’t Access Your SharePoint Site You Are Hosting In Your Office

Note to self:

REBOOT THE CABLE MODEM!

14
Jun
10

Missing Lists and Libraries on the SharePoint Create Page (create.aspx)

If you find yourself missing lists and libraries on the create page in SharePoint and you’re wondering where where your WIKI library, contacts list, announcement list, calendar, and all the other goodies went, you’ll need to check to insure that the features are enabled on your site.  Here’s a case where there are plenty of custom lists, but not many of the out-of-the-box lists.

SharePointCreateScreenMissingItems

It’s very possible you created your site with a publishing portal template and all the other goodies were not turned on by default.  To correct this, you’ll need to navigate to the Site Features page under Site Administration.

SelectSiteFeatures

From here, you can see that the standard features and team collaboration lists are not activated.

ActivateFeatures

So, activate the standard site features and team collaboration lists.

FeaturesActivated

You should be able to create all the lists and libraries you want!

CreateScreenWithAllLibrariesAndLists




Asif Rehmani’s SharePoint Videos

SharePoint-Videos

Click to access a wealth of SharePoint videos

SharePoint Rx

SharePoint Rx Home

Categories

Posts by Date

August 2022
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
293031  
Support Wikipedia