Skip to Content
0
Former Member
Mar 29, 2011 at 02:59 PM

Error when using SAP .Net Connector NCO 3.0 with WCF service

878 Views

Hello

I am trying to use .Net connector (NCO 3.0) with WCF service and recieving the following Inner Exception

*"exePath must be specified when not running inside a stand alone exe."*

The same code works perfectly when used in a Console application.

Am I missing something in the configuration.

Below is the stack trace for the same

at SAP.Middleware.Connector.RfcDestinationManager.GetDestination(String destinationName)
   at MaintainPersonalData.MaintainPersonnelData.GetPersonnelDetails(Int32 EmpNo, DateTime BeginDate, DateTime EndDate) in *********************************************************************\MaintainPersonnelData.svc.cs:line 26
   at SyncInvokeGetPersonnelDetails(Object , Object[] , Object[] )
   at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
   at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)