Skip to main content

I created an InfoPath Client Event and configured it to send Email notifications. I deployed this workflow and everything worked fine till now.

 


 

 


When I try to re-deploy the same workflow again, without any change, then I am getting this error:


 


Error 23 Notification Service: Task Error: System.Exception: Dependancy could not be removed: Login failed for user 'NT AUTHORITYANONYMOUS LOGON'. ---> System.Data.SqlClient.SqlException: Login failed for user 'NT AUTHORITYANONYMOUS LOGON'.
   at SourceCode.Hosting.Client.BaseAPI.BaseAPIConnection.RemoteCall(String TypeName, String MethodName, Object,] Parameters, Boolean ] NullList, MarshalMessageType CallType)
   at SourceCode.Hosting.Client.BaseAPI.BaseAPI.RemoteCall(String TypeName, String MethodName, Objectm] Parameters, Booleans] NullList, MarshalMessageType CallType)
   at SourceCode.Hosting.Client.BaseAPI.BaseAPI.RemoteSessionCall(String TypeName, String MethodName, ObjectN] Parameters)
   at SourceCode.Dependancy.Client.DependancyClient.RemoveDependancy(DependancyObject depenancyObject)
   --- End of inner exception stack trace ---


Server stack trace:
   at SourceCode.Dependancy.Client.DependancyClient.RemoveDependancy(DependancyObject depenancyObject)
   at SourceCode.EventBus.EventAdmin.Admin.DeleteDependancy(String childClassID, String childID, String childName, String childVersion, String dependancyConnectionString)
   at SourceCode.EventBus.EventAdmin.Admin.DeleteCustomEventWithMappings(String connection, Int32 id)
   at System.Runtime.Remoting.Messaging.Message.Dispatch(Object target, Boolean fExecuteInContext)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)


Exception rethrown at p0]:
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at SourceCode.EventBus.EventAdmin.Admin.DeleteCustomEventWithMappings(String connection, Int32 id)
   at SourceCode.EventBus.Server.ClientServerImplimentation.UpdateWorklistItemNotification(List`1 worklistItemIdentifiers)
 C:Documents and SettingsNomulaMMy DocumentsVisual Studio 2005ProjectsBOUserRequestBOUserRequestobjDebugDeploymentBOUserRequest.msbuild 76 6 BOUserRequest


Error 24 The "SourceCode.DeploymentTasks.NotificationService.NotificationTask" task failed unexpectedly.
System.Exception: System.Exception: Dependancy could not be removed: Login failed for user 'NT AUTHORITYANONYMOUS LOGON'. ---> System.Data.SqlClient.SqlException: Login failed for user 'NT AUTHORITYANONYMOUS LOGON'.
   at SourceCode.Hosting.Client.BaseAPI.BaseAPIConnection.RemoteCall(String TypeName, String MethodName, ObjectS] Parameters, Booleang] NullList, MarshalMessageType CallType)
   at SourceCode.Hosting.Client.BaseAPI.BaseAPI.RemoteCall(String TypeName, String MethodName, Objectl] Parameters, Booleani] NullList, MarshalMessageType CallType)
   at SourceCode.Hosting.Client.BaseAPI.BaseAPI.RemoteSessionCall(String TypeName, String MethodName, Objecta] Parameters)
   at SourceCode.Dependancy.Client.DependancyClient.RemoveDependancy(DependancyObject depenancyObject)
   --- End of inner exception stack trace ---


Server stack trace:
   at SourceCode.Dependancy.Client.DependancyClient.RemoveDependancy(DependancyObject depenancyObject)
   at SourceCode.EventBus.EventAdmin.Admin.DeleteDependancy(String childClassID, String childID, String childName, String childVersion, String dependancyConnectionString)
   at SourceCode.EventBus.EventAdmin.Admin.DeleteCustomEventWithMappings(String connection, Int32 id)
   at System.Runtime.Remoting.Messaging.Message.Dispatch(Object target, Boolean fExecuteInContext)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)


Exception rethrown at t0]:
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at SourceCode.EventBus.EventAdmin.Admin.DeleteCustomEventWithMappings(String connection, Int32 id)
   at SourceCode.EventBus.Server.ClientServerImplimentation.UpdateWorklistItemNotification(List`1 worklistItemIdentifiers)
   at SourceCode.DeploymentTasks.NotificationService.NotificationTask.Execute()
   at Microsoft.Build.BuildEngine.TaskEngine.ExecuteTask(ExecutionMode howToExecuteTask, Hashtable projectItemsAvailableToTask, BuildPropertyGroup projectPropertiesAvailableToTask, Boolean& taskClassWasFound)
 C:Documents and SettingsNomulaMMy DocumentsVisual Studio 2005ProjectsBOUserRequestBOUserRequestobjDebugDeploymentBOUserRequest.msbuild 76 6 BOUserRequest



 


 


If un-check the radio button for sending notification event, then the deployment is successful, but the destination user is still getting an email Notifications regarding the task. For some reason, the system is unable to un-check this radio button.


 


I can not see notifications of this process under Workspace-Notification event designer. I am not sure if this is related to the above error I am getting.


 


I really appreciate any help in this regard.......


 


Thanks,


Madhukar

Be the first to reply!

Reply