Yii Framework Forum: Iis7 Installation - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Iis7 Installation CDbConnection failed to open the DB connection Rate Topic: -----

#1 User is offline   kokolyon 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 5
  • Joined: 01-July 13

Posted 01 July 2013 - 04:15 AM

I install YII under IIS7

The connection do not work

I have this message
" CDbException
CDbConnection failed to open the DB connection "


This is the same configuration on my local desk
I do not find an issue.
Could you help me please.
0

#2 User is offline   dickypadang 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 15
  • Joined: 31-March 12

Posted 23 July 2013 - 08:57 PM

Hello,

What database you're connected? if MS SQL, you must download php_sqlsrv from microsoft site and install in php ext directory

View Postkokolyon, on 01 July 2013 - 04:15 AM, said:

I install YII under IIS7

The connection do not work

I have this message
" CDbException
CDbConnection failed to open the DB connection "


This is the same configuration on my local desk
I do not find an issue.
Could you help me please.

0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users