Deployed a web service to my Windows Server 2012 R2 and when I test the service on the server the following error shows in the log file. The server does have Power Server running on it using DotNet.
PB Trace output file: C:\inetpub\wwwroot\ldap_root\log\PBTrace.log
Main Exception:
Exception Time: 2018-08-16 10:25:56.7259285
Process ID: 4608
AppDomain: /LM/W3SVC/1/ROOT/LDAP-1-131789023859756287 Domain ID: 2
Managed Thread ID: 27
Current Thread State: Background
Method: Int32 FormatDate(Sybase.PowerBuilder.PBDate ByRef, System.String, Boolean, System.String ByRef)
Exception Type: System.IO.FileNotFoundException
Exception Message: System.IO.FileNotFoundException: Could not load file or assembly 'Sybase.PowerBuilder.Interop.dll' or one of its dependencies. The specified module could not be found.
File name: 'Sybase.PowerBuilder.Interop.dll'
at Sybase.PowerBuilder.PBInteropWrapper.FormatDate(PBDate& date, String format, Boolean isDataNull, String& ret)
at Sybase.PowerBuilder.DataTypeFormater.Format(PBDate val, String format)
Exception Source: Sybase.PowerBuilder.Common
Exception StackTrace: at Sybase.PowerBuilder.PBInteropWrapper.FormatDate(PBDate& date, String format, Boolean isDataNull, String& ret)
at Sybase.PowerBuilder.DataTypeFormater.Format(PBDate val, String format)
Exception Call Stack: at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at Sybase.PowerBuilder.PBLogger.logException(Exception ex, LogLevel logLevel, Boolean inner, Boolean logCallStack)
at Sybase.PowerBuilder.PBLogger.logException(Exception ex, LogLevel logLevel, Boolean inner)
at Sybase.PowerBuilder.PBLogger.LogExceptionOnly(Exception e, LogLevel logLevel)
at Sybase.PowerBuilder.PBLogger.LogException(Exception e, LogLevel logLevel)
at Sybase.PowerBuilder.PBLogger.LogException(Exception e)
at Sybase.PowerBuilder.DataTypeFormater.Format(PBDate val, String format)
at Sybase.PowerBuilder.PBSystemFunctions.String(PBAny v, PBString f)
at c__nc_iis_master.of_write_file(PBString as_msg) in c:\Users\calder.rr\Downloads\PB2017\WebService\LDAP\pb2cstempout\LDAP\nc_iis_master.of_write_file(IS):line 80
at c__nc_iis_master.of_write_log(PBString as_msg) in c:\Users\calder.rr\Downloads\PB2017\WebService\LDAP\pb2cstempout\LDAP\nc_iis_master.of_write_log(IS):line 26
at c__nc_std_active_directory_controller.of_validate_credentials(PBString as_domain, PBString as_user_id, PBString as_password) in c:\Users\calder.rr\Downloads\PB2017\WebService\LDAP\pb2cstempout\LDAP\nc_std_active_directory_controller.of_validate_credentials(ISSS):line 44
at c__nc_std_active_directory_interface.of_validate_credentials(PBString as_domain, PBString as_user_id, PBString as_password) in c:\Users\calder.rr\Downloads\PB2017\WebService\LDAP\pb2cstempout\LDAP\nc_std_active_directory_interface.of_validate_credentials(ISSS):line 41
at cns_ap_std_ldap_webservice.PBWS__nc_std_active_directory_interface.of_validate_credentials(String as_domain, String as_user_id, String as_password) in c:\Users\calder.rr\Downloads\PB2017\WebService\LDAP\pb2cstempout\LDAP\ap_std_ldap_webservice.asmx.cs:line 54
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Web.Services.Protocols.LogicalMethodInfo.Invoke(Object target, Object[] values)
at System.Web.Services.Protocols.WebServiceHandler.Invoke()
at System.Web.Services.Protocols.WebServiceHandler.CoreProcessRequest()
at System.Web.Services.Protocols.SyncSessionlessHandler.ProcessRequest(HttpContext context)
at System.Web.Script.Services.ScriptHandlerFactory.HandlerWrapper.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
at System.Web.HttpApplication.ApplicationStepManager.ResumeSteps(Exception error)
at System.Web.HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
at System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
at System.Web.HttpRuntime.ProcessRequestNoDemand(HttpWorkerRequest wr)
at System.Web.Hosting.ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)
at System.Web.Hosting.ISAPIRuntime.System.Web.Hosting.IISAPIRuntime2.ProcessRequest(IntPtr ecb, Int32 iWRType)
-------------------------------------------------------------------------------
Any help would be appreciated.
Thank you, Ron