sitecore

Sitecore Database and App_Data Size

落爺英雄遲暮 提交于 2019-12-21 18:11:46
问题 We have 5 relatively small sites running on top of Sitecore. The oldest has been hosted within the environment for 3 years. Currently both the master and web databases are roughly 8 GB a piece - surprising in size but also that they are nearly identical in size (I would expect the web database to be much smaller). Also surprising is the App_Data is over 50 GB in size (MediaCache is 15 GB and MediaFiles is 37 GB). Any ideas or suggestions on ways to reduce files on disc - even temporarily? 回答1

ASP .Net File Upload Maximum request length exceeded error

本小妞迷上赌 提交于 2019-12-21 12:04:32
问题 I have a simple ASP .Net file upload control on a page. I have following web.config settings <system.webServer> <security> <requestFiltering> <requestLimits maxAllowedContentLength="524288000" /> </requestFiltering> </security> </system.webServer> <system.web> <httpRuntime maxRequestLength="524288" executionTimeout="120000" /> </system.web> I am using IIS 7.5 on my dev box and IIS 7 on web server. If i upload file of size 7MB, it works fine. But when i upload file which is 10MB, it will throw

Can I programmatically escape dashes in Sitecore queries using FullPath?

喜欢而已 提交于 2019-12-21 12:00:55
问题 I'm attempting to expand upon a custom Sitecore command to determine if the current item has a parent item matching a certain template id. I know the query should ideally be as simple as ./ancestor::*[@@templateid='{26710865-F082-4714-876B-D5E1F386792F}'] if the item is the context, or /sitecore/content/home/full/path/to/the-item/ancestor::*[@@templateid='{26710865-F082-4714-876B-D5E1F386792F}'] Unfortunately the item path includes dashes which need to be escaped like /sitecore/content/home

Sitecore has no necessary permissions for reading/creating counters

二次信任 提交于 2019-12-20 18:26:15
问题 In the Sitecore (6.6 v130404) log file there are so many "Sitecore has no necessary permissions for reading/creating counters." records being created. I have disabled the performance counters in the server. <!-- ENABLE COUNTERS Indicates if performance counters are enabled. Default value: true --> <setting name="Counters.Enabled" value="false"/> Log extract: (For every 6seconds this keeps updating the log) Heartbeat 19:07:33 WARN Sitecore has no necessary permissions for reading/creating

Sitecore Insert rules to ensure at most (1) children of a certain type

帅比萌擦擦* 提交于 2019-12-20 14:45:10
问题 Is there way in sitecore to ensure that a certain type of item can only have 1 child of a certain type of item? I'm reading the rules engine cookbook, but I'm not getting much details. 回答1: One of the sites I worked on had a requirement that no more than 6 child items could exist below a certain item type. We considered using an insert option rule, but decided to abandon the idea because it did not prevent copying, moving, or duplicating items. Instead we decided to extend the item:created

dbo.TempGetStateItemExclusive3 called repeatedly

你说的曾经没有我的故事 提交于 2019-12-20 09:57:22
问题 I am investigating a problem with our website that uses SQL server to manage sessions. The website is asp.net webforms based around the sitecore CMS. We have the same code in various environments e.g. QA, staging, and production. In production, what we are seeing is, periodically, we get a rapidly rising CPU usage that does not correlate in any way to traffic to the server. Along with this cpu spike, we are seeing a corresponding spike in network I/O. Our monitoring software does not

Why isn't my Enumerable getting populated by Glass.Mapper?

若如初见. 提交于 2019-12-20 05:17:17
问题 I'm totally confused as to why this isn't working. I have a class with a list of other classes as a property of it: public class Widget { .... public virtual IEnumerable<WidgetButton> Buttons { get; set; } } [SitecoreType(TemplateId = "{B615973D-59F6-437E-9827-BA3A40068C69}", AutoMap =true)] public class WidgetButton : BasePage { [SitecoreField] public virtual string Title { get; set; } } My sitecore item has a TreeListEx with one item in it: and I'm reading this item thus: Widget widgetTest

What inbuilt parameters can I access in Sitecore XSLT? How should I expose global settings I need?

十年热恋 提交于 2019-12-20 04:12:21
问题 Is there a list of inbuilt parameters available to Sitecore XSLTs? I've looked around but haven't seen anything that looks like a full list, at least not in comparison to the sort of data a .NET component can access directly. Using XSLT out of the box in Sitecore seems a little limited in respect to the data it can easily access in comparison to .NET presentation components. I'm specifically interested in being able to access various pieces of information relating to running multiple sites

How do I bucket Sitecore items on something other than their creation date?

北战南征 提交于 2019-12-19 09:55:55
问题 I'm using Sitecore with DMS (Sitecore 7.2), and I'm setting up various controls on my layouts to pull content from different folders based on the users profile card. I'd like those folders to be "bucket" folders, since there'll be one folder for each profile card, and it'll be a bit unpleasant for authors to have to manually update all of these folders every time a new profile card is added. The "Developers Guide to Item Buckets and Search" says: by default, the items are organized according

Sitecore Workflow Is Not Working

强颜欢笑 提交于 2019-12-19 04:21:14
问题 I already have an content item (item) with template A. Template A has not set any workflow initially and I set a new workflow in template's standard value. If I go to the content item's workflow section, there is only "Default workflow" update. The fields "Workflow" and "State" are empty even I set "Initial State" in the workflow's property, as shown below screenshot. So, workflow process is not working on that item. However, if I create new item with the template already set workflow, I