Deploying Sitefinity v. 4.1 SP3 on WinHost

Discussion in 'General troubleshooting' started by ssvaidya, Aug 1, 2011.

  1. Has anyone been able to successfully deploy Sitefinity v. 4.1 SP3 to Winhost?

    I recently deployed my Sitefinity v. 4.1 SP3 Web Application to Winhost and I cannot overcome the error message that I am receiving.

    I have been able to deploy successfully to other servers using the same source code, but no matter what I try, I cannot get the site up and running properly on Winhost.

    Below is the error message I am receiving:

    Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

    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:


    [ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.]
    DynamicModule.ns.Wrapped_OpenAccessMetaDataProvider_9a81e878d5b44a5197a5c3331fe76739.Initialize(String providerName, NameValueCollection config, Type managerType) +197
    Telerik.Sitefinity.Data.ManagerBase`1.InstantiateProvider(IDataProviderSettings providerSettings, Type providerType, ExceptionPolicyName policy, ManagerBase`1 manager) +1250
    Telerik.Sitefinity.Data.ManagerBase`1.InstantiateProvider(IDataProviderSettings providerSettings, ExceptionPolicyName policy, ManagerBase`1 manager) +63
    Telerik.Sitefinity.Data.ManagerBase`1.SetProvider(String providerName, String transactionName) +297
    Telerik.Sitefinity.Data.ManagerBase`1..ctor(String providerName, String transactionName) +131
    Telerik.Sitefinity.Data.Metadata.MetadataManager..ctor() +12

    [TargetInvocationException: Exception has been thrown by the target of an invocation.]
    System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) +0
    System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache) +98
    System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean skipCheckThis, Boolean fillCache) +241
    System.Activator.CreateInstance() +103
    Telerik.Sitefinity.Data.ManagerBase`1.GetManager(String providerName, String transactionName) +80
    Telerik.Sitefinity.Services.SystemManager.Initialize() +171
    Telerik.Sitefinity.Abstractions.Bootstrapper.RegisterRoutes(RouteCollection routes) +261
    Telerik.Sitefinity.Abstractions.Bootstrapper.Bootstrap() +238
    Telerik.Sitefinity.Web.SitefinityHttpModule.Init(HttpApplication context) +115
    System.Web.Routing.UrlRoutingModule.System.Web.IHttpModule.Init(HttpApplication application) +10
    System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +431
    System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +194
    System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +339
    System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +253

    [HttpException (0x80004005): Exception has been thrown by the target of an invocation.]
    System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +8950644
    System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +97
    System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +256


    Anyone with advice or guidance on troubleshooting how to resolve this error message on Winhost would be greatly appreciated.
     
    Last edited by a moderator: Oct 14, 2015
  2. Last edited by a moderator: Oct 14, 2015
  3. Nice! Glad you worked it out.
     
  4. Trust Level not working for me

    Hi,
    I'm getting crazy deploying a Sitefinity 4.3 site to Winhost. I always get above error.
    I've tried to set trust level to full, reviewed all the assemblies copied in the bin directory w/o any luck.

    Could you please give me some more information on how you were able to fix it?
     
    Last edited by a moderator: Oct 14, 2015

Share This Page