Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

SSIS debug in Visual Studio using a endpoint

$
0
0

Hello,


I am working in a package (Microsoft SQL Server Data Tools for Visual Studio 2017)


When I execute the package from the IDE (Visual Studio) I get an error  in Script Component when I try to create a new client in the line of Script Component in C#:

CWS.CWSClient client = new CWS.CWSClient("CWS");
 
"System.InvalidOperationException: 'Could not find endpoint element with name 'CWS' and contract 'CWS.CWS' in the ServiceModel client configuration section. This might be because no configuration file was found for your application, or because no endpoint element matching this name could be found in the client element.'"


My app.config have:

    <system.serviceModel>
        <bindings>
            <basicHttpBinding>
                <binding name="CWSSoapBinding" />
            </basicHttpBinding>
        </bindings>
        <client>
            <endpoint address="http://192.168.1.1:8080/newroim/services/StemationsWS"
                binding="basicHttpBinding" bindingConfiguration="CWSSoapBinding"
                contract="CWSClient.CWSClient" name="CWSClient" />
        </client>
    </system.serviceModel>


I added this config at the end of many files, for example:

C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\SSIS\140\Binn\DtsDebugHost.exe.config
C:\Program Files\Microsoft SQL Server\140\DTS\Binn\DTUtil.exe.config
C:\Program Files\Microsoft SQL Server\140\DTS\Binn\ISServerExec.exe.config
C:\Program Files\Microsoft SQL Server\140\DTS\Binn\DTExec.exe.config

Also, I restarted the computer, services, etc.. But I am getting the same error yet...
Any idea??

Thanks a lot, 
Martin



Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>