405 error...help :'(

I have been trying for the past 3 hours to find a solution to
this. everywhere i look sends me to a dead end solution.
I have been comissioned to do a new website, and i got the
client to ask for mysql databases.
when i try to connect to them with dreamweaver i keep getting
the error message "error 405 method not allowed"
i have tried replacing the scripts folder...changed the
connection settings...even uninstalled DW8 and reinstalled
DWMX2004....resulting in the same error message.
I was chatting to the web hosting company and they said that
it was working fine on their side and that they can connect to it
fine [not using DW obviously] They said that it was beyond the
scope of their support and that i should come here.
I'm willing to try anything you guys can provide me with.
thanks

Try this, Open a php page, then under application pick
databases then the +
sign then custom connection string.
Name the connection then in the connection string put in this
string with
your connection info.
driver={mysql};
database=yourdatabase;server=yourserver;uid=username;pwd=password;option=163
86;
Good luck.
Dave
"bloodfoot" <[email protected]> wrote in
message
news:ek9hpo$7p9$[email protected]..
> here's what's in the connection folder. I haven't
established a connection
to
> the database and can't create a recordset. There's
something with the way
i'm
> connecting to the server. Anyways here's what i have.
Thanks for the
help..keep
> it coming ;)
>
> <?php
> # FileName="Connection_php_mysql.htm"
> # Type="MYSQL"
> # HTTP="true"
> $hostname_property = "mysql.domain.com"; ---> also
tried it with
localhost.
> $database_property = "database_name";
> $username_property = "username";
> $password_property = "password";
> $property = mysql_pconnect($hostname_property,
$username_property,
> $password_property) or
trigger_error(mysql_error(),E_USER_ERROR);
> ?>
>

Similar Messages

  • ICM_HTTP_INTERNAL_ERROR 405 error

    Hi All,
    We are using BPM for multiple IDoc-XI-Single file scenario. While processing material in bulk (5000 material at a time) message is failed with ICM_HTTP_INTERNAL_ERROR 405 error.
    In Integration Process, we used Deadline Branch Block with 1 min duration.
    Please suggest reasons for the error.
    Regards,
    Rama

    Hi Rama,
    The following threads discuss the same issue, they might help you:-
    1. Performance issue and Error in ICM in case of a lot of messages
    2. error code: 400, error text: ICM_HTTP_CONNECTION_FAILED
    Regards,
    Sushumna

  • 405 error when created a servlet for Recalculate form button

    hello, if anyone can help me out. I'm doing a school project that is a (Apache Tomcat Server) website that allows customers to buy music cds.(no it does not really go to a Service) i am having trouble with the recalculate form button. I have a form button created in a page called CartDetails.java and i use outstring to convert these lines <form method='POST' name='recalc' action='Recalculate'> and <input type='Submit' name='recalc' value='Recalculate'> into html code so tomcat will see it as html and not java. I have also made a doGet method inside another page called Recalculate.java to request the data i need from the database. this is part of the code(in Recalculate.java).
    protected void doGet(HttpServletRequest request,
    HttpServletResponse response)
    throws ServletException, IOException
    HttpSession session = request.getSession();
    Music.Customer custbean = (Music.Customer)session.getAttribute("customer");
    yes, I have done all the calculations.(my teacher gave them to me). I have also created the servlet in the web.xml file properly. the problem is that it gives me a 405 error saying HTTP method POST is not supported by this URL when the recalculate form button is pressed.
    please help. thanx

    I did change it to doPost and it gave me the same error message. my teacher told me to put in a doPost method right underneath the doGet method(the doPost would do exactly what the doGet does in my program). but that would mean i would have to open two sessions. this is my whole program. i am almost positive the problem is here. Everything else is done right. /*
    This servlet recalculates the total of the cart. those items which quantities are 0 will be deleted from the
    cartdetails table. This version calls on CartDetails servlet to finish the job. Commented segments below were in
    RecalculateCart
    package Music;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import Music.DBI;
    import Music.Customer;
    import Music.Control;
    import java.text.NumberFormat;
    public class Recalculate extends Music.Control {
    String CustomerID;
    protected DBI dbi; // i also used do Post here....same result.
    protected void doGet(HttpServletRequest request,
    HttpServletResponse response)
    throws ServletException, IOException
    HttpSession session = request.getSession();
    Music.Customer custbean = (Music.Customer)session.getAttribute("customer");
    dbi = custbean.getDBI();
    try {
    java.util.Enumeration paramNames = request.getParameterNames();
    while(paramNames.hasMoreElements())
    String paramName = (String)paramNames.nextElement();
    this.dbi.printItem(paramName);
    // String[] paramValue = request.getParameterValues(paramName);
    /*ParamValue is the ID of the item */
    String paramValue = request.getParameter(paramName);
    this.dbi.printItem("Item = "+paramName+" Number of Items = "+paramValue);
    int qty = Integer.parseInt(paramValue);
    if (qty == 0)
    /* delete record form cartdetail */
    this.dbi.deleteItem(Integer.parseInt(custbean.getCartId()),Integer.parseInt(paramName));
    else
    /* update record with the paramValues as quantity */
    this.dbi.updateItem(Integer.parseInt(custbean.getCartId()),Integer.parseInt(paramName),qty);
    } // end while
    catch(Exception e)
    e.printStackTrace();
    gotoPage("/CartDetails", request, response);
    } // end do Post
    } // end class

  • 405 Error...

    Hi friends,
       i saw the 405 error message while i run my ABAPPROXY scenario in SXMB_MONI.
    the following errors are given below.
      <b><?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">CLIENT_RECEIVE_FAILED</SAP:Code>
      <SAP:P1>405</SAP:P1>
      <SAP:P2>ICM_HTTP_INTERNAL_ERROR</SAP:P2>
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText><html><head><title>SAP Web Application Server Error</title> <style type="text/css"> body { font-family: arial, sans-serif;} </style> </head> <BODY text="#172972" link="#808080" vlink="#808080" alink="#8e236b" bgcolor=white leftmargin="0" topmargin="0" marginheight="0" marginwidth="0"> <table height="61" width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td background="http://sapxi30:8000/sap/public/icman/img/bluebar_tile.gif" height="30"><table> <tr> <td width=5></td> <td width=20% nowrap><font face=arial size="-1" color=white>SAP Web Application Server </font></td><td width=75% align="right" nowrap><font face=arial size="-1" color="white"><a href="http://help.sap.com/">Help </font></td><td width=5% nowrap></font></td> </tr></table> </td><td rowspan=2 width=122 height=61 valign=top><img src= "http://sapxi30:8000/sap/public/icman/img/theme.jpg" width=122 height=61 border=0 alt="SAP"></td> </tr><tr><td background="http://sapxi30:8000/sap/public/icman/img/graybar_tile.jpg" height="31">  </td></tr> </table> <br><br> <table width=800> <tr><td width=50 nowrap> </td><td> <H2><b>500 Internal Server Error</b></H2><br><hr><br>Internal Server Error(-1)<br><br><hr> <table border="0"> <tr><td>Error:</td><td>-1</td></tr> <tr><td>Version:</td><td>6040</td></tr> <tr><td>Component:</td><td>HTTP_PLG</td></tr> <tr><td>Date/Time:</td><td>Thu Sep 08 10:54:26 2005 </td></tr> <tr><td>Module:</td><td>http_plg.c</td></tr> <tr><td>Line:</td><td>3387</td></tr> <tr><td>Server:</td><td>sapxi30_XI3_00</td></tr> <tr><td>Detail:</td><td>No handler defined for this URL</td></tr> </table> <p></p> </td></tr></table> <table><tr><td width=50 nowrap></td> <td nowrap><FONT SIZE=-1><a href="http://www.sap.com/">&copy; 2001-2003, SAP AG</a></FONT></td></tr></table></SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error when receiving by HTTP (error code:  405, error text: ICM_HTTP_INTERNAL_ERROR)</SAP:Stack>
      <SAP:Retry>A</SAP:Retry>
      </SAP:Error></b>
    why i got this error and what i need to do.
    thanks in advance,
    Saravanan.
    <b></b>

    First could you check, if the URL is correct?
    The URL should be:
    http://<host>:<port>/sap/xi/engine?type=entry for Web AS 6.40
    http://<host>:<port>/sap/xi/engine?type=receiver for Web AS 6.20
    Second check with SICF, if the service corresponding to the URL is active.
    Regards
    Stefan

  • 405 error sometimes returned, sometimes works properly

    We have an application that is built on top of STRUTS 1.1. We have encountered
    what seem to be 'random' instances where a "405 error - resouce not allowed" is
    returned. Open a new browser window, it will work fine. Our configuration consists
    of LINUX Apache web servers with weblogic 8.1 running on windows 2000. We are
    using clustering. We have a load balancing device in front of our 2 web servers,
    with 3 weblogic servers in our cluster. Testing in production has recreated the
    problem, specific to 1 web server talking to 1 of the web servers, although the
    weblogic access logs show that the problem has occured on one of our other weblogic
    servers as well. The wierd part is that this problem doesn't seem to be consistent,
    and the application seems to work 'most of the time'.

    I have exactly the same problem
    (Problem:
     *Sometimes* when I boot my laptop the power light comes on but the screen stays black. Doesn't go any further.)
    My laptop only doesn't start on battery only. The power light comes on and the stays on with the laptop in a freeze (nothing displayed on screen). The only way to get this light off is to remove battery.
    Starts EVERY time with the AC power connected (with or without battery).
    Works perfectly normal once booted
    SOMETIMES starts with the battery only if I boot soon after I have already been using the laptop
    I have tried the static release processes but doesn't work.
    After having this trouble I updated to latest BIOS but has not helped
    Tried a different battery and has not helped
    Is a Toshiba Satellite PRO L500 T4400 4GB 15" Win7 Laptop - only 3 weeks or so old
    Very annoying!
    Please someone with an answer??

  • Sjsws 7 u1 and PHP 405 errors

    All,
    I have receiving php 405 errors when I run php scripts on sjsws 7 u1. I have downloaded the php add on from sun downloads. Any suggestions on how to make this work. The install script has placed most of the entries I required in the obj.conf, magnus.conf and mime.types files.
    Any help is greatly appreciated.
    Nathan

    Here is my obj.conf:
    # Copyright 2006 Sun Microsystems, Inc. All rights reserved.
    # Use is subject to license terms.
    # You can edit this file, but comments and formatting changes
    # might be lost when you use the administration GUI or CLI.
    <Object name="default">
    Service type="magnus-internal/php"
    fn="responder-fastcgi"
    app-path="/sun/webserver7/plugins/php/bin/php"
    bind-path="localhost:3101"
    app-env="PHPRC=/sun/webserver7/plugins/php"
    app-env="PHP_FCGI_CHILDREN=2"
    app-env="PHP_FCGI_MAX_REQUEST=200"
    app-env="FCGI_WEB_SERVER_ADDRS=127.0.0.1"
    app-env="LD_LIBRARY_PATH=/sun/webserver7/plugins/php"
    app-env="LD_LIBRARY_PATH_64=/sun/webserver7/plugins/php/64"
    AuthTrans fn="match-browser" browser="*MSIE*" ssl-unclean-shutdown="true"
    NameTrans fn="ntrans-j2ee" name="j2ee"
    NameTrans fn="pfx2dir" from="/mc-icons" dir="/sun/webserver7/lib/icons" name="es-internal"
    NameTrans fn="assign-name" from="/fcgi/*" name="fcgi.config"
    PathCheck fn="uri-clean"
    PathCheck fn="find-pathinfo"
    PathCheck fn="find-index-j2ee"
    PathCheck fn="find-index" index-names="index.html,home.html,index.jsp,index.php,default.asp,index.asp"
    ObjectType fn="type-j2ee"
    ObjectType fn="type-by-extension"
    ObjectType fn="force-type" type="text/plain"
    Service method="(GET|HEAD)" type="magnus-internal/directory" fn="index-common"
    Service method="(GET|HEAD|POST)" type="*~magnus-internal/*" fn="send-file"
    Service method="TRACE" fn="service-trace"
    Error fn="error-j2ee"
    AddLog fn="flex-log"
    </Object>
    <Object name="j2ee">
    Service fn="service-j2ee" method="*"
    </Object>
    <Object name="es-internal">
    </Object>
    <Object name="cgi">
    ObjectType fn="force-type" type="magnus-internal/cgi"
    Service fn="send-cgi"
    </Object>
    <Object name="send-precompressed">
    PathCheck fn="find-compressed"
    </Object>
    <Object name="compress-on-demand">
    Output fn="insert-filter" filter="http-compression"
    </Object>
    <Object name="fcgi.config">
    AuthTrans fn="auth-fastcgi" app-path="/fastcgi/apps/c/simpleAuth"
    bind-path="localhost:2111"
    Service fn="responder-fastcgi"
    app-path="/fastcgi_enabled_php_installation_dir/bin/php"
    app-env="name1=abc"
    </object>

  • I have an hp office jet 4500 and os maverick 10.9.4 and I can't get it to print after last upgrade, multiple malfunctions and error, help?

    I have an hp office jet 4500 and os maverick 10.9.4 and I can’t get it to print after last upgrade, multiple malfunctions and error, help? I have tried deleting and resetting printer and re-installing update 6 times. Last update attempt showed none available??? I can’t load the software directly from HP because their only option is to use the software update option on the mac....frustrated!!! Help!!
    I get blank pages that just run through the printer and a stats window that just 33% complete and goes no further.

    I am going on the guess that an old driver is still installed...
    Use Finder Go > go to folder, and go to /Library/Printers and delete the HP folder(s).
    Reset the Printing System:
    OS X Mavericks: Reset the printing system
    Now, Add the printer in Print & Scan prefs.

  • I updated to the latest IOS and now my passwords don't work.  Reset 4 time which reset for my iPad and iPhone but I cant log into my itunes account using my apple ID it indicates an error, Help?

    I updated to the latest IOS and now my passwords don't work.  Reset 4 time which reset for my iPad and iPhone but I cant log into my itunes account using my apple ID it indicates an error, Help?

    This may sound crazy, but download any free app.  This often "shocks" the other apps into working.

  • HT6208 Cannot download the latest update 7.1.1 even though plugged in and on wifi keeps saying error help!!!!!

    Cannot download the latest update 7.1.1 even though plugged in and on wifi keeps saying error help!!!!!

    I am not getting an errr #. It just says that there are purchases on my ipod, not in my itunes. I transfer all of my ipod purchases into itunes. Then I try an download the new version of my ipod 7.1.1. It still says there are purchases on my ipod touch. So I just hit continue because their are not purchases on my ipod, that aren't in itunes. It extracts the software, and backs up ipod. Then itunes just closes. When I reopen it I get the same message A new iPod software version (7.1.1) is available for the iPod “My" iPodl”. Would you like to update your iPod now? My imac has recently been restored to as new, I have the newest ipod touch, and my version of itunes is also the newest version. The only thing that I can assume is that the problem, is another untested & bad update, from Capn Cook.

  • When m testing webdynpro abap application m getting this error  help me to get solution

    hi all,
    when m testing webdynpro abap application m getting this error  help me to get solution.
    plz find the screen shot

    Hi
    I think you are using the IDES system, Can you check the services in SICF transaction. If the service is not activated you activate it again.
    In this path you will find  in the below path and try to check/activate the services relevant to the WDA stack.
    sap/bc/webdynpro/sap

  • Can't authorize ADE, get an activation server error - help?

    can't authorize ADE, get an activation server error - help?

    per YuvrajShinde071 
    Follow these steps,
    1. Launch Adobe Digital Editions
    2. Keeping ADE program active on your screen, Hold Ctrl+Shift+D keys.
         - you will get a prompt window to Erase Authorization (ADE 2.0) & Deauthorize (ADE 1.7.2)
         - Deauthorize ADE and Re-launch it.
    3. Navigate to Help > Authorize Computer (in ADE 2.0) & Library > Authorize ( in ADE 1.7.2, usually you will be prompted to authorize when you launch the program ) .

  • I have ipod nano 6G.I was trying to restore it to clear all the data but it showed error 1439 and couldn't restore.I tried every method given in errors help page but nothing worked.What should i do?

    I have ipod nano 6G.I was trying to restore it to clear all the data but it showed error 1439 and couldn't restore.I tried every method given in errors help page but nothing worked.What should i do?

    Just in case (even though your symptoms aren't explicitly mentioned in the document), let's check to see if there's a LSP problem in play here:
    Apple software on Windows: May see performance issues and blank iTunes Store

  • Not able to download ios 5 it says network error help me plz...

    not able to download ios 5 it says network error help me plz...

    hi,
    Have you try to download in your iTunes putting off your firewall ?
    Be careful with this aunction and put in on after the download.
    Have a nice day

  • 405 error - messagebroker/amf

    I just installed Blaze DS to a server that is using CF8 with IIS. So I installed using integration method with CF8. I tried to run a Flex 3 application and now I get a 405 error when trying to POST to messagebroker/amf. I have searched everywhere and need some other ideas to troubleshoot. I can put in the URL direct to http://(webroot)/messagebroker/amf and I don't get an error.
    Any ideas????

    I just installed Blaze DS to a server that is using CF8 with IIS. So I installed using integration method with CF8. I tried to run a Flex 3 application and now I get a 405 error when trying to POST to messagebroker/amf. I have searched everywhere and need some other ideas to troubleshoot. I can put in the URL direct to http://(webroot)/messagebroker/amf and I don't get an error.
    Any ideas????

  • A Simple 405 error

    I am getting a 405 error in the web browser and in my client MIDlet whenever it performs a post operation and the servlet tries to grab via the code shown below.
    I am not doing anything fancy just want to get a string as a parameter in the servlet and print it out that is all I have to do to get the MIDlet to receive it.
    import javax.servlet.http.*;
    import javax.servlet.*;
    import java.io.*;
    public class PostServlet extends HttpServlet {
      public void doPost(HttpServletRequest request,
          HttpServletResponse response)
          throws ServletException, IOException {
        String name = request.getParameter("name = ");
        String message = "Received name: " + name + "'";
        response.setContentType("text/plain");
        response.setContentLength(message.length());
        PrintWriter out = response.getWriter();
        out.println(message);
    }I am using tomcat 4.1 on jdk 1.4.1 I am not sure why I get this error. The url pattern used in the clients is:
    http://localhost:8080/myapp/servlet/PostServlet
    If anyone explain what has happened I would be greatful.
    Prash

    I find that if I put it in my root folder then the application runs. So this must be some sort of security error. I was wondering how would i write a web.xml for this application
    e.g. folder name = test
    servlet name = servletTest
    I have seen many tutorials on how to write the web.xml for your own application (without using the root context) but none of them work so far. I know I have to also set the security allowance to make this applicaiton able to execute post and ger in the web.xml. This is what caused my problems earlier as I just copy , pasted the root folder and called it 'test'. I know this was bad practice on my behalf but I just wanted to get it to work real fast.

  • I can't access the app store - I get the following messages - error 1004 or 100 or 4 or unknown error - help!!!

    I can't access the app store - I get the following messages - error 1004 or 100 or 4 or unknown error - help!!!
    I've disabled the firewalls, the virus protection, the application protection - nothing helps.

    I'd maybe try doing a search for Safari on your iPad first (swipe to the left to search). If it shows up in that search you can go to Settings > General > Reset and choose 'reset home screen layout' which will put it back where it would be by default.
    All else fails? Restore it.

Maybe you are looking for

  • Catch a value from a pl*sql function in a shell script

    Hi all, I have a shell script that simply calls the following pl*sql function. echo "execute scott.my_pkg.test('FDLmaster');\n exit;" >./pippo.sql sqlplus scott/tiger @/fidcap_ftp/FDL/SCRIPTS/pippo.sql What I have to do to catch the value returned fr

  • Driver program for smart form

    Hi All,          How do i find the driver program name just knowing the form name. I tried out in Table "TNAPR" but in vain.How do i get it in NACE? what is the "application" that should be selected?

  • Import files from DR-HD100

    Is there a way to import clips (.mov) directly from my Hardisk drive DR-HD-100 in Final Cut X. I connect the drive but FCP X won't recognize it so it's useless and I have to import everything from tape via my camera (JVC GY-HD200) Thanks if you can h

  • Community Forum or Farce?  MODERATOR PLEASE READ!

    I've just scanned the headings for the most recent 300 or so threads in this sub-forum, and can find only ONE that has been "Locked" - my own recent "+iTunes a victim of the obesity epidemic+"? Your Help documentation states that "+Only the original

  • Fluke 45 Again

    Please clarify the procedure used to acquire data from the Fluke 45 with the serial port in ANY possible way. I am new to NI and am unfamiliar with all aspects of this product. Thanks.