views:

434

answers:

1

This is not a question but a solution that I just discovered. The issue was this: When I tried to create an Approval workflow on a document library through the browser in a a MOSS Enterprise installation, I got and "Unexpected Error" message. Outputting the error to the browser, I got

Value cannot be null.
Parameter name: g  at System.Guid..ctor(string g)
  at Microsoft.Office.Workflow.WrkAssocPage.AssociationOnLoad(EventArgs ea)
  ...

The logs did not provide any more useful information.

I found this page http://social.msdn.microsoft.com/forums/en-US/sharepointworkflow/thread/f84f0878-5c40-41fa-accc-9961cef93792/, which has some promising-sounding solutions, but none of them worked for me.

The solution that did work for me was to turn off httpOnly cookies, which I had recently enabled in the web.config with the line <httpCookies httpOnlyCookies="true" />.

A: 

hi!, before my workflows works well but now i have the same problem. how i can add this line on web.config?

thanks for advance!

Vero
The line that causes the problem is <httpCookies httpOnlyCookies="true" />. The line is not in the web.config by default. If it is in yours, try taking it out. If you don't have it, then maybe you are having the problem for a different reason. Maybe you should look at the message board I linked to above. That has some other solutions.
strongopinions