# CDbException CDbConnection failed to open the DB connection

**URL:** <https://community.dreamfactory.com/t/cdbexception-cdbconnection-failed-to-open-the-db-connection/443>\
**Category:** Product Support\
**Created:** [October 8, 2014, 1:40pm UTC](https://community.dreamfactory.com/t/cdbexception-cdbconnection-failed-to-open-the-db-connection/443 "2014-10-08T13:40:52Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![fortesl](https://avatars.discourse-cdn.com/v4/letter/f/3e96dc/32.png) [@fortesl](https://community.dreamfactory.com/u/fortesl)\
**Post date:** [October 8, 2014, 1:40pm UTC](https://community.dreamfactory.com/t/cdbexception-cdbconnection-failed-to-open-the-db-connection/443/1 "2014-10-08T13:40:52Z")

</div>

CDbException

CDbConnection failed to open the DB connection.

Getting the above exception on pressing the “Launch!” button to access the dsp dashboard. It was working last night before I went to bed and this morning it is not. I did not make any changes

---

<div class="post-metadata">

**Author:** ![Mark](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/mark/32/69_2.png) [@Mark](https://community.dreamfactory.com/u/Mark)\
**Post date:** [October 8, 2014, 1:43pm UTC](https://community.dreamfactory.com/t/cdbexception-cdbconnection-failed-to-open-the-db-connection/443/2 "2014-10-08T13:43:58Z")

</div>

Hi,

Thank you for reaching out - the Hosted DSP is going through a migration/upgrade phase and will be up shortly.

In the meantime, could you try to create a new DSP to see if this works?

Thanks,

- Mark

---

<div class="post-metadata">

**Author:** ![fortesl](https://avatars.discourse-cdn.com/v4/letter/f/3e96dc/32.png) [@fortesl](https://community.dreamfactory.com/u/fortesl)\
**Post date:** [October 8, 2014, 5:57pm UTC](https://community.dreamfactory.com/t/cdbexception-cdbconnection-failed-to-open-the-db-connection/443/3 "2014-10-08T17:57:33Z")

</div>

Created new dsp. That is not working either, browser just hangs upon clicking the “Launch!” button. Same with existing dsps now.

---

<div class="post-metadata">

**Author:** ![Mark](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/mark/32/69_2.png) [@Mark](https://community.dreamfactory.com/u/Mark)\
**Post date:** [October 8, 2014, 6:53pm UTC](https://community.dreamfactory.com/t/cdbexception-cdbconnection-failed-to-open-the-db-connection/443/4 "2014-10-08T18:53:15Z")

</div>

Give it a go now, please. Thanks.

- Mark

---

<div class="post-metadata">

**Author:** ![fortesl](https://avatars.discourse-cdn.com/v4/letter/f/3e96dc/32.png) [@fortesl](https://community.dreamfactory.com/u/fortesl)\
**Post date:** [October 9, 2014, 1:14am UTC](https://community.dreamfactory.com/t/cdbexception-cdbconnection-failed-to-open-the-db-connection/443/5 "2014-10-09T01:14:28Z")

</div>

For the existing DSP it nows says “Sorry, it appears you have no active applications. Please contact your system administrator” on a pink alert box.

For the new dsp I created to bypass the issue, it asks me to for email/password but does not accept the credentials. When I click on “Forget Password?” button it says “Login Error  
No security question found or email confirmation available for this user. Please contact your administrator” on a pink alert box.

It seems like a big issue with my account. Not sure if others are experiencing the same problems

Existing dsp: [https://dsp-thestore.cloud.dreamfactory.com/](https://dsp-thestore.cloud.dreamfactory.com/)

New (troubleshooting) dsp: [https://dsp-ts.cloud.dreamfactory.com/](https://dsp-ts.cloud.dreamfactory.com/)

---

<div class="post-metadata">

**Author:** ![Mark](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/mark/32/69_2.png) [@Mark](https://community.dreamfactory.com/u/Mark)\
**Post date:** [October 9, 2014, 2:11pm UTC](https://community.dreamfactory.com/t/cdbexception-cdbconnection-failed-to-open-the-db-connection/443/6 "2014-10-09T14:11:25Z")

</div>

On the Existing DSP, you’ll need to click on “sign in” - top right-hand corner…

As far as the new one, I would create a new DSP if you’re unable to retrieve your password. You have not been able to login at all, correct? If this is the case, head back to the launchpad and destroy/ create new instance of your DSP.

- Mark

---

<div class="post-metadata">

**Author:** ![tfitz237](https://avatars.discourse-cdn.com/v4/letter/t/bcef8e/32.png) [@tfitz237](https://community.dreamfactory.com/u/tfitz237)\
**Post date:** [October 10, 2014, 4:37pm UTC](https://community.dreamfactory.com/t/cdbexception-cdbconnection-failed-to-open-the-db-connection/443/7 "2014-10-10T16:37:19Z")

</div>

Any word on when this is going to be resolved? I have the same issue on dsp-fefw, free hosted edition.

---

<div class="post-metadata">

**Author:** ![benbusse](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/benbusse/32/4_2.png) [@benbusse](https://community.dreamfactory.com/u/benbusse)\
**Post date:** [October 10, 2014, 4:39pm UTC](https://community.dreamfactory.com/t/cdbexception-cdbconnection-failed-to-open-the-db-connection/443/8 "2014-10-10T16:39:43Z")

</div>

Sorry folks, we’re working on upgrading to a bigger db server. This will happen over the weekend.

---

<div class="post-metadata">

**Author:** ![benbusse](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/benbusse/32/4_2.png) [@benbusse](https://community.dreamfactory.com/u/benbusse)\
**Post date:** [October 11, 2014, 6:30am UTC](https://community.dreamfactory.com/t/cdbexception-cdbconnection-failed-to-open-the-db-connection/443/9 "2014-10-11T06:30:17Z")

</div>

Hosted system back up and running now.

---

<div class="post-metadata">

**Author:** ![wangv](https://avatars.discourse-cdn.com/v4/letter/w/94ad74/32.png) [@wangv](https://community.dreamfactory.com/u/wangv)\
**Post date:** [December 10, 2014, 6:31pm UTC](https://community.dreamfactory.com/t/cdbexception-cdbconnection-failed-to-open-the-db-connection/443/10 "2014-12-10T18:31:04Z")

</div>

Hi Ben! I’m having the very same issue currently. I have created another free DSP and it’s giving me the CDbException. Any info on what’s happening? Thank you!

---

<div class="post-metadata">

**Author:** ![Jason](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/jason/32/1194_2.png) [@Jason](https://community.dreamfactory.com/u/Jason)\
**Post date:** [December 10, 2014, 8:00pm UTC](https://community.dreamfactory.com/t/cdbexception-cdbconnection-failed-to-open-the-db-connection/443/11 "2014-12-10T20:00:53Z")

</div>

Actually cleaning up some unused databases. Back to full strength shortly.

---

<div class="post-metadata">

**Author:** ![wangv](https://avatars.discourse-cdn.com/v4/letter/w/94ad74/32.png) [@wangv](https://community.dreamfactory.com/u/wangv)\
**Post date:** [December 10, 2014, 9:09pm UTC](https://community.dreamfactory.com/t/cdbexception-cdbconnection-failed-to-open-the-db-connection/443/12 "2014-12-10T21:09:02Z")

</div>

Thanks for the quick reply! Should this have destroyed any DSPs? For some reason one of my DSP’s has been destroyed…

---

<div class="post-metadata">

**Author:** ![jeffreystables](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/jeffreystables/32/173_2.png) [@jeffreystables](https://community.dreamfactory.com/u/jeffreystables)\
**Post date:** [December 22, 2014, 4:56pm UTC](https://community.dreamfactory.com/t/cdbexception-cdbconnection-failed-to-open-the-db-connection/443/13 "2014-12-22T16:56:05Z")

</div>

We ran housekeeping on unused and empty DSPs. Support has handled all requests and inquiries related to the deleted DSPs, and restored a couple upon request. Please contact support ([support@dreamfactory.com](mailto:support@dreamfactory.com)) directly if you believe a hosted DSP was disabled in error.
