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 ...Unhandled error after installationUnhandled error after installation
Previous
 
Next
New Post
6/19/2007 11:02 AM
 

Hi,

i tried installing DNN 4.5 on our windows 2003 Server, everything went fine, but if I go to the homepage after install I get an "an unhandled error has occured".

and in the address bar this URL is shown.

http://funda.2k3srv.atlan.nl/Default.aspx?tabid=36&error=Object+reference+not+set+to+an+instance+of+an+object.&content=0

How can I find out what the problem is on the site?

ASP.NET v2. ->also in IIS configured to the application.

Database tables are installed OK.

 

 

 
New Post
6/20/2007 7:24 AM
 

Nobody ever got this error after installing? Really need some information on this, we are on a deadline and chose DNN to be our CMS because of the simple configuration and skinning possibilities, but it seems that support is kinda lacking here. I really hope we don't have to choose another CMS for the (and future) sites!

Come on core-team members, support your users... please...

 
New Post
6/21/2007 7:20 AM
 

Allright! I seem to have found the problem !!!

When I copied the source files to the webserver, I copied them directly in the root of the website. This seemed to cause the error.

When I first created a folder and copied the files in that folder and created a new virtual folder (and created an application from it), the site works fine.

 I looked in the Default.aspx.vb fie and in this section:

           ' error loading skin - load default
            If ctlSkin Is Nothing Then
                ' could not load skin control - load default skin
                If IsAdminSkin(PortalSettings.ActiveTab.IsAdminTab) Then
                    PortalSettings.ActiveTab.SkinSrc = Common.Globals.HostPath & SkinInfo.RootSkin & glbDefaultSkinFolder & glbDefaultAdminSkin
                Else
                    PortalSettings.ActiveTab.SkinSrc = Common.Globals.HostPath & SkinInfo.RootSkin & glbDefaultSkinFolder & glbDefaultSkin
                End If
                ctlSkin = LoadSkin(PortalSettings.ActiveTab.SkinSrc)
            End If

The ctlSkin object was still 'nothing' after the IF. Seems like the variable 'PortalSettings.ActiveTab.SkinSrc', pointed to /Portals/_Default....' and that file could not be loaded.

I checked with my local install (with a virtual folder) and there the variable was:

'/DotnetNuke/Portals/_default/....'

So that was the only difference in the entire install, and obviously was the problem all the time. I think when installing in the root the first / should be removed. So '/Portals/... ' would become 'Portals/...'.

I couldn't find the file in which this variable is declared, but now we all know...

All I have to do now is get the CSS menu working, which also didn't get much replies (see forum of skinning!")

 

 

 

 
New Post
6/22/2007 6:34 PM
 

My site has been working fine for about a week and installed a module today and started getting that error.  I get the index out of range error as well.  Hopefully the host restarting will fix it.

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Unhandled error after installationUnhandled error after installation


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