Learn More





New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Child Portal URL:  404- File or directory not foundChild Portal URL: 404- File or directory not found
New Post
5/15/2014 10:04 AM

Hello all,

Been using a DNN setup on a local server for sometime. Now 'suddenly' I get a 404 error. When I enter the URL of a Child portal called 'Demo'.

So gets me to my main portal and does give the 404 error and works again. Normally the .../dnn/demo should also get me there.

Now I created a second child portal called 'testing' and here I have the same issue. .../dnn/testing does throw the error 404 and .../dnn/testing/home works fine.

My assumption is that there is something wrong (gone wrong) with the default settings for a portal. I cannot find any strange changes comparing the DNN directories with a backup of one week old. Likely the wrong settings are somewhere stored in the database.


Host/dashboard Host info:


DNN Platform

Version: 7.2.0

Host GUID: 2A319573-BC02-40AF-A200-CEC46B887C3F

CAS Permissions: ReflectionPermission, WebPermission, AspNetHostingPermission

Data Provider: SqlDataProvider

Caching Provider: FileBasedCachingProvider

Logging Provider: DBLoggingProvider

Html Editor Provider: DotNetNuke.RadEditorProvider

Friendy URL Provider: DNNFriendlyUrl

Friendly URLs Enabled: True

Friendly URL Type: humanfriendly

Scheduler Mode: REQUEST_METHOD

Web Farm Enabled: False

jQuery Version: 1.9.1

jQuery UI Version: 1.10.3


Host/dashboard Web Server info:

OS Version: Microsoft Windows NT 6.1.7601 Service Pack 1

Web Server Version: Microsoft-IIS/7.5

.NET Framework Version: 4.0.30319.18444


Host Name: SA-Server

Physical Path: C:\inetpub\wwwroot\DNN

Site URL:

Relative Path: /dnn

Server Time: 5/15/2014 1:37:05 PM

Rgrds, Tom

New Post
5/16/2014 3:41 AM
Do you have a backup that you can do a comparison with?

My first guess would be to check the portal alias table and see if there any problems. Do you get any URL related messages in the response headers? (you can check these in most browser debug tools)
New Post
5/16/2014 7:29 AM

Hello Bruce,

I checked the PortalAlias table and it has the following entries:

PortalAliasID PortalID HTTPAlias CreatedByUserID CreatedOnDate LastModifiedByUserID LastModifiedOnDate BrowserType Skin CultureCode IsPrimary
1 0 -1 20-11-2012 09:27:57 -1 05-12-2013 14:00:34 Normal NULL NULL 1
4 1 1 22-05-2013 16:00:44 -1 05-12-2013 14:00:34 Normal NULL NULL 1
6 1 1 15-05-2014 12:10:13 1 15-05-2014 12:10:13 Normal NULL nl-NL 1
7 2 1 15-05-2014 12:15:21 1 15-05-2014 12:17:03 Normal NULL NULL 1

Please note the two first entries have not changed this calender year and the last two have been added yesterday to see if they have the same problem.

Below the source code of the returned page:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">

<html xmlns="">


<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>

<title>404 - File or directory not found.</title>

<style type="text/css">


body{margin:0;font-size:.7em;font-family:Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;}

fieldset{padding:0 15px 10px 15px;}



h3{font-size:1.2em;margin:10px 0 0 0;color:#000000;}

#header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:"trebuchet MS", Verdana, sans-serif;color:#FFF;


#content{margin:0 0 0 2%;position:relative;}






<div id="header"><h1>Server Error</h1></div>

<div id="content">

 <div class="content-container"><fieldset>

  <h2>404 - File or directory not found.</h2>

  <h3>The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.</h3>





Any other suggestions?

Rgrds, Tom

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Child Portal URL:  404- File or directory not foundChild Portal URL: 404- File or directory not found

These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.

Content Layout

Subscribe to DNN Digest

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  

What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out