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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Mywebsite doesnMywebsite doesn't work anymore
Previous
 
Next
New Post
2/9/2007 11:28 PM
 

Hello,

I am a bofafide newbie, so I'd aprreciate any help I can get.  I created my first DNN website in just a few hours.  It was pretty easy.  I went back about a week later to make some updates and this is what I got:

An error has occurred.
An error has occurred.

The URL contained the following:  "Default.aspx?tabid=36&error=Object+reference+not+set+to+an+instance+of+an+object.&content=0"

In attempt to get more information I went into the web.config and set <customErrors mode="Off" />, but this had no affect.

Con someone please give me some tips on how to debug/fix this?

Thanks

 
New Post
2/10/2007 2:33 AM
 
Access the database directly and see if there is any information in the log table.  This information might also be in an XML file under the portals/0/ directory, depending on whether you had the site configured  to write logs to a file or database.  Post any information you find in the 2 locations here.
 
New Post
2/10/2007 9:00 AM
 

Thanks for the diagnostic tips.  I have looked into the database eventlog table and this is what I found:

<ArrayOfAnyType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><anyType xsi:type="LogDetailInfo"><name>AssemblyVersion</name><value>04.03.05</value></anyType><anyType xsi:type="LogDetailInfo"><name>PortalID</name><value>0</value></anyType><anyType xsi:type="LogDetailInfo"><name>PortalName</name><value>mywebsite</value></anyType><anyType xsi:type="LogDetailInfo"><name>UserID</name><value>-1</value></anyType><anyType xsi:type="LogDetailInfo"><name>UserName</name><value /></anyType><anyType xsi:type="LogDetailInfo"><name>ActiveTabID</name><value>36</value></anyType><anyType xsi:type="LogDetailInfo"><name>ActiveTabName</name><value>Home</value></anyType><anyType xsi:type="LogDetailInfo"><name>RawURL</name><value>/tss/Default.aspx</value></anyType><anyType xsi:type="LogDetailInfo"><name>AbsoluteURL</name><value>/tss/Default.aspx</value></anyType><anyType xsi:type="LogDetailInfo"><name>AbsoluteURLReferrer</name><value /></anyType><anyType xsi:type="LogDetailInfo"><name>UserAgent</name><value>Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50215)</value></anyType><anyType xsi:type="LogDetailInfo"><name>DefaultDataProvider</name><value>DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider</value></anyType><anyType xsi:type="LogDetailInfo"><name>ExceptionGUID</name><value>bd059538-53c8-4d5c-8c08-5b574ecb5106</value></anyType><anyType xsi:type="LogDetailInfo"><name>InnerException</name><value>Object reference not set to an instance of an object.</value></anyType><anyType xsi:type="LogDetailInfo"><name>FileName</name></anyType><anyType xsi:type="LogDetailInfo"><name>FileLineNumber</name><value>0</value></anyType><anyType xsi:type="LogDetailInfo"><name>FileColumnNumber</name><value>0</value></anyType><anyType xsi:type="LogDetailInfo"><name>Method</name><value>DotNetNuke.Framework.DefaultPage.Page_Init</value></anyType><anyType xsi:type="LogDetailInfo"><name>StackTrace</name></anyType><anyType xsi:type="LogDetailInfo"><name>Message</name><value>DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---&gt; System.NullReferenceException: Object reference not set to an instance of an object.
   at DotNetNuke.Framework.DefaultPage.Page_Init(Object sender, EventArgs e)
   at System.Web.UI.Control.OnInit(EventArgs e)
   at System.Web.UI.Page.OnInit(EventArgs e)
   at DotNetNuke.Framework.PageBase.OnInit(EventArgs e)
   at System.Web.UI.Control.InitRecursive(Control namingContainer)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   --- End of inner exception stack trace ---</value></anyType><anyType xsi:type="LogDetailInfo"><name>Source</name></anyType></ArrayOfAnyType> 

Two other errors preceeded it.:

 Text viewer
LogProperties
<ArrayOfAnyType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><anyType xsi:type="LogDetailInfo"><name>AssemblyVersion</name><value>04.03.05</value></anyType><anyType xsi:type="LogDetailInfo"><name>PortalID</name><value>0</value></anyType><anyType xsi:type="LogDetailInfo"><name>PortalName</name><value>mywebsite</value></anyType><anyType xsi:type="LogDetailInfo"><name>UserID</name><value>-1</value></anyType><anyType xsi:type="LogDetailInfo"><name>UserName</name><value /></anyType><anyType xsi:type="LogDetailInfo"><name>ActiveTabID</name><value>36</value></anyType><anyType xsi:type="LogDetailInfo"><name>ActiveTabName</name><value>Home</value></anyType><anyType xsi:type="LogDetailInfo"><name>RawURL</name><value>/tss/Default.aspx</value></anyType><anyType xsi:type="LogDetailInfo"><name>AbsoluteURL</name><value>/tss/Default.aspx</value></anyType><anyType xsi:type="LogDetailInfo"><name>AbsoluteURLReferrer</name><value /></anyType><anyType xsi:type="LogDetailInfo"><name>UserAgent</name><value>Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50215)</value></anyType><anyType xsi:type="LogDetailInfo"><name>DefaultDataProvider</name><value>DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider</value></anyType><anyType xsi:type="LogDetailInfo"><name>ExceptionGUID</name><value>5a797bf1-8e26-434a-9d05-decc9043b56e</value></anyType><anyType xsi:type="LogDetailInfo"><name>InnerException</name><value>Unhandled error loading page.</value></anyType><anyType xsi:type="LogDetailInfo"><name>FileName</name></anyType><anyType xsi:type="LogDetailInfo"><name>FileLineNumber</name><value>0</value></anyType><anyType xsi:type="LogDetailInfo"><name>FileColumnNumber</name><value>0</value></anyType><anyType xsi:type="LogDetailInfo"><name>Method</name><value>System.Web.Compilation.BuildManager.PostProcessFoundBuildResult</value></anyType><anyType xsi:type="LogDetailInfo"><name>StackTrace</name></anyType><anyType xsi:type="LogDetailInfo"><name>Message</name><value>DotNetNuke.Services.Exceptions.PageLoadException: Unhandled error loading page. ---&gt; System.Web.HttpCompileException: d:\hosting\myusername\tss\Portals\_default\Skins\DNN-Blue\Horizontal Menu - Fixed Width.ascx(32): error BC30560: 'admin_skins_solpartmenu_ascx' is ambiguous in the namespace 'ASP'.
   at System.Web.Compilation.BuildManager.PostProcessFoundBuildResult(BuildResult result, Boolean keyFromVPP, VirtualPath virtualPath)
   at System.Web.Compilation.BuildManager.GetBuildResultFromCacheInternal(String cacheKey, Boolean keyFromVPP, VirtualPath virtualPath, Int64 hashCode)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultFromCacheInternal(VirtualPath virtualPath)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultWithAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
   at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath)
   at System.Web.UI.TemplateControl.LoadControl(String virtualPath)
   at DotNetNuke.Framework.DefaultPage.LoadSkin(String SkinPath)
   --- End of inner exception stack trace ---</value></anyType><anyType xsi:type="LogDetailInfo"><name>Source</name></anyType></ArrayOfAnyType>  
 
and

 Text viewer
LogProperties
<ArrayOfAnyType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><anyType xsi:type="LogDetailInfo"><name>AssemblyVersion</name><value>04.03.05</value></anyType><anyType xsi:type="LogDetailInfo"><name>PortalID</name><value>0</value></anyType><anyType xsi:type="LogDetailInfo"><name>PortalName</name><value>mywebsite</value></anyType><anyType xsi:type="LogDetailInfo"><name>UserID</name><value>-1</value></anyType><anyType xsi:type="LogDetailInfo"><name>UserName</name><value /></anyType><anyType xsi:type="LogDetailInfo"><name>ActiveTabID</name><value>36</value></anyType><anyType xsi:type="LogDetailInfo"><name>ActiveTabName</name><value>Home</value></anyType><anyType xsi:type="LogDetailInfo"><name>RawURL</name><value>/tss/Default.aspx</value></anyType><anyType xsi:type="LogDetailInfo"><name>AbsoluteURL</name><value>/tss/Default.aspx</value></anyType><anyType xsi:type="LogDetailInfo"><name>AbsoluteURLReferrer</name><value /></anyType><anyType xsi:type="LogDetailInfo"><name>UserAgent</name><value>Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50215)</value></anyType><anyType xsi:type="LogDetailInfo"><name>DefaultDataProvider</name><value>DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider</value></anyType><anyType xsi:type="LogDetailInfo"><name>ExceptionGUID</name><value>d75be523-bce5-417f-bd6a-21121f2b4b97</value></anyType><anyType xsi:type="LogDetailInfo"><name>InnerException</name><value>Unhandled error loading page.</value></anyType><anyType xsi:type="LogDetailInfo"><name>FileName</name></anyType><anyType xsi:type="LogDetailInfo"><name>FileLineNumber</name><value>0</value></anyType><anyType xsi:type="LogDetailInfo"><name>FileColumnNumber</name><value>0</value></anyType><anyType xsi:type="LogDetailInfo"><name>Method</name><value>System.Web.Compilation.BuildManager.CompileWebFile</value></anyType><anyType xsi:type="LogDetailInfo"><name>StackTrace</name></anyType><anyType xsi:type="LogDetailInfo"><name>Message</name><value>DotNetNuke.Services.Exceptions.PageLoadException: Unhandled error loading page. ---&gt; System.Web.HttpCompileException: d:\hosting\myusername\tss\Portals\_default\Skins\DNN-Blue\Horizontal Menu - Full Width.ascx(32): error BC30560: 'admin_skins_solpartmenu_ascx' is ambiguous in the namespace 'ASP'.
   at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultWithAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
   at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath)
   at System.Web.UI.TemplateControl.LoadControl(String virtualPath)
   at DotNetNuke.Framework.DefaultPage.LoadSkin(String SkinPath)
   --- End of inner exception stack trace ---</value></anyType><anyType xsi:type="LogDetailInfo"><name>Source</name></anyType></ArrayOfAnyType>  

 
New Post
2/10/2007 11:13 AM
 

Sorry if I get in, but I have the same error (The installation is a clean 4.4.1. The problem arise the second time I use the wizard to change the skin of the portal and containers). This is the log in the database:

<

<

<

 

DotNetNuke.Services.Exceptions.PageLoadException: Il valore non pu• essere null.

Nome parametro: type ---

Nome parametro: type

in System.Activator.CreateInstance(Type type, Boolean nonPublic)

in DotNetNuke.Framework.Reflection.CreateObject(String TypeName, String CacheKey, Boolean UseCache)

in DotNetNuke.Framework.Reflection.CreateObject(String ObjectProviderType, String ObjectProviderName, String ObjectNamespace, String ObjectAssemblyName, Boolean UseCache)

in DotNetNuke.Modules.NavigationProvider.NavigationProvider.Instance(String FriendlyName)

in DotNetNuke.UI.Skins.NavObjectBase.InitializeNavControl(Control objParent, String strDefaultProvider)

in DotNetNuke.UI.Skins.Controls.TreeViewMenu.OnInit(EventArgs e)

in System.Web.UI.Control.InitRecursive(Control namingContainer)

in System.Web.UI.Control.InitRecursive(Control namingContainer)

in System.Web.UI.Control.InitRecursive(Control namingContainer)

in System.Web.UI.Control.AddedControl(Control control, Int32 index)

in System.Web.UI.ControlCollection.Add(Control child)

in DotNetNuke.Framework.DefaultPage.Page_Init(Object sender, EventArgs e)

in System.Web.UI.Control.OnInit(EventArgs e)

in System.Web.UI.Page.OnInit(EventArgs e)

in DotNetNuke.Framework.PageBase.OnInit(EventArgs e)

in System.Web.UI.Control.InitRecursive(Control namingContainer)

in System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

--- Fine dell'analisi dello stack dell'eccezione interna ---

 

</

</

<

<

<

 

System.IO.FileNotFoundException: Impossibile caricare il file o l'assembly 'DotNetNuke.DNNTreeNavigationProvider' o una delle relative dipendenze. Impossibile trovare il file specificato.

Nome file: 'DotNetNuke.DNNTreeNavigationProvider'

in System.RuntimeTypeHandle._GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark

in System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark

in System.RuntimeType.PrivateGetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark

in System.Type.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)

in System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)

in DotNetNuke.Framework.Reflection.CreateObject(String TypeName, String CacheKey, Boolean UseCache)

AVV: la registrazione dell'associazione di assembly Š disattivata.

Per attivare la registrazione degli errori di associazione di assembly, impostare il valore del Registro di sistema [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) su 1.

Nota: alcune penalit… di prestazione sono associate alla registrazione degli errori di associazione di assembly.

Per disattivare la funzionalit…, rimuovere il valore del Registro di sistema [HKLM\Software\Microsoft\Fusion!EnableLog].

 

</

</

LogProperty>PropertyName>Message</PropertyName>PropertyValue>&amp; stackMark, Boolean loadTypeFromPartialName)&amp; stackMark)&amp; stackMark)PropertyValue>LogProperty>

LogProperty>PropertyName>Message</PropertyName>PropertyValue>&gt; System.ArgumentNullException: Il valore non pu• essere null.PropertyValue>LogProperty>
 
New Post
2/10/2007 3:01 PM
 

Found the answer ... some dll are missing in the bin folder of the 4.4.1 install.zip

I have copied the missing dlls from the 3.7 install.zip and now the site run fine.

Thanks

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Mywebsite doesnMywebsite doesn't work anymore


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