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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Whats wrong with my containerWhats wrong with my container
Previous
 
Next
New Post
4/16/2007 4:48 AM
 

I have just made a new skin and container for my site and have zipped them up and uploaded them. Great all works without any errors. I load my skin works fine but when i load the container there is a serouis error and the application fails completly, to the stage that i have to re-install it from scratch.

Here is my container code

<%@ Control Language="VB" AutoEventWireup="false" CodeBehind="~/admin/Containers/container.vb" Explicit="true" Inherits="DotNetNuke.UI.Containers.Container" %>

<%@ Control Language="VB" AutoEventWireup="false" CodeBehind="~/admin/Containers/container.vb" Explicit="true" Inherits="DotNetNuke.UI.Containers.Container" %>
<%@ Register Src="~/admin/Containers/solpartactions.ascx" TagName="solpartactions" TagPrefix="uc1" %>
<%@ Register Src="~/admin/Containers/title.ascx" TagName="title" TagPrefix="uc2" %>


<table class="Container">
    <tr>
        <td class="ContainerHeadFoot">
            <uc1:solpartactions ID="Solpartactions1" runat="server" /><uc2:title ID="Title1" runat="server" />
        </td>
    </tr>
    <tr>
        <td class="ContainerMid"></td>
    </tr>
    <tr>
        <td class="ContainerHeadFoot"></td>
    </tr>
</table>



with the corosponding css

.Container
{
width:100%
}

.ContainerHeadFoot
{
width:100%;
height:25px;
}

.ContainerMid
{
width:100%;
height:100px;
}


Any ideas would be great


Class Campers -The Home of the Volkswagen camper & Bus Enthusiast
Worlds Cheapest Homes - Need a Cheap Property, cant afford a home
Beeb iPlayer - Need help with the BBC's new iPlayer software
Internet Insurance Quotes - For the the information you will ever require about Insurance
 
New Post
4/16/2007 6:49 AM
 

Can you post the error message here?


"Knowledge Sharing Matters!"
 
New Post
4/16/2007 8:34 AM
 
Well thi sis the error:

and thanks for your reply

but i have broken the site again

DotNetNuke.Services.Exceptions.ModuleLoadException: Unhandled Error Adding Module to ContentPane ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.UI.Containers.ActionBase.set_PortalModule(PortalModuleBase Value) at DotNetNuke.UI.Skins.Skin.ProcessActionControls(PortalModuleBase objPortalModuleBase, Control objContainer) at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) --- End of inner exception stack trace ---

Cheers

Class Campers -The Home of the Volkswagen camper & Bus Enthusiast
Worlds Cheapest Homes - Need a Cheap Property, cant afford a home
Beeb iPlayer - Need help with the BBC's new iPlayer software
Internet Insurance Quotes - For the the information you will ever require about Insurance
 
New Post
4/16/2007 8:45 AM
 

Well i have just learnt to preview the site below i apply the skin which means i dont kill the site

Cheers

Class Campers -The Home of the Volkswagen camper & Bus Enthusiast
Worlds Cheapest Homes - Need a Cheap Property, cant afford a home
Beeb iPlayer - Need help with the BBC's new iPlayer software
Internet Insurance Quotes - For the the information you will ever require about Insurance
 
New Post
4/23/2007 11:40 AM
 

your container is missing the id and runat="server" attributes. thats why you are getting this error.

Place the id and runat attributes for all your panes to run your skin properly.

Sorry for the late response.


"Knowledge Sharing Matters!"
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Whats wrong with my containerWhats wrong with my container


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