Support Portal
Language
 
Home>Knowledge Base>General Questions>Interactive Gantt and Windows authentication
Information
Article ID112
Created On2/18/2010
Modified2/18/2010
Interactive Gantt and Windows authentication
Q. Will the Interactive Gantt work for my EP.NET account configured for using Windows authentication?


A. Yes. Please make the following modifications in the Web.Config file (the file is in the EP.NET working folder, 'c:\inetpub\wwwroot\easyprojects' by default):

Please disable Anonymous access for your EP.NET virtual directory and make the following changes in your Web.Config file. They are marked green bold.

Note that you should use Notepad only for doing these modifications.

<!-- WCF service configuration section -->
  <system.serviceModel>
    <serviceHostingEnvironment aspNetCompatibilityEnabled="true" />
      <services>
          <!-- GANTT Services-->
          <service name="LogicSoftware.EasyProjects.Wcf.Services.UserService" behaviorConfiguration="EasyProjectBehavior">
              <endpoint address="http://ep.net.site.com/Services/UserService.svc" contract="LogicSoftware.EasyProjects.Wcf.Interfaces.IUser" binding="basicHttpBinding" bindingConfiguration="EasyProjectHttpBinding" />
              <!--<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />-->
          </service>
          <service name="LogicSoftware.EasyProjects.Wcf.Services.ActivityService" behaviorConfiguration="EasyProjectBehavior">
              <endpoint address="http://ep.net.site.com/Services/ActivityService.svc" contract="LogicSoftware.EasyProjects.Wcf.Interfaces.IActivity" binding="basicHttpBinding" bindingConfiguration="EasyProjectHttpBinding" />
              <!--<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />-->
          </service>
          <service name="LogicSoftware.EasyProjects.Wcf.Services.ProjectService" behaviorConfiguration="EasyProjectBehavior">
              <endpoint address="http://ep.net.site.com/Services/ProjectService.svc" contract="LogicSoftware.EasyProjects.Wcf.Interfaces.IProject" binding="basicHttpBinding" bindingConfiguration="EasyProjectHttpBinding" />
             <!--<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />-->
          </service>
          <service name="LogicSoftware.EasyProjects.Wcf.Services.PrintService" behaviorConfiguration="EasyProjectWebBehavior">
              <endpoint address="http://ep.net.site.com/Services/PrintService.svc" contract="LogicSoftware.EasyProjects.Wcf.Interfaces.IPrint" binding="webHttpBinding" bindingConfiguration="EasyProjectHttpWebBinding" />
          </service>

      <!-- FOR EASY PROJECTS .NET API AND SMARTER TICKET INTEGRATION WITH SSL-->
      <!--<service name="LogicSoftware.Framework.SharedServices.CommonOperations" behaviorConfiguration="CommonOperationsBehaviors">
              <endpoint address="https://SERVER/VIRTUALPATH/SharedServices.svc" binding="wsHttpBinding" bindingConfiguration="CommonOperationsTransportSecurityBinding" contract="LogicSoftware.Framework.SharedServices.Contracts.ICommonOperationsService"/>
              <endpoint contract="IMetadataExchange" binding="mexHttpBinding" address="mex"/>
          </service>-->

      <!-- FOR EASY PROJECTS .NET API -->
      <service name="LogicSoftware.Framework.SharedServices.APICommonOperationService" behaviorConfiguration="APICommonOperationsBehaviors">
        <endpoint address="http://ep.net.site.com/Services/APIServices.svc" binding="basicHttpBinding" bindingConfiguration="APIBaseCommonOperationsBinding" contract="LogicSoftware.Framework.SharedServices.Contracts.IAPICommonOperationService" />
        <!--<endpoint contract="IMetadataExchange" binding="mexHttpBinding" address="mex" />-->
      </service>

    </services>
      <bindings>
          <!-- GANTT Services-->
          <webHttpBinding>
              <binding name="EasyProjectHttpWebBinding">
                  <!--<security mode="None" />-->
<security mode="TransportCredentialOnly">
       <transport clientCredentialType="Windows" />
</security>

              </binding>
          </webHttpBinding>

          <basicHttpBinding>
              <!-- GANTT Services-->
              <binding name="EasyProjectHttpBinding">
                  <!--<security mode="None" />-->
<security mode="TransportCredentialOnly">
       <transport clientCredentialType="Windows" />
</security>
      
              </binding>

              <!-- FOR EASY PROJECTS .NET API -->
              <binding name="APIBaseCommonOperationsBinding" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:45:00" sendTimeout="00:45:00" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferSize="9924288" maxBufferPoolSize="9924288" maxReceivedMessageSize="9924288" messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" useDefaultWebProxy="true">
                  <readerQuotas maxDepth="32" maxStringContentLength="200000" maxArrayLength="200000" maxBytesPerRead="4096" maxNameTableCharCount="200000" />
                  <!--<security mode="None" />-->
<security mode="TransportCredentialOnly">
       <transport clientCredentialType="Windows" />
</security>

              </binding>



There is known issue for WCF service and Windows authentication (http://stackoverflow.com/questions/1026855/wcf-windows-authentication-security-settings-require-anonymous) and the above workaround helps.