Jump to content



Recommended Posts

Boas Pessoal,

Tenho um webservice que desenvolvi em C#, e funciona normalmente quando utilizo no localhost gerado pelo visual studio, o que acontece é que fiz agora um igual mas no IIS e aparece o seguinte erro.

An endpoint configuration section for contract 'WCFService.WCFService' could not be loaded because more than one endpoint configuration for that contract was found. Please indicate the preferred endpoint configuration section by name.

como posso resolver esta situação

Link to comment
Share on other sites

Bem pessoal este já corrigi , acrescentando este ficheiro no IIS

<?xml version="1.0" encoding="utf-8"?>
      <allow-from http-request-headers="SOAPAction">
        <domain uri="*"/>
        <resource path="/" include-subpaths="true"/>

agora faç o login entro na aplicação e aparece o seguinte erro.

an unhandle microsoft.net framework exception occurred in w3wp.exe [6284]. just-in-time debugging this exception failed with

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.