Local Project Connecting to Remote Server

I am relatively new to Flash Remoting, and completely new to Flex. We have got the turnkey BlazeDS server running fine, and all the sample applications are running correctly.
What I am attempting to do now is to pull data from our remote server so that I can develop on the local box, but tie into the remote server. I have added a wide open crossdomain.xml policy that should not prevent access. I'm guessing that my error is deeper than that, as I'm not even sure it's hitting the server.
My error is: [RPC Fault faultString="[MessagingError message='Destination 'http://ec2-75-101-212-220.compute-1.amazonaws.com:8400/product' either does not exist or the destination has no channels defined (and the application does not define any default channels.)']" faultCode="InvokeFailed" faultDetail="Couldn't establish a connection to 'http://ec2-75-101-212-220.compute-1.amazonaws.com:8400/product'"]
Any type of guidance into setting up a local to remote environment would be greatly appreciated, I have been searching everywhere, but all examples I can find involve developing with BlazeDS running directly on the development platform.
Thanks,
Sean

Thanks, it took me a while to figure everything out, but that's exactly what I needed to do.

Similar Messages

  • How to connect a remote server in my local pc?.

    I have a code to connect my server in visual basic 6.0 code, my sap version is 2007 A.
    Private Sub ConnectToCompany()
        '// Initialize the Company Object.
        '// Create a new company object
        Set oCompany = New SAPbobsCOM.Company
        '// Set the mandatory properties for the connection to the database.
        '// To use a remote Db Server enter his name instead of the string "(local)"
        '// This string is used to work on a DB installed on your local machine
        oCompany.Server = "(local)"
        oCompany.language = ln_English
        '// Use Windows authentication for database server.
        '// True for NT server authentication,
        '// False for database server authentication.
        oCompany.UseTrusted = True
        ChooseCompany.Show vbModal, Me
      End Sub
    but I want to connect my remote server and I didn't. Do i forgeting  something??... I changed "(local)" for my name remote server or my local Ip for remote server. But maybe my user name windows for autentication. there is Someone who can help me please. Which one is the correct data I need??

    hello freind
    i think yu are missing  company usernsme,password,db type like this code
    private void Connect()
                try
                    Cursor = System.Windows.Forms.Cursors.WaitCursor;//Change mouse cursor             
                    oCompany = new SAPbobsCOM.Company();               
                    oCompany.DbServerType =  (SAPbobsCOM.BoDataServerTypes.dst_MSSQL2008);
                    oCompany.Server = Properties.Settings.Default.ServerName.ToString();// change to your company server
                    oCompany.language = SAPbobsCOM.BoSuppLangs.ln_English; // change to your language
                    oCompany.UseTrusted = false;
                    oCompany.DbUserName = Properties.Settings.Default.UserID.ToString();
                    oCompany.DbPassword = Properties.Settings.Default.Password.ToString();
                    // Set connection properties
                    oCompany.UserName = txtUSer.Text;
                    oCompany.Password = txtPassword.Text;
                    oCompany.CompanyDB = Properties.Settings.Default.DatabaseName.ToString();            
                    //Try to connect
                    lRetCode = oCompany.Connect();
                    if (lRetCode != 0) // if the connection failed
                        int temp_int = lErrCode;
                        string temp_string = sErrMsg;
                        oCompany.GetLastError(out temp_int, out temp_string);
                    //  u.action_status("Connection Failed - " + temp_string, this);
                    if (oCompany.Connected) // if connected
                        this.Text = this.Text + " - Connected to " + oCompany.CompanyDB;
                        CheckUser();
                    Cursor = System.Windows.Forms.Cursors.Default; //Change mouse cursor         
                catch (Exception)

  • Connecting to remote server failed with the following error message : Access is denied. For more information, see the about_Remote_Troubleshooting Help topic. It was running the command 'Discover-ExchangeServer -UseWIA $true -SuppressError $true -CurrentV

    I installed Exchange Server 2010 inside my VMWare Windows Server 2008 Ent R2. And After successful installation  when I try to open my Exchange Server Console, I am getting the following error message. I am very new to Exchange server please help me
    to solve this problem.
    Initialization Failed
    The following error occurred while searching for the on-premises Exchange server:
    [win-.local] Connecting to remote server failed with the following error message : Access is denied. For more information, see the about_Remote_Troubleshooting Help topic. It was running the command 'Discover-ExchangeServer -UseWIA $true -SuppressError
    $true -CurrentVersion 'Version 14.1 (Build 218.15)''.
    Thanks Vivek
    SharePoint Foundation 2010 Book
    http://www.redpipit.com

    Hi,
    Please have a look at the article below:
    Troubleshooting Exchange 2010 Management Tools startup issues
    http://blogs.technet.com/b/exchange/archive/2010/02/04/3409289.aspx
    Resolving WinRM errors and Exchange 2010 Management tools startup failures
    http://blogs.technet.com/b/exchange/archive/2010/12/07/3411644.aspx
    Besides, please run the cmdlet below:
     set-user alias -remotepowershellenabled$true
    Xiu Zhang
    TechNet Community Support

  • SharePoint Online - "Unable to connect to remote server"

    Hi,
    I have a Provider Hosted App which gets the data from a different site collection. Now, when i try to connect to a different site collection, the TokenHelper
    class gives me an error -  "Unable to connect to remote server". 
    The error is thrown in the below line:
    acsMetadata = webClient.DownloadData(acsMetadataEndpointUrlWithRealm);
    The above error is not thrown always. It throws occasionally. I am not getting the reason for this. Could anybody explain what is the problem, please? 

    Hi,
    According to your description, my understanding is that the error "Unable to connect to remote server" occurs in the WebClient.DownloadData Function.
    As this error throws occasionally, it should be related to the network issue, for a better troubleshooting, I suggest you can check the detailed error message using Fiddler.
    Fiddler
    Thanks
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • SSRS 2008 - Unable to connect to remote server

    Win2k3 R2 SP2/SQL Server 2008 instance with SSRS/Visual Studio 2008
    I installed SQL 2008 and SSRS with native mode default configuration.
    All SQL 2008 services are running under "NT Authority\Network Service" account.
    When i try to deploy a new report, I get the "Unable to connect to remote server" error.
    The deploy operation creates empty folders on the web server (hosted by the SQL Server 2008 service)
    for e.g.
    my instance name is <machinename>$sql2008. i configured the WebService URL and the Reports Manager URL to port 85
    the deploy from VS creates ssrs2008Test folder and a Shared Data Sources folder in the following virtual directory
      - Report Manager URL: http://<machinename>:85/Reports_SQL2008/
      - Web Service URL: http://<machinename>:85/ReportServer_SQL2008
    however these folders are empty w/ no .rdl or .rds file. and i get the "Unable to connect to remote server"  error in Visual Studio 2008 when i deploy it.
    is there something else i have to tweak in either the SQL Server/SSRS Configuration Manager or the Windows Server Settings(like port settings or group policy) to get the reports to work?
    thanks
    -vt

    SecureConnectionLevel = 2
    From logFile:
    appdomainmanager!DefaultDomain!740!08/29/2008-08:00:30:: i INFO: Appdomain:6 ReportServer_SQL2008_0-3-128644956308203194 started.
    appdomainmanager!ReportServer_0-3!740!08/29/2008-08:00:31:: i INFO: RS authentication mode is 5; effective ASP.NET authentication mode is Windows. vdir=/ReportServer_SQL2008.
    httpruntime!ReportServer_0-3!740!08/29/2008-08:00:31:: i INFO: Report Builder manifest file C:\Program Files\Microsoft SQL Server\MSRS10.SQL2008\Reporting Services\ReportServer\ReportBuilder\ReportBuilder_2_0_0_0\MSReportBuilder.exe.manifest not found.
    appdomainmanager!DefaultDomain!740!08/29/2008-08:00:31:: i INFO: Appdomain:6 ReportServer_SQL2008_0-3-128644956308203194 initialized (#2).
    webserver!ReportServer_0-3!740!08/29/2008-08:00:37:: i INFO: Reporting Web Server started
    resourceutilities!ReportServer_0-3!740!08/29/2008-08:00:37:: i INFO: Reporting Services starting SKU: Developer
    resourceutilities!ReportServer_0-3!740!08/29/2008-08:00:37:: i INFO: Evaluation copy: 0 days left
    resourceutilities!ReportServer_0-3!740!08/29/2008-08:00:37:: i INFO: Running on 1 physical processors, 4 logical processors
    runningjobs!ReportServer_0-3!740!08/29/2008-08:00:37:: i INFO: Running Requests Scavenger timer enabled: Next Event: 60 seconds.  Cycle: 60 seconds
    runningjobs!ReportServer_0-3!740!08/29/2008-08:00:37:: i INFO: Running Requests DB timer enabled: Next Event: 60 seconds.  Cycle: 60 seconds
    runningjobs!ReportServer_0-3!740!08/29/2008-08:00:37:: i INFO: Memory stats update timer enabled: Next Event: 60 seconds.  Cycle: 60 seconds
    library!ReportServer_0-3!1588!08/29/2008-08:00:38:: Call to GetItemTypeAction(/ssrs2008Test).
    library!ReportServer_0-3!1588!08/29/2008-08:00:39:: i INFO: Catalog SQL Server Edition = Developer
    crypto!ReportServer_0-3!1588!08/29/2008-08:00:39:: i INFO: Initializing crypto as user: NT AUTHORITY\NETWORK SERVICE
    crypto!ReportServer_0-3!1588!08/29/2008-08:00:39:: i INFO: Exporting public key
    crypto!ReportServer_0-3!1588!08/29/2008-08:00:39:: i INFO: Performing sku validation
    crypto!ReportServer_0-3!1588!08/29/2008-08:00:39:: i INFO: Importing existing encryption key
    library!ReportServer_0-3!740!08/29/2008-08:00:39:: Call to GetItemTypeAction(/Data Sources).
    library!ReportServer_0-3!1588!08/29/2008-08:00:39:: Call to GetItemTypeAction(/Data Sources/masterDB).
    library!ReportServer_0-3!740!08/29/2008-08:00:40:: Call to GetItemTypeAction(/ssrs2008Test/sp_who2).

  • Cannot connect to remote server

    When trying to make connection to remote server, I receive a
    message, "FTP, error, cannot make connection to host-Logon and
    Password are incorrect... However, settings are correct as I could
    get on in the past and when testing for remote site in site
    management the message states "Adobe DW Cs3 connected to your web
    server correctly".
    My OS is MAC 10.4.11 My site developer can get on with DW8
    using a PC and a MAC. Have tried everything short of deactivation
    and reinstall.

    Plese tell us what your remote site definition has in each
    field (you can
    omit the password).
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "TJMax412" <[email protected]> wrote in
    message
    news:gbtj7m$94l$[email protected]..
    > When trying to make connection to remote server, I
    receive a message,
    > "FTP,
    > error, cannot make connection to host-Logon and Password
    are incorrect...
    > However, settings are correct as I could get on in the
    past and when
    > testing
    > for remote site in site management the message states
    "Adobe DW Cs3
    > connected
    > to your web server correctly".
    > My OS is MAC 10.4.11 My site developer can get on with
    DW8 using a PC and
    > a
    > MAC. Have tried everything short of deactivation and
    reinstall.
    >

  • Premiere Elements 8 "Could not connect to remote server" when sharing to YouTube

    I'm trying to share my Adobe Premiere Elements 8 video to YouTube through the task panel, but I get a "Could not connect to remote server" message. My computer is connected to the Internet. I notice at the bottom of the message there is "Open the Opera Help" and "Go to Opera's on-line support desk." I don't have Opera on this computer, so maybe that's it?

    No. You don't need Opera.
    Have you gone to Edit/Preferences and ensured that your Web Services are up to date?
    Otherwise, it could be that YouTube changed settings on us again. If that's the case, you'll need to post to it manually, per the FAQs to the right of this forum.
    http://forums.adobe.com/thread/390608?tstart=30

  • Suddenly, thunderbird doesn't connect to remote server when i click "get messages".

    Linux (ubuntu studio), 64 bit. Suddenly, thunderbird doesn't connect to remote server when i click "get messages". It just says "(account name): Connected to (mail server)" for a second or two at the bottom, then nothing. In the server logs, i get:
    popa3d[6408]: Didn't attempt authentication
    Trying to get my e-mail also seems to cause a bunch of these errors on the server:
    (server) kernel: [18295.775491] lockd: cannot monitor laptop
    where "laptop" is the client machine.
    The problem seems to be caused by my mailbox files (Inbox and Inbox.msf) - when i create a clean ~/.thunderbird directory, i can get my e-mails, but when i place my mailbox files in this account's Mail directory, the problem comes back. Even if i place it as another name, and not Inbox.

    I should add the following information:
    - Neither "safe mode" or rebuilding the global-messages-db.sqlite file fixes the problem.
    - Seamonkey has no problems with my Inbox and Inbox.msf file.
    - The Inbox and Inbox.msf files are symlinks to files on a NFS filesystem.
    - Downgrading to an earlier version of thunderbird doesn't fix the problem.
    - Even if i remove the mail file from an account, the problem persists.
    - I confirmed that i can telnet to the server on the pop3 port and login with the raw protocol.
    The above mentioned lockd errors make me think this is a NFS related error, but if that's the case, why is seamonkey able to read my Inbox file without problems but not thunderbird?

  • Connecting to remote server failed - WinRM client cannot complete the operation within the time specified

    Exchange 2010 SP2 Active DAG Node.  Cannot cannot to Exchange Admin Console with the following errors and these errors change from time to time ... and some times it works ...
    attempt to connect to http://DAGNODE.domain.com/powershell using "kerberos" authentication failed: connecting to remote server failed with the following message: The WinRM Client cannot complete the operation
    within the time specified. Check if the machine name is valid and is reachable over the network and firewall exception for windows remote management service is enabled.
    thanks,

    Hi,Philip,
    Are you running the DAG on Windows server 2008 R2?If so check the following KB to see if they apply to your issue
    http://support.microsoft.com/kb/976839
    http://support.microsoft.com/kb/2294243
    And you can check if the solutions in these old threads with similar error message do the trick for you.
    http://social.technet.microsoft.com/Forums/en-US/exchange2010/thread/54af902c-d718-4656-8a25-7c150e4b0e81/
    http://social.technet.microsoft.com/Forums/en-US/exchangesvradminlegacy/thread/baa1af25-001a-432d-86a0-25c05655e63c/
    Regards,
    Sharon
    Sharon Shen
    TechNet Community Support
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question.

  • Access to local DataSource tries to connect to remote server after ejb call to remote server

    I've run into a problem with code that worked fine under WebLogic 6.1 SP4, but I'm having difficulty migrating it to WebLogic 8.1 SP2.
              I have two weblogic instances running in separate domains (InstanceA and InstanceB). The two domains have the same crentential configured to setup the trust relationship.
              InstanceA runs on my local machine. It contains Stateless Session Beans StatelessSessionBeanA1, StatelessSessionBeanA2, and DataSourceA1
              InstanceB runs on a different machine. It contains StatelessSessionBeanB1.
              A function A1Func1 in StatelessSessionBeanA1
              1) creates an initial context to connect to InstanceB
              2) calls a method B1Func1 on StatelessSessionBeanB1
              3) closes that context to InstanceB
              4) Calls a method A2Func1 on StatelessSessionBeanA2
              5) manipulates several entity beans
              6) returns
              A1Func1, A2Func1, B1Func1 have the "Required" transaction attribute set.
              Steps 1,2,3 work fine, but on step 4, when A2Func1 attempts to get a Connection from the DataSourceA1, it gets an exception:
              java.sql.SQLException: Could not get remote server connection url = t3://(IP/port of InstanceB)
              at weblogic.jdbc.jts.Driver.createRemoteConnection(Driver.java:305)
              at weblogic.jdbc.jts.Driver.connect(Driver.java:157)
              at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:305)
              ... enters my application code
              A2Func1 works fine elsewhere, so on a hunch, I tried making A2Func1 have the "RequiresNew" transaction attribute. This causes steps 1,2,3,4 to work, but in step 5, when the entity beans attempt to get a connection from DataSourceA1, it runs into the same exception
              java.sql.SQLException: Could not get remote server connection url = t3://(IP/port of InstanceB)
              at weblogic.jdbc.jts.Driver.createRemoteConnection(Driver.java:305)
              at weblogic.jdbc.jts.Driver.connect(Driver.java:157)
              at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:305)
              at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.getConnection(RDBMSPersistenceManager.java:2247)
              Any ideas why calling out to StatelessSessionBeanB1 would cause things inside the same transaction to try to get their datasource from InstanceB? Again, this code worked fine under WebLogic 6.1
              And ideas would be appreciated.
              Thanks,
              --Andy
              

              As a follow up, no solution, but a workaround - we changed the transaction setting
              on B1Func1 (which was a read type method) on InstanceB's StatelessSessionBeanB1
              to NotSupported, and everything started working again.
              --Andy
              Andrew Delpha <[email protected]> wrote:
              >I've run into a problem with code that worked fine under WebLogic 6.1
              >SP4, but I'm having difficulty migrating it to WebLogic 8.1 SP2.
              >
              >I have two weblogic instances running in separate domains (InstanceA
              >and InstanceB). The two domains have the same crentential configured
              >to setup the trust relationship.
              >
              >InstanceA runs on my local machine. It contains Stateless Session Beans
              >StatelessSessionBeanA1, StatelessSessionBeanA2, and DataSourceA1
              >
              >InstanceB runs on a different machine. It contains StatelessSessionBeanB1.
              >
              >
              >A function A1Func1 in StatelessSessionBeanA1
              >1) creates an initial context to connect to InstanceB
              >2) calls a method B1Func1 on StatelessSessionBeanB1
              >3) closes that context to InstanceB
              >4) Calls a method A2Func1 on StatelessSessionBeanA2
              >5) manipulates several entity beans
              >6) returns
              >
              >A1Func1, A2Func1, B1Func1 have the "Required" transaction attribute set.
              >
              >
              >Steps 1,2,3 work fine, but on step 4, when A2Func1 attempts to get a
              >Connection from the DataSourceA1, it gets an exception:
              >java.sql.SQLException: Could not get remote server connection url = t3://(IP/port
              >of InstanceB)
              > at weblogic.jdbc.jts.Driver.createRemoteConnection(Driver.java:305)
              > at weblogic.jdbc.jts.Driver.connect(Driver.java:157)
              > at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:305)
              > ... enters my application code
              >
              >A2Func1 works fine elsewhere, so on a hunch, I tried making A2Func1 have
              >the "RequiresNew" transaction attribute. This causes steps 1,2,3,4
              >to work, but in step 5, when the entity beans attempt to get a connection
              >from DataSourceA1, it runs into the same exception
              >java.sql.SQLException: Could not get remote server connection url = t3://(IP/port
              >of InstanceB)
              > at weblogic.jdbc.jts.Driver.createRemoteConnection(Driver.java:305)
              > at weblogic.jdbc.jts.Driver.connect(Driver.java:157)
              > at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:305)
              > at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.getConnection(RDBMSPersistenceManager.java:2247)
              >
              >Any ideas why calling out to StatelessSessionBeanB1 would cause things
              >inside the same transaction to try to get their datasource from InstanceB?
              > Again, this code worked fine under WebLogic 6.1
              >
              >And ideas would be appreciated.
              >Thanks,
              >--Andy
              

  • Cannot open Report Manager URL -- "Unable to Connect to Remote Server"

    Hi, 
    I have recently installed SSRS 2012 on my remote server (Native Mode). I had the default configurations set except for the port has been changed to "8081". I created an Inbound Rule in Firewall to make sure it's enabled. 
    I'm unable to connect to the report manager locally at all, I got a Domain\username authentication and the credentials are never accepted locally.  I tried accessing my report server using the remote server host name and I was successfully logged in,
    however,  I got a message "Unable to Connect to the remote server". 
    I checked the log folder and there was no files created for my unsuccessful login. 
    I've been stumbling with this issue for almost a week, Any ideas or suggestions ?

    Hi SB User,
    Per my understanding that after you change the IP to "8081" then you can't connect to the report server both locally and remotely, right?
    Is that mean before you have changed the IP, everything works fine and did you got some pop up window ask for credential when you connect to the report server?
    You issue can be caused by many factors, please try to check details information below and do some configurations:
    Go to Reporting Services Configuration Manager and change the account to "Network Service" to see if it will works fine.
    Change the account to domain account and re-enter the username and password to see if it works fine. 
    Remove the SSL if configured.
    Go to C:\Program Files\Microsoft SQL Server\MSRS11.MSSQLSERVER\Reporting Services\ReportServer\rsreportserver.config 
    In rsreportserver.config Change the SecureConnectionLevel value to "0":
    <Add Key="SecureConnectionLevel" Value="0"/>
    Stop and restart the report services instance to see if you can connect to report server.
    please also Using IP instead of computer name as the <servername> in the URL to have a test.
    If your issue still exists, please try to change the IP to have a test.
    If you still have any problem,please fee free to ask.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • How to connect to remote server with jmx from jvisualvm

    I have a WL 10.3.2 domain running on a single box. The adminserver and managed server are running on the same box, on different ports (7001 and 8001, respectively).
    I have a Spring application deployed to the managed server and I've configured it to register a Spring bean as a JMX mbean.
    When I run this entire configuration on my laptop, I can run jvisualvm and connect to my server and see and manipulate my registered mbean.
    I'm having trouble figuring out how to get a remote connection working, however. I want to run jvisualvm on my laptop and connect to the remote server.
    I first did "Add Remote Host", where I specified the IP address. It appears that this was created successfully, and it apparently was able to determine the DNS name for it.
    I then tried to add a JMX connection. In the "Connection" field, I just entered the IP address followed by a colon and 8001 (managed server port number).
    In the "Use security credentials" section, I entered the weblogic admin principal and credentials.
    When I click OK, it chugs for a while and eventually gives up, saying:
    Cannot connect to [email protected]:8001 using
    service:jmx:rmi:///jndi/rmi://nn.nn.nn.nn:8001/jmxrmi
    What might I be missing?

    I've resolved this. At least I was able to configure an authenticated connection. It doesn't use SSL yet, but I'm ok with that for a while.
    Resolving this only required changing the command line parameters for the managed server, and being aware of the "jmxremote.access" and jmxremote.password" files. The following blog article helped a lot: [http://www.dzone.com/links/r/monitoring_your_java_application_with_jmx_part_2.html] .
    I'm now passing the following command-line parameters:
    -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=8888 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=true
    The default "role" configured in "jmxremote.access" is "controlRole", and the "jmxremote.password" file specifies the credentials for that principal. I simply used that principal and credential in JVisualVM, and the connection succeeded.
    And I just used the "host:port" form, not the protocol form.
    Edited by: david.karr on Feb 4, 2011 12:47 PM

  • Error in connecting a remote server

    hi friends,
    Though Cisco VPN i'm trying to establish connection with a remote server.The VPN connection is successfully established
    but when trying to logon to the sap server it gives NI(Network Interface error)
    Can any one give some idea on what can be the problem?
    thanks,
    sachin soni

    Hello,
    Can you confirm if the system is up via normal intranet ?
    If yes, please also check with your network guys if have openend ports 3600-3699. These ports are used by SAP NI interface.
    Regards,
    Siddhesh

  • Can no longer connect to remote server via VPN

    I recently installed OS 10.5.8, and have found that I can no longer connect to my server at work. The VPN itself (via PPTP) works fine, it's just that when I try to connect to the remote server (via Connect to Server) I get a dialogue saying 'A volume failed to mount.' A further dialogue says 'Sorry, the operation could not be completed because an unexpected error occurred. (Error code -6602)'
    Has anyone found a way around this, please? I'm disabled and I need to be able to work from home – without the connection I'm stuffed! Obviously I've tried rebooting the machine etc, but nothing seems to help.
    Thank you for any assistance you can give.
    Kitty.

    For some random reason this connection has begun working again – please ignore the question!

  • Error testing locally; works fine on remote server

    I was about to post that I'd hit an error when trying to
    create a
    conditional region in DW 8 with ASP, CF & PHP: Training
    from the Source.
    Rather than paste the non-PHP code, I uploaded the page to my
    remote server.
    When I browsed to the link, the error wasn't there.
    I inserted the code for the conditional region just before
    the opening
    <form> tag, as the book instructed (Lesson 6).
    <?
    if ($_GET['error'] == "notnumeric")
    echo "<p>*** Error! One or more fields was left blank
    or contained a
    non-numeric character.</p>";
    ?>
    When I preview locally, the page appears correctly, but with
    the following
    message before the form:
    Notice: Undefined index: error in C:\Program Files\Apache
    Group\Apache2\htdocs\newland\Lesson06\Start\newland-php\tourprice.php
    on
    line 27
    Line 27 is where the "if" statement starts.
    On my remote server, everything works as it should:
    http://www.feathertheweb.com/newland/Lesson06/Start/newland-php/tourprice.php
    Any help is appreciated.
    Thanks,
    Heather

    So, I changed the code you had provided and that worked. Now,
    I've tested
    the form and when I click "submit," I get this:
    Notice: Undefined index: nmChildren in C:\Program
    Files\Apache
    Group\Apache2\htdocs\newland\Lesson06\Start\newland-php\tourprice_processor.php
    on line 2
    Warning: Cannot modify header information - headers already
    sent by (output
    started at C:\Program Files\Apache
    Group\Apache2\htdocs\newland\Lesson06\Start\newland-php\tourprice_processor.php:2)
    in C:\Program Files\Apache
    Group\Apache2\htdocs\newland\Lesson06\Start\newland-php\tourprice_processor.php
    on line 4
    I'm guessing it's related to the change I made in
    tourprice.php. I tried to
    figure out what needed to be changed in
    tourprice_processor.php based on
    that change, but I'm still pretty new at this and really
    wasn't sure.
    Below is the code from tourprice_processor.php:
    <?php
    if (is_numeric($_POST['numAdults']) == false or
    is_numeric($_POST['nmChildren']) == false)
    header("Location: tourprice.php?error=notnumeric");
    exit;
    ?>
    <?php
    $numAdult = $_POST['numAdults'];
    $numChild = $_POST['numChildren'];
    $basePrice = $_POST['tourName'];
    $tourPrice = ($numAdult * $basePrice) + ($numChild *
    $basePrice);
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN"
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <title>Newland Tours: Tour Price
    Calculator</title>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1" />
    <link href="css/newland.css" rel="stylesheet"
    type="text/css" /></head>
    <body>
    <a href="#top"><img src="images/spacer.gif"
    alt="Skip to main page content"
    width="1" height="1" border="0" align="left" /></a>
    <table width="750" border="0" cellpadding="3"
    cellspacing="0">
    <tr>
    <td><img src="images/banner_left.gif" width="451"
    height="68" alt="Newland
    Tours Banner, Left." /></td>
    <td width="280"><img src="images/banner_right.jpg"
    width="276" height="68"
    alt="Newland Tour Banner, Right." /></td>
    </tr>
    <tr>
    <td><img src="images/navbar.gif" name="navbar"
    width="450" height="20"
    border="0" usemap="#navbarMap" alt="Navigation Bar."
    /></td>
    <td><img name="copyright_bar"
    src="images/copyright_bar.gif" width="272"
    height="20" border="0" alt="Copyright 2006 Newland Tours."
    /></td>
    </tr>
    <tr>
    <td colspan="2">
    <h1><br />
    <a name="top" id="top"></a>Tour Price
    Calculator</h1>
    <p>The estimated cost of your tour is
    <strong><?php echo
    '$'.number_format($tourPrice, 2);
    ?></strong>.</p>
    <p>Prices include hotel, accommodation, and travel
    expenses during the
    tour. They
    do not include airfare to the starting
    destination.</p>
    <p><a href="tourprice.php">Calculate</a>
    another tour.</p>
    <p><a href="contact.php">Contact</a> one
    of our qualified agents.</p>
    </td>
    </tr>
    </table>
    <br />
    <map name="navbarMap" id="navbarMap">
    <area shape="rect" coords="1,0,62,20" href="index.php"
    alt="Home" />
    <area shape="rect" coords="71,0,117,20" href="about.php"
    alt="About" />
    <area shape="rect" coords="129,0,196,20" href="tours.php"
    alt="Find Tours"
    />
    <area shape="rect" coords="209,0,311,20"
    href="profiles.php" alt="Country
    Profiles" />
    <area shape="rect" coords="327,0,434,20"
    href="contact.php" alt="Contact An
    Agent" />
    </map>
    </body>
    </html>
    Heather
    "David Powers" <[email protected]> wrote in message
    news:[email protected]...
    > Heather wrote:
    >> I inserted the code for the conditional region just
    before the opening
    >> <form> tag, as the book instructed (Lesson 6).
    >>
    >> <?
    >> if ($_GET['error'] == "notnumeric")
    >>
    >> When I preview locally, the page appears correctly,
    but with the
    >> following message before the form:
    >>
    >> Notice: Undefined index: error in C:\Program
    Files\Apache
    >
    > It's badly written code. It should be
    >
    > if (isset($_GET['error']) && $_GET['error'] ==
    "notnumeric")
    >
    >> On my remote server, everything works as it should:
    >
    > That's because your remote server has been configured to
    suppress PHP
    > notices.
    >
    > PHP notices alert you to non-fatal mistakes in coding. A
    lot of people
    > just ignore them, but it's a sloppy habit to get into,
    because it can lay
    > your scripts open to attack. Before testing the value of
    a variable, you
    > should always use isset() to check that the variable has
    been defined in
    > the first place.
    >
    >
    http://www.php.net/manual/en/function.isset.php
    >
    > --
    > David Powers
    > Author, "Foundation PHP for Dreamweaver 8" (friends of
    ED)
    > Author, "Foundation PHP 5 for Flash" (friends of ED)
    >
    http://foundationphp.com/

Maybe you are looking for

  • Can't sync Calendar anymore

    Hi guys, I've been synchronising my 6131NFC with Outlook Calendar and Contacts successfully for few days. For some obscur reasons, it's not possible anymore to sync my calendar from Outlook to the phone. I've tried all kind of reboot and battery remo

  • Selection in JTreeTables

    I'm trying to programmatically select nodes within my JTreeTable, with zero-success... I imagined the following would be fine for rendering the selection. JTree tree = treeTable.getTree(); tree.setExpandsSelectedPaths(true); treePath = treePath.pathB

  • SAP Business Workflow / Organizational Plan

    Hi, This is not specific to SRM, but is specific to SAP Business Workflow within ECC, relating to Organizational Management: We have more than one instance of SAP, where one instance is used to run all of our business, except SAP HR (let's call this

  • "App store not supported in this country" Error message on ipad app store?

    I have a 64Gb wifi ipad and live in Bangladesh. When i touch the app store icon i get the above error message? But itunes on the ipad works fine? However the app store icon on my phone 3GS works fine. I have also tried disabling the location services

  • RecordsManagement: Error in service provider for DOMEA: SAP-Office Mails

    Hi all, I am trying to use the default service provider for Domea:SAP office mails( RMPS_LINK_SP_MAIL). but i am getting an error " Standard activity not defined "  Message no. SRM_ORGANIZER106. can anyone please help me in this regard... Also the sc