HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Windows 2008 r2 server install bombing with 500.19 error

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#106630 (In Topic #20789)

Fan in action

ocPortal newbie here, would appreciate any feedback.
Installed MySql, PHP, phpMyAdmin, ocPortal on my Windows 8.1 dev box, all peachy. Gave the demo to my architect and others on the feature set, all good. We want to go with ocPortal for our public site.

Time to move to the server, which is a Windows 2008 r2 box. I do not have the option of running *nix or Apache, must be the MS stack. I know, sucks, but out of my control.  Whole stack installs ok except ocPortal. Quick installer keeps erroring out on
 HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
Requested URL http://localhost:80/ocportal/install.php
Module IIS Web Core
Notification BeginRequest
Handler Not yet determined
Error Code 0x8007000d
Config Error
Config File \\?\  
                   C:\inetpub\wwwroot\ocportal\web.config 

The config file link shown above does look odd.

So I go thru the back door by importing the database thru phpMyAdmin, and hand copying the whole ocPortal folder from my box to wwwroot on the server, same error.  Dead end, back to square one. Delete everything, start over. Now instead of failing on the first page, it goes to step 6, does actually fill in the MySql tables, but bombs with same 500.19 error.

Other web search suggestions were simplistic "Make sure that the default page posted in the URL of your browser is correct." and such, not helpful.

The file permissions are set, IIS all ok, etc, etc. Web search on this topic only mentions a web.config being in the parent folder, so removed it, same error.

In http://ocportal.com/docs4/tut_windows.htm
it says to give 'Full control' to 'IIS_WPG', but that user does not exist on my machine, the server, AD, etc. So that should not be an issue. Or is it?

Went thru all the points here
http://ocportal.com/docs/tut_adv_installation.htm
and here
http://ocportal.com/docs4/tut_windows.htm
file permissions, etc all ok.

One other web page said "We make it permissions to default user and we should set application pool identity to default user then its working fine now". Don't quite know what he means by "default user" in this context.

Thanks
Dean
Back to the top
 
Posted
Rating:
#106632
Avatar

Hi,

What happens if you delete web.config?


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#106639
Avatar

I installed evaluations of Windows Server 2008 and 2012 overnight, to test on.

Both installed fine using our Web Application Gallery installer, so I suggest using that. It'll install all dependent components, for which the default web.config assumes quite a few (e.g. the IIS Rewrite plugin).

After testing via gallery install, I tested a normal manual install. This worked fine, but I did have to grant some permissions on IIS_IUSRS and IUSR, and we'll document that.
Using the quick installer probably doesn't have this issue as it would extra the files via the web server identity and hence it would own them all.

Even if using the Web Application Gallery installer, I recommend setting full permissions on IIS_IUSRS and IUSR because our gallery installer is missing a few – we'll fix that in the next patch release (although Microsoft's review process seems to have got incredibly slow so it could be like 6 months :S).


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#106642

Fan in action

Thanks for responding Chris, appreciated. Great to hear that the experts can get it installed on Win 2008 r2. That gives me hope that I can eventually accomplish this if following what you did.

> What happens if you delete web.config?
I presume you mean in the ocPortal directory, not the parent (which was mentioned originally). This is not an option as web.config is created during the installation process. There is no way to resume the install once it bombs.

> grant some permissions on IIS_IUSRS and IUSR
Yep, I have full access on for all users at the wwwroot and all the way down.

Web Application Gallery installer route seems the way to go, will try that next and report back. Then I will be half qualified to help someone else in the future :cool:
Back to the top
 
Posted
Rating:
#106643
Avatar

"This is not an option as web.config is created during the installation process"

Correct for the quick installer, not for the manual installer, so manual installer would have been an option too.

But yeah, gallery is best :).


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#106645

Fan in action

Awesome, gallery install smooth as silk. We are off and running. :P

I will have to send a donation, or book some consult time, in the near future.
So far, we are pleased with ocPortal, want to support it going forward.

Thanks again.
Back to the top
 
Posted
Rating:
#106647
Avatar

Great :).

If you want to help out, the best way to do so is to find something on the tracker to sponsor!


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: