Installation error - Windows Server 2008 R2http://monox.mono-software.com/Mono/Pages/Discussion/dtopic/qGrNvhoVZU2W058JAT1lng/Installation-error-Windows-Server-2008-R2/lng/hr-HR/?username=ruslanruslan&tstype=SortHotTopicsOnTop&MonoXRssFeed=Installation-error-Windows-Server-2008-R2832ad635-4d70-4efa-bde6-9f09013d659ehttp://monox.mono-software.com/Mono/Pages/Discussion/dtopic/qGrNvhoVZU2W058JAT1lng/Installation-error-Windows-Server-2008-R2/lng/hr-HR/?username=ruslanruslan&tstype=SortHotTopicsOnTop&dmsgid=NdYqg3BN-k695p8JAT1lng#PostNdYqg3BN-k695p8JAT1lngCannot install MonoX on local Windows Server 2008 R2 64bit.<br/> <br/> Copied MonoX (.NET 4.0) files ...Cannot install MonoX on local Windows Server 2008 R2 64bit.<br/> <br/> Copied MonoX (.NET 4.0) files to C:\sites\monox<br/> Granted NETWORK SERVICE full permissions to monox folder<br/> Created monox AppPool, &quot;monox&quot; with .NET4 Integrated<br/> Added monox web site to IIS using monox AppPool<br/> Under Basic Settings in monox website properties, click Test Connection and results are as follows:<br/> Authentication success<br/> Authorization - Cannot verify access to path (C:\sites\monox)<br/> <br/> Browsing to the site results in the following:<br/> Security Exception - System.Security.SecurityException: That assembly does not allow partially <br/> trusted callers.<br/> Stack Trace:<br/> [SecurityException: That assembly does not allow partially trusted callers.]<br/> MonoSoftware.MonoX.BaseHttpApplication..ctor() +0<br/> MonoSoftware.MonoX.Global..ctor() +5<br/> ASP.global_asax..ctor() +5<br/> <br/> MonoX log is empty<br/> <br/> Getting this error in the Windows Application log:<br/> A process serving application pool 'monox' suffered a fatal communication error with the Windows Process Activation Service. The process id was '6556'. The data field contains the error number. ...Tue, 21 Jun 2011 18:32:52 +0200acfe2f43-45c1-4572-a33b-9f090148f170http://monox.mono-software.com/Mono/Pages/Discussion/dtopic/qGrNvhoVZU2W058JAT1lng/Installation-error-Windows-Server-2008-R2/lng/hr-HR/?username=ruslanruslan&tstype=SortHotTopicsOnTop&dmsgid=Qy_-rMFFckWjO58JAUjxcA#PostQy_-rMFFckWjO58JAUjxcAThis may be a medium trust issue - is this a shared host with medium trust security policy, or is&nb ...This may be a medium trust issue - is this a shared host with medium trust security policy, or is&nbsp;this machine&nbsp;under your total control? More details on medium trust problems and their solutions can be found here: <a href="http://www.mono-software.com/blog/post/Mono/109/MonoX-with-medium-trust-shared-hosting/">http://www.mono-software.com/blog/post/Mono/109/MonoX-with-medium-trust-shared-hosting/</a> ...Tue, 21 Jun 2011 19:02:12 +0200bb80ac7d-de7b-4a10-ad5e-9f09014cb42ehttp://monox.mono-software.com/Mono/Pages/Discussion/dtopic/qGrNvhoVZU2W058JAT1lng/Installation-error-Windows-Server-2008-R2/lng/hr-HR/?username=ruslanruslan&tstype=SortHotTopicsOnTop&dmsgid=fayAu3veEEqtXp8JAUy0Lg#PostfayAu3veEEqtXp8JAUy0Lg[The server is installed on my development laptop (local machine)]<br/> <br/> As suggested, In the w ...[The server is installed on my development laptop (local machine)]<br/> <br/> As suggested, In the web.config file, I changed the &lt;trust level&gt; to: &lt;trust level=&quot;MediumMonoX&quot; legacyCasModel=&quot;true&quot;/&gt;<br/> <br/> Restarted IIS<br/> Browsed to the site and got a<strong> different</strong> security error:<br/> <br/> Security Exception - System.Security.SecurityException: Request for the permission of type <br/> 'System.Security.Permissions.FileIOPermission, mscorlib, Version=4.0.0.0, <br/> Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.<br/> <br/> Stack Trace:<br/> [SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.]<br/> System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark&amp; stackMark, Boolean isPermSet) +0<br/> System.Security.CodeAccessSecurityEngine.Check(CodeAccessPermission cap, StackCrawlMark&amp; stackMark) +31<br/> System.Security.CodeAccessPermission.Demand() +46<br/> System.Web.HttpRequest.MapPath(VirtualPath virtualPath, VirtualPath baseVirtualDir, Boolean allowCrossAppMapping) +154<br/> System.Web.HttpRequest.MapPath(VirtualPath virtualPath) +37<br/> System.Web.HttpServerUtility.MapPath(String path) +99<br/> MonoSoftware.MonoX.BaseHttpApplication.Application_Start(Object sender, EventArgs e) +201<br/> <br/> Windows Application Event Viewer:<br/> 4010 <br/> An unhandled security exception has occurred. <br/> MediumMonoX <br/> 5092 <br/> w3wp.exe <br/> NT AUTHORITY\NETWORK SERVICE <br/> http://monox.local.net/ <br/> 127.0.0.1 <br/> ...Tue, 21 Jun 2011 19:30:09 +02006f364673-f723-4e97-8bc0-9f09015531b7http://monox.mono-software.com/Mono/Pages/Discussion/dtopic/qGrNvhoVZU2W058JAT1lng/Installation-error-Windows-Server-2008-R2/lng/hr-HR/?username=ruslanruslan&tstype=SortHotTopicsOnTop&dmsgid=c0Y2byP3l06LwJ8JAVUxtw#Postc0Y2byP3l06LwJ8JAVUxtw<p>You should leave the following tag intact on your local machine</p> <div class="reCodeBlock" styl ...<p>You should leave the following tag intact on your local machine</p> <div class="reCodeBlock" style="border: 1px solid #7f9db9; overflow-y: auto;"> <div style="background-color: #ffffff;"><span style="margin-left: 0px !important;"><code style="color: #000000;">&lt;</code><code style="color: #006699; font-weight: bold;">trust</code> <code style="color: #808080;">level</code><code style="color: #000000;">=</code><code style="color: blue;">"Full"</code> <code style="color: #000000;">/&gt;</code></span></div> </div> <p >You effectively lowered the trust level, and there is no need to do it in your local environment. So, going back to your first error message, you may have the global trust level set to low on a machine level, as it overrides the individual application settings. Global settings are defined in a config file that is located here:<br /> C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config (the location depends on the version of .NET and your Windows installation folder). Look for a trust element in that file.<br /> <br /> It this is not the cause, we should try a TeamVIewer session to diagnose it. Do you have any other ASP.NET applications running on that server? If not, it may be caused the the IIS misconfiguration that is easily solved with the aspnet_regiis tool.<br /> <br /> <br /> </p> ...Tue, 21 Jun 2011 19:53:26 +020027aad715-6004-4f6f-ac38-9f090160f417http://monox.mono-software.com/Mono/Pages/Discussion/dtopic/qGrNvhoVZU2W058JAT1lng/Installation-error-Windows-Server-2008-R2/lng/hr-HR/?username=ruslanruslan&tstype=SortHotTopicsOnTop&dmsgid=FdeqJwRgb0-sOJ8JAWD0Fw#PostFdeqJwRgb0-sOJ8JAWD0FwThe global web.config was set to Full trust.<br/> <br/> I figured this must be a Windows issue and r ...The global web.config was set to Full trust.<br/> <br/> I figured this must be a Windows issue and related to my computer's configuration. Although I am logged in using an administrator account, I am not logged in as the original &quot;Administrator&quot; account that was used to install IIS; Therefore, for some reason, Windows has blocked my account from executing the MonoX site. <br/> <br/> I logged in as &quot;Administrator&quot; and was able to access the MonoX setup page. <br/> <br/> Then, I logged in using my other administrative account, right-clicked on Internet Explorer and selected <strong>Run as Administrator </strong>and was able to access the start-up page!<br/> <br/> Sometimes, the simplest solution evades the best of us! Perhaps this post will save someone else from this elusive issue.<br/> ...Tue, 21 Jun 2011 21:04:58 +020038519d60-ecd0-41f2-b130-9f090199cca3http://monox.mono-software.com/Mono/Pages/Discussion/dtopic/qGrNvhoVZU2W058JAT1lng/Installation-error-Windows-Server-2008-R2/lng/hr-HR/?username=ruslanruslan&tstype=SortHotTopicsOnTop&dmsgid=YJ1RONDs8kGxMJ8JAZnMow#PostYJ1RONDs8kGxMJ8JAZnMowGlad to hear that you resolved your problem. Note that MonoX does not have to be installed under "Ad ...Glad to hear that you resolved your problem. Note that MonoX does not have to be installed under "Administrator" account - most of the real-word scenarios involve installation on the various shared hosting platforms. The installation process just copies the MonoX files, sets up the database and changes a few settings in the web.config. <br /> I'm quite sure that this error indicates a problem with the application pool MonoX is running under (maybe it was stopped for some reason, had insufficient privileges, or maybe it is shared with another application using a different version of .NET), but let's leave it at that unless it causes more problems.<br /> ...Tue, 21 Jun 2011 23:33:38 +02009497c6da-29e4-43b9-be89-a1960094ffcdhttp://monox.mono-software.com/Mono/Pages/Discussion/dtopic/qGrNvhoVZU2W058JAT1lng/Installation-error-Windows-Server-2008-R2/lng/hr-HR/?username=ruslanruslan&tstype=SortHotTopicsOnTop&dmsgid=2saXlOQpuUO-iaGWAJT_zQ#Post2saXlOQpuUO-iaGWAJT_zQUPDATE: One of the issues that can cause this error is blocked ZIP. As reported by one of our client ...UPDATE: One of the issues that can cause this error is blocked ZIP. As reported by one of our clients you need to unblock the ZIP file in order for installation and CMS to work properly, otherwise you will get the same exception as described above. ...Thu, 04 Apr 2013 09:14:14 +0200