I am new with WCF and wanted to create a service that will create task/print labels/manage engines.
So i am doing some testing.
I created 2 operation contracts.
1st is having an input string and will return "Hello" + the input data from the user.
2nd is to just start 2 BT engines after the button is clicked.
I hosted the WCF in IIS (everything is done in a single development machine).
Created a client to access the WCF service.
The 1st works fine, i put something on the text box and returns the correct output.
the 2nd one i got this error (supposed to start 2 BT engines)
An exception of type 'System.ServiceModel.FaultException' occurred in mscorlib.dll but was not handled in user code
Additional information: The server was unable to process the request due to an internal error.
For more information about the error, either turn on IncludeExceptionDetailInFaults
(either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order
to send the exception information back to the client, or turn on tracing as per the
Microsoft .NET Framework SDK documentation and inspect the server trace logs.
Can anyone guide me to fix this issue.
I am using BT Enterprise Automation 10.0 (licensed)
my code inside the service to start 2 BT engines:
using (TaskManager btTaskManager = new TaskManager())
// Start a TaskEngine.