Answered by:
Unable To Publish Workflows

Question
-
Hello Everyone,
Our setup: Windows 2003 Enterprise, SQL 2005, CRM 4.0 - All on 1 box in a test environment.
I am having difficulty publishing workflows. I've created a simple workflow using the wizard, that sets Service Activity to completed status. I can create and then subsequently save the workflow, however I attempt to publish this workflow, I receive the following error:
"An error occured when the worksflow was being created. Try to save the worksflow again."
The following events are logged in the application log as well.
---------------------------------------------------
Event Type: Warning
Event Source: MsiInstaller
Event Category: None
Event ID: 1004
Date: 12/5/2008
Time: 7:51:37 AM
User: EXCHANGE07\administrator
Computer: CRMSERVER
Description:
Detection of product '{BC8DD950-8100-42F4-9EA9-26FCD41690AF}', feature 'Server', component '{7A0289FD-133A-45B2-9D1E-DDB777FE512A}' failed. The resource '' does not exist.
---------------------------------------------------
Event Type: Warning
Event Source: MsiInstaller
Event Category: None
Event ID: 1001
Date: 12/5/2008
Time: 7:51:37 AM
User: EXCHANGE07\administrator
Computer: CRMSERVER
Description:
Detection of product '{BC8DD950-8100-42F4-9EA9-26FCD41690AF}', feature 'Server' failed during request for component '{7A0289FD-133A-45B2-9D1E-DDB777FE512A}'
---------------------------------------------------
Event Type: Error
Event Source: MsiInstaller
Event Category: None
Event ID: 10005
Date: 12/5/2008
Time: 7:51:40 AM
User: EXCHANGE07\administrator
Computer: CRMSERVER
Description:
Product: Microsoft Dynamics CRM Server -- You have to go to Control Panel, Add or Remove Programs to repair or uninstall Microsoft Dynamics CRM Server.
Data:
0000: 7b 42 43 38 44 44 39 35 {BC8DD95
0008: 30 2d 38 31 30 30 2d 34 0-8100-4
0010: 32 46 34 2d 39 45 41 39 2F4-9EA9
0018: 2d 32 36 46 43 44 34 31 -26FCD41
0020: 36 39 30 41 46 7d 690AF}
---------------------------------------------------
Event Type: Information
Event Source: MsiInstaller
Event Category: None
Event ID: 11729
Date: 12/5/2008
Time: 7:51:40 AM
User: EXCHANGE07\administrator
Computer: CRMSERVER
Description:
Product: Microsoft Dynamics CRM Server -- Configuration failed.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Data:
0000: 7b 42 43 38 44 44 39 35 {BC8DD95
0008: 30 2d 38 31 30 30 2d 34 0-8100-4
0010: 32 46 34 2d 39 45 41 39 2F4-9EA9
0018: 2d 32 36 46 43 44 34 31 -26FCD41
0020: 36 39 30 41 46 7d 690AF}
---------------------------------------------------
Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1309
Date: 12/5/2008
Time: 7:51:57 AM
User: N/A
Computer: CRMSERVER
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 12/5/2008 7:51:57 AM
Event time (UTC): 12/5/2008 12:51:57 PM
Event ID: 4032a7b9c8734a789f68c591e4396a49
Event sequence: 4034
Event occurrence: 11
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/2/ROOT-1-128728970265145525
Trust level: Full
Application Virtual Path: /
Application Path: C:\Program Files\Microsoft CRM\CRMWeb\
Machine name: CRMSERVER
Process information:
Process ID: 4616
Process name: w3wp.exe
Account name: EXCHANGE07\administrator
Exception information:
Exception type: TargetInvocationException
Exception message: Exception has been thrown by the target of an invocation.
Request information:
Request URL: http://crmserver:5555/JaydienNetworkSolutions/_grid/cmds/dlg_activate.aspx?iObjType=4703&iTotal=1&iIndex=0&iId={75C7D64B-0663-42FB-A1DE-0A98BF163894}
Request path: /JaydienNetworkSolutions/_grid/cmds/dlg_activate.aspx
User host address: 192.168.10.99
User: EXCHANGE07\bfleishman
Is authenticated: True
Authentication Type: Negotiate
Thread account name: EXCHANGE07\administrator
Thread information:
Thread ID: 1
Thread account name: EXCHANGE07\administrator
Is impersonating: False
Stack trace: at Microsoft.Crm.Application.Utility.Util.RaiseXMLError(Exception exception)
at Microsoft.Crm.Dialogs.ActivateDialogPage.ConfigureForm()
at Microsoft.Crm.Application.Controls.AppUIPage.OnPreRender(EventArgs e)
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
---------------------------------------------------
I have recycled the App Pool, restarted the asynch service and have done IISREST, multiple times. Doesn't seem to do anything. Any assistance would be greatly appreciated.
Thanks in advance.
Brian
www.jaydien.com
support@jaydien.comFriday, December 5, 2008 1:08 PM
Answers
-
we had this problem ... it was update rollup.
it was fixed by uninstalling and reinstalling the update rollup
extract the exe file
run setup.exe /? (i cant remember the exact name)
it shows you the uninstall option.
uninstall then reinstall and problem goes away like magic.
apparently its because of some lines mising on the web.config file.
- Proposed as answer by Garyh001 Monday, February 16, 2009 6:29 PM
- Marked as answer by Scott Sewell, Hitachi SolutionsModerator Sunday, April 5, 2009 1:12 AM
Monday, February 16, 2009 5:13 PM
All replies
-
Hi,
is it applied to "Service Activity" workflow only ? is it possible to test with other entities, other simple entities, to make sure that the workflow is failed only for particular entity only.
You can check also at the Settings -> System Job and see whether there's any failed workflow.
hope this helps,
hadi teo.Friday, December 5, 2008 1:46 PM -
Hi,
Thanks for the response.
No it is not applies only to service activity. I have tries to create other simple workflows to test, but all have the same result, with the same error logs.
I have also checked the system jobs as you asked, and I have not workflow jobs listed at all.
Any other suggestions?
Thanks!
Brian
www.jaydien.com
support@jaydien.comSaturday, December 6, 2008 9:33 PM -
Anyone have any suggestions? I am at a real loss on this one.
Thanks in advance.
Brian
www.jaydien.com
support@jaydien.comMonday, December 8, 2008 4:09 PM -
Were you able to find out a solution? I'm also with the same problem
Friday, December 19, 2008 10:42 AM -
No I have not. And doesn't look like anyone in this forum knows how to fix this issue as well.
BrianMonday, December 29, 2008 12:33 PM -
Tuesday, January 13, 2009 7:06 PM
-
I am having this issue as well. I was just trying to make a change to an existing workflow by unpublishing it, adding a step, and then publishing it again. As you say, saving works fine, publishing fails.
Anxious to here a solution to this one ...
Wednesday, January 14, 2009 1:23 AM -
Hello!
I noticed the error you had and received something similar with Microsoft Office in the past. This may be totally un-related as I see you have an administrator account, but installing Microsoft Office, or sometimes even using components like visio, excel etc. with a user account that has limited access/rights caused this error to come up for me. The answer I got was to re-install office with a user acccount with more rights. It seemed that certain applicaiton may try to access resources/directories that need users with greater priviledges.
Long story short, that worked, not sure if that's anything related. Finally, could you turn tracing on and see if you get a more descriptive error? I'd be curious to see what that says...
Wednesday, January 14, 2009 2:58 AM -
You can try rollup update 1
http://blogs.msdn.com/crm/archive/2008/12/23/update-rollup-1-for-microsoft-dynamics-crm-4-0.aspx
Also see worklfow publish rights either you have rights to publish or not.
If still issue, repair
REgards,
Imran
Thursday, January 15, 2009 11:14 AMModerator -
Hello all,
I have the same problem with my worflows. I recently installed the CRM Update Rollup 2
When I uninstall the Rollup 2 i'm now abble to publish my workflow
Hope this help
DD- Proposed as answer by 365knowledge.com Sunday, February 15, 2009 2:15 PM
Tuesday, February 10, 2009 2:32 PM -
Hi everyone. The following post in my blog might help: http://www.crmconsult.info/blog/_archives/2009/2/14/4093035.html
Let me know if it does.
RobSunday, February 15, 2009 2:17 PM -
Hi Robert,
Just a quick question about your link.. is this an update for Rollup 2? When rollup2 was released, we installed it and it fixed alot of issues but then I started having the same issues as everyone else in the past few weeks. I have all rights to CRM to do whatever and my co-workers have been getting frequent error messages when trying to do tasks that they performed without a problem in the past.
Has anyone found any resolution to this?
Thank you!
-AnneMonday, February 16, 2009 4:22 PM -
we had this problem ... it was update rollup.
it was fixed by uninstalling and reinstalling the update rollup
extract the exe file
run setup.exe /? (i cant remember the exact name)
it shows you the uninstall option.
uninstall then reinstall and problem goes away like magic.
apparently its because of some lines mising on the web.config file.
- Proposed as answer by Garyh001 Monday, February 16, 2009 6:29 PM
- Marked as answer by Scott Sewell, Hitachi SolutionsModerator Sunday, April 5, 2009 1:12 AM
Monday, February 16, 2009 5:13 PM -
Hello all!
We just uninstalled and reinstalled the rollup. Workflows are publishing now!
Thank you!Monday, February 16, 2009 6:29 PM -
here is a kb article about this issue:
http://support.microsoft.com/default.aspx/kb/968793
also you can find information about it on: http://blogs.msdn.com/crm/archive/2009/01/20/update-rollup-2-for-microsoft-dynamics-crm-4-0.aspx
Look answer at comments
Saturday, April 4, 2009 7:17 AM