I'm having a terrible time getting Umbraco to run on Softsys shared hosting. Support have enabled full trust AFAIK (not sure how to test this) and I'm sure I have set the correct file permissions as per the installation guides. The site is running on the .NET 3.5 framework and I have tried using both the default web.config file and the 3.5 web.config files. I'm by no means a .NET expert, I have managed to install Umbraco many times before but this is the first time I have tried on shared hosting.
The current problem (latest of many!) is one I just cant seem to find a solution to. Installation seems complete but when I try to open umbraco.aspx I am getting a Security Exception, the output is shown below.
Umbraco version - 4.0.3
ASP.NET - 3.5
Windows Server 2008 (shared hosting) + IIS7
Does anyone have any idea what is going on here? Any help would be much appreciated.
Thomas
Security Exception
Description: The
application attempted to perform an operation not allowed by the
security policy. To grant this application the required permission
please contact your system administrator or change the application's
trust level in the configuration file.
Exception Details: System.Security.SecurityException:
Request for the permission of type
'System.Security.Permissions.FileIOPermission, mscorlib,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
failed.
Source Error:
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of
the exception can be identified using the exception stack trace below.
I very often have difficulties with permissions on fresh installations. Often I just end up enabling full permissions on everything, then tightening up afterwards. You can control permissions from the softsys admin area - making sure that you ensure the permissions you're setting are recursive.
Oh, I forgot to add, their admins don't necessarily have to enable full trust mode as far as I know. If you just include: <trust level="Full" /> in the system.web section of the web.config file it should run.
I also had to enable read/write access for the entire wwwroot folder for NETWORK SERVICE and the site during installation so a .tmp file could be written.
Problems installing on Softsys shared hosting
Hi all,
I'm having a terrible time getting Umbraco to run on Softsys shared hosting. Support have enabled full trust AFAIK (not sure how to test this) and I'm sure I have set the correct file permissions as per the installation guides. The site is running on the .NET 3.5 framework and I have tried using both the default web.config file and the 3.5 web.config files. I'm by no means a .NET expert, I have managed to install Umbraco many times before but this is the first time I have tried on shared hosting.
The current problem (latest of many!) is one I just cant seem to find a solution to. Installation seems complete but when I try to open umbraco.aspx I am getting a Security Exception, the output is shown below.
Umbraco version - 4.0.3
ASP.NET - 3.5
Windows Server 2008 (shared hosting) + IIS7
Does anyone have any idea what is going on here? Any help would be much appreciated.
Thomas
Security Exception
Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
Version Information: Microsoft .NET Framework Version:; ASP.NET Version:2.0.50727.4016
I very often have difficulties with permissions on fresh installations. Often I just end up enabling full permissions on everything, then tightening up afterwards. You can control permissions from the softsys admin area - making sure that you ensure the permissions you're setting are recursive.
Oh, I forgot to add, their admins don't necessarily have to enable full trust mode as far as I know. If you just include: <trust level="Full" /> in the system.web section of the web.config file it should run.
Thanks Dan,
That seemed to do the trick.
Thomas
I also had to enable read/write access for the entire wwwroot folder for NETWORK SERVICE and the site during installation so a .tmp file could be written.
is working on a reply...