Server ERROR in '/' Application. RRS feed

  • Question

  • User-1836852288 posted

    I am using filezilla to upload my Asp.net application to my website... ctastic.com. But when I upload all of the files, I just comes up with a server error. It says I should change my web.config file and make the error go away but when I tried that, all it did was say error 500. Help please!

    Thursday, June 25, 2015 1:39 PM

All replies

  • User753101303 posted


    Error 500 is a server side error. More likely you should have an exception that should point to what happens (see the Windows log or add something to get feedback about excceptions).

    Thursday, June 25, 2015 2:14 PM
  • User-1836852288 posted
    Ok, so I redid the process and now I have a Security Exception, saying I have to contact my system administrator. Then under that it has all of this confusing code. What next?
    Thursday, June 25, 2015 2:50 PM
  • User-84896714 posted

    Hi Carsen,
    Thank you for your post.
    Which version of .net framework do your web application use, and please mark use this version of .net framework is installed in the server.
    How to see your .net framework version of iis? link below is for your reference.
    And you could Specify a .NET Framework Version for an Application Pool.
    If the specify .net framework is not installed on iis, you could install it.
    Hoping my reply could be helpful to you.
    Best Regards,
    Wang Li

    Friday, June 26, 2015 2:13 AM
  • User-1836852288 posted

    Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34248 is what it says,

    I am using  Microsoft Visual Studio 2013 with the ASP.NET framework. If that clears your mind a little bit.

    It still does not work!

    The code under it looks like this:

    [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(Func`3 next, Func`2 activator, IEnumerable`1 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
    Friday, June 26, 2015 4:34 PM
  • User-84896714 posted

    Hi Carsen,

    Adding this section to the web.config under system.web and try again.

    <trust level="Full" />

    Best Regards,

    Wang Li

    Tuesday, June 30, 2015 4:59 AM