Gen .NET server PStep TEST_SERVER has been generated, built, assembled and resulting msi file deployed to IIS.
After generation and build of .NET Proxy the sample APP test harness TestServerAppTest.exe fails when execute the server with error "(404) Not Found":
Invoking 'TestServer::Execute(imports)' method.
'TestServer::Execute(imports)' FAILED with exception:
GenException: [Function: NETDynamicCoopFlow::ProcessException]The remote server returned an error: (404) Not Found.
at com.ca.gen.odc.coopflow.CoopFlow.PerformFlow(ITranEntry tran, IImportWrapper impWrapper, IExportWrapper expWrapper)
at ca.TestServer.Execute(TestServerImport importView, String comCfg)
at ProxyTestApplication.DoExecute()
Using "CMIDEBUG ON" in commcfg.txt to enable trace, the trace.out file shows:
06/28/17-10:03:28:631544[4]: NETDynamicCoopFlow::DoFlow(): Remote Server Address: http://localhost:80/ca/TestServer.rem
06/28/17-10:03:28:662792[4]: NETDynamicCoopFlow::ProcessException(): GenException created:
06/28/17-10:03:28:662792[4]: GenException: [Function: NETDynamicCoopFlow::ProcessException]The remote server returned an error: (404) Not Found.
Problem caused by customer's IIS deployment missing the handler mapping for *.rem files.
Add a handler mapping for *.rem files e.g.
Request path: *.rem
Type: System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Name: HttpRemotingHandlerFactory-rem-Integrated-4.0
Request Restrictions: