DotNetNuke Tips

DNN Event ID 1310 after moving website to new server Exception message: Unsecured Passwords Format Detected

IIS throwing Event ID 1310 Exception message: Unsecured Passwords Format Detected The Error Message Exception information: Exception type: ConfigurationErrorsException Exception message: Unsecured Passwords Format Detected. The Membership Provider that contains the unsecure passwords format is: AspNetSqlMembershipProvider. The obsoleted password format is: Encrypted. For more information, see https://go.microsoft.com/fwlink/?linkid=834784. Request information: Request URL: Request path: User host address: User: Is authenticated: False Authentication Type: Thread account name: IIS APPPOOL\DefaultAppPool The Problem was actually simple and a “user error” We tried to connect the website up to the wrong database. i.e. When we copied the database and moved it, we inadvertently copied the wrong database. This caused the above error due to the fact that the machinekey data… Read More »DNN Event ID 1310 after moving website to new server Exception message: Unsecured Passwords Format Detected

Adding Application Pool Identity in IIS to a Folder

KB – Granting folder permissions to IIS application pools     Skip to end of metadata   Go to start of metadata   Whenever a new application pool is created, IIS creates a security identifier (SID) that represents the name of the application pool itself. For example, if you create an application pool with the name “Smartcrypt,” a security identifier with the name “Smartcrypt” is created in Windows. Resources can be secured by using this identity. However, the identity is not a real user account and will not show up as a user in the Windows User Management Console. This can be configured by selecting a folder in Windows Explorer and adding the “Smartcrypt” identity… Read More »Adding Application Pool Identity in IIS to a Folder

DNN (dotnetnuke) Active Forum Module Control Panel a critical error has occurred

Error when opening the DNN Active Forum Module Control Panel When you attempt to open the forum module Control Panel, you receive a.net load error that says a critical error has occurred. Upon looking at the log files for the website within DNN, you’ll notice that the related error message looks something like this. bsoluteURL:/Default.aspxDefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNukeExceptionGUID:1012073d-d31d-4a73-a051-31478c9de05dAssemblyVersion:7.4.0PortalId:0UserId:3429TabId:107RawUrl:/Resources/Forum/ctl/EDIT/mid/506Referrer:http://website.com.au/Resources/ForumUserAgent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/600.6.3 (KHTML, like Gecko) Version/8.0.6 Safari/600.6.3ExceptionHash:eUa1nHF8hNveOCQzqX0zOg==Message:Object reference not set to an instance of an object.StackTrace:InnerMessage:Object reference not set to an instance of an object.InnerStackTrace: at DotNetNuke.Modules.ActiveForums.Controls.Callback.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean… Read More »DNN (dotnetnuke) Active Forum Module Control Panel a critical error has occurred

DotNetNuke DNN Spam Registrations Problem Fixed

DotNetNuke DNN Sites getting spam registrations – How to stop them In recent weeks, many of our DNN websites have systematically been targeted for Spam New User Registrations. There has been some discussion around the how and why, and as much as we can tell, the problem is this: 1. Some script kiddy has bothered to write a bot that finds DNN websites. It is not even a good bot, because it is not capable of validating registrations to automated active email addresses. (If you are the creator of the bot… “YOU ARE DOING IT WRONG” as it is not going to bring the Google results you are looking for.) 2. The bot will attempt… Read More »DotNetNuke DNN Spam Registrations Problem Fixed

DNN Popup Greeting–Kill it Good!

In the recent DNN 7 releases, they have unfortunately made by default a popup greeting after sign in, that in theory would drive clients to signup for their spam. Problem is (like lots of recent DNN features) that the “tick to never show again” does not work, and in some really recent releases, the popup goes crazy and does not allow you to progress into the site. In other words, they killed their own product with spam crap. Easy fix. Open the file in the web root, called: Default.aspx.cs Look for this line: ManageGettingStarted(); Just throw a // before it to comment it out. Save and restart the IIS site. Should fix it fast and… Read More »DNN Popup Greeting–Kill it Good!

DotNetNuke – Could not load file or assembly 'Telerik.Web.UI' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference.

After upgrading a DNN website, we received this error message. The underlying cause of the problem is sloppy release version upgrades of the DNN core product. The issue is that the release.config file in the update versions of DNN references older versions of the Telerik.Web.UI .dll file in the /bin folder of the install versions of DNN. This means that the settings in your newly updated web.config file are referencing an old version of the Telerik file. The fix is easy Right click on the Telerik.Web.UI.dll file in your sites /bin folder. If the file is not there, then download the install version of your DNN site package from http://dotnetnuke.codeplex.com Then extract the file to… Read More »DotNetNuke – Could not load file or assembly 'Telerik.Web.UI' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference.

DotNetNuke HTML Editor Background Black

When you get a black background in the HTML Editor. The solution is easy. Look for the file found here: \Providers\HtmlEditorProviders\Telerik\Config\ConfigDefault.xml Edit it to add this line: <property name="CssFiles">~/Providers/HtmlEditorProviders/Telerik/Config/EditorCustom.css</property> Looking like this: Then edit this file: \Providers\HtmlEditorProviders\Telerik\Config\EditorCustom.css To look like this: body {   background-color: white;   background-image: url(image_path);   color: black; }   That’s about it.

DotNetNuke Can’t Login Index #: 0

The Problem Index #: 0 Recently while working with a DotNetNuke website, we found that attempting to login to the site generated this error: SQL Exception Error Details File  Error   Index #: 0 Source: .Net SqlClient Data Provider Class: 17 Number: 1105 Procedure: AddEventLog Message: System.Data.SqlClient.SqlException: Could not allocate space for object ‘dbo.EventLog’.’PK_EventLogMaster’ in database ‘www.sitedatabase.com’ because the ‘PRIMARY’ filegroup is full. Create disk space by deleting unneeded files, dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String… Read More »DotNetNuke Can’t Login Index #: 0

DotNetNuke (dnn) jQuery problems admin menu

DotNetNuke jQuery Problems Recently there was an update to jQuery that caused some problems with DotNetNuke. The problems include: Strange or missing popup effects in custom jQuery modules Admin menu hiding the menu items on Standard DNN Dark Knight Skin Modules using jQuery failing to function as desired The Problem The problem is associated with some bugs in the jQuery released and hosted googleapis. The bugs are not related to DotNetNuke directly but the jQuery used in many instances of jQuery. The Solution The solution is an easy one. You just need to login to your DotNetNuke website with a Host Account, and modify the jQuery settings under the HOST / ADVANCED SETTINGS to a… Read More »DotNetNuke (dnn) jQuery problems admin menu

Upgrading Steps for DotNetNuke from DNN 4.x.x to DNN 6.x.x

Specifically we wanted to take a version of DotNetNuke from 4.9.1 to 6.1.3 today and actually found that it worked perfectly. We did take some steps that helped a lot. This may be of value to some of you. Before we Began 1. Backed up the entire file system for the website. 2. Backed up the database on SQL server for the site in question. 3. Ensured we had a HOST login account that worked. 4. Ensured the server we were running on (Windows 2008 R2) was patched and running .Net Framework version 3.5 SP1. 5. If your site is busy, work out a way to stop the traffic. One way is to add a… Read More »Upgrading Steps for DotNetNuke from DNN 4.x.x to DNN 6.x.x

DotNetNuke 6 running in .Net 4.0 Server Error in '/' Application Version=3.5.0.0 Version=4.0.0.0

We had a requirement today to run a DotNetNuke Website in .Net 4.0 as some code we are using as part of the Microsoft CRM 2011 SDK require .Net 4.0. Problem is that with many of the DotNetNuke websites, they have some references that will cause this error when you flip your website worker process to 4.0. in IIS. This will give you an error that looks like this:   Generates an error: Server Error in ‘/’ Application. Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: CS1703: An assembly with… Read More »DotNetNuke 6 running in .Net 4.0 Server Error in '/' Application Version=3.5.0.0 Version=4.0.0.0

Why use flash anymore?

The net is changing fast. Release of the iPad and other mobile devices that have correctly made the decision to discontinue Adobe Flash. I say correct decision because not only is flash yesterdays technology, but it is far from the optimal way to produce simple motion in web pages. Flash still has it’s place, just not as a way to inject interesting motion into websites. So what do we use on http://www.InteractiveWebs.com home page? We have some simple code that renders motion:
</div> </div>
</div> </div> <div class="wsc_frame_bl"> <div… Read More »Why use flash anymore?

DotNetNuke Forum Module 05.00.02 The missing link!

DotNetNuke 05.06.03 Pain If you look at the project downloads for dotnetnuke, you will notice that the forums module has the latest version as: 05.00.01 And if you click the link from within this page: http://www.dotnetnuke.com/Resources/Downloads/Projects-Downloads.aspx 05.00.01 is exactly what you get. All sounds neat and tidy… right? Not really, because if you install the latest version of DotNetNuke 05.06.03 (an important security release) you will kill your forums. Dead as dead. And if you check around for an update of the forum module, you will not find one either in your Module Definitions, or in the DotNetNuke website. But keep looking to codeplex and you find this: 05.00.02 and what is strange, it is… Read More »DotNetNuke Forum Module 05.00.02 The missing link!

Problem With DNN Blog Module 04.01.00 – 01

We found an issue with what is the current release version of DotNetNuke Blog module 04.01.00 or 04.01.01. First up, we don’t know what the version number should actually be, as the compiled version on the download is 04.01.00 but the source code is referenced as 04.01.01. We presume there is some difference, but who knows what it is. Anyway The Problem The problem is that any forms on a page that run the blog module, will not allow form data to be validated. By validated, we are talking about ensuring a number is entered in a number field and text in a name filed etc. The cause is the blog module is using an… Read More »Problem With DNN Blog Module 04.01.00 – 01

DotNetNuke AjaxControlToolkit, Version=3.0.30930.28736 Error

Could not load file or assembly ‘AjaxControlToolkit, Version=3.0.30930.28736, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e’ or one of its dependencies. The located assembly’s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) We were playing today with a trial module from another developer. Received the above error. After much mucking around, we found that the very specific version of the AjaxControlToolkit.dll file that came with the module, was not installed during the normal module setup. We extracted the file into the \bin\ directory on the site, and joy to the world. Strange that a specific version is required and that the 3.5 or 4.0 version does not work. This is how they referenced a specific version. Not… Read More »DotNetNuke AjaxControlToolkit, Version=3.0.30930.28736 Error

How do I know DotNetNuke Corp is off the rails?

There are load of features and functions about DotNetNuke that tick us off. Some big, some small and some that are baseless. It never ceases to astound me why they do some features and functions so poorly. Today I had to write about a pet hate… Why when we go to the module definition page, do we see a list of “Upgrades?” with the painfully ugly Microsoft style highlighted version number. Really. Whoever built that system.. was that look the best you could come up with. It is painful enough that the stupid system does not allow third party developers to reference an RSS feed for their own updates. (Would have thought that was a… Read More »How do I know DotNetNuke Corp is off the rails?

Add Recaptcha to DotNetNuke

How to easily add recaptcha to your dotnetnuke website.  Easy… grab the latest version of Advanced Login module for DotNetNuke and you are on your way. We have enabled recaptcha in DotNetNuke with this module, making it as easy as ever to use the feature in your website. The advanced login module is available from our free dotnetnuke module download page.

DotNetNuke.Entities.Portals.PortalSettings..ctor(Int32 tabID, PortalAliasInfo objPortalAliasInfo) DNN 05.06.00

The Problem After updating a DNN site from 05.01.01 to DNN 05.06.00 we received the following error. ——————————————————————————– Object reference not set to an instance of an object. 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 Details: System.NullReferenceException: Object reference not set to an instance of an object. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  Stack Trace: [NullReferenceException: Object reference not set to an instance… Read More »DotNetNuke.Entities.Portals.PortalSettings..ctor(Int32 tabID, PortalAliasInfo objPortalAliasInfo) DNN 05.06.00

Error The transaction log for database “domain.com” is full. To find out why space in the log cannot be reused, see the log_reuse_wait_desc column in sys.databases

While accessing a DotNetNuke website today, I was getting this error all the time. Error   The transaction log for database “domain.com” is full. To find out why space in the log cannot be reused, see the log_reuse_wait_desc column in sys.databases Event ID 3001 Event code: 3001 Event message: The request has been aborted. Event time: 2/11/2010 12:28:32 PM Event time (UTC): 2/11/2010 1:28:32 AM Event ID: cc9168019d0b42cabde5ab8fa741927d Event sequence: 13 Event occurrence: 12 Event detail code: 0 I found this one a little perplexing. On further investigation I found that the transaction logging for the SQL server supporting this was massive. Around 980 meg when I would expect it to run around 15 meg. Initially… Read More »Error The transaction log for database “domain.com” is full. To find out why space in the log cannot be reused, see the log_reuse_wait_desc column in sys.databases