How to install to a normal server?

Topics: Installing Orchard
Jan 9, 2016 at 1:59 AM
Edited Jan 9, 2016 at 4:09 AM
I've been trying to install Orchard to my normal Windows web server. I do not have access to desktop or anything else.

I've downloaded .zip file and send everything that is under /Orchard file to the ftp. But its not working.

Installations in documentation is not for smt like this and I've been unable to find any info on google.

Can anyone tell me how I am going to install orchard to my Windows Hosting?

I have currently this error,
Server Error in '/' Application.

Runtime Error

Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
<!-- Web.Config Configuration File --> <configuration>
    <customErrors mode="Off"/>

Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.
<!-- Web.Config Configuration File --> <configuration>
    <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>

After I made the custom error = off,

I am getting

Server Error in '/' Application.

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.ReflectionPermission, mscorlib, Version=, 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:

[SecurityException: Request for the permission of type 'System.Security.Permissions.ReflectionPermission, mscorlib, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.]
System.Delegate.DelegateConstruct(Object target, IntPtr slot) +0
Owin.Loader.DefaultLoader..ctor(Func3 next, Func2 activator, IEnumerable1 referencedAssemblies) +69
Microsoft.Owin.Host.SystemWeb.OwinBuilder.GetAppStartup() +65
Microsoft.Owin.Host.SystemWeb.OwinHttpModule.InitializeBlueprint() +28
System.Threading.LazyInitializer.EnsureInitializedCore(T& target, Boolean& initialized, Object& syncLock, Func
1 valueFactory) +86
Microsoft.Owin.Host.SystemWeb.OwinHttpModule.Init(HttpApplication context) +106
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +418
System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +172
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +336
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +296
Jan 9, 2016 at 4:23 PM
Orchard requires full trust, perhaps your server is running in medium trust?
Marked as answer by forumarsivi on 1/9/2016 at 11:27 AM
Jan 9, 2016 at 7:10 PM
sfmskywalker wrote:
Orchard requires full trust, perhaps your server is running in medium trust?
That was it. I asked my server manager to give me full trust and now it is up and working.

Also,thanks for the great work you did on orchard.
Jan 9, 2016 at 7:29 PM
Great, glad to hear you got it working. :) Cheers