Click here to Skip to main content
14,937,163 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I've developed a wcf Service for an application. It is working perfectly in local IIS. I'm using VS2008 , IIS 5.1.I want to host it to my domain www.elearningsvc.nugenx.org. I've uploaded all the files to other directory(elearningservices) in FTP, without changing the original web.config file in the FTP. When I'm trying to access the service (http://www.elearningsvc.nugenx.org/Service.svc[^]) It is requiring Username and password(The Service 'http://elearningsvc.nugenx.org/Service.svc/$metadata' requires a username and password.)
Please Help this is my end points of web.config file i'm giving
XML
<client>
      <endpoint address="http://www.elearningsvc.nugenx.org/Service.svc"
        binding="basicHttpBinding" bindingConfiguration="" contract="IElearningServiceLibrary.IElearningService"
        name="">
        <identity>
          <dns value="www.elearningsvc.nugenx.org" />
        </identity>
      </endpoint>
    </client>
    <services>
      <service behaviorConfiguration="ServiceBehavior" name="ElearningServiceLibrary.ElearningService">
        <clear />
        <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"
          listenUriMode="Explicit" />
        <endpoint address="" binding="basicHttpBinding" bindingConfiguration=""
          name="Nugenx" contract="IElearningServiceLibrary.IElearningService">
          <identity>
            <dns value="www.elearningsvc.nugenx.org" />
          </identity>
        </endpoint>
      </service>
    </services>
Posted
Updated 15-Jul-13 21:37pm
v3
Comments
Mahesh Bailwal 23-Jun-13 7:17am
   
There can be many reasons for 500 Internal server error. You should check server logs to know the exact reason for error.
Bikash Prakash Dash 23-Jun-13 9:37am
   
But There is a index.html page which is opening without any error
Bernhard Hiller 24-Jun-13 2:23am
   
index.html is a static html page. No code at all needs to be executed for that page!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900