How to connect remotely deployed BPM engine

Hi,
I need a solution for following problem.
We have BPM 10g process engine deployed remotely on WAS6.0 server and application which is using the process engine also deploy on the same jvm. It is working properly without any issue. I want to deploy application locally in my tomcat and I want to connect to remote process bpm engine. I don't want to install/deploy BPM engine locally. but I am getting Basically I need this to debug my application from locally while it interacting with BPM engine.
IS there any way we can do this. I tried but getting following exception.
fuego.directory.exception.DirectoryNotAvailableException: Unable to connect to the Directory Service. If the problem persists, contact your system administrator. and following is the stack trace. It is due to calling directory service, how to make a directory service call in tomcat?
Creating connector [__internal__:J2EE]
Creating connector [fuego:SQL]
Connector [__internal__:J2EE:LOCAL_J2EE] caused an exception when getting a resource of type [1].
Detail:Connector [__internal__:J2EE:LOCAL_J2EE] caused an exception when getting a resource of type [1].
Caused by: Name java:comp is not bound in this Context
fuego.connector.ConnectorException: Connector [__internal__:J2EE:LOCAL_J2EE] caused an exception when getting a resource of type [1].
Detail:Connector [__internal__:J2EE:LOCAL_J2EE] caused an exception when getting a resource of type [1].
     at fuego.connector.ConnectorException.exceptionOnGetResource(ConnectorException.java:95)
     at fuego.connector.ConnectorTransaction.getResource(ConnectorTransaction.java:324)
     at fuego.connector.ConnectorTransaction.getResource(ConnectorTransaction.java:298)
     at fuego.connector.J2EEHelper.getContext(J2EEHelper.java:35)
     at fuego.connector.impl.BaseRemoteConnector.getContext(BaseRemoteConnector.java:89)
     at fuego.connector.impl.BaseRemoteConnector.getReferencedObject(BaseRemoteConnector.java:114)
     at fuego.connector.impl.BaseRemoteConnector.getReferencedObject(BaseRemoteConnector.java:107)
     at fuego.connector.impl.RemoteJDBCConnector.getConnection(RemoteJDBCConnector.java:75)
     at fuego.connector.impl.RemoteJDBCConnector.getConnection(RemoteJDBCConnector.java:64)
     at fuego.connector.impl.RemoteJDBCConnector.getResource(RemoteJDBCConnector.java:147)
     at fuego.connector.ConnectorTransaction.getResource(ConnectorTransaction.java:319)
     at fuego.connector.ConnectorTransaction.getResource(ConnectorTransaction.java:298)
     at fuego.directory.jdbc.JDBCConnectionProvider.getEntry(JDBCConnectionProvider.java:75)
     at fuego.directory.jdbc.JDBCConnectionProvider.getEntry(JDBCConnectionProvider.java:34)
     at fuego.directory.provider.jdbc.JDBCPersistenceManager.getConnection(JDBCPersistenceManager.java:437)
     at fuego.directory.provider.jdbc.JDBCPersistenceManager.checkConnectivity(JDBCPersistenceManager.java:91)
     at fuego.directory.provider.DirectorySessionImpl.connect(DirectorySessionImpl.java:242)
     at fuego.directory.provider.Factory.startSession(Factory.java:405)
     at fuego.directory.provider.jdbc.j2ee.RemoteJdbcDirectoryFactory.startSession(RemoteJdbcDirectoryFactory.java:122)
     at fuego.directory.Directory.startSession(Directory.java:268)
     at com.messaging.BusinessService.doBusinessService<clinit>(BusinessService.java:53)     
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873)
     at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
     at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
     at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
     at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
     at java.lang.Thread.run(Thread.java:595)
Caused by: javax.naming.NameNotFoundException: Name java:comp is not bound in this Context
     at org.apache.naming.NamingContext.lookup(NamingContext.java:769)
     at org.apache.naming.NamingContext.lookup(NamingContext.java:152)
     at javax.naming.InitialContext.lookup(InitialContext.java:351)
     at fuego.connector.impl.LocalJ2EEConnector.lookupUserTransaction(LocalJ2EEConnector.java:96)
     at fuego.connector.impl.LocalJ2EEConnector.createUserTransaction(LocalJ2EEConnector.java:63)
     at fuego.connector.impl.BaseJ2EEConnector.initTransaction(BaseJ2EEConnector.java:203)
     at fuego.connector.impl.BaseJ2EEConnector.getContextInternal(BaseJ2EEConnector.java:186)
     at fuego.connector.impl.BaseJ2EEConnector.getResource(BaseJ2EEConnector.java:90)
     at fuego.connector.ConnectorTransaction.getResource(ConnectorTransaction.java:319)
     ... 41 more
Thanks,
Ramesh

Hello -
You can do the following...(I'm not sure whether it will satisfy your requirement or I cannot understand all of your points here)
1. Run Admin Centre from your local and create a Dir Service by selecting Use Existing Directory Service ONLY
2. Unselect all other options and provide your remote engine / Dir service details in the Directory provider.Then finish Dir creation.
3. Start BPM Web Application and Launch Process Administrator.
4. Login - then you can see the remote engine on your local PBM Process Administrator.
5. Publish your BPM Process to remote BPM Engine.
BR,
Justin.

Similar Messages

  • How to connect remotely to a computer running XP professional

    How can I connect remotely to my work computer running XP Professional from my mac book; I'm running tiger on the mac
    Thanks in advance

    Please search the forums before posting, as the topic of sharing files between Mac and Windows computers has been covered dozens of times. It can save you time in the future. Instructions are also already available on your Mac via it's built in Help files accessible from the Help menu. You can also see this article: http://www.ifelix.co.uk/tech/3020.html

  • How I connect remote database in forms builder

    username myname
    password mypass
    database test
    database server 192.165.21.32
    port 1521
    how can I connect in oracle 11g forms builder ??

    using 192.165.21.32:1521:test in the connect string ? ( or 192.165.21.32:1521/test ) or set it up using TNSNAMES.ORA

  • How I connect remote database in report builder

    username myname
    password mypass
    database test
    database server 192.165.21.32
    port 1521
    how can I connect in oracle 11g report builder ??

    Hello,
    Add an entry like below in the file tnsnames.ora (ORACLE_INSTANCE/config)
    ora11g =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.165.21.32)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = servicename)
    REPLACE servicename by the servicename for your DB or use a SID.
    then , enter username / password and ora11g in the logon window
    regards

  • How to connect remotely to the office

    I work in an office that has 2 iMacs & a MacBook. The Macbook gets taken home on occasion to work at home. How do I set up one of the iMacs to be accessed remotely. I know it has to do with the Remote Sharing Preferences, but that's about it. And does it matter if the iMac were accessed via the MacBook or a Windows Desktop.

    I got this DNS Provider list from a 2006 article in MacWorld. Any of these jump out as cheap & Easy. They were using DynDNS as an example in the article.

  • [SOLVED]how to connect remotely to a windows machine

    hello all,
    I've tried both rdesktop and tsclient but both of them will log out the computer im trying to remotely control and thats not exactly want. You know just like dellconnect does with its clients and lets them see what the fuck is happening. Both rdesktop and tsclient will only leave the client computer all logged out without any clue to whats happening. Is there any other software that can achieve this kind of behavior?
    thanks
    Last edited by aluser (2011-02-20 03:46:21)

    Wittfella wrote:vnc
    That's exactly what I was looking for. Solved.

  • Remote deploy a war file in weblogic using ant script

    Hi,
    How do I remote deploy a war file in weblogic using ant script
    Thanks

    http://download.oracle.com/docs/cd/E13222_01/wls/docs100/programming/wldeploy.html

  • Connecting Remotely from a PC to a Mac

    Can you tell me how to connect remotely from my home PC to my office's Mac server? I need to do it using the internet.

    We need a lot more information to support you here.
    What are you looking at accesing? What technology are you hoping to use?
    Also since this is from MAC it may be limited support in these forums.
    Regards,
    Denis Cooper
    MCITP EA - MCT
    Help keep the forums tidy, if this has helped please mark it as an answer
    Blog: http://www.windows-support.co.uk 
    Twitter:   LinkedIn:

  • BPM engine deployment issue on Weblogic server

    Hello,
    I read all threads related to this issue, but I am getting mad.
    Yesterday:
    I have successfully deployed BPM 10.3.1 + certified WLS 10.3.0 on Linux Redhat + Oracle
    I have successfully created a BPM configuration with the BPM Admin configuration wizard.
    I could successfully access to BPM workspace admin and BPM workskape.
    Today:
    I have restarted weblogic server and BPM, the engine is not starting, with an error raised in another thread. Below is the most detailed message:
    [EJB:011025]The XML parser encountered an error in your deployment descriptor. Please ensure that your DOCTYPE is correct. You may wish to compare your deployment descriptors with the WebLogic Server examples to ensure the format is correct. The error was:
    ParseError at [row,col]:[5,148]
    Message: Tried all: '1' addresses, but could not connect over HTTP to server: 'www.bea.com', port: '80'..
    weblogic.application.ModuleException: Exception preparing module: EJBModule(engine-soapocengine.jar)
    [EJB:011025]The XML parser encountered an error in your deployment descriptor. Please ensure that your DOCTYPE is correct. You may wish to compare your deployment descriptors with the WebLogic Server examples to ensure the format is correct. The error was:
    ParseError at [row,col]:[5,148]
    Message: Tried all: '1' addresses, but could not connect over HTTP to server: 'www.bea.com', port: '80'.
    at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:452)
    My server is not connected to the Internet, and will probably not. But it could not access the internet yesterday (before restart) neither...
    a reply to another thread says that a patch coprrects this issue. which one is it? please note I cannot download it from the server... I have downloaded all public patches for WLS 10.3 for Linux (ZIP files), but the BSU tool refused to detect them... how should I proceed?
    Thank you for your help
    Hervé

    Hi,
    I have downloaded weblogic from oracle downloads 2 weeks back. i thought all the patches would be installed?? But am facing the same issue when deploying engine ear..
    Do you think I need to install the above patch ???
    A month back I downloaded ( might be by March) Weblogic. I was not facing any issue. But with the new download am facing the issue.
    Kindly suggest.
    Thanks,
    Charan

  • How to connect to existing engine on WLS via PAPI?

    Hi All,
    I'm having an issue with Connecting to an existing engine on a weblogic server via PAPI from my local machine. The versions running are BPM 10gr3 and weblogic 10gr3. I'm essentially trying to run the tutorial provided in the PAPI guide from Oracle, but I'm trying to connect to a process deployed in one of our development environments. I get the following exception when executing the source code below. Only thing that pops out at me is that the path in the exception has back slashes whereas in the properties I specify the path with forward slashes. Any help would be greatly appreciated!
    Exception in thread "main" java.lang.IllegalStateException: directory configuration runtime fails to initilize with resource: \\home\weblogic\bpm103\conf\directory.xml
         at fuego.directory.DirectoryConfigurationManager.getDirectoryConfiguration(DirectoryConfigurationManager.java:338)
         at fuego.directory.DirectoryConfigurationManager.getDirectoryConfigType(DirectoryConfigurationManager.java:314)
         at fuego.directory.provider.Factory.getDirectoryFactory(Factory.java:216)
         at fuego.directory.Directory.startAnonymousSession(Directory.java:211)
         at fuego.papi.impl.ProcessServiceFactoryImpl.obtainSchemaId(ProcessServiceFactoryImpl.java:200)
         at fuego.papi.impl.ProcessServiceFactoryImpl.create(ProcessServiceFactoryImpl.java:75)
         at fuego.papi.impl.ProcessServiceFactoryImpl.create(ProcessServiceFactoryImpl.java:63)
         at fuego.papi.ProcessService.create(ProcessService.java:335)
         at v1.ServiceRequestApp.<init>(ServiceRequestApp.java:42)
         at v1.Starter.main(Starter.java:12)
    package v1;
    import fuego.papi.CommunicationException;
    import fuego.papi.InstanceInfo;
    import fuego.papi.ProcessService;
    import fuego.papi.ProcessServiceSession;
    import fuego.papi.OperationException;
    import java.util.Properties;
    public class ServiceRequestApp {
         Properties config;
         ProcessService processService;
         String host = "";
         String username = "";
         String password = "";
         public ServiceRequestApp()
              //establish API
              config = new Properties();
    //specify system properties on local machine
              System.setProperty("fuego.j2ee.initialctx.file","C:\\bea10gR3\\config\\papiJndi.properties");
              System.setProperty("fuego.j2ee.initialctx.resource","papiJndi.properties");
              System.setProperty("fuego.j2ee.initialctx.url","file://C://bea10gR3//config//papiJndi.properties");
    //contents of papiJndi.properties
    java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory
    java.naming.provider.url=t3://bpmdomain.comp.company.com:8001
    //specify directory info on the weblogic server
              config.setProperty(ProcessService.DIRECTORY_ID, "directory_ID");
              config.setProperty(ProcessService.INSTANCES_CACHE_SIZE, "10000");
              config.setProperty(ProcessService.DIRECTORY_PROPERTIES_FILE, "//home//weblogic//bpm103//conf//directory.xml");
              config.setProperty(ProcessService.WORKING_FOLDER, "//tmp");
              try {
                   ProcessService processService = ProcessService.create(config);
                   /////////////////// Establish a session ///////////////////
                   ProcessServiceSession session = processService.createSession(username,
                   password, host);
                   /////////////////// Operate with PAPI ///////////////////
                   for (String processId : session.processesGetIds())
                        System.out.println("\n Process: " + processId);
                        for (InstanceInfo instance :
                             session.processGetInstances(processId))
                             System.out.println(" -> " + instance.getId());
                   /////////////////// Close the session ///////////////////
                   session.close();
                   /////////////////// Release API Resources ///////////////////
                   processService.close();
                   } catch (CommunicationException e) {
                   System.out.println("Could not connect to Directory Service");
                   e.printStackTrace();
                   } catch (OperationException e) {
                   System.out.println("Could not perform the requested operation");
                   e.printStackTrace();
    }

    Please try to change the code for the below line
    config.setProperty(ProcessService.DIRECTORY_PROPERTIES_FILE, "//home//weblogic//bpm103//conf//directory.xml");
    to
    config.setProperty(ProcessService.DIRECTORY_PROPERTIES_FILE, "c://conf//directory.xml");
    Please get the directory.xml to your local machine and try.

  • How to connect my keynote remote

    how to connect my keynote remote

    Hello,
    to those unable to get Wi-Fi syncing working at your work or institution, it is not the fault of the App, rather it is the fault of the network that you are connecting to.
    It is most likely that the reason that it doesn't work is because the network administrators have closed access to the port that you need for the linking between your iOS device and your Mac. The reason that it works fine at home is because you have those ports that you need locked down. The other reason may be that your iOS device is talking to another base station than your Mac is and some networks also segregate base stations from each other.
    On the Bluetooth side, it might not be working because you are trying it use something like an iPod Touch 2nd generation (or iPhone 3) these devices can only use their Bluetooth headset, nothing else. So if you are trying to connect your Mac and iPod Touch 2nd Gen, you might get them to pair, but you'll never get them to connect. So don't bother.
    So what do you do? Did you just waste your money? Let me assure you that no you didn't.
    This is what you do.
    Go to your Wi-Fi/Airport menu and select "Create Network…" then give it a network name, such as yours or the name of your computer. I would strongly recommend adding 128-WEP encryption so that your classmates/co-workers/viewers can't connect to your computer and start sniffing around. Once you've created a network your Wi-Fi/Airport menu should turn into a grey arc with a computer in the centre.
    Go to your iOS device and under the General -> Network settings select your newly created network
    Enter in the password you just gave your network.
    Once your iOS device is connected to your Mac, you are good to go! Fire up Keynote on your Mac and Keynote Remote on your device.
    Do the linking in the Keynote Settings on your Mac. You should now have control of your presentation!
    A couple of notes: what you are doing is effectively removing yourself from the infrastructure network and creating your own. With that in mind note that you won't have access to the Internet on your iOS device nor your Mac. But unless your presentation includes links to websites, you should be okay. The way around this is to connect your Mac to a wired Ethernet connection and perhaps sharing that Internet connection to your Wi-Fi/Airport port to give to your iOS device as well.
    A tip: If you do the initial set up at home/office with the network and linking and use the same network name and password, you should only have to do step 1, 2 & 4 as your iOS device will have your password stored and the linking already done.
    Hope that helps!
    And yes, I would like to have the ability to jump to a specific page, and also have the ability to black out the screen.
    Cheers, Andrew Jung.

  • How to Configure Remote Connections To SQL Server 2008 R2 Express

    Post written June 10, 2010 and pertains to:
    SQL Server 2008 R2 Express on both my server and local machines: SQLX_SRV,
    SQLX_LOC
    SQL Server 2008 R2 Management Studio on both my server and local machines:
    MS_SRV, MS_LOC
    Windows Server 2008 R2 Enterprise installed on a Hyper-V VPS: WS
    SQL Server Configuration Manager on both my server and local machines:
    CMGR_SRV, CMGR_LOC
    Server Manager: SMGR
    I am connecting to my hosting server via Remote Desktop Connection: RDC
    I installed SQLX_SRV and MS_SRV on my hosting server and SQLX_LOC and MS_LOC on my local development machine.  I am able to use MS_LOC to connect to SQLX_LOC and to use MS_SRV to connect to SQLX_SRV.  However I am not able to use MS_LOC to connect
    with SQLX_SRV.  Here's what I have done so far:
    SMGR -> Configuration -> Windows Firewall to turn off the Windows Firewall for Domain, Private and Public profiles.  Obviously I'll change this later, but until I can connect I want to remove as many variables as possible.
    CMGR_SRV -> SQL Server Services to confirm that both SQL Server (SQLEXPRESS) and SQL Server Browser services were running.
    CMGR_SRV -> SQL Server Network Configuration -> Protocols for SQLEXPRESS to ENABLE the Shared Memory, Named Pipes, and TCP/IP protocols and DISABLE the deprecated VIA protocol.
    CMGR_SRV -> SQL Server Network Configuration -> Protocols for SQLEXPRESS -> double click TCP/IP to open the TCP/IP properties dialogue.  On the Protocol tab Enabled: Yes, Keep Alive: 30000, changed Listen All to No.  I've tried it both
    ways, but I've got six IP addresses on my server and I wanted to configure SQLEXPRESS to listen to only the first and primary IP.  On the IP Addresses tab went to IPALL and cleared the TCP Dynamic Ports field and entered 1433 in the TCP Port field. 
    For my first and primary IP Address I made sure that Enabled was Yes, I cleared the TCP Dynamic Ports field, and entered 1433 in the TCP Port field.  For all other IP Addresses Enabled was set to No and I cleared both the TCP Dynamic Ports and TCP Port
    fields.
    CMGR_SRV -> SQL Server Services -> SQL Server (SQLEXPRESS) right click and Restart.  This of course stopped and restarted my instance of SQLX_SRV enabling the TCP/IP configuration in the previous step to take effect.
    On my server, SQLX_SRV is the only instance of SQL Server running and so it's easy to hard wire it to the default port 1433.
    The instance name for both SQLX_SRV and SQLX_LOC is the default "SQLEXPRESS".  My server machine name is "SERVER1" on the EnglishBrains.com domain.  So the proper local name (local within the context of my remote server as connected via RDC) for
    my instance of SQLX_SRV would be:
    SERVER1\SQLEXPRESS 
    Note the use of a backslash NOT a forward slash. 
    Of course to connect remotely from my development machine, which is not on the same domain as my hosting server, I would need to specify the domain as well, so the SQL Server name becomes:
    SERVER1.EnglishBrains.com\SQLEXPRESS
    I must also use SQL Server Authentication.  Before I can use such a remote connection, however, there are still several configuration steps required.  So on my server (connected via RDC) I used MS_SRV to connect to SQLX_SRV using SERVER1\SQLEXPRESS
    for the server name and Windows Authentication.  Once connected I performed the following steps:
    MS_SRV -> right click the connected parent SERVER1\SQLEXPRESS instance node at the top -> Properties -> Security -> Server authentication: select "SQL Server and Windows Authentication mode".  This will enable connections using either type
    of authentication.
    Next, leaving the Server Properties dialogue open, Connections -> check "Allow remote connections to this server" box.
    Click OK to save these changes and close the Server Properties dialogue.
    MS_SRV -> Security -> right click Logins and select "New Login...", the Login - New dialogue opens.
    On the General page Enter a name for your new login
    Select SQL Server Authorization
    Enter and confirm a password
    Uncheck Enforce password expiration
    Select the default Database and Language
    On the ServerRoles page Public will be checked, also check SysAdmin.  This is probably not a good idea and I'll uncheck this as soon as I can connect to the SQLX_SRV.
    On the User Mapping page select the databases you want your new Login to access and enter the Default Schema of "dbo".
    At the bottom of the User Mapping page you'll see the Database Roles table.  Public will be selected by default.  Also select db_Owner.  Again this is probably not a good idea, and I'll refine this once I can connect.
    On the Status page confirm that "Grant" is checked under "Permission to connect to database engine" and "Enable" is checked under "Login".
    Click OK to save all changes and close the Login - New dialogue.
    With these steps completed you should now be able to use MS_SRV to connect to SQLX_SRV using SQL Server Authentication by supplying the name and password for your new Login.  I tried this and it worked fine.  Next I tried to use this same login
    remotely, that is I went to my local development machine and used MS_LOC to try and connect to SQLX_SRV by using
    SERVER1.EnglishBrains.com\SQLEXPRESS
    and opting for SQL Server Authentication and supplying the name and password of my new login.
    THIS DID NOT WORK??  Instead I get the following error message:
    Cannot connect to SERVER1.EnglishBrains.com\SQLEXPRESS.
    A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider:
    SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) (Microsoft SQL Server, Error: -1)
    For help, click:
    http://www.microsoft.com/products/ee/transform.aspx?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=-1
    If you follow the suggested help link, you are told:
    The SQL Server client cannot connect to the server.  This error could be caused by one of the following reasons:
    A specified SQL Server instance name is not valid.
    The TCP, or named pipes protocols are not enabled.
    The firewall on the server has refused the connection.
    The SQL Server Browser service (sqlbrowser) is not started.
    WRONG on all 4 counts!  The instance name IS valid.  Both TCP/IP and Named Pipes protocols are enabled.  The firewall has been shut down, so it is not relevant.  Finally the SQL Server Browser IS started.
    The next thing I tried was to circumvent discovery by the SQL Browser service by using the following syntax to specify the IP address and port directly when specifying the SQL Server name.
    tcp:68.71.134.186,1433
    Using this in the Server Name field I was able to use MS_SRV to successfully connect to SQLX_SRV (using SQL Server Authentication of course) with or without the SQL Browser service running. 
    However when I tried to connect from MS_LOC to SQLX_SRV using this same login (WITH SQL Browser service running just for good measure) it does not work??  I get the following error message:
    Cannot connect to tcp:68.71.134.186,1433.
    A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider:
    TCP Provider, error: 0 - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.) (Microsoft SQL Server, Error: 10060)
    For help, click:
    http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=10060&LinkId=20476
    If you follow the help link you are told:
    "The SQL Server client cannot connect to the server. This error could occur because either the firewall on the server has refused the connection or the server is not configured to accept remote connections."
    However, the firewall has been shut down and the server HAS been configured to accept remote connections! 
    I confirmed that i could indeed Ping to 68.71.134.186  and running NetStat -a |find /i "listening" on the server shows that the server is indeed listening at 68.71.134.186 Port 1433 -- which is why I was able to connect to SQLX_SRV using MS_SRV with
    tcp:68.71.134.186,1433 .
    IN SUMMARY: Even though I can connect to my SQLEXPRESS instance multiple ways from the server itself, I cannot connect remotely from my development machine! 
    If anyone can help me figure out why I would be very, very grateful!

    My two cents to help you out on c# code example to configure the remote sql server express.
    Hope it helps. It works, but you have to be extra carefull to read it all and setup the server configuration and netsh commands; also the port fowarding on the router.
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Data.SqlClient;
    namespace sqlremoteconnection
    class Program
    static void Main(string[] args)
    // this is the local sql server connection
    // 192.168.1.101\SQLEXPRESS
    // now, the configuration for remote access:
    // activate SQL SERVER BROWSER - set it to start "automatic"; then START UP
    // SQL Server Configuration Manager
    // --> SQL SERVER BROWSER -> properties -> Service -> Start Mode -> automatic -> apply
    // --> Log On -> Start -> Ok
                // netsh firewall set portopening protocol = TCP port = 1433 name = SQLPort mode = ENABLE scope = all profile = CURRENT
                // netsh firewall set portopening protocol = UDP port = 1434 name = SQLPort mode = ENABLE scope = all profile = CURRENT
                // netsh advfirewall firewall add rule name = SQLPort dir = in protocol = tcp action = allow localport = 1433 remoteip = any profile = PUBLIC
                // netsh advfirewall firewall add rule name = SQLPort dir = in protocol = udp action = allow localport = 1434 remoteip = any profile = PUBLIC
    // VERY IMPORTANT FOR REMOTE ACCESS: you have to add the rules on port fowarding
    // on the router!!!
    // TCP: 1433
    // UDP: 1434
    // or just a personal port like TCP 31433/UDP 31434
    // read carefully the netsh commands above
    // server name: 123.132.24.177\SQLEXPRESS
    // server name: anyurl.myftp.org\SQLEXPRESS,1433 <<-- regular port
    // server name: anyurl.myftp.org\SQLEXPRESS
    // server name: anyurl.myftp.org\SQLEXPRESS,31433 <<-- WOW different PORT here!!!
    SqlConnection myConnection = new SqlConnection(
    "user id=sa;" +
    "password=password_goes_here!;" +
    "server=anyurl.myftp.org\\SQLEXPRESS,31433;" +
    //"Trusted_Connection=no;" +
    "database=database_name_here; " +
    "connection timeout=30");
    try
    myConnection.Open();
    catch (Exception e)
    Console.WriteLine(e.ToString());
    try
    SqlDataReader myReader = null;
    SqlCommand myCommand = new SqlCommand("select * from mytable", myConnection);
    myReader = myCommand.ExecuteReader();
    while (myReader.Read())
    Console.WriteLine(myReader["tab01_name"].ToString());
    Console.WriteLine(myReader["tab01_age"].ToString());
    catch (Exception e)
    Console.WriteLine(e.ToString());
    try
    myConnection.Close();
    catch (Exception e)
    Console.WriteLine(e.ToString());
    Adelino Araujo

  • How can i connect remote to Timecapsule with iCloud?

    Hello,
    i use my Timecapsule very often viar internet / remote (e.G. in Work and so on) with Mobile Me, but now i change to iCloud and i get an Error when i try to connect with my iCloud Logindata on the Timecapsule settings.
    Is it not possible to use Timecapsule via Remote? On my other Macs i can Access withour any problem - but the Macs are very often Offline and my TimeCapsule is my Server. How i can connect remote to the Timecapsule now?

    Apple brings an Update, with them it is possible to connect to TC over icloud again .

  • How to connect to a remote database in a lan??

    Hey guys......! I need to connect to a remote msaccess database in a lan and import its data into my mysql database.I know how to connect to a msaccess database using ODBC.But I don't know how to connect to a remote database without creating dsn in the machine where database is.One thing more...I want to know, how can I import data into my mysql database?? Is there any query for that or simply I have to select data from msaccess database and insert into tables of my database??Please, send me the source code in the forum itself and explain also.This is the last feature of my project.So I need to do it as soon as possible.

    If the mdb file in LAN, Just map the network drive.[Windows Explorer/Tools/Map Network Drive] in your system from which we need to access the remote mdb. Then go to ODBC Data Source Admin.. and create a new data source[Microsoft Access Driver] . After clicking the Select button, you will find a Network Drive will be visible on your Drives drop down. Select the map Drive, If not visible then just click the Network button there and map the network path where the mdb files reside. And use the JdbdOdbcDriver class to connect from java.

  • How to connect to remote sql server database?

    Hallo,
    I am a new member, so please excuse me if my questions are dummy.
    I am using CR2008 SP2 to make reports from sql server 2005 databases.
    Localy there is no connection problem and everything works perfect.
    I would like to establish a connection with a remote sql server 2005,
    but i am not familiar with remote data retriving. which driver should i use? static ip? vpn? server ports?
    Any answer will be really appreciated

    Hello,
    This is more a question for Microsoft to see what and how they support remote connections to databases. As long as you have the connection made CR will not have any problems. You may find it is slow so optimizing your queries is highly recommended. Passing a million records through your web connector is going to take time.....
    I've personally used a VPN connection and then set the ODBC or OLE DB connection info to my test server here at work and it worked fine. But they were small data sets.
    Thank you
    Don

Maybe you are looking for

  • Qosmio G30 - system problem after recovery procedure

    I have Qosmio G30 - 148 which have Windows XP MCE, when trying to download some programs system crashed and make automatic restart. I then used a RECOVERY CD to recover my all system and followed the instructions on the CD but when finished and reboo

  • Opening files in InCopy

    This seems to be a very basic question, but I'm having a hard time finding the answer: Normally, when I'm working on a project in InCopy, I save and close; when I'm ready to work on the project again, I open it from File > Open Recent > [file name].

  • Why am I unable to open many applications on my macbook pro?

    Why am I unable to open many applications on my macbook pro?Uu

  • Sales Order text on Invoice

    Dear All, I have a doubt :- I want some text to be printed in Invoice . I have punched the text in "Customer Part No." field in SO . If I select a NLAG material the discription is seen on the Invoice. (Order Type YATB) BUT If i select other material

  • Documents, Journal entries and DTW

    Hello, Is there a way that when I import a journal entry, DTW tells me that I can't because this JE is coming from a document and the JE already exists ? I saw that there is the field "Origin No." (table OJDT, BaseRef) which is displayed when a docum