Gen .NET proxy sample test harness receives "(404) Not Found" error when execute the Gen .NET server already deployed to IIS.

Document ID:  TEC1693958
Last Modified Date:  07/13/2017
{{active ? 'Hide' : 'Show'}} Technical Document Details


  • CA Gen


  • CA Gen:Release:8.6
  • CA Gen:Release:8.5


  • CA Gen Run Time, ASP.NET:CGRTNA
  • CA Gen Run Time, Proxies:CGRTP

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 tran, IImportWrapper impWrapper, IExportWrapper expWrapper)

   at ca.TestServer.Execute(TestServerImport importView, String comCfg)

   at ProxyTestApplication.DoExecute()

IIS 7.5, 8.5 .NET Framework v4.0

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=, Culture=neutral, PublicKeyToken=b77a5c561934e089 

Name: HttpRemotingHandlerFactory-rem-Integrated-4.0

Request Restrictions:

  • Mapping: No changes 
  • Verbs tab: Select checkbox "one of the following verbs" and add these values GET,HEAD,POST,DEBUG 
  • Access tab: Select "Script"
Additional Information:

Please help us improve!

Will this information enable you to resolve your issue?

Please tell us what we can do better.

{{feedbackText.length ? feedbackText.length : '0'}}/255


Not what you were looking for?

Search Again >

Product Information

Support by Product >


Join a Community >

Chat with CA

Just give us some brief information and we'll connect you to the right CA ExpertCA sales representative.

Our hours of availability are 8AM - 5PM CST.

All Fields Required


We're matching your request.

Unfortunately, we can't connect you to an agent. If you are not automatically redirected please click here.

  • {{}} will be helping you today.

    View Profile

  • Transfered to {{}}

    {{}} joined the conversation

    {{}} left the conversation

  • Your chat with {{$storage.chatSession.messages[$index - 1]}} has ended.
    Thank you for your interest in CA.

    Rate Your Chat Experience.


agent is typing