YII on IIS 7.5 (win 2008 server R2)

Hi,

Anyone manage to configure succefully IIS 7.5 to run yii?

i have 2 issues:

  • update/delete from cgridview not working (i get Request is invalid from yii) - something is wrog with $_SERVER [QUERY_STRING]? ‘&id=xx’ - with no yii urlManger (my request is like “blabla/index.php?r=admin/view&id=1”)

  • some problems with windows auth

Any ideas about how to debug this?

Can you please give me some tips?

thx!

My log shows:

2012/07/26 10:58:27 [error] [exception.CHttpException.400] exception ‘CHttpException’ with message ‘Your request is invalid.’ in C:\dev\enkTest\yii\framework\web\CController.php:328

Stack trace:

#0 C:\dev\enkTest\yii\framework\web\CController.php(301): CController->invalidActionParams(Object(CInlineAction))

#1 C:\dev\enkTest\yii\framework\web\filters\CFilterChain.php(134): CController->runAction(Object(CInlineAction))

#2 C:\dev\enkTest\yii\framework\web\filters\CFilter.php(41): CFilterChain->run()

#3 C:\dev\enkTest\hrap01\protected\components\Controller.php(30): CFilter->filter(Object(CFilterChain))

#4 C:\dev\enkTest\yii\framework\web\filters\CInlineFilter.php(59): Controller->filterHttps(Object(CFilterChain))

#5 C:\dev\enkTest\yii\framework\web\filters\CFilterChain.php(131): CInlineFilter->filter(Object(CFilterChain))

#6 C:\dev\enkTest\yii\framework\web\filters\CFilter.php(41): CFilterChain->run()

#7 C:\dev\enkTest\yii\framework\web\CController.php(1144): CFilter->filter(Object(CFilterChain))

#8 C:\dev\enkTest\yii\framework\web\filters\CInlineFilter.php(59): CController->filterAccessControl(Object(CFilterChain))

#9 C:\dev\enkTest\yii\framework\web\filters\CFilterChain.php(131): CInlineFilter->filter(Object(CFilterChain))

#10 C:\dev\enkTest\yii\framework\web\CController.php(283): CFilterChain->run()

#11 C:\dev\enkTest\yii\framework\web\CController.php(257): CController->runActionWithFilters(Object(CInlineAction), Array)

#12 C:\dev\enkTest\yii\framework\web\CWebApplication.php(277): CController->run(‘view’)

#13 C:\dev\enkTest\yii\framework\web\CWebApplication.php(136): CWebApplication->runController(‘hrtask/default/…’)

#14 C:\dev\enkTest\yii\framework\base\CApplication.php(158): CWebApplication->processRequest()

#15 C:\dev\enkTest\hrap01\index.php(13): CApplication->run()

#16 {main} REQUEST_URI=/hrap01/index.php?r=hrtask/default/view&id=13216

The REQUEST_URI is shown as: /hrap01/index.php?r=hrtask/default/view&id=13216

This is not what you are saying it should be.

Yay, i’m such a newbie… i’ve messed’up my controllers; it;s ok now :D

And regarding to windows auth i added rights to everyone on yii framework folder :confused:

thank you!