DnnInstall 6c WebsiteInstaller Success 1024x723 2

DoNetNuke DNN Setup and IIS Security Permissions

How to Install DotNetNuke (DNN)by Erin Burns | .NET, DotNetNuke (DNN)DNN is a free open source .NET content management system (CMS). Like any CMS, users can easily manage site content and users, as well as develop and install custom themes and extensions (similar to WordPress “plugins”). The system requirements for DNN are as follows: Operating Systems Windows 8, 8.1, 10Windows Server 2008 R2, 2012 R2.NET Framework 4.5.1+Web Server Microsoft IIS 7.5, 8.0, 8.5, 10Database Server Microsoft SQL Server 2008 R2, 2008 Express R2, 2012, 2012 Express, 2014, 2014 Express, 2016 (for DNN 8.0.4+)Microsoft Azure SQL DatabaseIn this tutorial, I am using Windows 10, Microsoft IIS 10, Microsoft SQL Server 2014 Express and DNN Platform 9, and I am assuming you already have your database server set up. If your system is different (e.g. Microsoft Azure SQL Database), the installation process below is still the same. 1. Download the Install packageDownload the Install.zip package… Read More »DoNetNuke DNN Setup and IIS Security Permissions

BlogEvent ID 1310

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 in the web.config file was wrong for the database. This caused the error 1310 to be thrown and the Application Pool associated with the new incorrectly setup site to stop. The fix.  Connect to the… 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 to the folder’s Access Control List (ACL). Open Windows Explorer Select the directory the Smartcrypt Manager is installed under (eg: c:\web\mds) Right click the directory and select Properties Select the Security tab Click the Edit button and then Add button Click the Locations button… Read More »Adding Application Pool Identity in IIS to a Folder

alphassl the requested property value is empty Exception for HRESULT 0x80094004

alphassl the requested property value is empty Exception for HRESULT 0x80094004 Problem When completing an Alphassl certificate install on IIS using the “Complete Certificate Request” you receive the error: There was an error while performing this operation.Details: The requested property value is empty. (Exception from HRESULT: 0x80094004) Now this is a Typical Microsoft Error in that it really only has meaning to the person who created the error. For us end users stuck in this weird Microsoft world, the error message is trying to tell us that the Certificate you pointed to for the “Complete Certificate Request function in IIS is pointing to a .CER file that is not valid as a certificate for import. So at this point it is time to check what certificate you placed in the .CER file that you are trying to import. Solution In particular with Alphassl certificates, the process of completing a new… Read More »alphassl the requested property value is empty Exception for HRESULT 0x80094004

Mars Edit can't upload images to WordPress on IIS

  Having Troubles Uploading images to WordPress hosted on IIS If you are like me and enjoy a Mac, and WordPress, then you have probably discovered MarsEdit. We were experiencing problems uploading images to our WordPress blog. Upload File ErrorCan’t do upload file for “blog name” because the server reported an error. The server returned an unexpected response code: 413. WordPress Upload File Permissions on IIS You upload an image in WordPress and either you get an error or the image will upload, thumbnails would work but the actual image would not have read permissions. If you can’t upload an image at all, it’s probably because you need to give the IUSR account Read/Write/Modify permission on your wp-content folder.  This will allow you to upload, and do the WordPress & plugin updates. Alos, you may you need to do is give the IIS_IUSRS group Read permissions on your “C:\Windows\Temp” folder. Make… Read More »Mars Edit can't upload images to WordPress on IIS

Adding .OFT Fonts to IIS Mime for DNN DotNetNuke

Making .OTF Font work in DotNetNuke DNN Skin To get a DotNetNuke DNN site to correctly display .OTF fonts, it is necessary to add a MIME type to IIS. Making this change is easy. In IIS, click on the Server Name.Double Click on MIME Types Add a New MIME Type – .otf – Font/otf That’s it. For good measure you could restart IIS from a command prompt with “IISRESET”

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

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 the same identity ‘System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ has already been imported. Try removing one of the duplicate references. Source Error: [No relevant source lines] Source File: Line: 0 Show Detailed Compiler Output:   Interestingly too… Read More »DotNetNuke 6 running in .Net 4.0 Server Error in '/' Application Version= Version=

Migrate from IIS 7.0 to IIS 7.5 in a new Windows 2008 R2 Server

Moving from one IIS 7.0 server to IIS 7.5 is relatively easy and there are a number of tools that can assist you. Probably the best is the Web Deploy tool mentioned here: http://www.iis.net/download/WebDeploy This tool can allow you to package up and migrate the entire web sites, including configuration and database files etc. Because our IIS 7 server is almost dead, it prevented us from configuring the tool. The install files see .Net 2.0 as required, and although it was installed we were unable to get the server to see it as installed. Anyway we tried all sorts of things, and finally gave up. (Good opportunity to rag on Microsoft, but we will leave that alone). So now we find a need to migrate without the good tools. Migration We shared the IIS root folder on the source server. Then pulled all the folders containing websites across from that… Read More »Migrate from IIS 7.0 to IIS 7.5 in a new Windows 2008 R2 Server