Hello,
I have a web app running on IIS using Epicor’s BO to read and write through WCF. When I run the application in localhost I have no issues. I can read and write in Epicor’s DB using Business Objects. However when I deploy the application in ISS I get the error message at the bottom. I have given permission to IUSR to Epicor Clients Folder and my root application Folder. I also use the application pool identity in Annonymous Authentication (the only one that is enabled).
I was wondering if I have to add anything to my web application Web.config file under <system.serviceModel> < bindings>.
Thanx in advance!
Server is not available. Please review Server Event Logs for details.
System.UnauthorizedAccessException: Server is not available. Please review Server Event Logs for details. —> System.ServiceModel.Security.MessageSecurityException: An unsecured or incorrectly secured fault was received from the other party. See the inner FaultException for the fault code and detail. —> System.ServiceModel.FaultException: Server is not available. Please review Server Event Logs for details.
— End of inner exception stack trace —Server stack trace: at ystem.ServiceModel.Channels.SecurityChannelFactory
1.SecurityDuplexChannel.ProcessMessage(Message message, TimeSpan timeout) at System.ServiceModel.Channels.SecurityChannelFactory1.SecurityDuplexChannel.TryReceive(TimeSpan timeout, Message& message)
at System.ServiceModel.Dispatcher.DuplexChannelBinder.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object ins, Object outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)Exception rethrown at [0]:
at System.ServiceModel.Channels.CommunicationObject.ThrowPending()
at System.ServiceModel.Channels.CommunicationObject.DoneReceivingInCurrentState()
at System.ServiceModel.Channels.SecurityChannelFactory1.SecurityDuplexChannel.BeginTryReceive(TimeSpan timeout, AsyncCallback callback, Object state) at System.ServiceModel.Dispatcher.DuplexChannelBinder.BeginTryReceive(TimeSpan timeout, AsyncCallback callback, Object state) at System.ServiceModel.Dispatcher.ErrorHandlingReceiver.BeginTryReceive(TimeSpan timeout, AsyncCallback callback, Object state) --- End of inner exception stack trace --- at Epicor.ServiceModel.Channels.ImplBase1.ShouldRethrowNonRetryableException(Exception ex, DataSet dataSets)
at Ice.Proxy.Lib.SessionModImpl.Login()
at Ice.Core.Session…ctor(String userID, String password, String asUrl, LicenseType licenseType, String pathToConfigurationFile, Boolean fwVerCheck, String companyID, String plantID)