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 ...upgrade problem...upgrade problem...
Previous
 
Next
New Post
8/9/2007 12:48 PM
 

Hi
I am trying to upgrade my DNN from 4.5.3 to 4.5.5 and everything looks fine - meaning site is running properly, but... once in a while I am being redirected to link http://ndcportal/Install/Install.aspx?mode=upgrade and getting those weird errors (on white-yellow screen of death) :

Server Error in '/' Application.

Object reference not set to an instance of an object.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.]
DotNetNuke.Security.Authentication.Configuration.GetConfig() +16
DotNetNuke.HttpModules.AuthenticationModule.OnAuthenticateRequest(Object s, EventArgs e) +25
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64


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

 

also my event log is being filled with 'Host Alerets' and 'General Exeptions' like these:

EventQueue.ProcessMessage: Message Processing Failed
ProcessorType: DotNetNuke.Entities.Modules.EventMessageProcessor, DotNetNuke
Body:
Sender:
BusinessControllerClass: DotNetNuke.Modules.Gallery.Controller, DotNetNuke.Modules.Gallery
DesktopModuleId: 67
UpgradeVersionsList: 04.00.00,04.02.00
ExceptionMessage: Value cannot be null. Parameter name: type
Server Name: NDCIPORTAL

***

EventQueue.ProcessMessage: Message Processing Failed
ProcessorType: DotNetNuke.Entities.Modules.EventMessageProcessor, DotNetNuke
Body:
Sender:
BusinessControllerClass: DotNetNuke.Modules.Media.MediaController, DotNetNuke.Modules.Media
DesktopModuleId: 75
UpgradeVersionsList: 03.02.00,03.02.03
ExceptionMessage: Value cannot be null. Parameter name: type
Server Name: NDCIPORTAL

***

AssemblyVersion: 04.05.05
PortalID: 0
PortalName: National Data Conversion Portal
UserID: -1
UserName:
ActiveTabID: 16
ActiveTabName: Host Settings
RawURL: /Host/Host Settings/tabid/16/portalid/0/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://ndcportal/
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: ab7fc2b9-fa93-4c96-ac35-f3f10970433a
InnerException: Unhandled Error:
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Web.HttpResponse.Redirect
StackTrace:
Message: System.Exception: Unhandled Error: ---> System.Web.HttpException: Cannot redirect after HTTP headers have been sent. at System.Web.HttpResponse.Redirect(String url, Boolean endResponse) at System.Web.HttpResponse.Redirect(String url) at DotNetNuke.HttpModules.AuthenticationModule.OnAuthenticateRequest(Object s, EventArgs e) at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) --- End of inner exception stack trace ---
Source:
Server Name: NDCIPORTAL

***

 

Note - both Gallery and Media modules was recently removed...

Can anybody help me, please ?

Thanks in advance

 


Lukasz Kuszaj lkuszaj@ndci.com
 
New Post
8/14/2007 11:40 AM
 

Guys ! Could anyone throw me a rope ??


Lukasz Kuszaj lkuszaj@ndci.com
 
New Post
8/14/2007 4:30 PM
 

I'd start checking in the database to see if all references to the Media and Gallery modules have been removed. Check in the desktopmodules table and moduledefinitions table, as well as in the desktopmodules folder.


Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
New Post
8/15/2007 8:52 AM
 

Thanks for the reply, Chris.

I checked those tables - indeed, there was remaining record for 'Media' module. Also - in meantime - I reinstalled Gallery and Events - so i uninstalled them again (and removed correspodnding files from DesktopModules) and this is what i got (It look like it getting worse... and I am starting loosing my mind... ):

 

AssemblyVersion: 04.05.05
PortalID: 0
PortalName: National Data Conversion Portal
UserID: -1
UserName:
ActiveTabID: 36
ActiveTabName: Home
RawURL: /Home/tabid/36/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: f7b99005-94b3-4727-9c4d-01a897d21204
InnerException: Unhandled Error:
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Web.HttpResponse.Redirect
StackTrace:
Message: System.Exception: Unhandled Error: ---> System.Web.HttpException: Cannot redirect after HTTP headers have been sent. at System.Web.HttpResponse.Redirect(String url, Boolean endResponse) at System.Web.HttpResponse.Redirect(String url) at DotNetNuke.HttpModules.AuthenticationModule.OnAuthenticateRequest(Object s, EventArgs e) at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) --- End of inner exception stack trace ---
Source:
Server Name: NDCIPORTAL

***

(This error repeats 3 times)

EventQueue.ProcessMessage: Message Processing Failed

ProcessorType: DotNetNuke.Entities.Modules.EventMessageProcessor, DotNetNuke
Body:
Sender:
BusinessControllerClass: DotNetNuke.Modules.Media.MediaController, DotNetNuke.Modules.Media
DesktopModuleId: 75
UpgradeVersionsList: 03.02.00,03.02.03
ExceptionMessage: Object reference not set to an instance of an object.
Server Name: NDCIPORTAL

***

(this one repeats twice)

EventQueue.ProcessMessage: Message Processing Failed
ProcessorType: DotNetNuke.Entities.Modules.EventMessageProcessor, DotNetNuke
Body:
Sender:
BusinessControllerClass: DotNetNuke.Modules.Gallery.Controller, DotNetNuke.Modules.Gallery
DesktopModuleId: 68
UpgradeVersionsList: 04.00.00,04.02.00
ExceptionMessage: Value cannot be null. Parameter name: type
Server Name: NDCIPORTAL

***

AssemblyVersion: 04.05.05
PortalID: -1
PortalName:
UserID: -1
UserName:
ActiveTabID: -1
ActiveTabName:
RawURL: /Home/tabid/36/Default.aspx
AbsoluteURL: /Home/tabid/36/Default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 9c24a313-2930-4df4-a41b-01b4cdaf2bb3
InnerException: Could not load file or assembly 'DotNetNuke.Modules.Gallery' or one of its dependencies. The system cannot find the file specified.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.RuntimeTypeHandle._GetTypeByName
StackTrace:
Message: System.IO.FileNotFoundException: Could not load file or assembly 'DotNetNuke.Modules.Gallery' or one of its dependencies. The system cannot find the file specified. File name: 'DotNetNuke.Modules.Gallery' at System.RuntimeTypeHandle._GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, Boolean loadTypeFromPartialName) at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) at System.RuntimeType.PrivateGetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) at System.Type.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) at System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) at DotNetNuke.Framework.Reflection.CreateType(String TypeName, String CacheKey, Boolean UseCache, Boolean IgnoreErrors) === Pre-bind state information === LOG: User = NT AUTHORITY\NETWORK SERVICE LOG: DisplayName = DotNetNuke.Modules.Gallery (Partial) LOG: Appbase = file:///F:/NDCPortal/ LOG: Initial PrivatePath = F:\NDCPortal\bin Calling assembly : (Unknown). === LOG: This bind starts in default load context. LOG: Using application configuration file: F:\NDCPortal\web.config LOG: Using host configuration file: \\?\c:\windows\microsoft.net\framework\v2.0.50727\aspnet.config LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config. LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind). LOG: The same bind was seen before, and was failed with hr = 0x80070002.
Source:
Server Name: NDCIPORTAL

***

AssemblyVersion: 04.05.05
PortalID: -1
PortalName:
UserID: -1
UserName:
ActiveTabID: -1
ActiveTabName:
RawURL: /Home/tabid/36/Default.aspx
AbsoluteURL: /Home/tabid/36/Default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 971a148f-850d-48cf-bf35-e7ad31cdc020
InnerException: Could not load file or assembly 'DotNetNuke.Modules.Gallery' or one of its dependencies. The system cannot find the file specified.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.RuntimeTypeHandle._GetTypeByName
StackTrace:
Message: System.IO.FileNotFoundException: Could not load file or assembly 'DotNetNuke.Modules.Gallery' or one of its dependencies. The system cannot find the file specified. File name: 'DotNetNuke.Modules.Gallery' at System.RuntimeTypeHandle._GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, Boolean loadTypeFromPartialName) at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) at System.RuntimeType.PrivateGetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) at System.Type.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) at System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) at DotNetNuke.Framework.Reflection.CreateType(String TypeName, String CacheKey, Boolean UseCache, Boolean IgnoreErrors) === Pre-bind state information === LOG: User = NT AUTHORITY\NETWORK SERVICE LOG: DisplayName = DotNetNuke.Modules.Gallery (Partial) LOG: Appbase = file:///F:/NDCPortal/ LOG: Initial PrivatePath = F:\NDCPortal\bin Calling assembly : (Unknown). === LOG: This bind starts in default load context. LOG: Using application configuration file: F:\NDCPortal\web.config LOG: Using host configuration file: \\?\c:\windows\microsoft.net\framework\v2.0.50727\aspnet.config LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config. LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind). LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/root/1c46f934/859a1fd/DotNetNuke.Modules.Gallery.DLL. LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/root/1c46f934/859a1fd/DotNetNuke.Modules.Gallery/DotNetNuke.Modules.Gallery.DLL. LOG: Attempting download of new URL file:///F:/NDCPortal/bin/DotNetNuke.Modules.Gallery.DLL. LOG: Attempting download of new URL file:///F:/NDCPortal/bin/DotNetNuke.Modules.Gallery/DotNetNuke.Modules.Gallery.DLL. LOG: Attempting download of new URL file:///F:/NDCPortal/bin/HttpModules/DotNetNuke.Modules.Gallery.DLL. LOG: Attempting download of new URL file:///F:/NDCPortal/bin/HttpModules/DotNetNuke.Modules.Gallery/DotNetNuke.Modules.Gallery.DLL. LOG: Attempting download of new URL file:///F:/NDCPortal/bin/Providers/DotNetNuke.Modules.Gallery.DLL. LOG: Attempting download of new URL file:///F:/NDCPortal/bin/Providers/DotNetNuke.Modules.Gallery/DotNetNuke.Modules.Gallery.DLL. LOG: Attempting download of new URL file:///F:/NDCPortal/bin/Modules/DotNetNuke.Modules.Gallery.DLL. LOG: Attempting download of new URL file:///F:/NDCPortal/bin/Modules/DotNetNuke.Modules.Gallery/DotNetNuke.Modules.Gallery.DLL. LOG: Attempting download of new URL file:///F:/NDCPortal/bin/Support/DotNetNuke.Modules.Gallery.DLL. LOG: Attempting download of new URL file:///F:/NDCPortal/bin/Support/DotNetNuke.Modules.Gallery/DotNetNuke.Modules.Gallery.DLL. LOG: Attempting download of new URL file:///F:/NDCPortal/DotNetNuke.Modules.Gallery.DLL. LOG: Attempting download of new URL file:///F:/NDCPortal/DotNetNuke.Modules.Gallery/DotNetNuke.Modules.Gallery.DLL. LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/root/1c46f934/859a1fd/DotNetNuke.Modules.Gallery.EXE. LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/root/1c46f934/859a1fd/DotNetNuke.Modules.Gallery/DotNetNuke.Modules.Gallery.EXE. LOG: Attempting download of new URL file:///F:/NDCPortal/bin/DotNetNuke.Modules.Gallery.EXE. LOG: Attempting download of new URL file:///F:/NDCPortal/bin/DotNetNuke.Modules.Gallery/DotNetNuke.Modules.Gallery.EXE. LOG: Attempting download of new URL file:///F:/NDCPortal/bin/HttpModules/DotNetNuke.Modules.Gallery.EXE. LOG: Attempting download of new URL file:///F:/NDCPortal/bin/HttpModules/DotNetNuke.Modules.Gallery/DotNetNuke.Modules.Gallery.EXE. LOG: Attempting download of new URL file:///F:/NDCPortal/bin/Providers/DotNetNuke.Modules.Gallery.EXE. LOG: Attempting download of new URL file:///F:/NDCPortal/bin/Providers/DotNetNuke.Modules.Gallery/DotNetNuke.Modules.Gallery.EXE. LOG: Attempting download of new URL file:///F:/NDCPortal/bin/Modules/DotNetNuke.Modules.Gallery.EXE. LOG: Attempting download of new URL file:///F:/NDCPortal/bin/Modules/DotNetNuke.Modules.Gallery/DotNetNuke.Modules.Gallery.EXE. LOG: Attempting download of new URL file:///F:/NDCPortal/bin/Support/DotNetNuke.Modules.Gallery.EXE. LOG: Attempting download of new URL file:///F:/NDCPortal/bin/Support/DotNetNuke.Modules.Gallery/DotNetNuke.Modules.Gallery.EXE. LOG: Attempting download of new URL file:///F:/NDCPortal/DotNetNuke.Modules.Gallery.EXE. LOG: Attempting download of new URL file:///F:/NDCPortal/DotNetNuke.Modules.Gallery/DotNetNuke.Modules.Gallery.EXE.
Source:
Server Name: NDCIPORTAL

 

 

 

 


Lukasz Kuszaj lkuszaj@ndci.com
 
New Post
8/16/2007 12:33 PM
 

Ok, I have narrowed it down to just one error. (I've cleaned EventQueue) I am getting the following randomly or when restarting DNN. (I am getting redirected to Install/Install.aspx?mode=upgrade)

Any Ideas ??

AssemblyVersion: 04.05.05
PortalID: 0
PortalName: National Data Conversion Portal
UserID: -1
UserName:
ActiveTabID: 36
ActiveTabName: Home
RawURL: /Home/tabid/36/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://192.168.0.51/Admin/LogViewer/tabid/48/Default.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 97183ab4-3801-4591-8e99-1df4dcb9e6b7
InnerException: Unhandled Error:
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Web.HttpCookieCollection.Add
StackTrace:
Message: System.Exception: Unhandled Error: ---> System.Web.HttpException: Server cannot modify cookies after HTTP headers have been sent. at System.Web.HttpCookieCollection.Add(HttpCookie cookie) at System.Web.Security.FormsAuthenticationModule.OnAuthenticate(FormsAuthenticationEventArgs e) at System.Web.Security.FormsAuthenticationModule.OnEnter(Object source, EventArgs eventArgs) at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) --- End of inner exception stack trace ---
Source:
Server Name: NDCIPORTAL

 


Lukasz Kuszaj lkuszaj@ndci.com
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...upgrade problem...upgrade problem...


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