Borland.Data.Common.BdpException: Connection open failed.

Discussion in 'Databases' started by Bruce, Dec 1, 2004.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Bruce

    Bruce DiscountASP.NET Staff

    the format of the path looks right, if you database reside in the _database directory.

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  2. I'm using a third party connection (Borland Delphi). I know the connectionstring must be right, because I have created the exact same directory structure here on the testserver. However the connection open failed. Regretfully it does not say why(e.g. cannot be found, faulty connectionstring...). The directory I tryto reach is e:/web/duurzaamoos/htdocs/_database. This is correct, right???
    btw. it is a MSAccess DB

    [​IMG]
     
  3. Yes.. the db is in that directory. Are there more limitations to that directory than just downloading? Perhaps the Borland Data Adapter needs permissions not set to that dir.


    Is it also possible to getmore information on what is wrong? "Connection open failed" is so generic. There is no telling what is wrong. Or could this message be generated by the third party dll.
     
  4. Bruce

    Bruce DiscountASP.NET Staff

    Try put your DB outside of the _database directory and see if it works.

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  5. The same nothing revealing error message. This is the stack trace:

    Exception Details: Borland.Data.Common.BdpException: Connection open failed.

    Source Error:





    Code:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    Stack Trace:





    Code:
    [BdpException: Connection open failed. ]
       Borland.Data.Provider.BdpDataAdapter.e() +921
       Borland.Data.Provider.BdpDataAdapter.EndInit() +60
       WebForm1.TWebForm1.InitializeComponent()
       WebForm1.TWebForm1.OnInit(EventArgs e)
       System.Web.UI.Control.InitRecursive(Control namingContainer) +240
       System.Web.UI.Page.ProcessRequestMain() +197
    

    It starts to become abracadabra for me, because the underlying code is correct. Is there some way toget a better, more revealing,error message (I already did a full trace and nothing there).
     
  6. Bruce

    Bruce DiscountASP.NET Staff

    Hmm... i am sorry but I don't think there's much I can think of. I am not famailiar with this data provider so it's difficult for me to help.

    Try search in google to see if you can find any thing.

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page