Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

Object reference not set to an instance of an object ERROR
Last Post 12/10/2010 1:51 PM by Peter Donker. 8 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Alan UMW
New Member
New Member
Posts:4


--
11/15/2010 2:15 AM

   Hi, just got an error kept saying "Object reference not set to an instance of an object".

I restored a live DNN site with DMX5.3.2 installed to another live development site. Then I deleted all the existing DMX instance and added a new DMX instance, set the "Default View Screen:" as TempalteView.ascx. Back to the page this error "Object reference not set to an instance of an object" came out. 

I tried to cleanly un-install DMX  according to the Documentation, and re-installed it again for version 5.3.0, 5.3.1, 5.3.2, the same error comes up when setting the "Default view screen" as TemplateView. 

Could you please take a look at the error message below and point me to the right direction to sort this issue out. 

Thanks a lot!

Alan

 

AssemblyVersion: 5.5.1
PortalID: 0
PortalName: Gemfest
UserID: 1
UserName: host
ActiveTabID: 171
ActiveTabName: Document Exchange
RawURL: /Member-Zone/Document-Exchange
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.regionaltouris...tanglemywebtemp.com/
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.41 Safari/534.7
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 3dd93211-5039-4224-bfb3-0a5760dece62
InnerException: Object reference not set to an instance of an object.
FileName
FileLineNumber: 0
FileColumnNumber: 0
Method: Bring2mind.DNN.Modules.DMX.TemplateView.ᜁ
StackTrace
Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Bring2mind.DNN.Modules.DMX.TemplateView.ᜁ(Object A_0, EventArgs A_1) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source
Server Name: WEBBEDFEET

 

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
11/16/2010 6:29 PM
Hi Alan,

Not sure what is happening. My guess is that it is a disk permissions issue given that you've copied sites. This always screws up permissions. Make sure to set permissions correctly and unify.

Secondly: it is hard to determine from here if the module is fully installed given that you've tried uninstalling and reinstalling. Note you never ever need to install older versions of DMX. So just installing 5.3.2 is fine.

Other than that I'd need to look at the site with host access myself to get an idea of what could be wrong.

Peter
Alan UMW
New Member
New Member
Posts:4


--
11/17/2010 1:37 AM
Hi Peter,

Thanks very much for your help. I checked the permissions on the VPS server and found it seems to be correct(IIS Process identify have full access to the wwwroot folder). Not sure what other permissions I need to set up.


I have sent you an email with host access. Please check your inbox from alan(at)untanglemyweb.com

Thanks very much.
Alan
ghamm
New Member
New Member
Posts:10


--
11/22/2010 7:40 AM
Any Clues on this one? I am using the latest trial version (5.3.2) on Dnn 5.5.1 Pro and I experience the same thing.


I'm suspecting the default templates from the TemplateView.ascx.resx file are not being copied to the to Portals/[PortalId]/DMX/ViewTemplates

All permissions seem ok to me,

Any ideas?
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
11/22/2010 12:03 PM
Alan: The email got stuck in my spam filter. Just retrieved it.

I'll go in and investigate.

Peter
Alan UMW
New Member
New Member
Posts:4


--
11/22/2010 2:46 PM
Hi Peter,

thanks so much. I replied your email just now. Would you be able to check your spam box if you don't receive it. In case it's spamed again.


Thanks
Alan
ghamm
New Member
New Member
Posts:10


--
12/05/2010 8:20 AM
Hi Peter, Any update on the root cause on this one?

I have the exact same error.
Chrickel
New Member
New Member
Posts:44


--
12/08/2010 9:15 AM
I never thought that I would ever write a "me too" post - but I have the very same error over here...

Lookin forward to hear any hints.

-Chris
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
12/10/2010 1:51 PM
I have not been able to determine *why* this happens. But I have been able to determine a specific circumstance under which it happens. Namely when the root folder of the templated view DMX is left to be the absolute root (i.e. "Document Exchange"). I changed it to a subfolder and the error went away.

Peter
You are not authorized to post a reply.