1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

Acessar banco Progress com C#

Discussão em 'Progress 4GL' iniciado por lm1979, Março 25, 2014.

  1. lm1979

    lm1979 Membro Participativo

    Bom dia pessoal,
    Eu estou desenvolvendo uma aplicação em C# e preciso acessar uma tabela do EMS206, eu tenho um Broker parametrizado e tenho um programa (.P) que retorna uma temp-table, mas quando eu gero o proxy (Proxy Generator) retorna o erro 2 (erro = 2).

    Segue um trecho do arquivo de log.
    ** Generating .NET proxies ...
    Creating AssemblyInfo.cs ...
    Creating ttNotaServicoSchema.cs ...
    Creating listaNfse.cs ...
    Creating listanfse.cs ...
    Creating strongly typed datatable classes ...
    C:\DATASUL\DLC102B\bin\dotnet\PathFinder /csc
    C:\Windows\Microsoft.NET\Framework64\v2.0.50727\csc /t:exe /out:V:\totvs\StrongTypesNS\ttNotaServico.exe V:\totvs\StrongTypesNS\ttNotaServicoSchema.cs
    V:\totvs\StrongTypesNS\ttNotaServico.exe
    C:\DATASUL\DLC102B\bin\dotnet\PathFinder /xsd
    xsd /d /n:totvs.StrongTypesNS V:\totvs\StrongTypesNS\ttNotaServico.xsd
    Exception executing xsd //CreateProcess: xsd /d /n:totvs.StrongTypesNS V:\totvs\StrongTypesNS\ttNotaServico.xsd error=2. (7246)
    >>ERROR occurred trying to start executable. Its specified path is probably not correct, or its default path cannot be determined.
  2. jaisonantoniazzi

    jaisonantoniazzi Membro Ativo

    Amigo, esta tentativa não pode ser para usar o .Net pelo AppServer?
    Última edição: Março 26, 2014

Compartilhe esta Página