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 ...Another Clean Install 5.0 DNN issueAnother Clean Install 5.0 DNN issue
Previous
 
Next
New Post
12/30/2008 5:15 PM
 

I'm getting the follwing error when trying to load my site for the first time on the same machine that is running the server and database.

 

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: BC30002: Type 'PortalSettings' is not defined.

Source Error:

 
Line 99:                 Dim strURL As String = ""
Line 100:
Line 101:                objTab = objTabs.GetTabByName(Request.QueryString("TabName"), CType(HttpContext.Current.Items("PortalSettings"), PortalSettings).PortalId) Line 102:                If Not objTab Is Nothing Then
Line 103:

Source File: D:\!Compsulting LIVE\Websites\compsulting.com\webroot\Default.aspx.vb    Line: 101


 
New Post
12/30/2008 5:22 PM
 

Does following the comments from Charles made here:

http://support.dotnetnuke.com/issue/ViewIssue.aspx?id=9025&PROJID=2

Resolve this issue? (please let us know)...

Thanks.



Alex Shirley


 
New Post
1/1/2009 6:02 PM
 

I'm not sure where I'm supposed to find these lines of code.  My error is happening from default.aspx.vb, and the code that Chrles is talking about doens't appear in that file.  This is a clean install, not an upgrade.

Is this what you are talking about from the other post?

Fix:

Remove the following code:

                ' add portal alias module
                If CoreModuleExists("PortalAliases") = False Then
                    ModuleDefID = AddModuleDefinition("PortalAliases", "Allows you to view portal aliases.", "Portal Aliases")
                    AddModuleControl(ModuleDefID, "", "", "DesktopModules/Admin/PortalAliases/PortalAlias.ascx", "", SecurityAccessLevel.Host, 0)
                    AddModuleControl(ModuleDefID, "Edit", "Portal Aliases", "DesktopModules/Admin/PortalAliases/EditPortalAlias.ascx", "", SecurityAccessLevel.Host, 0)

                    'Add the Module/Page to all configured portals (with InheritViewPermissions = False)
                    AddAdminPages("Site Settings", "icon_sitesettings_16px.gif", False, ModuleDefID, "Portal Aliases", "icon_sitesettings_16px.gif", False)
                End If

and replace with

                ' remove portal alias module
                If CoreModuleExists("PortalAliases") = False Then
                    RemoveCoreModule("PortalAliases", "Admin", "Site Settings", False)
                End If

 

 
New Post
1/3/2009 9:23 AM
 

no, the correct statement is "The workaround is to simple delete the Portal Aliases module from the Site Settings page."
 

if you are not familiar with programming, wait for 5.0.1


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
1/9/2009 8:39 PM
 

What?!

You mean version 5.0, which is no longer in beta, needs a programmer to get it to work?

I can't get to a site settings page. This is a FRESH install- so when it never comes up, there is no way to delete portal aliases on the site settings page.

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Another Clean Install 5.0 DNN issueAnother Clean Install 5.0 DNN issue


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