I have rercently installed HtmlAgility pack on a website that runs on Sitecore CMS.
everysince I have been getting an error on my app start that says "Field not found: 'HtmlAgilityPack.HtmlNode.ElementsFlags'."
I have checked the the code of Sitecore.kernal dll using a decompiler and below is the screenshot of the code that throws this error. Does anyone know how to fix this ?
Sitecore by default uses HtmlAgilityPack dll. In my version it uses 1.4.6.0 version of HtmlAgilityPack.
Most probably you installed a version of HtmlAgilityPack which is not compatible with Sitecore.
Try to check what is the version of HtmlAgilityPack.dll in your bin folder and change the reference to include 1.4.6.0 instead.
Related
I have clean installed VS2017 and VS 2019 with both the .Net Core 2.2 and 1.0 tooling. I cloned the latest version of the prism repository found here. Upon loading the solution, (PrismLibrary.sln) Most projects do not load. Upon trying to load one, I get the following error :
I have followed the path and the file exists as shown below:
Does anyone know how to get around this/ fix it so i can fully load the solution.
Thanks in advance.
Turns out in the latest version of the library, the global.json specifies .NET Core 3.0 preview. Remove this and the solution will work.
I upgraded my Sitecore from 7.5 to 8.0 and when I tried to access my website; I got the following error:
Method not found: 'Sitecore.Analytics.Tracking.CurrentInteraction Sitecore.Analytics.Tracking.Session.CreateInteraction(System.Web.HttpContext)'.
Make sure that the assembly Sitecore.Analytics.dll has been copied to the bin folder in Website folder.
Those issues tend to arise when performing upgrade. Point to note here is to check the other Sitecore dlls with a vanilla Sitecore to make sure everything is up-to-date.
Compare to 7.5 many methods got deprecated in 8.0 sitecore.Analytics.dll and added couple of other dll wrt to analytics. If you have used those deprecated methods then you need to change in the code.
I have recently downloaded and installed Sitecore' web forms for marketers. It has installed successfully and I have created a Form within the CMS with basic fields on it. However when I go to add the form to a page through PageEditor I get the message "an error occured". When I then check the log I see the following exception
Exception: System.MissingMethodException
Message: Method not found: 'System.Guid Sitecore.Analytics.Data.PageEventData.get_PageEventDefinitionId()'.
Source: Sitecore.Forms.Core
at Sitecore.Forms.Shell.UI.CustomizeAnalyticsWizard.OnLoad(EventArgs e)
I have decompiled the Sitecore.Analytics DLL and I cannot find this method that it is looking for anywhere. I downloaded the module version 2.5 for SItecore 7.5 revision 150209.
Can anyone tell me if I am missing a newer or older version of the a DLL or something because I can't seem to figure out where this method should exist.
Thanks
OK after a bit of looking around and tweaking. I stripped out the version I installed by following the documentation on how to uninstall WFFM. I then downloaded version 2.5 revision 141014 and installed that. At a first glance this seems to be working. If I add the form to the page via content editor it works and renders fine. It seems to submit fine too. The forms won't render using page editor mind but I am not sure what that issue is as I haven't investigated.
Either way it would seem that revision 150209 is for Sitecore 8 and revision 141014 is for Sitecore 7.5. Hope this helps anyone else who comes across the same issue.
Version: Sitecore 7.2 rev. 140526.exe, MVC 5
I am trying to do a small poc with Sitecore MVC. Where I have defined some placeholder in the layout and I have added some components.Now if I am trying to view the page I get below issue.
Any Idea??
Thanks,
I was having the same issue some time ago after upgrading from Sitecore 7 (MVC3) to Sitecore 7.2 (MVC5). The cause was an old version of the Sitecore.Mvc.dll that was being copied into my website's bin folder on compile.
The (file) version you need of the file is 1.0.0.4757. Mine was still 1.0.0.3xx-something. Don't mix this up with the version that's displayed in Visual Studio, as both files show up identically as being 1.0.0.
I'm following the Modern Template Building tutorial and fail to install the Template Auto-parser extension.
After the installation it should show the plugin in the object browser:
Unfortunately the tx_automaketemplate_pi1 part is never showing up.
Needless to say that all atempts to use the extension do not work.
Any ideas about how to fix that?
I'm on a fresh installation of Typo3 4.7.0.
Update:
After installing typo3 4.5 and trying again I noticed, that an extension is downloaded only and has to be installed in an extra step. However the icons which are indicating this (the brick with + or -) are not visible on my 4.7.0 installation:
Since the icons are not there I did not find a way to really install the extension. On the 4.5.0 installation everything is working fine.
Just out of curiousity. Any ideas about how to get the brik icons?
This seems to be a firefox specific problem (see http://www.xwissen.info/web-log/detail/articel/fix-install-uninstall-in-typo3-extansion-manager.html). I tried the workaround from xwissen.info (add "position: absolute" to .t3-icon-system-extension-uninstall and .t3-icon-system-extension-install) and this solved the issue.