Home > Blogs > Eric Shupps | The SharePoint Cowboy > Posts > SharePoint Designer Workflows, Tasks, and the Annoying “Access Denied” Error
 
​The SharePoint Cowboy


photo of Eric Shupps
BinaryWave
611 S. Main St., Suite 400
Grapevine , TX , 76051 USA
October 17
SharePoint Designer Workflows, Tasks, and the Annoying “Access Denied” Error

As most of you know, I try to avoid SharePoint Designer like that creepy distant relative at family reunions who always gives you the heebie-jeebies. But lately we've had some clients who insist on doing everything "out of the box", so I've had to grit my teeth and, with great trepidation, fire up ye old SPD for some simple workflow creation.

For the most part, SPD workflows are fairly innocuous, with the most pain coming from beating your head against the wall trying to make it do something simple in seventeen steps that you could do with three lines of code in Visual Studio. That being said, there are some real annoying bugs that crop up from time to time, like this one: I create and deploy a workflow as the System Account but users can't edit their own tasks in the Tasks list. They get an "Access Denied" error whenever they try to edit the task (which, being an SPD-generated task, opens a custom .aspx page instead of the standard editform.aspx page). After some intense LiveSearching, I found a post from Paul Galvin on this issue. From where I stand, this definitely looks like a bug but I can't confirm whether it's version dependent (pre-SP1, post-SP1, etc.) because all the machines I'm testing on are patched to at least the Infrastructure Update level.

Unfortunately, Paul's workaround method (saving the workflow locally) didn't work for me – the 'Save As…' options were all greyed out. After futzing with it a bit, I tried something different – I checked the workflow out, then checked it back in (right-click the workflow folder in SPD, Check-Out/Check-In). Voila! Users can now edit their own tasks. Bizarre. It's worth noting that this only happened for me on workflows that were created by the System Account – regular users with Site Owner permissions did not experience this problem (your mileage may vary).

Now, if I could only go back to doing workflows the *right* way (that is, in Visual Studio instead of SPD), my day would be made…

Comments

Great Post!

I just wanted to say thanks for posting this information.  I was having the exact same issue, and had played with the permissions but with no success.  After checking the workflow out and back in, it magically started working.  Thanks Again.
System Account on 11/13/2008 8:41 AM

Task Workflow


Cool Stuff

All the steps are clearly mentioned.

Thanks
System Account on 12/25/2008 1:59 AM

blah

sdkjfdjf
System Account on 2/22/2009 10:48 AM

blah

sdkjfdjf
System Account on 2/22/2009 10:48 AM

Thanks!

I think you just saved my mind...
System Account on 3/31/2009 10:52 AM

Thanks!

I think you just saved my mind...
System Account on 3/31/2009 10:52 AM

Worked for me too...

after beating my head on my desk for 2 hours
System Account on 4/14/2009 11:39 AM

Thanks!!

worked here too, after 3 h of headbanging...
System Account on 5/19/2009 7:50 AM

Worked for me too

AAAAAAAAAAAARRRRRRRRRGGGGGGGGGGGGHHHHHHHHHHHH!!!!!!!!!!!!!!!!!

For real?  What kind of oddball random "i'd never find it in a million years' problem is this?  *sigh* such is the life of a SharePointer, eh?

Thanks a million.
System Account on 5/21/2009 3:42 PM

Thanks!

Guys, thanks for the solution!
System Account on 8/12/2009 5:53 AM
1 - 10Next

Add Comment

Items on this list require content approval. Your submission will not appear in public views until approved by someone with proper rights. More information on content approval.

Title


Body *


Comment Date *

Select a date from the calendar.
Enter the current date to prevent automated spambot comments.

Spam Prevention *


How many letters, not including spaces, does it take to spell "SharePoint Cowboy"?

Attachments

 

 




Copyright © 2013 BinaryWave, Inc. All rights reserved.