Check out the LimeSurvey source code on GitHub!

Installations & Configuration on Server 2008 with IIS7

More
6 years 3 weeks ago - 6 years 3 weeks ago #56219 by thiru06
Have anyone successfully install limesurvey 1.90+ on Windows Server 2008 with IIS7? Please help me out with a tutorial if you can....


Thank you in advance.
Last Edit: 6 years 3 weeks ago by thiru06.

Please Log in to join the conversation.

More
6 years 3 weeks ago #56223 by holch
What did you try so far? Did you have any trouble? Where did you run into trouble?

Did you check the chapters about installation in the documentation already? e.g. docs.limesurvey.org/Installation+FAQ#Som..._errors_IIS_focused_

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds
The following user(s) said Thank You: thiru06

Please Log in to join the conversation.

More
6 years 3 weeks ago #56224 by Mazi
We need a little more input:

1. At which step of the installtion do you run into problems?

2. Are there any error messages?

3. What did you set in your config.php file?


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
6 years 3 weeks ago #56292 by pholcomb
I'm having problems getting Limesurvey to run on Windows 2008 and IIS 7 as well. I have successfully:
(1) installed fastCGI and php (both of which I already use for a Wiki -- and this works fine) as well as MySQL.
(2) unpacked Limesurvery into a folder under IIS wwwroot.
(3) created a database in MySQL using settings recommended at: learn.iis.net/page.aspx/313/limesurvey-on-iis/
(4) modified the config.php file as recommended.

When I try to access http://localhost/limesurvey/admin/install
I get a the following error:

HTTP Error 500.0 - Internal Server Error
The page cannot be displayed because an internal server error has occurred. Detailed Error Information
Module FastCgiModule
Notification ExecuteRequestHandler
Handler PHP_via_FastCGI
Error Code 0x00000000
Requested URL http://localhost:80/limesurvey/admin/install/index.php
Physical Path C:\inetpub\wwwroot\limesurvey\admin\install\index.php
Logon Method Anonymous
Logon User Anonymous


Any ideas?

Thanks

Please Log in to join the conversation.

More
6 years 2 weeks ago #56293 by thiru06
@holch & Mazi I really appropriate your initiative to help me.. however I ended up figuring it out. Mostly my errors were on the IIS7.

Please Log in to join the conversation.

More
6 years 2 weeks ago - 6 years 2 weeks ago #56294 by thiru06
@pholcomb I will guide you through this but in series of steps so try the first step and post if any error occur just like your first post.... let's get started!

> right click limesurvey from IIS7 Sites and click "edit permissions.." and go to "Security" tab and add "IUSR" and "NETWORK SERVICES" allow read & execute and allow write for both.

restart iis and let me know.
Last Edit: 6 years 2 weeks ago by thiru06. Reason: typeo

Please Log in to join the conversation.

More
6 years 2 weeks ago #56295 by pholcomb
OK, I was able to add IUSR and change permissions to "write", but I do not seem to have a "NETWORK SERVICES" user. When I tried to add it, as I did with IUSR, the permissions dialog complains that the "NETWORK SERVICES" user does not exist. With just the IUSR permissions changed I am still getting the HTTP Error 500.0 Any ideas?

Thanks

Please Log in to join the conversation.

More
6 years 2 weeks ago #56297 by pholcomb
Check that -- I just found the "NETWORK SERVICE" user and changed permissions as instructed. So now both IUSR and NETWORK SERVICE are added and "write" enabled. After restarting IIS, still getting 500 error...

Please Log in to join the conversation.

More
6 years 2 weeks ago #56313 by holch
This seems to be a server configuration issue and to help on those issues remotely is always quite difficult and only possible to a certain extend, as no one can really look into the configurations.

I think it is best to ask your server administrator to have a look into this. Probably solves the problem much faster than the guess work that can be done via the forum.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

More
6 years 2 weeks ago #56328 by pholcomb
Well, unfortunately I am the server administrator! Anybody have any other ideas?
I did notice that someone, some time ago, went into excruciating detail about how to get limesurvey to work on Windows XP with IIS ( www.limesurvey.org/es/forum/installation...survey-on-iis-for-xp ). Those instructions were quite complicated and involved numerous tweaks suggesting that configuration on any Windows OS with IIS is not as straight forward as the limesurvey instructions suggest. Has no one written up a similar step-by-step description for Windows Server 2008 and IIS7?

Please Log in to join the conversation.

More
6 years 2 weeks ago #56333 by Mazi
Maybe "thiru06" can try to help you out and then later you can extend the instructions at our manual for other having the same problem.


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
6 years 2 weeks ago #56357 by pholcomb
OK, maybe so.

Thanks

Please Log in to join the conversation.

More
6 years 2 weeks ago #56368 by thiru06
@pholcomb

take a screen shot of your IIS7 manager showing your limesurvey website tree.

> edit this file (C:\inetpub\wwwroot\limesurvey\config.php) go to line 44, it would look like this:

Before:
$rooturl = "http://{$_SERVER}/limesurvey"; // The root web ........

After:
$rooturl = "http://{$_SERVER}/"; // The root web .............

So basically your editing this file to remove limesurvey

Restart IIS7

and point your browser to

http://localhost/admin/install/index.php
post your error too.

Please Log in to join the conversation.

More
6 years 2 weeks ago #56373 by pholcomb
Hi,

Well, I finally got it running. I'm not a php programmer, but it seems close enough to C that I was able to insert screen echo comments in the various index and configuration files so that I could determine where the problem was. It is not a server configuration issue, but rather what I'd guess is a nesting call problem. the admin\install\index.php routine has a number of "require_once" calls to other php routines. One of these is to config-defaults.php which in turn issues a require_once call to config.php. This is where the problem is. The nested call to config.php within config-defaults.php will not run (at least on my setup). By commenting out the require_once call to config.php (which by the way there is a warning in the code to not do!!), fixed the problem. Without this call the initial configuration runs fine and so far everything else seems to be ok.

So what is weird is why does config-defaults.php call config.php to begin with? There seems to be a lot of repetition in what the two do. Is this perhaps a bug in the setup?

Please Log in to join the conversation.

More
6 years 2 weeks ago #56616 by Mazi

pholcomb wrote: So what is weird is why does config-defaults.php call config.php to begin with? There seems to be a lot of repetition in what the two do. Is this perhaps a bug in the setup?

default settings in config-defaults.php are overwritten by customized settings at config.php, that is the reason of these inclusions.

If you can reproduce the problem please open a ticket at our bugtrcker: bugs.limesurvey.org


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form