sitecore

How to limit webdeploy connection number, ERROR_EXCEEDED_MAX_SITE_CONNECTIONS

99封情书 提交于 2019-12-08 08:12:23
问题 I have a solution that has 10-20 web projects, and I am trying to use msbuild webdeploy to deploy them. msbuild "mysolution.sln" /p:DeployOnBuild=true /p:PublishProfile="Debug" However, I got this error in the middle of deploy: C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Web\Microsoft.Web.Publishing.targets(4295,5): msdeploy error ERROR_EXCEEDED_MAX_SITE_CONNECTIONS: Web deployment task failed. (The maximum number of connections for this site has been exceeded. In the log,

sitecore page editor change position actually deleting sublayout added on an item(Page)

谁都会走 提交于 2019-12-08 07:18:35
问题 I have a layout with two place holders leftColumn and rightColumn. For an item i am adding multiple sublayouts for leftcolumn and multiple sublayouts for rightcolumn. Now in page editor when i am trying to change position using "Change Position" button in toolbar and move content to another location, content is getting moved to my new location as desired. But when i click Save button on Ribbon, it is actually deleting moved content from presentation itself. I am not sure why it is behaving

Forcing Sitecore to handle any requests to a file (.*)

只愿长相守 提交于 2019-12-08 07:14:38
问题 How could one go about forcing Sitecore to handle any file requests, instead of getting a 404 from the IIS. The reason being, that we want to be able to apply the URL Rewrite Module (http://github.com/ParTech/Url-Rewriter) to file requests aswell. Example: User requests : http://sitecore.domain/randomfolder/file.pdf (which dosent exists) But instead of getting the IIS "HTTP Error 404.0 - Not Found via StaticFile", we want Sitecore to pick up the request, and apply any rewrite rules if

Sitecore context in HttpHandler

别说谁变了你拦得住时间么 提交于 2019-12-08 06:44:41
问题 I have HttpTaskAsyncHandler in my sitecore solution and i call it I have sutup IngnoreUrlPrefix and etc. By some reason i can't get access to SC.Context.Database Database is null in ProcessRequestAsync(HttpContext context) method, it looks like I don't access to Sitecore context in HttpHandler. How to resolve it ? Thanks. 回答1: You wont be able to access Sitecore Context (Database or Item) in the Handler. We have confirmed this with Sitecore Support for our task. The best way is Implement a

Sitecore inline editing on other items

拟墨画扇 提交于 2019-12-08 05:57:34
问题 I was told to do inline editing for Sitecore web site. It is working for the simple page like an article page. <sc:text ID="sct1" ruat="server" ... /> But if the page is more complicated, it is impossible now, i believe. Sample page like .. About Us will have 3 different radio buttons. According to the button chosen, the respective content will show. That content is actually a child content of About Us . And if I want inline editing , i have to check whether it is the editing mode If so, I

Sitecore Project - Localhost just hangs

烈酒焚心 提交于 2019-12-08 05:46:17
问题 I've been using this same Sitecore project, for more than 2 years now. Upgraded to Sitecore 7.0 this spring, and everything just ran like it should. But yesterday, suddenly out of nowhere, i can't seem to run my project anymore. I'm using Visual Studio 2013 with IIS Express (64 bit). And when i try to build and run my site through localhost, it just hangs. I even tried to let it load for 1 hour+, but it still just loads with nothing happening. I tried to debug it further with Fiddler, but

Sitecore 8:Patching an agent

南楼画角 提交于 2019-12-08 05:36:13
问题 I need to patch agent in other environment so I have created a patch as below: <agent type="Sitecore.Tasks.PublishAgent"> <patch:attribute name="interval" value="01:00:00" /> <param desc="mode (full or smart or incremental)">smart</param> <param desc="languages">en</param> </agent> Here I patch attribute using <patch:attribute name="interval" value="01:00:00" /> But how can I patch a param?.Also how can I test the same? Thanks 回答1: You can patch exactly as you have posted, i.e. if the param

Sitecore - 2 Media items. Same filename, different extensions

纵饮孤独 提交于 2019-12-08 05:23:14
问题 If you have 2 media items that have the same name but different extensions, Sitecore cannot differentiate between them. For example: /~/media/myfile. pdf /~/media/myfile. doc When these URL's are requested, the PDF file is returned in both cases. I understand that that Sitecore ignores the extension in the request, and that the real problem is in fact, that I essentially have two items with the same path in the media library: sitecore/media library/myfile However, I do think it's a reasonable

Auto Increment / Identity Custom Field Type

烈酒焚心 提交于 2019-12-08 05:00:33
问题 I am currently implementing a system where there are user generated items, we can call them Orders. I would like to have a field (non-GUID) that is easy for customers to say over the phone or to write down that represents their order. The field should be simple and unique which made me think of an identity field. Can a portion of the item's GUID, say 10 characters, be unique enough? How can a unique field like this be implemented in Sitecore? GUIDs are alpha-numeric which is fine for my

Components not indexed in sitecore lucene search indexes

狂风中的少年 提交于 2019-12-08 02:47:51
问题 I have configured lucene search index in configuration & tested index with lukeall tool it searches for all fields of defined templates but content on pages are using another external component, which is not searched but data in fields of page are searchable. is there any way to search it something like html search so that all data on page could be indexed. Thanks guys. 回答1: It's a common requirement. This screencast outlines an approach where the crawler loops through each of the page's