uComponents installed but not in Render Control list
I've used uComponents several times before but i think I might be missing something. I'm using Umbraco 4.7.2 and uComponents 3.1.0.
I installed uComponents 3.1.0 from the Umbraco Repostitory but none of the controls are showing up in the Render Control List. Also if I click uninstall on the package, nothing happens.
I managed to uninstall only to be given the 'Could not load file' error. After removing some references the web.config the site worked again. I then tried to re-install and get this error:
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.]
System.Reflection.RuntimeModule.GetTypes(RuntimeModule module) +0
System.Reflection.Assembly.GetTypes() +159
uComponents.Core.Install.uComponentsInstaller.Page_Init(Object sender, EventArgs e) +75
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
System.Web.UI.Control.InitRecursive(Control namingContainer) +133
System.Web.UI.Control.AddedControl(Control control, Int32 index) +277
umbraco.presentation.developer.packages.Installer.processInstall(String currentStep) +983
umbraco.presentation.developer.packages.Installer.Page_Load(Object sender, EventArgs e) +573
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
umbraco.BasePages.BasePage.OnLoad(EventArgs e) +19
System.Web.UI.Control.LoadRecursive() +71
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3064
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272
OK, that error is from the installer ... seems to be failing at trying to list the components. uComponents will still be installed.
When you make a new data-type (or use an existing one) ... can you see any uComponents data-types in the list? (I know this was your original question)
Do you know much about your web-hosting set-up? Do you know if it is using Medium trust?
I also had this issue with uComponents after installing 4.9.0. uComonents seems to have installed, but the dataypes are not visible in the datatype dropdown. The patch described in this post fixed the problem.
uComponents installed but not in Render Control list
I've used uComponents several times before but i think I might be missing something. I'm using Umbraco 4.7.2 and uComponents 3.1.0.
I installed uComponents 3.1.0 from the Umbraco Repostitory but none of the controls are showing up in the Render Control List. Also if I click uninstall on the package, nothing happens.
Any ideas?
Cheers!
D
Ignore the bit about uninstalling actually. The expaning box just fitted nicely off the fold of my page. Now I've uninstalled it though I'm getting:
Could not load file or assembly 'uComponents.Core' or one of its dependencies. The system cannot find the file specified.
Hi David,
Can you check your /bin folder to make sure that the "uComponents.Core.dll" is there? If not, then the package didn't install correcly.
If it is there, then there is something else happening... not sure what that could be - yet.
Cheers, Lee.
We posted at the same time. :-)
Could you post the rest of the error message please? (There should be a massive stack-trace)
Thanks, Lee.
Thanks for helping Lee.
To confirm the DLL was in the bin folder.
I managed to uninstall only to be given the 'Could not load file' error. After removing some references the web.config the site worked again. I then tried to re-install and get this error:
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:
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272
OK. I managed to sort this by copying a freshly downloaded /bin folder back over my existing one.
My best guess is that when I earlier accidently ran the site in Visual Studio it rebuilt/corrupted a DLL. Either way sorted now.
Hi David,
OK, that error is from the installer ... seems to be failing at trying to list the components. uComponents will still be installed.
When you make a new data-type (or use an existing one) ... can you see any uComponents data-types in the list? (I know this was your original question)
Do you know much about your web-hosting set-up? Do you know if it is using Medium trust?
Thanks, Lee.
Ah posted at the same time again! #jinx
Glad it is sorted for you now.
I also had this issue with uComponents after installing 4.9.0. uComonents seems to have installed, but the dataypes are not visible in the datatype dropdown. The patch described in this post fixed the problem.
http://our.umbraco.org/projects/backoffice-extensions/ucomponents/questionssuggestions/33021-Upgrading-to-Umbraco-48-breaks-support-for-uComponents
is working on a reply...