upgrade errors
I have moved the project down to my local machine, built the project and check that everything worked fine, then ran the upgrade, I was then asked for my license username and password. After that I started getting errors.
The first one was in reference to the Bytanium image rotator so I fixed it using the assembly binding redirect method mentioned in the thread for the widget.
The second error was about the version of Telerik.Web.UI assembly. I deleted the .dll and used the one from the previous install. It is now version 2011.1.413.40.
I am now getting a the following error:
How do I go about fixing this? If I try to refresh the page, the error goes away but i get the "your system is restarting" message and it stays on that. It just keeps refreshing but the pages never load.
Thanks.
Edit: I am going from 4.1sp3 to 4.2. I
Anthony
Server Error in '/' Application.
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_5254bbf47f314bb5817f286cc031d338.Initialize(String providerName, NameValueCollection config, Type managerType) +197
Telerik.Sitefinity.Data.ManagerBase`1.InstantiateProvider(IDataProviderSettings providerSettings, Type providerType, ExceptionPolicyName policy, ManagerBase`1 manager) +1342
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) +278
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.InitModulesCommon() +172
System.Web.HttpApplication.InitModules() +43
System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +828
System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +304
System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +107
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +327
Hi Anthony,
This error might occur if you have mismatching references for example if you rebuilt the project - this action removes the dlls from the bin folder and results into the exception you were getting.
Could you please check the following articles which contain information which might be helpful to you:
www.sitefinity.com/.../server-error-in-firstproject-application-unable-to-load-one-or-more-of-the-requested-types-retrieve-the-loaderexceptions-property-for-more-information.aspx
http://www.sitefinity.com/devnet/forums/sitefinity-4-x/bugs-issues/after-4-1-upgrade-site-fails-with-reflectiontypeloadexception.aspx#1610510
Regards,
Victor Velev
the Telerik team
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>
I looked through the bin folders of the blank_project file and that of mine and noticed 4 or so files were missing. I have installed dlls and everything seems to be okay.
Thanks.