Adoxio / xRM-Portals-Community-Edition

The definitive edition of Microsoft Open Source Portals, supported by the experts in portals.
MIT License
107 stars 60 forks source link

Deploying and running Portal under IIS 7.5 #29

Closed slautebach closed 7 years ago

slautebach commented 7 years ago

I downloaded and installed the portal into an Windows Server 2008 R2 and Windows 7 environment running IIS 7.5. I could not get portals to run, I kept receiving an HTTP 500.19 error, referencing an error with the web.config, but did not highlight any offending line number in the web.config. After trail and error I was able to determine that the offending web.config line was

    <applicationInitialization doAppInitAfterRestart="true">
        <add initializationPage="/" />
    </applicationInitialization>

I then determined that this was because IIS 7.5 does not come with the Application Initialization module installed. https://www.iis.net/downloads/microsoft/application-initialization

Once I installed the module, the portal application loaded correctly within IIS.

I would recommend updating the Readme.md to mention this as the original "Self-hosted Installation Guide" from Microsoft does not.

amervitz commented 7 years ago

Thanks for the information. Interestingly enough it works on IIS 10 without the Application Initialization feature installed. I'll try validate this and add a note afterwards if confirmed.

amervitz commented 7 years ago

I've confirmed what you've reported. I see you have a branch with a note on this, would you like to submit a PR for the readme update?

slautebach commented 7 years ago

Submitted, thank you

amervitz commented 7 years ago

Closed by PR #30. Thanks for your contribution!