Hi,
Hereby an update (maybe a new post would be better, my apologies for the inconvenience).
Today I downloaded the nightly build v4.7.40.4049. I did manage to get it installed(!), but with a lot of changes to the web.config and that left me a non functional website. An overview:
* Above mentioned web.config changes are still necessary (
securityPolicy,
httpRuntime,
urlCompression) in our set up.
* You cannot use a database with a dash (-) in the name. The dash and everything after gets stripped off. So a database name
foobar-123 will become
foobar, which can't be found during installation.
* Telerik.Web.UI, Version=2011.1.322.40 doesn't function on Windows Server 2012 / IIS 8.0. I managed to fix this by fetching a new version and redirecting the version number in web.config:
<
runtime
>
<
assemblyBinding
xmlns
=
"urn:schemas-microsoft-com:asm.v1"
>
<
dependentAssembly
>
<
assemblyIdentity
name
=
"Telerik.Web.UI"
publicKeyToken
=
"121fae78165ba3d4"
culture
=
"neutral"
/>
<
bindingRedirect
oldVersion
=
"0.0.0.0-2011.1.322.40"
newVersion
=
"2012.3.1016.45"
/>
</
dependentAssembly
>
</
assemblyBinding
>
</
runtime
>
* to get MonoX to install in medium trust, I had to disable SocialAuthConfiguration / Brickred.SocialAuth.* in the web.config, which would throw the following Exception:
<!--
[SecurityException]: Request for the permission of type 'System.Configuration.ConfigurationPermission, System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' failed.
at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)
at System.Security.CodeAccessSecurityEngine.Check(CodeAccessPermission cap, StackCrawlMark& stackMark)
at System.Security.CodeAccessPermission.Demand()
at System.Configuration.BaseConfigurationRecord.CheckPermissionAllowed(String configKey, Boolean requirePermission, Boolean isTrustedWithoutAptca)
[SecurityException]: Request for ConfigurationPermission failed while attempting to access configuration section 'system.web/authentication'. To allow all callers to access the data for this section, set section attribute 'requirePermission' equal 'false' in the configuration file where this section is declared.
at System.Configuration.BaseConfigurationRecord.CheckPermissionAllowed(String configKey, Boolean requirePermission, Boolean isTrustedWithoutAptca)
at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
at System.Configuration.BaseConfigurationRecord.GetSection(String configKey)
at System.Web.HttpContext.GetSection(String sectionName)
at System.Web.Configuration.HttpConfigurationSystem.GetSection(String sectionName)
at System.Web.Configuration.WebConfigurationManager.GetSection(String sectionName)
at Brickred.SocialAuth.NET.Core.Utility.GetAuthenticationMode()
at Brickred.SocialAuth.NET.Core.Utility.GetAuthenticationOption()
at Brickred.SocialAuth.NET.Core.SocialAuthHttpModule.context_PreRequestHandlerExecute(Object sender, EventArgs e)
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
-->
and this leaves me with a non functional site after installing. There is a redirect loop:
/login.aspx?ReturnUrl=%2f%26unauthorized%3dTrue%26unauthorized%3dTrue%26
Transferring the website to a Windows Server 2008 / IIS 7.5 webserver doesn't resolve this issue. On IIS 7.5 I also have to comment everything related to
HttpCompress:
<!-- <section name="HttpCompress" type="MonoSoftware.Web.WAO.HttpCompress.Configuration.HttpCompressConfiguration, MonoSoftware.Web.WAO" requirePermission="false" /> -->
<
HttpCompress
turnedOn
=
"true"
defaultProvider
=
"Deflate"
useCaching
=
"true"
>
<
providers
>
<
clear
/>
<!--compressionLevel="high|normal|low|none"-->
<!--Note: If you use None as compression level you will turn off the http compressions-->
<
add
name
=
"Deflate"
type
=
"MonoSoftware.Web.WAO.HttpCompress.Providers.DeflateProvider, MonoSoftware.Web.WAO"
customProperties
=
"CompressionLevel=High;"
/>
<
add
name
=
"GZip"
type
=
"MonoSoftware.Web.WAO.HttpCompress.Providers.GZipProvider, MonoSoftware.Web.WAO"
customProperties
=
"CompressionLevel=High;"
/>
</
providers
>
<
ExcludedMimeTypes
>
<
clear
/>
<
add
name
=
"png"
type
=
"image/png"
/>
<
add
name
=
"jpeg"
type
=
"image/jpeg"
/>
<
add
name
=
"gif"
type
=
"image/gif"
/>
[...]
</
ExcludedPaths
>
</
HttpCompress
>
<!-- <add name="CompressionModule" type="MonoSoftware.Web.WAO.HttpCompress.HttpCompressModule, MonoSoftware.Web.WAO" /> -->
(and so on).
Google Chrome then gives me the error: Fout 310 (net::ERR_TOO_MANY_REDIRECTS)