Let's move away from the custom event designer error and focus on the deployment errors.
The deployment is probably failing because the event notifications cannot be created. You can verify this by turning on full verbose logging in Visual Studio (Options > Project and Solutions > MSBuild Project build Output Verbosity) and then trying to deploy. The output window should display what is going on (might be worthwhile to post the output here so we can take a look).
There is something else you can try. But it might be a long shot and tedious to implement, but I understand you are desperate. Go into each client event and uncheck the checkbox to send notifications. Deploy the process. The deployment should work. Now go into the workflow again and recheck all the checkboxes to send notifications (if you had configurable notifications, ensure to back each of these up because you will need to reconfigure these. Hopefully this will recreate the notifications and you will no longer have any issues.
Let me know if this worked.
Regards,
Greetings,
First of all, thanks for the reply. :)
As for your suggestions, we're not deploying from Visual Studio, we are creating a deployment package, and deploying with MSbuild on the server.
Here is the log of that deployment:
Microsoft (R) Build Engine Version 2.0.50727.4016
[Microsoft .NET Framework, Version 2.0.50727.4206]
Copyright (C) Microsoft Corporation 2005. All rights reserved.
Build started 16-09-2011 16:15:42.
__________________________________________________
Project "C: ec1 - K2Server1.3 - Processo BlackpearlDeploymentCA.GestaoProcessos.Proc.Processes.GGER.msbuild" (default targets):
Target Deploy Processes:
   __________________________________________________
   Project "C: ec1 - K2Server1.3 - Processo BlackpearlDeploymentCA.GestaoProcessos.Proc.Processes.GGER.msbuild" is building "C: ec1 - K2Server1.3 - Processo BlackpearlDeploymentCA.GestaoProcessos.Proc.Processes.GGER.msbuild" (InitDeploy target(s)):
   Deploy Processes: Task Started (16-09-2011 16:15:43)
   Adding Process : CA.GestaoProcessos.Proc.Processes.GGERProc_GestaoGruposEconomicosRisco
   Deploy Process: Task Completed (16-09-2011 16:15:49)
Target Create Notifications:
   Notification Service: Task Started (16-09-2011 16:15:49)
     Server Connection: Try and Open K2GPSERVERQL.FE.CACORE.INT:5555
     Server Connection: Connected to K2GPSERVERQL.FE.CACORE.INT:5555
     Notification(s):
     Server Connection: Try and Close Any Open Connections to K2GPSERVERQL.FE.CACORE.INT:5555
     Server Connection: Done Closing Any Open Connections to K2GPSERVERQL.FE.CACORE.INT:5555
    Â
     Summary:
      Notifications Added to Worklist:  1
      Notifications Deleted to Worklist: 0
   Notification Service: Task Error: Access is denied.
    (16-09-2011 16:15:50)
   C: ec1 - K2Server1.3 - Processo BlackpearlDeploymentCA.GestaoProcessos.Proc.Processes.GGER.msbuild(108,5): error : Notification Service: Task Error: Access is denied.
   C: ec1 - K2Server1.3 - Processo BlackpearlDeploymentCA.GestaoProcessos.Proc.Processes.GGER.msbuild(108,5): error :
   C: ec1 - K2Server1.3 - Processo BlackpearlDeploymentCA.GestaoProcessos.Proc.Processes.GGER.msbuild(108,5): error MSB4018: The "SourceCode.DeploymentTasks.NotificationService.NotificationTask" task failed unexpectedly.
   C: ec1 - K2Server1.3 - Processo BlackpearlDeploymentCA.GestaoProcessos.Proc.Processes.GGER.msbuild(108,5): error MSB4018: System.Security.Cryptography.CryptographicException: Access is denied.
   C: ec1 - K2Server1.3 - Processo BlackpearlDeploymentCA.GestaoProcessos.Proc.Processes.GGER.msbuild(108,5): error MSB4018:
   C: ec1 - K2Server1.3 - Processo BlackpearlDeploymentCA.GestaoProcessos.Proc.Processes.GGER.msbuild(108,5): error MSB4018:   at SourceCode.Hosting.Client.BaseAPI.BaseAPIConnection.RemoteCall(String TypeName, String MethodName, Object.] Parameters, BooleanI] NullList, MarshalMessageType CallType)
   C: ec1 - K2Server1.3 - Processo BlackpearlDeploymentCA.GestaoProcessos.Proc.Processes.GGER.msbuild(108,5): error MSB4018:   at SourceCode.Hosting.Client.BaseAPI.BaseAPI.RemoteCall(String TypeName, String MethodName, ObjectÂ] Parameters, Booleann] NullList, MarshalMessageType CallType)
   C: ec1 - K2Server1.3 - Processo BlackpearlDeploymentCA.GestaoProcessos.Proc.Processes.GGER.msbuild(108,5): error MSB4018:   at SourceCode.Hosting.Client.BaseAPI.BaseAPI.RemoteSessionCall(String TypeName, String MethodName, Object ] Parameters)
   C: ec1 - K2Server1.3 - Processo BlackpearlDeploymentCA.GestaoProcessos.Proc.Processes.GGER.msbuild(108,5): error MSB4018:   at SourceCode.EventBus.ClientAPI.Notification.UpdateWorklistItemNotification(List`1 worklistItemIdentifiers)
   C: ec1 - K2Server1.3 - Processo BlackpearlDeploymentCA.GestaoProcessos.Proc.Processes.GGER.msbuild(108,5): error MSB4018:   at SourceCode.DeploymentTasks.NotificationService.Common.Publish()
   C: ec1 - K2Server1.3 - Processo BlackpearlDeploymentCA.GestaoProcessos.Proc.Processes.GGER.msbuild(108,5): error MSB4018:   at SourceCode.DeploymentTasks.NotificationService.NotificationTask.Execute()
   C: ec1 - K2Server1.3 - Processo BlackpearlDeploymentCA.GestaoProcessos.Proc.Processes.GGER.msbuild(108,5): error MSB4018:   at Microsoft.Build.BuildEngine.TaskEngine.ExecuteTask(ExecutionMode howToExecuteTask, Hashtable projectItemsAvailableToTask, BuildPropertyGroup projectPropertiesAvailableToTask, Boolean& taskClassWasFound)
Done building target "Create Notifications" in project "CA.GestaoProcessos.Proc.Processes.GGER.msbuild" -- FAILED.
Done building project "CA.GestaoProcessos.Proc.Processes.GGER.msbuild" -- FAILED.
Build FAILED.
C: ec1 - K2Server1.3 - Processo BlackpearlDeploymentCA.GestaoProcessos.Proc.Processes.GGER.msbuild(108,5): error : Notification Service: Task Error: Access is denied.
C: ec1 - K2Server1.3 - Processo BlackpearlDeploymentCA.GestaoProcessos.Proc.Processes.GGER.msbuild(108,5): error :
C: ec1 - K2Server1.3 - Processo BlackpearlDeploymentCA.GestaoProcessos.Proc.Processes.GGER.msbuild(108,5): error MSB4018: The "SourceCode.DeploymentTasks.NotificationService.NotificationTask" task failed unexpectedly.
C: ec1 - K2Server1.3 - Processo BlackpearlDeploymentCA.GestaoProcessos.Proc.Processes.GGER.msbuild(108,5): error MSB4018: System.Security.Cryptography.CryptographicException: Access is denied.
C: ec1 - K2Server1.3 - Processo BlackpearlDeploymentCA.GestaoProcessos.Proc.Processes.GGER.msbuild(108,5): error MSB4018:
C: ec1 - K2Server1.3 - Processo BlackpearlDeploymentCA.GestaoProcessos.Proc.Processes.GGER.msbuild(108,5): error MSB4018:Â Â Â at SourceCode.Hosting.Client.BaseAPI.BaseAPIConnection.RemoteCall(String TypeName, String MethodName, Object,] Parameters, Boolean ] NullList, MarshalMessageType CallType)
C: ec1 - K2Server1.3 - Processo BlackpearlDeploymentCA.GestaoProcessos.Proc.Processes.GGER.msbuild(108,5): error MSB4018:Â Â Â at SourceCode.Hosting.Client.BaseAPI.BaseAPI.RemoteCall(String TypeName, String MethodName, ObjectR] Parameters, Booleanr] NullList, MarshalMessageType CallType)
C: ec1 - K2Server1.3 - Processo BlackpearlDeploymentCA.GestaoProcessos.Proc.Processes.GGER.msbuild(108,5): error MSB4018:Â Â Â at SourceCode.Hosting.Client.BaseAPI.BaseAPI.RemoteSessionCall(String TypeName, String MethodName, Objectb] Parameters)
C: ec1 - K2Server1.3 - Processo BlackpearlDeploymentCA.GestaoProcessos.Proc.Processes.GGER.msbuild(108,5): error MSB4018:Â Â Â at SourceCode.EventBus.ClientAPI.Notification.UpdateWorklistItemNotification(List`1 worklistItemIdentifiers)
C: ec1 - K2Server1.3 - Processo BlackpearlDeploymentCA.GestaoProcessos.Proc.Processes.GGER.msbuild(108,5): error MSB4018:Â Â Â at SourceCode.DeploymentTasks.NotificationService.Common.Publish()
C: ec1 - K2Server1.3 - Processo BlackpearlDeploymentCA.GestaoProcessos.Proc.Processes.GGER.msbuild(108,5): error MSB4018:Â Â Â at SourceCode.DeploymentTasks.NotificationService.NotificationTask.Execute()
C: ec1 - K2Server1.3 - Processo BlackpearlDeploymentCA.GestaoProcessos.Proc.Processes.GGER.msbuild(108,5): error MSB4018:Â Â Â at Microsoft.Build.BuildEngine.TaskEngine.ExecuteTask(ExecutionMode howToExecuteTask, Hashtable projectItemsAvailableToTask, BuildPropertyGroup projectPropertiesAvailableToTask, Boolean& taskClassWasFound)
   0 Warning(s)
   2 Error(s)
Time Elapsed 00:00:07.82
--- End Deploy
As for your solution to uncheck the box for the notification, we have already tried that uncheck. Trouble is, when we uncheck, the process still does not deploy. I don't have the deploy log of that process, but we did try installing a new process (a replica of the old one) with a new name, and with no task notification, and the deploy result was (which was exaclty the same as the unckeck version of the old process):
Microsoft (R) Build Engine Version 2.0.50727.4016
lMicrosoft .NET Framework, Version 2.0.50727.4206]
Copyright (C) Microsoft Corporation 2005. All rights reserved.
Build started 22-09-2011 12:16:00.
__________________________________________________
Project "C: ec1.3 - Processo BlackpearlDeploymentCA.GestaoProcessos.Proc.Pro
cesses.GGER.msbuild" (default targets):
Target Deploy Processes:
   __________________________________________________
   Project "C: ec1.3 - Processo BlackpearlDeploymentCA.GestaoProcessos.Proc
.Processes.GGER.msbuild" is building "C: ec1.3 - Processo BlackpearlDeploymen
tCA.GestaoProcessos.Proc.Processes.GGER.msbuild" (InitDeploy target(s)):
   Deploy Processes: Task Started (22-09-2011 12:16:01)
   Adding Process : CA.GestaoProcessos.Proc.Processes.GGERProc_GestaoGER
   Deploy Process: Task Completed (22-09-2011 12:16:09)
Target Create Notifications:
   Notification Service: Task Started (22-09-2011 12:16:09)
                Server Connection: Try and Open K2GPSERVERQL.FE.CACORE.INT:5555
                Server Connection: Connected to K2GPSERVERQL.FE.CACORE.INT:5555
                Notification(s):
                Server Connection: Try and Close Any Open Connections to K2GPSE
RVERQL.FE.CACORE.INT:5555
                Server Connection: Done Closing Any Open Connections to K2GPSER
VERQL.FE.CACORE.INT:5555
                Summary:
                        Notifications Added to Worklist:  0
                        Notifications Deleted to Worklist: 1
   Notification Service: Task Error: Access is denied.
    (22-09-2011 12:16:09)
   C: ec1.3 - Processo BlackpearlDeploymentCA.GestaoProcessos.Proc.Processe
s.GGER.msbuild(102,5): error : Notification Service: Task Error: Access is denie
d.
   C: ec1.3 - Processo BlackpearlDeploymentCA.GestaoProcessos.Proc.Processe
s.GGER.msbuild(102,5): error :
   C: ec1.3 - Processo BlackpearlDeploymentCA.GestaoProcessos.Proc.Processe
s.GGER.msbuild(102,5): error MSB4018: The "SourceCode.DeploymentTasks.Notificati
onService.NotificationTask" task failed unexpectedly.
   C: ec1.3 - Processo BlackpearlDeploymentCA.GestaoProcessos.Proc.Processe
s.GGER.msbuild(102,5): error MSB4018: System.Security.Cryptography.Cryptographic
Exception: Access is denied.
   C: ec1.3 - Processo BlackpearlDeploymentCA.GestaoProcessos.Proc.Processe
s.GGER.msbuild(102,5): error MSB4018:
   C: ec1.3 - Processo BlackpearlDeploymentCA.GestaoProcessos.Proc.Processe
s.GGER.msbuild(102,5): error MSB4018:Â Â Â at SourceCode.Hosting.Client.BaseAPI.Ba
seAPIConnection.RemoteCall(String TypeName, String MethodName, Objectc] Paramete
rs, Boolean.] NullList, MarshalMessageType CallType)
   C: ec1.3 - Processo BlackpearlDeploymentCA.GestaoProcessos.Proc.Processe
s.GGER.msbuild(102,5): error MSB4018:Â Â Â at SourceCode.Hosting.Client.BaseAPI.Ba
seAPI.RemoteCall(String TypeName, String MethodName, Objecte] Parameters, Boolea
ng] NullList, MarshalMessageType CallType)
   C: ec1.3 - Processo BlackpearlDeploymentCA.GestaoProcessos.Proc.Processe
s.GGER.msbuild(102,5): error MSB4018:Â Â Â at SourceCode.Hosting.Client.BaseAPI.Ba
seAPI.RemoteSessionCall(String TypeName, String MethodName, ObjectC] Parameters)
   C: ec1.3 - Processo BlackpearlDeploymentCA.GestaoProcessos.Proc.Processe
s.GGER.msbuild(102,5): error MSB4018:Â Â Â at SourceCode.EventBus.ClientAPI.Notifi
cation.UpdateWorklistItemNotification(List`1 worklistItemIdentifiers)
   C: ec1.3 - Processo BlackpearlDeploymentCA.GestaoProcessos.Proc.Processe
s.GGER.msbuild(102,5): error MSB4018:Â Â Â at SourceCode.DeploymentTasks.Notificat
ionService.Common.Publish()
   C: ec1.3 - Processo BlackpearlDeploymentCA.GestaoProcessos.Proc.Processe
s.GGER.msbuild(102,5): error MSB4018:Â Â Â at SourceCode.DeploymentTasks.Notificat
ionService.NotificationTask.Execute()
   C: ec1.3 - Processo BlackpearlDeploymentCA.GestaoProcessos.Proc.Processe
s.GGER.msbuild(102,5): error MSB4018:Â Â Â at Microsoft.Build.BuildEngine.TaskEngi
ne.ExecuteTask(ExecutionMode howToExecuteTask, Hashtable projectItemsAvailableTo
Task, BuildPropertyGroup projectPropertiesAvailableToTask, Boolean& taskClassWas
Found)
Done building target "Create Notifications" in project "CA.GestaoProcessos.Proc.
Processes.GGER.msbuild" -- FAILED.
Done building project "CA.GestaoProcessos.Proc.Processes.GGER.msbuild" -- FAILED
.
Build FAILED.
C: ec1.3 - Processo BlackpearlDeploymentCA.GestaoProcessos.Proc.Processes.GG
ER.msbuild(102,5): error : Notification Service: Task Error: Access is denied.
C: ec1.3 - Processo BlackpearlDeploymentCA.GestaoProcessos.Proc.Processes.GG
ER.msbuild(102,5): error :
C: ec1.3 - Processo BlackpearlDeploymentCA.GestaoProcessos.Proc.Processes.GG
ER.msbuild(102,5): error MSB4018: The "SourceCode.DeploymentTasks.NotificationSe
rvice.NotificationTask" task failed unexpectedly.
C: ec1.3 - Processo BlackpearlDeploymentCA.GestaoProcessos.Proc.Processes.GG
ER.msbuild(102,5): error MSB4018: System.Security.Cryptography.CryptographicExce
ption: Access is denied.
C: ec1.3 - Processo BlackpearlDeploymentCA.GestaoProcessos.Proc.Processes.GG
ER.msbuild(102,5): error MSB4018:
C: ec1.3 - Processo BlackpearlDeploymentCA.GestaoProcessos.Proc.Processes.GG
ER.msbuild(102,5): error MSB4018:Â Â Â at SourceCode.Hosting.Client.BaseAPI.BaseAP
IConnection.RemoteCall(String TypeName, String MethodName, Object/] Parameters,
Booleanb] NullList, MarshalMessageType CallType)
C: ec1.3 - Processo BlackpearlDeploymentCA.GestaoProcessos.Proc.Processes.GG
ER.msbuild(102,5): error MSB4018:Â Â Â at SourceCode.Hosting.Client.BaseAPI.BaseAP
I.RemoteCall(String TypeName, String MethodName, ObjectC] Parameters, Booleanb]
NullList, MarshalMessageType CallType)
C: ec1.3 - Processo BlackpearlDeploymentCA.GestaoProcessos.Proc.Processes.GG
ER.msbuild(102,5): error MSB4018:Â Â Â at SourceCode.Hosting.Client.BaseAPI.BaseAP
I.RemoteSessionCall(String TypeName, String MethodName, Objects] Parameters)
C: ec1.3 - Processo BlackpearlDeploymentCA.GestaoProcessos.Proc.Processes.GG
ER.msbuild(102,5): error MSB4018:Â Â Â at SourceCode.EventBus.ClientAPI.Notificati
on.UpdateWorklistItemNotification(List`1 worklistItemIdentifiers)
C: ec1.3 - Processo BlackpearlDeploymentCA.GestaoProcessos.Proc.Processes.GG
ER.msbuild(102,5): error MSB4018:Â Â Â at SourceCode.DeploymentTasks.NotificationS
ervice.Common.Publish()
C: ec1.3 - Processo BlackpearlDeploymentCA.GestaoProcessos.Proc.Processes.GG
ER.msbuild(102,5): error MSB4018:Â Â Â at SourceCode.DeploymentTasks.NotificationS
ervice.NotificationTask.Execute()
C: ec1.3 - Processo BlackpearlDeploymentCA.GestaoProcessos.Proc.Processes.GG
ER.msbuild(102,5): error MSB4018:Â Â Â at Microsoft.Build.BuildEngine.TaskEngine.E
xecuteTask(ExecutionMode howToExecuteTask, Hashtable projectItemsAvailableToTask
, BuildPropertyGroup projectPropertiesAvailableToTask, Boolean& taskClassWasFoun
d)
   0 Warning(s)
   2 Error(s)
Time Elapsed 00:00:09.12
Again, thanks for your continued help. I've tried all the things i could think of, and any suggestions are welcome. :)