I've created an auto start workflow that is scheduled to run every hour on the hour. It starts with a "configurable auto start component" to determine if the process should run since i only want the actual process to run once a day.
When published to IIS, The embedded model within the Configurable auto start component completes with no issue, and goes to the end component with the StartWorkflowFlag = true, but the rest of the worflow does not run. This project works fine in Debug, but of course it craps out when I publish. I have made sure the directory security has integrated and anonymous authentication checked, and once it was published, the server extensions were restarted.
I checked the log and got the following...
Error,Wednesday, April 27, 2011 1:01:01 PM,System.ArgumentException: The parameter 'addresses' cannot be an empty string.
Parameter name: addresses
at System.Net.Mail.MailAddressCollection.Add(String addresses)
at LogicBase.Components.Default.Communication.SendEmailComponent.Run(IData data)
at LogicBase.Core.ExecutionEngine.SinglePathProcessComponentExecutionDelegate.Execute(IData data, IOrchestrationComponent comp, String& outputPath, IExecutionEngine engine, TLExecutionContext context)
at LogicBase.Core.ExecutionEngine.AbstractExecutionEngine.DoRunComp(IOrchestrationComponent comp, IData data, TLExecutionContext context)
Error,Wednesday, April 27, 2011 1:01:02 PM,current component Will not run(SendEmailComponent)
Error,Wednesday, April 27, 2011 1:01:02 PM,last component Is it 1:00pm?(MatchesRule)
Error,Wednesday, April 27, 2011 1:01:02 PM,resulting exception from execution
System.ArgumentException: The parameter 'addresses' cannot be an empty string.
Parameter name: addresses
at System.Net.Mail.MailAddressCollection.Add(String addresses)
at LogicBase.Components.Default.Communication.SendEmailComponent.Run(IData data)
at LogicBase.Core.ExecutionEngine.SinglePathProcessComponentExecutionDelegate.Execute(IData data, IOrchestrationComponent comp, String& outputPath, IExecutionEngine engine, TLExecutionContext context)
at LogicBase.Core.ExecutionEngine.AbstractExecutionEngine.DoRunComp(IOrchestrationComponent comp, IData data, TLExecutionContext context)
Error,Wednesday, April 27, 2011 1:01:02 PM,System.Exception: Execution Exception ---> System.ArgumentException: The parameter 'addresses' cannot be an empty string.
Parameter name: addresses
at System.Net.Mail.MailAddressCollection.Add(String addresses)
at LogicBase.Components.Default.Communication.SendEmailComponent.Run(IData data)
at LogicBase.Core.ExecutionEngine.SinglePathProcessComponentExecutionDelegate.Execute(IData data, IOrchestrationComponent comp, String& outputPath, IExecutionEngine engine, TLExecutionContext context)
at LogicBase.Core.ExecutionEngine.AbstractExecutionEngine.DoRunComp(IOrchestrationComponent comp, IData data, TLExecutionContext context)
--- End of inner exception stack trace ---
at LogicBase.Core.ExecutionEngine.AbstractExecutionEngine.RunEngine()
Error,Wednesday, April 27, 2011 1:02:02 PM,System.ArgumentException: The parameter 'addresses' cannot be an empty string.
Parameter name: addresses
at System.Net.Mail.MailAddressCollection.Add(String addresses)
at LogicBase.Components.Default.Communication.SendEmailComponent.Run(IData data)
at LogicBase.Core.ExecutionEngine.SinglePathProcessComponentExecutionDelegate.Execute(IData data, IOrchestrationComponent comp, String& outputPath, IExecutionEngine engine, TLExecutionContext context)
at LogicBase.Core.ExecutionEngine.AbstractExecutionEngine.DoRunComp(IOrchestrationComponent comp, IData data, TLExecutionContext context)
Error,Wednesday, April 27, 2011 1:02:02 PM,current component Will not run(SendEmailComponent)
Error,Wednesday, April 27, 2011 1:02:02 PM,last component Is it 1:00pm?(MatchesRule)
Error,Wednesday, April 27, 2011 1:02:02 PM,resulting exception from execution
System.ArgumentException: The parameter 'addresses' cannot be an empty string.
Parameter name: addresses
at System.Net.Mail.MailAddressCollection.Add(String addresses)
at LogicBase.Components.Default.Communication.SendEmailComponent.Run(IData data)
at LogicBase.Core.ExecutionEngine.SinglePathProcessComponentExecutionDelegate.Execute(IData data, IOrchestrationComponent comp, String& outputPath, IExecutionEngine engine, TLExecutionContext context)
at LogicBase.Core.ExecutionEngine.AbstractExecutionEngine.DoRunComp(IOrchestrationComponent comp, IData data, TLExecutionContext context)
Error,Wednesday, April 27, 2011 1:02:02 PM,System.Exception: Execution Exception ---> System.ArgumentException: The parameter 'addresses' cannot be an empty string.
Parameter name: addresses
at System.Net.Mail.MailAddressCollection.Add(String addresses)
at LogicBase.Components.Default.Communication.SendEmailComponent.Run(IData data)
at LogicBase.Core.ExecutionEngine.SinglePathProcessComponentExecutionDelegate.Execute(IData data, IOrchestrationComponent comp, String& outputPath, IExecutionEngine engine, TLExecutionContext context)
at LogicBase.Core.ExecutionEngine.AbstractExecutionEngine.DoRunComp(IOrchestrationComponent comp, IData data, TLExecutionContext context)
--- End of inner exception stack trace ---
at LogicBase.Core.ExecutionEngine.AbstractExecutionEngine.RunEngine()
Not exactly sure what its referencing with the "Parameter 'addresses' cannot be an empty string" messages. I do have send email components in my project, but they are configured completely.