Archive Page 3

17
Oct
10

Due to heavy load, the latest workflow operation has been queued. It will attempt to resume at a later time.

I’ve been doing some deep diving into globally reusable workflow creation with SPD 2010 and am beginning to hit a number of errors and "notes."

In this case, I have been attempting to copy and modify the OOTB Publishing Approval workflow.  I’ve added a pair of parallel approval tasks prior to the standard approval task and have modified the start-up form to display my country approval groups in several country drop-downs. 

image

Whenever I start the workflow I tend to get this "note." 

Due to heavy load, the latest workflow operation has been queued. It will attempt to resume at a later time.

image

I can only assume this means it has been serialized in the database and is now subject to the timer jobs.  My biggest problem at the moment is that I’ve been unable to approve either of the tasks that were assigned in parallel.  If I use the task email that was sent, I get this nice error.

An error occurred while retrieving the workflow task details.  This may be caused by:

  • Not having connectivity to the server
  • The task no longer exists
  • You do not have permission to access the task.

I don’t think contacting my system administrator is going to make this any better, so I’ll go directly to the task list.

image

UPDATE:  Found that the SharePoint site needs to be in the Local intranet sites in order for this to work.

image

 

Oops!  That’s an error.  Not really sure what to do about it and I don’t have the time to mess with it at the moment.

image

16
Oct
10

Deleting a Globally Reusable Workflow that was Created by Copy and Paste

Here’s a good thing NOT to do.

  • Open SPD 2010 at the site collection level and go into the workflow assets.
  • Make a copy of the Publishing Approval workflow using copy/paste.
  • Decide that you really didn’t want to do it that way and delete your copy of the workflow.
  • Amazingly, all the Publishing Approval workflows are deleted.
  • Close SPD, thinking that this must be a user interface glitch.
  • Open SPD and verify that the workflows have indeed been deleted.
  • Start working on a way to get the Publishing Approval workflow back.
  • If you don’t have a lot of customized WFs yet, deactivate and reactivate the Publishing Approval workflow.
  • Use "Copy and Modify" in the future.

 

image

 

image

image

15
Oct
10

Let’s Make a Clickable Image Map Using SharePoint Designer 2010

…and I do mean Map!

Get your base image and copy it to the clipboard.  I’m going to use a map of the world.

image

On the asset-based navigation in SPD 2010, you’ll need to navigate to an object that will allow you to create an HTML file in it.  Here I’m using Site Pages, but you could also select All Files.  You probably want to save it somewhere so you can modify it later, if need be.

image

Open the file (Untitled_1.html) for editing.

image

Delete the HTML that came with the new page.

image

Paste your image into the page.

image

Click on the map image and then select Format under Picture Tools.  You’ll now have access to the Hotspot tool.  Select either the Polygonal, Rectangular or Circular Hotspot drawing tool.

image

Using your coloring skills you learned in Kindergarten, trace each of the areas you want to hotspot.

image

When you close the polygon, you’ll get a dialog where you can enter the address that the hotspot is linked to.

image

Copy all the source to the clipboard…

image

…and paste it into the HTML view of a content editor web part.

image

You should see it displayed with the regions visible.

image

The finished product.  Hovering over an area will give you "the hand" and clicking will take you to your hyperlink.

image

15
Oct
10

Can’t Edit Page Layout in SharePoint Designer 2010

Are you having issues opening a page layout in SPD 2010 for editing?  Is everything highlighted in yellow?  John White has a good explanation of what your problem probably is.  You need to edit the file in Advanced Mode.  What’s Advanced Mode?  It’s opening the file so you can really edit it instead of opening it in a mode where you can’t edit it…even though you clicked on Edit File.  Perhaps it should be called "Really Edit the FIle"  (That was supposed to be tongue-in-cheek humor).

What’s interesting is sometimes you’ll be asked if you want to open the file in Advanced Mode and other times the file will open in "read only" (yellow) mode.  Call me old fashioned, but when I click Edit File, I intend to edit the file.

image

Right-click the file and select "Edit File in Advanced Mode."

image

Or, with the File Information screen displayed, select the Edit File drop-down and click on "Edit File in Advanced Mode." 

image

Either way, you’ll be able to edit the file, as you probably intended to do in the first place.

 

Search Keywords:

Can’t edit file in SharePoint Designer 2010

Can’t edit page layout in SharePoint Designer 2010

Page is locked for editing in SharePoint Designer 2010

After copying and pasting a page layout it can’t be edited

Edit File in Normal Mode vs. Edit File in Advanced Mode

05
Oct
10

Getting failed emails to send in SharePoint 2007 custom workflow

We experienced a very frustrating issue with sending emails in SharePoint 2007 custom workflows.  The error we received was

The e-mail message cannot be sent.  Make sure the outgoing e-mail settings for the server are configured correctly.

First, a little background…

We had assigned a number of tasks upon employee  termination, such as “Collect badge”, “Revoke UNIX access”, etc.  There were about a dozen of these tasks assigned when the termination was entered.  When each task was assigned, a separate workflow was initiated to send the email to the person responsible for completing the task.  For example, someone in the Facilities group was responsible for collecting the employee’s badge.  The majority of the time, the email was sent and the logging indicated success.

image

… but sometimes, we received the error and could not determine why.  The issue was sporadic.  Sometimes all 12 emails would be sent successfully.  Other times, maybe 2 or 3 emails would fail – never consistently the same workflow processes.   

clip_image002

Is it possible that with this many emails we had a conflict issue of some sort?  Maybe… but 12 concurrent emails doesn’t seem to be an unreasonable number!

A quick look at the SharePoint logs during the time of the issue did not point us to an obvious problem with the workflow logic or the email settings. 

We stumbled upon a work-around quite by accident…

One of our workflows worked a little differently.  We had it set up to pause for some time after the initial email attempt.  It was in this process where we found that if the email was not sent properly, then within 30 minutes or so after the pause, the SharePoint timer job kicked in and took action. The timer job determined there had been an issue and restarted the workflow from the top, rerunning the logic to send the email.  With the delay built in, that workflow never had an issue sending the email.

This prompted us to add a 2 hour delay at the end of all of our email workflows to ensure we had plenty time to get the email sent appropriately.

image

The 2 hours is probably overkill, as it seems to consistently require only 30 minutes or so to eventually send the email (the timer job gets kicked off in our shop every 30 minutes).  Since there is no additional processing after the pause, it doesn’t hurt to include it in the logic.

A simple delay fixed our issue!  Since we have added the delay, all emails have been sent.

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!




Asif Rehmani’s SharePoint Videos

SharePoint-Videos

Click to access a wealth of SharePoint videos

SharePoint Rx

SharePoint Rx Home

Categories

Posts by Date

May 2012
M T W T F S S
« Mar    
 123456
78910111213
14151617181920
21222324252627
28293031  
Support Wikipedia

Follow

Get every new post delivered to your Inbox.