Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Parser Error Could not load type Parser Error Could not load type 'DotNetNuke.Framework.CDefault'
Previous
 
Next
New Post
2/27/2006 2:46 AM
 

Hi,

Could anyone resolve the following issue?  I am trying to get a fresh install of DNN 3.2.2 up and running, hosted by 1and1.  I'm using DNN3.2.2_Install; modified the web.config per 1and1's specs, set the directory permissions appropriatly and then had 1and1 create the web application for the directory (end users can't do this step).

Alas, when I go to / I get the error below.

Thank you,

Rhett

Parser Error

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Could not load type 'DotNetNuke.Framework.CDefault'.

Source Error:

Line 1:  <%@ Page CodeBehind="Default.aspx.vb" language="vb" AutoEventWireup="false" Explicit="True" Inherits="DotNetNuke.Framework.CDefault" %>
Line 2:  <%@ Register TagPrefix="dnn" Namespace="DotNetNuke.Common.Controls" Assembly="DotNetNuke" %>
Line 3:  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

 
New Post
3/17/2006 8:59 AM
 
I have the exact same problem (word-for-word).  Does anybody have a resolution for this yet?
 
New Post
3/21/2006 3:11 AM
 
me 2!!! please help!
 
New Post
3/24/2006 11:43 PM
 

It turns out the problem was with the way 1and1 hosts web apps.  With a hosting provider, one would think that each application could live in isolation under its own directory with its own web.config file, and any given domain could point to that directory as root.  Alas, with 1and1, this is not entirely the case.  Per their hosting model you have two ways to run a web app:

1. The "ideal" way that doesn't really work: Have each app in its own directory with its own web.config file with the domain pointed to it (e.g. www.mydomain1.com configured to point to /MyRootDirectory/MyDomain1) with the extrememly important caveat that the root directory of your account must have a web.config file that is consistent with all web.configs in each sub directory (i.e. there exists a file /MyRootDirectory/web.config that meets these criteria).  Obviously this can be a problem and was the source of mine.

2. The sub-optimal way that does work: Have each domain point to a 'redirect' page that redirects each host to the appropriate subdirectory.  In this case each app is in its own directory with its own isolated web.config and all domains/hosts are configured to point to a file along the lines of /MyRootDirectory/redirect.asp such that per the example above, www.mydomain1.com would resolve to http://mydomain1.com/mydomain1:

host = Request.ServerVariables("HTTP_HOST")
If host = "mydomain1.com" OR host = "www.mydomain1.com" Then
    Response.Redirect(http://mydomain1.com/mydomain1)
That fixed it for me.

 
New Post
3/29/2006 9:06 PM
 

Vautrin, I have been having the same problem. But when I tried putting the same web config at the root and in my DNN directory I got the general custom errors message.  When I replaced the root one with the one turning on custom errors I get the one below.  I have configured DNN on a local machine but never with a hosting company. Any idea what I am messing up?

 

Server Error in '/' Application.

Parser Error

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Could not load type 'DotNetNuke.Framework.CDefault'.

Source Error:

Line 1:  <%@ Page CodeBehind="Default.aspx.vb" language="vb" AutoEventWireup="false" Explicit="True" Inherits="DotNetNuke.Framework.CDefault" %>
Line 2:  <%@ Register TagPrefix="dnn" Namespace="DotNetNuke.Common.Controls" Assembly="DotNetNuke" %>
Line 3:  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">


Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Parser Error Could not load type Parser Error Could not load type 'DotNetNuke.Framework.CDefault'


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.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out