sitefinity

Creating Files in Sitefinity API for docs that already exist on Filesystem

丶灬走出姿态 提交于 2020-01-14 18:10:02
问题 I am working with Sitefinity as a solution in Visual Studio 2012. I'm on a 64bit machine. I just installed Windows Identity Manager as I was getting another error before that and it was related to not having that installed. Now I am receiving this error: Found invalid data while decoding. 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

Creating Files in Sitefinity API for docs that already exist on Filesystem

江枫思渺然 提交于 2020-01-14 18:07:49
问题 I am working with Sitefinity as a solution in Visual Studio 2012. I'm on a 64bit machine. I just installed Windows Identity Manager as I was getting another error before that and it was related to not having that installed. Now I am receiving this error: Found invalid data while decoding. 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

“InvalidOperationException: Stack Empty” when open Sitefinity project in Visual Studio

三世轮回 提交于 2020-01-04 05:50:48
问题 I created new Project, new Website, in Sitefinity Project Manager, opened it in Visual Studio, started debugging. As no pages were created before it offers to log in to the backend. But when I'm clicking login instead of login form it gave me InvalidOperationException: Stack empty exception [InvalidOperationException: Stack empty.] System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource) +52 System.Collections.Generic.Stack`1.Pop() +6667365 Microsoft.VisualStudio.Web

Sitefinity upgrade with hotfixes?

拜拜、爱过 提交于 2019-12-25 02:34:34
问题 Just getting ready to upgrade from 5.1 to 6.3. We have never performed an upgrade before. About the upgrade path: When installing the updates, do I need to install the hotfixes, or just the major releases? (My gut says only major releases). I found the documentation here: http://www.sitefinity.com/documentation/documentationarticles/upgrading-you-sitefinity-5.1-project-to-the-latest-version Is this documentation enough to make a smooth upgrade? 回答1: Yeah, just follow the documentation in the

A new user of 'Authors' role unable to view list of news items

僤鯓⒐⒋嵵緔 提交于 2019-12-25 02:07:42
问题 In my Sitefinity 3.7 website, I created a new user which is a member of the 'Authors' role. When the user tries to view the list of news items (../Sitefinity/Admin/Modules.aspx?module=News), the following exception is thrown: =========================================================================== Server Error in '/' Application. A required control was not found in the template for "~/ControlTemplates/News/NewsItemsList.ascx". The control must be assignable form type "System.Web.UI

Sitefinity fails to initialize with error: The type initializer for 'Telerik.Sitefinity.Security.SecurityManager' threw an exception

僤鯓⒐⒋嵵緔 提交于 2019-12-24 11:48:00
问题 As the title reads, I'm trying to run a Sitefinity project with Visual Studio 2015. On initialization, the little gear icons break and I'm presented with this woefully vague error message: The type initializer for 'Telerik.Sitefinity.Security.SecurityManager' threw an exception. My machine seems to be the only one experiencing this. My google-fu has thus far failed me. I've given full access to all users on my system to no avail. I'm tearing my hair out here. 回答1: This issue happened because

Sitefinity CMS: Html.BeginFormSitefinity with external URL?

为君一笑 提交于 2019-12-24 03:09:23
问题 I'm hoping someone can help me here - I'm trying to set up a basic MVC widget for Sitefinity that will POST to an external URL to log the user in there. The problem is if I use regular HTML to do this, the widget will only work in pure MVC mode thanks to the way WebForms deals with forms. I googled around a bit and found people explaining that with the regular "BeginForm" you can specify an external action URL thusly: Html.BeginForm(null, null, FormMethod.Post, new { @action="EXTERNAL_URL" })

SiteFinity if user logged in

本小妞迷上赌 提交于 2019-12-23 03:45:14
问题 I am new to SiteFinity. This is the first time I have ever seen it. I am trying to find out how to check to see if the user is logged in and if they are, do not load certain javascript files (we have a conflict that is causing problems with sitefinity's page editor) So in the header I want to do something like if(user_logged_in()) ... load js file here Also I am trying to do this in the master template files. Version 6.1 FYI 回答1: You can try: ClaimsManager.GetCurrentIdentity().IsAuthenticated

How should I handle async API calls using a CMS that does not allow async controller actions?

≡放荡痞女 提交于 2019-12-22 11:27:04
问题 I have been getting my feet wet using async/await and most of what I have been reading states "Don't Block on Async Code" with the exception of the main function in a console application. I find myself unable to follow this simple rule :( My application depends heavily on a WebAPI layer. The client I am using in the MVC apllication is using the async methods on System.Net.Http.HttpClient to call API methods. Currently I am handling it two ways. In some places we are getting the result

How to set FTP to a Azure Cloud Service or Azure storage?

这一生的挚爱 提交于 2019-12-22 05:53:15
问题 We are new to Windows azure and I would like to know whether we can setup FTP accounts for a azure cloud service so that we can upload files via ftp clients like filezilla? Please let me know how and whether it is recommended or not? Because I have read at some places that files uploaded via ftp are deleted once the azure instance is refreshed which I actually didn’t understand by the word refreshed. Similarly can we create FTP for Windows Azure Storage as well so that we can upload blob