Getting the following error when trying to edit in 9.2. When I click on the pencil icon it simply refreshes the pages and does not go into edit mode. This site has just been deployed to a staging server and is working fine on my local VM. It is not due to third party module because it is affecting more than one page.
Edit mode works when page accessed from browser on the staging server. When accessing the staging link remotely, the same error occurs. Looks like a 302 to the page is happening when accessing it remotely.
Other users reporting similar problem:
http://www.dnnsoftware.com/forums/threadid/539819/scope/posts/cannot-edit-any-pages
http://www.dnnsoftware.com/answers/unable-to-edit-a-page-via-the-pencil-icon-on-the-page
2018-09-18 12:16:26,639 [ServerName][Thread:14][ERROR] DotNetNuke.Services.Exceptions.Exceptions - System.Threading.ThreadAbortException: Thread was being aborted.
at System.Threading.Thread.AbortInternal()
at System.Threading.Thread.Abort(Object stateInfo)
at System.Web.HttpResponse.AbortCurrentThread()
at System.Web.HttpResponse.Redirect(String url, Boolean endResponse, Boolean permanent)
at Evoq.Content.Library.ContentEditor.ContentEditorManager.AutoSetUserMode()
at Evoq.Content.Library.ContentEditor.ContentEditorManager.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.AddedControl(Control control, Int32 index)
at Evoq.Content.Library.UI.Skins.EventListeners.EvoqContentSkinEventListener.OnSkinInit(Object sender, SkinEventArgs e)
That is likely normal behavior of Response.Recirect() that you must be calling. It will always abort current thread and throw an ThreadAbortException
To fix this just passendResponde value set to false
The error message that was generated was totally misleading, as suspected.
We recently had our entire site re-branded and this included new fonts. One of these fonts was “.woff2”. I neglected to add a mime type for this font in IIS on our staging server. When we added the mime type to IIS for this font, the edit issue resolved itself!
Related
I installed dnn version 9. When I want to add a new page I go to the contents-> Pages-> Add page. an empty white page appears without any options to add a new page or event to cancel.
This is caused by a problem with your templates folder, either missing, or bad permissions. I'm guessing when you installed you chose the blank template?
I've got a blog post on things to try to resolve
http://www.chrishammond.com/Blog/itemId/2692/Canrsquot-add-ldquopagesrdquo-in-DNN9
"If you are having problems adding Pages in DNN 9, read this blog post.
I recently upgraded all of my sites to DNN 9, the most recent one being upgraded last night. This morning I wake up to an email from a client of mine reporting a problem with adding pages in one of their sites that they also upgraded to DNN recently. I read through their email, and decide that I’ll look into their issue a bit later, have an itch to scratch on one of my own websites, so I’ll get to them later (sorry client).
Working on this site that I upgrade last night, I decided I wanted to add another page to the site, low and behold, I was unable to do so.
To add a page in DNN9 you click on the “Content” option in the persona bar, and then the Pages option. There you will be presented with a view similar to this:
image
When I clicked on Add Page there, the screen went blank, like so:
image
That’s not very useful, actually that is as far from useful as possible. Once that happens, you can’t actually “do” anything from an Admin perspective. You have to “leave” this page, go somewhere else (click on manage/users for example, then you might need to click BACK in your browser a bunch of times) then you can click on Content/Pages again to get back into the Page listing for a site.
So why is the persona bar page blank? This error is the cause:
GET https://SOMEPORTALALIASHERE/API/PersonaBar/Pages/GetDefaultSettings? 500 (Internal Server Error)
If you dig into the DNN Error Log (Admin Logs) a bit you might find a more detailed error, something along the lines of
Message:Value cannot be null. Parameter name: source
StackTrace:
at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable1 source, Func2 predicate) at Dnn.PersonaBar.Pages.Components.TemplateController.GetDefaultTemplateId(IEnumerable`1 templates) at Dnn.PersonaBar.Pages.Components.PagesControllerImpl.GetDefaultSettings() at Dnn.PersonaBar.Pages.Services.PagesController.GetDefaultSettings() at lambda_method(Closure , Object , Object[] ) at
So what does that message tell you? Well something is happening with your DNN Install trying to get a list of “page templates”. In digging further, on my site, I found the issue to be the File Permissions on the Templates folder in the portals/0/ directory. For some reason on the site that I upgraded last night, my permissions were set to ALL USERS DENY on the “Browse Files in Folder” and “Open Files in Folder” check boxes.
image
Unchecking those, clicking SAVE resolved my “pages” persona bar issues. How did those permissions get set? Who knows, this DNN site has been around since 2008 or earlier, and that never caused a problem.
There are definitely some “kinks” to be worked out of DNN9, but so far I am digging the new experience.
Regarding my “client”’s site, they had a similar, but different issue. In their case, the TEMPLATES folder didn’t exist in the Portal that they were trying to use. Simply creating a new Templates folder in their File Manager fixed that problem for their site."
I tried out many solutions but finally I figure it out by reinstalling and add Object Qualifier. because it is optional field I leave it without any value in my first installation
This error was fixed in DNN 9.0.1
when i load my site from incognito (when static files are not caches), about 50% of the time some static files which are hosted on app engine are not showing up. one time it can be a CSS file and other times it's JS. in the console i see this error:
Failed to load resource: net::ERR_CONNECTION_RESET
I have no idea why this happens and how to fix it.
Also, when you first go the page, you sometimes see a message saying the page is unavailable, and then immediately the page appears.
How to reproduce:
open this page on incognito (each time): http://alephz.com/
about 5 out of 10 times it should come up without CSS or JS
It might be the DNS prefetching having a problem. Try disabling it by adding <meta http-equiv="x-dns-prefetch-control" content="off"> into your header. Have not seen that being a problem for a while though.
The root problem is a certificate mismatch / expired certificate.
You can see this for yourself in the code here.
Note in particular the use of the very constant you reference in the code on line 44 of the C++ file in above link:
case net::ERR_INSECURE_RESPONSE:
The current version of this file is here. The error status ERR_INSECURE_RESPONSE may not any longer be on line 44 but the error code still exists in the SSL certificate portion of the code.
But as you are requesting the resources over SSL it is likely the certificate is invalid. Either it is self-signed and has not been added to your browser/OS exceptions or it is otherwise invalid.
Try the URI directly in the same browser and inspect the certificate.
This is in no way related to jQuery, JavaScript or CSS directly.
I have a GAE module on IntelliJ and when I after I edit the jsp files in it I can just go to the web browser, hit refresh and the changes show up. The other day I needed to access this from a different computer so I added --address=0.0.0.0 to the server parameters and after that changes to the jsp stopped showing up on the browser until I did a server restart. I removed the option and it started working again. Added it again and it stopped working, repeated several times, always the same result.
So how I can access the server from another computer yet have the ability to make changes and have those changes show up on the web browser without a server restart?
I am using an exploded war, and I have "update classes and resources" on both "on update" and "on frame deactivation".
This is with IntelliJ 13 on OSX 10.9
Thanks.
There are two ways to make iDEA update the runtime project:
Automatic via on frame deactivation, which means that IDEA updates project when you switch to another app (usually browser), i.e. when IDEA looses window focus. This works "automagically" while you test on the same computer, because you usually switch between IDEA and browser (or mobile emulator).
Manually via on update, which requires you to manually click the update button (the green circular arrows) in IDEA inside the running project pane.
I want to use a Sitecore item as a 404 page, in order to have translated 404s and separate 404 pages for different sites. I have created a sublayout called Render404, in which the only code is to set the HTTP status code on the response, like so:
protected void Page_Load(object sender, EventArgs e)
{
this.Response.StatusCode = 404; //gotta set our HTTP response code, otherwise this rendering does nothing
}
I created a test 404 page and dropped in this rendering. Loaded up the page in my browser. Works great, get the expected 404 code.
Then I pushed it up to the live site. Fails miserably. Sitecore continuously gives me the default ItemNotFoundUrl page when I try to access my test 404 directly. The really odd thing is that it works fine in preview, which makes me think it's a publishing issue. But IT IS NOT. The items are showing up fine in the Web DB. Further, if I remove the 404 control, the page renders OK and there is no redirection. Sitecore is somewhere seeing the 404 status and doing a redirect. Even though there is a context item. And this behavior does not occur in my dev system.
Suggestions?
Further info:
I've tried it with ServerSideRedirect true/false. Doesn't change anything.
Can you try please with :
Response.TrySkipIisCustomErrors = true;
Response.StatusCode = 404;
Response.StatusDescription = "Page not found";
Response.Flush();
The TrySkipIisCustomErrors property is used only when your application is hosted in IIS 7.0. When running in Classic mode in IIS 7.0 the TrySkipIisCustomErrors property default value is true. When running in Integrated mode, the TrySkipIisCustomErrors property default value is false.
This seems to be the Response.TrySkipIisCustomErrors as mentioned in the other response. But anyway, I would suggest you using the Sitecore Error Manager shared source module from the Marketplace. It does exactly what you would like to to. If you don't want to add the module, you can have a look at the source code at Github how we solved the problem there.
Finally bit the bullet and replaced my hack for displaying PDF content inside a silverlight app with a proper SL5 Trusted In-Browser WebBrowser that navigates to a .pdf.
When i try to RE-navigate the WebBrowser to another PDF I am seeing the error "Trying to revoke a drop target that has not been registered (Exception from HRESULT: 0x80040100)"
This only happens when I deploy to IIS (localhost IIS and another server IIS 7.5) ... NOT while running in VS2010.
Details:
UI is extremely simple. 1 Grid w/ 2 columns:
Column 1 Column2
======== ====================================================================
Treeview <WebBrowser x:Name="ContentWebBrowser" Grid.Column="1"></WebBrowser>
When user selects an item in the treeview, I simply call:
Uri serverUri = new Uri(string.Format("http://{0}:{1}/",
Application.Current.Host.Source.DnsSafeHost,
Application.Current.Host.Source.Port));
var relative= "/Content/x/y/z.pdf"; //This is dynamiclly pulled from Treeview, EDITED FOR SO
Uri relativeUri = new Uri(relative, UriKind.Relative);
ContentWebBrowser.Navigate(new Uri(serverUri, relativeUri));
With Cassini running silverlight both w/ and w/o debugger via VS2010 i can Select item after item in my list view and my WebBrowser will "re-navigate" calling this same code above.
BUT, once i deploy to my local iis, any time i end up calling Navigate for the 2nd time I am getting this error:
System.Exception: Trying to revoke a drop target that has not been registered (Exception from HRESULT: 0x80040100)
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
at MS.Internal.XcpImports.WebBrowser_Navigate(DependencyObject obj, Uri source)
at System.Windows.Controls.WebBrowser.Navigate(Uri source)
at SystemUtilities.Views.WebContentListView.TreeViewItem_Selected(Object sender, RoutedEventArgs e)
Other oddities: Sometimes i can "re-navigate" 3 or 4 times before i see this exception. Sometimes when i load another page in my SL application this error gets thrown. Happens whether PDF is cached or not cached when I load it into the WebBrowser. If i display standard html or an image instead of a PDF this does not happen.
Edit: I added logic to check to make sure LoadCompleted event fires before i try to re-navigate the WebBrowser but it does not seem to matter. (not 100% sure but i think that it ignores the fact that the PDF might still be loading and just signals that the DOM is ready). Although, even if I want a long time (30 seconds) after it looks like the 1st pdf is done loading, i still get the error.
Any suggestions?
New I posted my sample on skydrive.. check out the readme in order to repro!: http://sdrv.ms/JSn1KB