Hi, I'm new in Drupal and have as far I can see successfully installed Drupal 7.34 on Windows Server 2012 R2. I installed it on the Default Website in IIS. When I try to login with the account I created during installation though nothing happen. What's the deal?

I manually installed everything and did not use the MS Webplatform Installer because I wanted to use the latest MySQL and PHP. I'm using..
Windows Server 2012 R2
PHP 5.6.3
MySQL 5.6.22

As I said during Drupal install everything went ok thus I can't login.

Comments

John_B’s picture

Who knows. Being on Windows does multiply your problems compared with Linux. However, I know that some people are tied to Windows because of company policies and so on.
For development on a Windows machine best options are Acquia Dev Desktop or a virtual machine.

I would certainly put your site on a virtual host if you have not done so. Create a domain name. If this is on a local machine, it can be something like drupal7.dev, and will have to be added to your hosts file. First need to check that your browser accepts cookies, and that your server handles cookies correctly. Then attempt to log in and check the server error log. Also, attempt to log in and use Firebug or a similar too to see whether a sessions cookie starting with SESS_ is being set.

Digit Professionals specialising in Drupal, WordPress & CiviCRM support for publishers in non-profit and related sectors

famousruler’s picture

Thanks for the input.
I solved this by using this workaround.

Still don't know what did the difference but I guess some parameter in some config file somewhere. Anyway..

I deployed Drupal with the Microsoft Web platform Installer. During installation I selected to create a new website. Then
it ask for a database, I used a manually created database (utf8_collate). When completed installation I changed to latest PHP version using PHP manager in IIS. Then I just performed a regular Drupal upgrade to version 7.34 (replacing all files and folders but the "sites" folder) and voila I now have latest stable Drupal running latest PHP and MySQL.

Hope this help others since documentation and support with the combo Drupal and Windows is lame.

edmund518’s picture

Hi, I think you have a rewrite issue, IIS is playing up with your rewrite.

I met the same issue before in my local environment [MS SQL 2008R2 + PHP5.6 + IIS 7 ]

I set a site with a Drupal folder [The structure likes 'Site\Folder'], and after I installed everything, then I could not logged in as administrator, so I played with some rewrite rule to include my Drupal folder in, and all solved.

Alternatively, I got rid of the folder, and just put all the drupal files under site, and it works as well.