Default Security for net.tcp endpoints

I'm using a net.tcp endpoint on a service running on a server on the company domain. I have a client that has been joined to the domain, but which is now outside the company intranet, so it is unable to reach the domain controller. My thought was that since
it would not have connectivity to the domain controller, it would not be able to authenticate with the service, but the client is able to authenticate just fine. Are the credentials still secure when this is the case and is there any security concerns I should
be aware of?
Client Configuration:
  <system.serviceModel>
    <bindings>
      <netTcpBinding>
        <binding name="NetTcpBinding_IMyService">
        </binding>
      </netTcpBinding>
    </bindings>
    <client>
      <endpoint address="net.tcp://mydomain.com:1234/MyTCPService"
        binding="netTcpBinding" bindingConfiguration="NetTcpBinding_IMyService"
        contract="MyService.IMyService" name="NetTcpBinding_IMyService">
      </endpoint>
    </client>
  </system.serviceModel>
Server Configuration:
  <system.serviceModel>
    <behaviors>
      <serviceBehaviors>
        <behavior name="ServiceBehavior">
          <serviceMetadata httpGetEnabled="false" httpsGetEnabled="false" />
          <serviceDebug includeExceptionDetailInFaults="true" /> 
        </behavior>
      </serviceBehaviors>
    </behaviors>
    <services>
<service behaviorConfiguration="ServiceBehavior" name="MyService.MyService">
          <endpoint address="net.tcp://localhost:1234/MyService" binding="netTcpBinding" bindingConfiguration="" contract="MyService.IMyService" />
      </service>
    </services>
  </system.serviceModel>

Hi Colin O'Brien,
By default the NetTcpBinding will use the transport security and the default client credential type for NetTcpBinding is the Windows Authentication. In order to use the Windows Authentication, both client and server must be in the same domain, or they should
in a trusted domains.
If both client and server were on the same domain, WCF would handle the mechanics of Windows Authentication "behind the scenes". If you don't have mutually trusting client and server domains, then the client and server must have some other way
to determine if they trust each other with their keys. 
In one word is that in order to use the security over the NetTcpBinding, both of client and server must be within a domain (or in trusted domains) or it must have a key exchanging certificate.
Best Regards,
Amy Peng
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • WCF net.tcp binding Opentimeout not firing

    I have a WCF service with net.tcp endpoint. I have been using reliable session. In one of our production scenario, the web server was down and in this case the client systems was trying to establish a connection with the service. The clients were stuck up
    at this point without raising any timeout errors. I wanted to know why there was no timeout exception raised during this scenario when the server is hung and not responding.
    Note : The timeout values are set to its default values and the send timeout is set to infinite. 

    Hi sabarish.m,
    I think it is maybe because that you have set the sendTimeout value to infinite, as far as I known the sendTimetout is the timeout that specifies how long the client can wait for the transport to complete data writing until throwing exception. It is
    a client side setting. You can try to set the sendTimeout value to 1min to test if it throws the timeout exception.
    For more information, please try to refer to the following article:
    #Binding.SendTimeout Property:
    https://msdn.microsoft.com/en-us/library/system.servicemodel.channels.binding.sendtimeout(v=vs.110).aspx .
    Best Regards,
    Amy Peng
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Getting a "Could not find a base address that matches scheme net.tcp"

    I've written several WCF services which use HTTP (and its variants).  Now I'm trying to learn how to write a WCF service which will use TCP.  I'm using Andrew Troelsen's book, "Pro C# 2008 and the .NET 3.5 Platform" as a guide (chapter 25).  I've asked questions related to this before on a much more complicated WCF service, so I decided to write a simple WCF service to learn how to do it, rather than work on my more complicated WCF service.  Coincidentally I chose the same routine as Troelsen did in his book, although in my case I called the WCF service SimpleAdd.
    Anyway, after writing the WCF service, I then wrote the Windows Service to host it.  I then installed it, and the installation went fine.  When I tried to run the service, the service started but then immediately stopped.  I checked the event log and found the following message in it:
    "Service cannot be started. System.InvalidOperationException: Could not find a base address that matches scheme net.tcp for the endpoint with binding MetadataExchangeTcpBinding. Registered base address schemes are [http]."
    Here's the interface code for my SimpleAdd:
    using System;  
    using System.Collections.Generic;  
    using System.Linq;  
    using System.Runtime.Serialization;  
    using System.ServiceModel;  
    using System.Text;  
    namespace SimpleAdd  
        // NOTE: If you change the interface name "IService" here, you must also update the reference to "IService" in App.config.  
        [ServiceContract]  
        public interface IService  
            [OperationContract]  
            int Add(int FirstNumber, int SecondNumber);  
    Here's the code for the implementation (I'm leaving out the using statements):
    namespace SimpleAdd  
        // NOTE: If you change the class name "Service" here, you must also update the reference to "Service" in App.config.  
        public class Service : IService  
            #region IService Members  
            int IService.Add(int FirstNumber, int SecondNumber)  
                return (FirstNumber + SecondNumber);  
            #endregion  
    And here's the App.Config file for the service:
    <?xml version="1.0" encoding="utf-8" ?> 
    <configuration> 
      <system.web> 
        <compilation debug="true" /> 
      </system.web> 
      <!-- When deploying the service library project, the content of the config file must be added to the host's   
      app.config file. System.Configuration does not support config files for libraries. --> 
      <system.serviceModel> 
        <services> 
          <service behaviorConfiguration="SimpleAdd.ServiceBehavior" name="SimpleAdd.Service">  
            <clear /> 
            <endpoint binding="wsHttpBinding" contract="SimpleAdd.IService" 
              listenUriMode="Explicit">  
              <identity> 
                <dns value="localhost" /> 
                <certificateReference storeName="My" storeLocation="LocalMachine" 
                  x509FindType="FindBySubjectDistinguishedName" /> 
              </identity> 
            </endpoint> 
            <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" 
              listenUriMode="Explicit">  
              <identity> 
                            <!--   
                <certificateReference storeName="My" storeLocation="LocalMachine" 
                  x509FindType="FindBySubjectDistinguishedName" /> 
                                --> 
              </identity> 
            </endpoint> 
            <endpoint address="net.tcp://localhost/SimpleAdd/" binding="netTcpBinding" 
              bindingConfiguration="" contract="SimpleAdd.IService" /> 
            <host> 
              <baseAddresses> 
                <add baseAddress="http://localhost:8731/Design_Time_Addresses/SimpleAdd/Service/" /> 
              </baseAddresses> 
            </host> 
          </service> 
        </services> 
        <behaviors> 
          <serviceBehaviors> 
            <behavior name="SimpleAdd.ServiceBehavior">  
              <serviceMetadata httpGetEnabled="true" /> 
              <serviceDebug includeExceptionDetailInFaults="false" /> 
            </behavior> 
          </serviceBehaviors> 
        </behaviors> 
      </system.serviceModel> 
    </configuration> 
    I don't think it will matter much, because I believe the problem probably lies in the App.config file for the Windows service, but just in case, here's the code for the AddWinService (without the using statements):
    namespace WindowsAddService  
        public partial class AddWinService : ServiceBase  
            //A member variable of type ServiceHost.  (I'm using the "Pro C# 2008" book as reference for this.)  
            private ServiceHost myHost;  
            public AddWinService()  
                InitializeComponent();  
            protected override void OnStart(string[] args)  
                //just to be really safe  
                if (myHost != null)  
                    myHost.Close();  
                    myHost = null;  
                //create the host  
                myHost = new ServiceHost(typeof(SimpleAdd.Service));    //I've included the class from SimpleAdd, which isn't in the book!!!  
                //open the host  
                myHost.Open();  
            protected override void OnStop()  
                //shut down the host  
                if (myHost != null)  
                    myHost.Close();  
    And lastly, here is the App.Config file from my AddWinService:
    <?xml version="1.0" encoding="utf-8" ?> 
    <configuration> 
        <system.serviceModel> 
            <client> 
                <endpoint address="net.tcp://localhost/SimpleAdd" 
                                    binding="netTcpBinding" 
                                    contract="SimpleAdd.IService" 
                                    name="netTcpBinding_IService" /> 
            </client> 
            <services> 
                <service name="SimpleAdd.Service" 
                                 behaviorConfiguration="SimpleAddMEXBehavior">  
                    <!-- Enable the MEX endpoint --> 
                    <endpoint address="mex" 
                                        binding="mexTcpBinding" 
                                        contract="IMetadataExchange" /> 
                    <host> 
                        <!-- Need to add this so MEX knows the address of our service. --> 
                        <baseAddresses> 
                            <add baseAddress="http://localhost:8731/Design_Time_Addresses/SimpleAdd/Service/" /> 
                        </baseAddresses> 
                    </host> 
                </service> 
            </services> 
            <behaviors> 
                <serviceBehaviors> 
                    <behavior name="SimpleAddMEXBehavior">  
                        <serviceMetadata httpGetEnabled="true" /> 
                    </behavior> 
                </serviceBehaviors> 
            </behaviors> 
        </system.serviceModel> 
    </configuration> 
    So, where have I gone wrong?
    Rod

    Hello Richard,
    Well, I've tried making the change to the MEX point for net.tcp, but now when I try to start the service I get the following error in the event log:
    Service cannot be started. System.InvalidOperationException: Service 'SimpleAdd.Service' has zero application (non-infrastructure) endpoints. This might be because no configuration file was found for your application, or because no service element matching the service name could be found in the configuration file, or because no endpoints were defined in the service element.
    I am sure the problem lies with what I've put into the app.config file.  My app.config file now looks like this:
    <?xml version="1.0" encoding="utf-8" ?> 
    <configuration> 
        <system.serviceModel> 
            <client> 
                <endpoint address="" 
                                    binding="netTcpBinding" 
                                    contract="SimpleAdd.IService" 
                                    name="netTcpBinding_IService" /> 
            </client> 
            <services> 
                <service name="SimpleAdd.Service" 
                                 behaviorConfiguration="SimpleAddMEXBehavior">  
                    <!-- Enable the MEX endpoint --> 
                    <endpoint address="mex" 
                                        binding="mexTcpBinding" 
                                        contract="IMetadataExchange" /> 
                    <host> 
                        <!-- Need to add this so MEX knows the address of our service. --> 
                        <baseAddresses> 
                            <add baseAddress="net.tcp://localhost/SimpleAdd" /> 
                        </baseAddresses> 
                    </host> 
                </service> 
            </services> 
            <behaviors> 
                <serviceBehaviors> 
                    <behavior name="SimpleAddMEXBehavior">  
                        <serviceMetadata httpGetEnabled="false" /> 
                    </behavior> 
                </serviceBehaviors> 
            </behaviors> 
        </system.serviceModel> 
    </configuration> 
    I've also tried using this for the <client> tag under <system.serviceModel>:
    <client> 
       <endpoint address="net.tcp://localhost/SimpleAdd" 
             binding="netTcpBinding" 
        contract="SimpleAdd.IService" 
        name="netTcpBinding_IService" /> 
    </client> 
    But that gives me the same error in the event log.
    So, what have I done wrong now?
    Rod

  • There was no endpoint listening at net.tcp:

    All,
    I keep getting this message when from a client notifies another client. I verified port 9912 is open by telenet to the port. Same software work fine if I reinstall our server or install
    the server on other machine. Here is the exception I got when on the net tcp call. We also verify that no firewall or antivirus software running.
    THe exception message: {"There was no endpoint listening at net.tcp://mycomputer_name:9912/myApplication.exe-Notification-1 that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException,
    if present, for more details."
    Does anyone have any suggestion on how what could cause this issue?
    Thanks!

    Hi PeterFL,
    I wonder if you have hosted the WCF net.tcp service in the IIS. By default we can not host WCF net.tcp service in the IIS, if we want to implement it, we need to do some configuration.
    For more information, please try to refer to the following articles:
    #Hosting in IIS using NetTcpBinding:
    http://blogs.msdn.com/b/james_osbornes_blog/archive/2010/12/07/hosting-in-iis-using-nettcpbinding.aspx .
    #Hosting WCF Service with netTcpBinding on IIS7:
    http://www.codeproject.com/Articles/667618/Hosting-WCF-Service-with-netTcpBinding-on-IIS .
    #How to host WCF service with netTcpBinding or netNamedPipeBinding in IIS:
    http://dotnetmentors.com/hosting-wcf-service-with-nettcpbinding-or-netnamedpipebinding-in-iis.aspx .
    If you do not host the WCF net.tcp service in the IIS, please try to enable the WCF tracing to help find some detailed error information:
    #How to enable the WCF tracing:
    https://msdn.microsoft.com/en-us/library/ms733025(v=vs.110).aspx .
    Best Regards,
    Amy Peng
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • When I try to combine two pdf's, it asks for a permission password and says the documents are protected; however, I didn't put any protection/security in the documents.  I assume it is a default security under the enhanced security settings of the Acrobat

    When I try to combine two pdf's, it asks for a permission password and says the documents are protected; however, I didn't put any protection/security in the documents.  I assume it is a default security under the enhanced security settings of the Acrobat Pro XI which I recently purchased.

    Acrobat (Pro or Standard) does not apply a "default" protection. It appears that someone or some other process has applied protection.
    Be well...

  • Default security context for signed applets using WinXP+IE8

    What is the default security context for signed applets from the internet zone using Java 6 and WinXP+IE8 combination? My guess is that all file and socket access available for the user's Windows account is provided to the applet as well. Is this correct and if so, is there a way to limit these access privileges for signed applets from the internet zone?
    This information is surprisingly difficult to find given how security concious people now are using the internet.

    AntonBoer wrote:
    Thank you for your swift reply.
    Unfortunately your answer reflects to my worst fears. Frankly I find this security model naiive. Anyone with euros can get their applet signed so that is no security control at all.The same naive security model applies to just about anything signed and downloaded; not just to Java Applets.
    >
    Working for a corporate IT how I am supposed to allow Java installations on any of our computers with internet access? That automatically means I am providing them as platforms to whoever wishes to run Java code on them (given that the user of course visits the web site). I would have expected Sun to put more effort into this but it appers nothig have changed in this regard for 10 years.I don't see this as a Sun problem; it is indicative of what I consider to be a general security weakness for all computer systems. For example, for Windows, Vista just added more user involvement in the trust process but it still allows programs to run pretty much unconstrained if the user agrees to them running.
    For some time I have advocated a more fine grained approach. I would like to see ALL programs run in a sandbox that a user can specify what and what cannot be done by each individual program. Unfortunately, this would annoy the hell out of most users so it has little chance of every of ever being accepted. The average user just wants a run-and-forget-about-security model.

  • BEA public API (WLS6.1)for programatically updating default security realm?

    Hi,
    Does anyone know how to use BEA's public API to programmatically add/update WLS
    6.1 user credentials in the default security realm? The API would of course
    automatically persist the updates to $WLS/config/mydomain/fileRealm.properties.
    Is there a way to do such updates by programmatically engaging the WLS security
    realm related Mbeans? I basically need to do (from a deployed application component)
    what is easily done from the WLS Console's [security->User->Add User/Change
    Password] screen. Ideally, I could use the same API that the weblogic.security.acl.internal.FileRealm
    command line utility (or wlshell also) uses to make updates. But I doubt that
    the classes used by these tools are in BEA's public API for WLS 6.1. Especially
    important to me would be the BEA API mechanism that takes a clear-text password
    and hashes it to the encrypted format written in fileRealm.properties (and synchronized
    w/ SerializedSystemIni.dat). Ultimately, I am trying to replicate a large
    Oracle table of (*user, clear-text -password, group) records into the default
    WLS security realm. Thanks for any insights.
    Ben

    Thanks to another's post, I have found the answer to my problem in the Girdley/Woollen/Emerson
    book "J2EE Applications and BEA WebLogic Server" pp. 496-498:
    Note: this code segment is for WLS 6.1 and this API is said to be deprecated
    in WLS 7+
    //Roughly outlined, assuming session w/ userName, groupName, password Strings
    in HTTP Post request
    weblogic.security.acl.CachingRealm realm = (weblogic.security.acl.CachingRealm)
    weblogic.security.acl.Security.getRealm();
    weblogic.security.acl.User u;
    weblogic.security.acl.Group g;
    u = realm.newUser(userName, password, null);
    g = realm.getGroup(groupName); // use g = realm.newGroup(groupName) if groupName
    does not exist in realm
    g.addMember(u);
    //log in the new user
    int rc = weblogic..servlet.security.ServletAuthentication.weak(userName, password,
    httpSession);
    // use realm.deleteUser(u), realm.deleteGroup(g) as appropriate, etc.
    "Ben Cotton" <[email protected]> wrote:
    >
    >
    Hi,
    Does anyone know how to use BEA's public API to programmatically add/update
    WLS
    6.1 user credentials in the default security realm? The API would of
    course
    automatically persist the updates to $WLS/config/mydomain/fileRealm.properties.
    Is there a way to do such updates by programmatically engaging the
    WLS security
    realm related Mbeans? I basically need to do (from a deployed application
    component)
    what is easily done from the WLS Console's [security->User->Add User/Change
    Password] screen. Ideally, I could use the same API that the weblogic.security.acl.internal.FileRealm
    command line utility (or wlshell also) uses to make updates. But I
    doubt that
    the classes used by these tools are in BEA's public API for WLS 6.1.
    Especially
    important to me would be the BEA API mechanism that takes a clear-text
    password
    and hashes it to the encrypted format written in fileRealm.properties
    (and synchronized
    w/ SerializedSystemIni.dat). Ultimately, I am trying to replicate
    a large
    Oracle table of (*user, clear-text -password, group) records into the
    default
    WLS security realm. Thanks for any insights.
    Ben

  • Error while talking WCF using net.tcp

    I am getting following error  in Trace viewer while communicating WCF service from WPF application using NetTCP
    The ' ' character, hexadecimal value 0x20, cannot be included in a name.
    Parameter name: name
    I am getting error on following even of WPF
    ===============================
    void onStartClick(object sender, EventArgs e)  {               
            productsServiceHost = new ServiceHost(typeof(ProductsServiceImpl));
    Here is my app.config of WPF
    ====================
    <?xml version="1.0"?>
    <configuration>
        <configSections>
            <section name="dataConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Data.Configuration.DatabaseSettings, Microsoft.Practices.EnterpriseLibrary.Data, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    requirePermission="true" />
        </configSections>
        <dataConfiguration defaultDatabase="AdventureWorksConnection" />
        <connectionStrings>
            <add name="AdventureWorksConnection" connectionString="Data Source=WIN764PRSP1\SQL2008;Initial Catalog=AdventureWorks2008;User ID=sa;Password=!@Sql2008@!"
                providerName="System.Data.SqlClient" />
        </connectionStrings>
        <startup>
            <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
        </startup>
        <system.serviceModel>
            <services>
                <service behaviorConfiguration="ProductsTcpBehavior" name="ProductsService.ProductsServiceImpl">
                    <endpoint address="net.tcp://localhost:8080/TcpProductsService"
                    binding="netTcpBinding" bindingConfiguration="" name="NetTcpBinding_IProductsService "
                    contract="ProductsService.IProductsService" />
                </service>
            </services>
            <behaviors>
                <serviceBehaviors>
                    <behavior name="ProductsTcpBehavior">                    
                        <serviceDebug includeExceptionDetailInFaults="True" />
                        <serviceMetadata />
                    </behavior>
                </serviceBehaviors>
            </behaviors>
        </system.serviceModel>
    </configuration>
    Here is my app.config of Console Client Application
    ===================================
    <?xml version="1.0" encoding="utf-8" ?>
    <configuration>
        <system.serviceModel>
            <bindings>
                <basicHttpBinding>
                    <binding name="NetTcpBinding_IProductsService" closeTimeout="00:01:00"
                        openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
                        allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
                        maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
                        messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
                        useDefaultWebProxy="true">
                        <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
                            maxBytesPerRead="4096" maxNameTableCharCount="16384" />
                        <security mode="None">
                            <transport clientCredentialType="None" proxyCredentialType="None"
                                realm="" />
                            <message clientCredentialType="UserName" algorithmSuite="Default" />
                        </security>
                    </binding>
                </basicHttpBinding>
            </bindings>
            <client>
                <endpoint address="net.tcp://localhost:8080/TcpProductsService"
                    binding="netTcpBinding" bindingConfiguration="" contract="ProductsService.IProductsService"
                    name="NetTcpBinding_IProductsService" />
            </client>
        </system.serviceModel>
    </configuration>
    Here is Program.Cs file in Client
    ======================
     static void Main(string[] args)
                Console.WriteLine("Press ENTER when the service has started");
                Console.ReadLine();
                // Create a proxy object and connect to the service
                //ProductsServiceClient proxy =
                //    new ProductsServiceClient("BasicHttpBinding_IProductsService");
                ProductsServiceClient proxy = new
                    ProductsServiceClient("NetTcpBinding_IProductsService");
                // Test the operations in the service
                // Obtain a list of all products
                Console.WriteLine("Test 1: List all products");
                string[] productNumbers = proxy.ListProducts();
                foreach (string productNumber in productNumbers)
                    Console.WriteLine("Number: " + productNumber);
                Console.WriteLine();
    Can anyone assist where i am wrong.

    Hi IT Quest,
    In your scenario, I see that you have hosted your WCF Service on the WPF application and it throws exception from WPF application, so in my mind, the WPF does not work well when hosting the WCF Service, please try to do a test by using the WcfTestClient(https://msdn.microsoft.com/en-us/library/bb552364(v=vs.110).aspx)
    to see if your WCF Service works well.
    The following article show us how to host a WCF service using WPF, please try to check it:
    https://soumya.wordpress.com/2010/05/26/wcf-simplified-part-7-hosting-a-wcf-service-using-wpf/ .
    Please also try to enable the WCF tracing to help find the root cause.
    #How to enable WCF tracing:
    https://msdn.microsoft.com/en-us/library/ms733025(v=vs.110).aspx .
    Besides, if the problem still exist, it will better if you can try to post a simple reproduce project in here.
    Best Regards,
    Amy Peng
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Could not connect to net.tcp://localhost:890/Microsoft.Exchange.Directory.TopologyService

    All the Exchange 2013 Prerequisites appeared to install correctly.  The installation of Exchange 2013 on Windows Server 2012 hangs at Initializing Setup.  Then I find event 4027, source MSExchange ADAccess in the application event log.  The
    same thing happens if I try to prepare the Active Directory from the command prompt. The old Exchange 2007 server and Active Directory Server are on the same network and all firewalls are off.  The entire content of the event is below.  Any ideas
    appreciated.
    Log Name:      Application
    Source:        MSExchange ADAccess
    Date:          1/30/2014 12:47:01 PM
    Event ID:      4027
    Task Category: (1)
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      MAILSRV2.sescolighting.com
    Description:
    The description for Event ID 4027 from source MSExchange ADAccess cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event: 
    ExSetupUI.exe
    3868
    Get Servers for sescolighting.com
    TopologyClientTcpEndpoint (localhost)
    3
    System.ServiceModel.EndpointNotFoundException: Could not connect to net.tcp://localhost:890/Microsoft.Exchange.Directory.TopologyService. The connection attempt lasted for a time span of 00:00:02.0038715. TCP error code 10061: No connection could be made because
    the target machine actively refused it 127.0.0.1:890.  ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:890
       at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
       at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
       at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
       --- End of inner exception stack trace ---
    Server stack trace: 
       at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
       at System.ServiceModel.Channels.BufferedConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
       at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout)
       at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout)
       at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)
       at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
    Exception rethrown at [0]: 
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at System.ServiceModel.ICommunicationObject.Open()
       at Microsoft.Exchange.Net.ServiceProxyPool`1.GetClient()
       at Microsoft.Exchange.Net.ServiceProxyPool`1.TryCallServiceWithRetry(Action`1 action, String debugMessage, WCFConnectionStateTuple proxyToUse, Int32 numberOfRetries, Boolean doNotReturnProxyOnSuccess, Exception& exception)
    the message resource is present but the message is not found in the string/message table
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="MSExchange ADAccess" />
        <EventID Qualifiers="49156">4027</EventID>
        <Level>2</Level>
        <Task>1</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2014-01-30T17:47:01.000000000Z" />
        <EventRecordID>821</EventRecordID>
        <Channel>Application</Channel>
        <Computer>MAILSRV2.sescolighting.com</Computer>
        <Security />
      </System>
      <EventData>
        <Data>ExSetupUI.exe</Data>
        <Data>3868</Data>
        <Data>Get Servers for sescolighting.com</Data>
        <Data>TopologyClientTcpEndpoint (localhost)</Data>
        <Data>3</Data>
        <Data>System.ServiceModel.EndpointNotFoundException: Could not connect to net.tcp://localhost:890/Microsoft.Exchange.Directory.TopologyService. The connection attempt lasted for a time span of 00:00:02.0038715. TCP error code 10061: No connection
    could be made because the target machine actively refused it 127.0.0.1:890.  ---&gt; System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:890
       at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
       at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
       at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
       --- End of inner exception stack trace ---
    Server stack trace: 
       at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
       at System.ServiceModel.Channels.BufferedConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
       at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout)
       at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout)
       at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)
       at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
    Exception rethrown at [0]: 
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp; msgData, Int32 type)
       at System.ServiceModel.ICommunicationObject.Open()
       at Microsoft.Exchange.Net.ServiceProxyPool`1.GetClient()
       at Microsoft.Exchange.Net.ServiceProxyPool`1.TryCallServiceWithRetry(Action`1 action, String debugMessage, WCFConnectionStateTuple proxyToUse, Int32 numberOfRetries, Boolean doNotReturnProxyOnSuccess, Exception&amp; exception)</Data>
      </EventData>
    </Event>
    Tina M. White Boundless Data

    Hello,
    Please make sure whether you install exchange 2013 on a DC server. If so, we don't recommend you install Exchange 2013 server and DC server on a server.
    Please use ping to check if the server you will install exchange 2013 server on can communicate with DC server.
    Please use telnet to check if 890 port is opened on your firewall.
    Besides, please refer to the following article to check if you have installed required components again.
    http://technet.microsoft.com/en-us/library/bb691354(v=exchg.150).aspx
    Cara Chen
    TechNet Community Support

  • How to set default website for exchange 2010

    I'm unable to launch the Exchange Management Console, and then I read that it's necessary to set the default web site in a particular way, in order for Exchange 2010 Management Console to work:
    http://social.technet.microsoft.com/Forums/en/exchange2010/thread/4d396628-3867-4c95-9541-e0eb021e0135
    However, after setting up Sharepoint, I see that it has modified the default website, and I'd like to ask for specific settings on how the default web site bindings should look (for exchange). Could someone please advise what I need to do to correct it?
    I'm having trouble interpreting what Mike Crowley recommends in the linked post above, in terms of actual steps to the site binding information (which won't mess up what exists).
    Currently it says:
    Type           port         ip address        binding information
    net.tcp                                            
    808:*
    net.pipe                                          
    net.msmq                                         localhost
    msmq.formatname                            localhost
    http            80             127.0.0.1
    https          443            *
    http           80              *
    https          443            127.0.0.1
    It seems the line for http on port 80 is *, which I guess is equivalent to 'all unassigned'. Is the previous http port 80 binding to 127.0.0.1 causing the problem?
    But I'm also supposed to set a Powershell VDir in IIS. Can someone provide steps for that? 

    Regarding SharePoint on Exchange:
    It was not allowed earlier, as documented here:
    http://office.microsoft.com/en-us/sharepoint-portal-server-it/coexistence-and-interoperability-guide-for-sharepoint-products-and-technologies-HA001160777.aspx & here:
    http://support.microsoft.com/kb/825505 but there doesn't seem to be anything more recent than this.  I would work under the assumption it is not supported outside of
    SBS 2011 (which I am not very familiar
    with).
    Mike Crowley
    Check out My Blog!

  • Error  while building the default domain for intigrated weblogic server

    Hi,
    An error occurred while building the default domain for integrated weblogic server
    log file contains fallowing details about error
    "C:\Oracle\Middleware\oracle_common\common\bin\wlst.cmd" "C:\Oracle\Middleware\jdeveloper\MyWork\system11.1.1.5.38.61.26\o.j2ee.adrs\CreateDefaultDomain.py"
    Process started
    wlst >
    wlst > CLASSPATH=C:\Oracle\Middleware\patch_wls1035\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\Middleware\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\Middleware\jdk160_24\lib\tools.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic_sp.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic.jar;C:\Oracle\Middleware\modules\features\weblogic.server.modules_10.3.5.0.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\webservices.jar;C:\Oracle\Middleware\modules\org.apache.ant_1.7.1/lib/ant-all.jar;C:\Oracle\Middleware\modules\net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar;;C:\Oracle\Middleware\oracle_common/modules/oracle.jrf_11.1.1/jrf-wlstman.jar;C:\Oracle\Middleware\oracle_common\common\wlst\lib\adf-share-mbeans-wlst.jar;C:\Oracle\Middleware\oracle_common\common\wlst\lib\adfscripting.jar;C:\Oracle\Middleware\oracle_common\common\wlst\lib\applcore-diagnostics-wlst.jar;C:\Oracle\Middleware\oracle_common\common\wlst\lib\mdswlst.jar;C:\Oracle\Middleware\oracle_common\common\wlst\resources\auditwlst.jar;C:\Oracle\Middleware\oracle_common\common\wlst\resources\igfwlsthelp.jar;C:\Oracle\Middleware\oracle_common\common\wlst\resources\jps-wlst.jar;C:\Oracle\Middleware\oracle_common\common\wlst\resources\jrf-wlst.jar;C:\Oracle\Middleware\oracle_common\common\wlst\resources\oamap_help.jar;C:\Oracle\Middleware\oracle_common\common\wlst\resources\oamAuthnProvider.jar;C:\Oracle\Middleware\oracle_common\common\wlst\resources\ossoiap.jar;C:\Oracle\Middleware\oracle_common\common\wlst\resources\ossoiap_help.jar;C:\Oracle\Middleware\oracle_common\common\wlst\resources\ovdwlsthelp.jar;C:\Oracle\Middleware\oracle_common\common\wlst\resources\sslconfigwlst.jar;C:\Oracle\Middleware\oracle_common\common\wlst\resources\wsm-wlst.jar
    wlst >
    wlst > PATH=C:\Oracle\Middleware\patch_wls1035\profiles\default\native;C:\Oracle\Middleware\patch_jdev1111\profiles\default\native;C:\Oracle\Middleware\wlserver_10.3\server\native\win\32;C:\Oracle\Middleware\wlserver_10.3\server\bin;C:\Oracle\Middleware\modules\org.apache.ant_1.7.1\bin;C:\Oracle\Middleware\jdk160_24\jre\bin;C:\Oracle\Middleware\jdk160_24\bin;;C:\Oracle\Middleware\wlserver_10.3\server\native\win\32\oci920_8
    wlst >
    wlst > Your environment has been set.
    wlst >
    wlst > CLASSPATH=C:\Oracle\Middleware\patch_wls1035\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\Middleware\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\Middleware\jdk160_24\lib\tools.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic_sp.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic.jar;C:\Oracle\Middleware\modules\features\weblogic.server.modules_10.3.5.0.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\webservices.jar;C:\Oracle\Middleware\modules\org.apache.ant_1.7.1/lib/ant-all.jar;C:\Oracle\Middleware\modules\net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar;;C:\Oracle\Middleware\oracle_common/modules/oracle.jrf_11.1.1/jrf-wlstman.jar;C:\Oracle\Middleware\oracle_common\common\wlst\lib\adf-share-mbeans-wlst.jar;C:\Oracle\Middleware\oracle_common\common\wlst\lib\adfscripting.jar;C:\Oracle\Middleware\oracle_common\common\wlst\lib\applcore-diagnostics-wlst.jar;C:\Oracle\Middleware\oracle_common\common\wlst\lib\mdswlst.jar;C:\Oracle\Middleware\oracle_common\common\wlst\resources\auditwlst.jar;C:\Oracle\Middleware\oracle_common\common\wlst\resources\igfwlsthelp.jar;C:\Oracle\Middleware\oracle_common\common\wlst\resources\jps-wlst.jar;C:\Oracle\Middleware\oracle_common\common\wlst\resources\jrf-wlst.jar;C:\Oracle\Middleware\oracle_common\common\wlst\resources\oamap_help.jar;C:\Oracle\Middleware\oracle_common\common\wlst\resources\oamAuthnProvider.jar;C:\Oracle\Middleware\oracle_common\common\wlst\resources\ossoiap.jar;C:\Oracle\Middleware\oracle_common\common\wlst\resources\ossoiap_help.jar;C:\Oracle\Middleware\oracle_common\common\wlst\resources\ovdwlsthelp.jar;C:\Oracle\Middleware\oracle_common\common\wlst\resources\sslconfigwlst.jar;C:\Oracle\Middleware\oracle_common\common\wlst\resources\wsm-wlst.jar;C:\Oracle\Middleware\utils\config\10.3\config-launch.jar;C:\Oracle\Middleware\wlserver_10.3\common\derby\lib\derbynet.jar;C:\Oracle\Middleware\wlserver_10.3\common\derby\lib\derbyclient.jar;C:\Oracle\Middleware\wlserver_10.3\common\derby\lib\derbytools.jar;;
    wlst >
    wlst > Initializing WebLogic Scripting Tool (WLST) ...
    wlst >
    wlst > Welcome to WebLogic Server Administration Scripting Shell
    wlst >
    wlst > Type help() for help on available commands
    wlst >
    wlst > Creating Default Domain
    wlst > Reading template: /C:/Oracle/Middleware/wlserver_10.3/common/templates/domains/wls.jar
    wlst > Setting Name to 'DefaultServer'
    wlst > Setting ListenAddress to ''
    wlst > Setting ListenPort to 7101
    wlst > Setting domain administrator to 'FAAdmin'
    wlst > Setting domain password.
    wlst > Problem invoking WLST - Traceback (innermost last):
    wlst > File "C:\Oracle\Middleware\jdeveloper\MyWork\system11.1.1.5.38.61.26\o.j2ee.adrs\CreateDefaultDomain.py", line 59, in ?
    wlst >      at com.oracle.cie.domain.script.jython.WLSTSecurityPrincipal.set(WLSTSecurityPrincipal.java:70)
    wlst >
    wlst >      at com.oracle.cie.domain.script.jython.WLSTSecurityUser.setPassword(WLSTSecurityUser.java:33)
    wlst >
    wlst >      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    wlst >
    wlst >      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    wlst >
    wlst >      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    wlst >
    wlst >      at java.lang.reflect.Method.invoke(Method.java:597)
    wlst >
    wlst >
    wlst > com.oracle.cie.domain.script.jython.WLSTException: com.oracle.cie.domain.script.jython.WLSTException: java.lang.Exception: The password must be at least 8 alphanumeric characters with at least one number or special character.
    wlst >
    rohit

    Hi,
    you see that message: "The password must be at least 8 alphanumeric characters with at least one number or special character." ?
    The password: The weblogic password you provide when prompted
    must be at least: minimal condition for secure passwords enforced on WLS by default
    at least 8 alphanumeric characters: no 7 but eight or more characters
    with at least one number or special character: password should have a number in it or an "@" "-" or similar
    E.g.
    weblogic1
    is one password option that would meet that requirement
    Frank

  • Gatherer\CSS connector failed to connect to CSS net.tcp

    Hi,
    Hope someone can help me out here. Have SharePoint 2013 running fine and has been for a while. Recently have been getting Event ID 1400 SharePoint server search 'Gatherer\CSS connector failed to connect to CSS net.tcp //servername/C7A30B. If I restart the
    server then all runs fine again but within a day it starts coming up with the same warning. The event ID is followed by Event id 2580 and 2581. Any help would be most appreciated.

    Hi alfatec,
    It should be related to the search service account permission issue, please try the following steps on your search servers which are running the "Search Host Controller Service", then check results again.
    1. "Start" -> "Administrative Tools" -> "Local Security Policy" (or run: Secpol.msc).
    2. Expand "Local Policies".
    3. Click on "User rights assignment".
    4. Make sure that the search service account has the following privileges.
    "Replace a process level token"
    "Adjust memory quotas for a process"
    "Impersonate a client after authentication"
    "Log on as a service"
    (5) Run gpupdate /force
    Thanks
    Daniel Yang
    TechNet Community Support

  • How do you invoke the default browser for Unix/OSX

    Does anyone know how to programmatically display the contents of a URL in the default browser for a Unix system? I found a javaworld article on doing this using Runtime.getRuntime().exec(cmd). The article gives the cmd string for invoking the default browser in Windows, and for invoking the Netscape browser in Unix.
    This can easily be extended to invoke any known browser executable in a known path on a Unix system; but I'd like to invoke the default browser without knowing what or where it is. I'm specifically targetting Mac/OSX, but any Unix solution is worth trying.
    Is there a Unix command for launching the default browser to display the contents of a given URL? Or is there an alternative approach, rather than invoking Runtime.exec()?
    -Mark

    After extensive google searching, I came across a partial solution. This code detects the default browser on a Mac, and provides an elegant solution for trying standard browsers in turn for other Unix systems. I tested it on WIndows XP and Mac OSX 3.9, and it detected the default browser each time. A suped up version of this tool is available as a SourceForge project. You can find it here:
    http://sourceforge.net/projects/browserlaunch2/
    Here's the simplified code:
    //  Bare Bones Browser Launch                          //
    //  Version 1.5                                        //
    //  December 10, 2005                                  //
    //  Supports: Mac OS X, GNU/Linux, Unix, Windows XP    //
    //  Example Usage:                                     //
    //     String url = "http://www.centerkey.com/";       //
    //     BareBonesBrowserLaunch.openURL(url);            //
    //  Public Domain Software -- Free to Use as You Like  //
    import java.lang.reflect.Method;
    import javax.swing.JOptionPane;
    public class BareBonesBrowserLaunch {
       private static final String errMsg = "Error attempting to launch web browser";
       public static void openURL(String url) {
          String osName = System.getProperty("os.name");
          try {
             if (osName.startsWith("Mac OS")) {
                Class fileMgr = Class.forName("com.apple.eio.FileManager");
                Method openURL = fileMgr.getDeclaredMethod("openURL",
                   new Class[] {String.class});
                openURL.invoke(null, new Object[] {url});
             else if (osName.startsWith("Windows"))
                Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler " + url);
             else { //assume Unix or Linux
                String[] browsers = {
                   "firefox", "opera", "konqueror", "epiphany", "mozilla", "netscape" };
                String browser = null;
                for (int count = 0; count < browsers.length && browser == null; count++)
                   if (Runtime.getRuntime().exec(
                         new String[] {"which", browsers[count]}).waitFor() == 0)
                      browser = browsers[count];
                if (browser == null)
                   throw new Exception("Could not find web browser");
                else
                   Runtime.getRuntime().exec(new String[] {browser, url});
          catch (Exception e) {
             JOptionPane.showMessageDialog(null, errMsg + ":\n" + e.getLocalizedMessage());
       }

  • How to set a default value for a drop down list box and then apply cascading based on the default value in Infopath 2010.

    Hello Everyone
    I have two drop downs. Both are coming from look up fields from two lists. i want to set a default value(first list item) for the first drop down list box and then apply cascading based on the default value for the next drop down list box. I found one article(http://www.bizsupportonline.net/infopath2010/display-first-item-drop-down-list-box-infopath-2010.htm)
    where in i can set a default value but i can't apply cascading based on that default value. Any suggestions would be highly appreciated.
    Thanks
    Ramanjulu Naidu N

    Hey Ramanjulu,
    Take a look at the below article which I believe will answer your question.
    http://basquang.wordpress.com/2010/03/29/cascading-drop-down-list-in-sharepoint-2010-using-infopath-2010/
    Daniel Christian (MCTS)

  • How can I get the default value of a particular preference programatically. I know I can see the default value for some of the preferences in about:config but, I need a programatic way to get the default value.

    <blockquote>Locked by Moderator as a duplicate/re-post.
    Please continue the discussion in this thread: [tiki-view_forum_thread.php?comments_parentId=702631&forumId=1]
    Thanks - c</blockquote>
    == Issue
    ==
    I have a problem with my bookmarks, cookies, history or settings
    == Description
    ==
    How can I get the default value of a particular preference in FireFox?.
    I know I can see the default value for some of the preferences in about:config but, I need a programatic way to get the default value.
    I see some that there are values for preferences in firefox.cs but I am not certain that these are being used as the default values for preferences. prefs.js in user's profile only has the updated values and not the default values.
    Any help towards acheiving this programtically is greatly appreciated.
    If the default values are stored in a file, kindly let me know the format in which it is stored for me to parse it programatically.
    == User Agent
    ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Win64; x64; Trident/4.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)

    Dear Friend,
    Here when you have the callableSattement as ?=proc(?), the first ? is an output parameter. So you should register it as out parameter using registeroutparameter.
    Then you can get the value from the outparameter using callablestatement.getXXX().
    Try that way.
    For free tral versions of JDBC Drivers go to www.Atinav.com

Maybe you are looking for

  • Problem with a link from a seeded page

    I know that there has to be something stupid I am doing wrong here, but I cannot figure it out. I am trying to link from a seeded page to a custom page of mine. Here is my link: OA.jsp?page=/oracle/apps/ar/cusstd/localizationExt/webui/AcctLocalizatio

  • Best practices when making service requests

    Best practices when making service requests We've been working on moving our old services that were built with an different service request tool into RequestCenter and were wondering if anyone had any thoughts about best standards or practices for th

  • How to clean install Yosemite

    How to clean install Yosemite on imac 10.9.5

  • Web Services and transactions

    How can an Web Service invocation be bound into an existing transaction (e.g. if called from a session bean the Web Service will commit/rollback with the session bean)? thanks, d

  • How Do You Print Out A List Of Your Skype To Go Nu...

    Early on when Skype to go was Beta testing it had a print button so you could print out the STG contact details and Numbers, then one day it disapeared. Please bring it back, even needed more so now that you can have up to 30 numbers. At the moment I