Buck Anderson - DNN Professor Member Login
February 08, 2012

ForumsDNN Professor Forums

DotNetNuke Forums | Xmod Forums | Internet Marketing Forums | DNN Professor Product Forums

Product Support and Product Forums Registration


Subject: Error on Step5-Configure Advanced Search Page
Prev Next
You are not authorized to post a reply.

Author Messages
Fanny LieUser is Offline

DNN Newbie
DNN Newbie
Posts:17
Send This Member a Private Message

01/15/2010 2:42 AM  

 Hi buck,

I'm configuring BD6.1 but I found error when I reach step5 - configure advanced search page. Could you assist me on this.

Below is error details on admin's event viewer:

AssemblyVersion: 5.1.2
PortalID: 5
PortalName: TunTop
UserID: 1
UserName: fanny2jc_host
ActiveTabID: 206
ActiveTabName: Advanced BizList Search
RawURL: /AdvancedBizListSearch/tabid/206/language/en-US/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://tuntop.favecorp.com/AdvancedBizListSearch/tabid/206/ctl/Configure/mid/591/language/en-US/Default.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Chrome/3.0.195.38 Safari/532.0
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: d9d4bc65-600c-476e-80f0-0175302e33e2
InnerException: Object reference not set to an instance of an object.
FileName
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.UI.Containers.ActionButtonList.get_ModuleActions
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 DotNetNuke.UI.Containers.ActionButtonList.get_ModuleActions() at DotNetNuke.UI.Containers.ActionButtonList.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.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

ModuleId: -1
ModuleDefId: -1
FriendlyName
ModuleControlSource
AssemblyVersion: 5.1.2
PortalID: 5
PortalName: TunTop
UserID: 1
UserName: fanny2jc_host
ActiveTabID: 206
ActiveTabName: Advanced BizList Search
RawURL: /AdvancedBizListSearch/tabid/206/language/en-US/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://tuntop.favecorp.com/AdvancedBizListSearch/tabid/206/ctl/Configure/mid/591/language/en-US/Default.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Chrome/3.0.195.38 Safari/532.0
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 5ba61c81-b382-4e09-ab92-9d1cf9deb0ea
InnerException: Object reference not set to an instance of an object.
FileName
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.UI.Containers.ActionBase.get_ActionRoot
StackTrace
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.UI.Containers.ActionBase.get_ActionRoot() at DotNetNuke.UI.Containers.ActionBase.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---

Fanny LieUser is Offline

DNN Newbie
DNN Newbie
Posts:17
Send This Member a Private Message

01/15/2010 2:56 AM  
The error occurred when I added Xmod Form View module on the page - configure xmod module - select DNNP-BD6.1 Advanced Search Form. After I clicked save then 'Object reference not set to an instance of an object' appeared on the page. Please help
Buck AndersonUser is Offline

DNN Master
DNN Master
Posts:657

Send This Member a Private Message

01/15/2010 8:15 AM  

 Hi Fanny,

I have visited your site.

i see that the form is working on the advanced search page but is not directing properly.

When I click on search by company it is redirecting back to your listings page.

In the parameters at the top of the page code you need to adjust the following:

parameter name="SearchURL" alias="SearchURL" - the default should be "/AdvancedBizListSearch.aspx"

(This is the advanced search page)

parameter name="redirURL" alias="redirURL" - the default should be "/Home.aspx"

(This is the page that your main XMod module is located on.)

To complate the parameters:

If you are using a special object qualifier, other that the default .dbo, for your DNN Portal database you will need to append your qualifier to the parameter name="DBobjectQualifier" alias="DBobjQual" default="dbo."

As an example:
If  you set up your portal using the DNN set up wixard and you named a qualifier DNN1_

The parameter would be parameter name="DBobjectQualifier" alias="DBobjQual" default="dbo.DNN1_"

Object qualifiers always end in an underscore.

If you did not set a qualifier you can leave this parameter as is.

The final parameter to check is parameter name="BDFormId" alias="BDFormmId" default="36"

Making sure that hte 36 is actually the XMod FormId of the form you used on the listing page.

As the instructions state you go to Host tab >> SQL and run the SQL select statement to ruturn the XMod form names and Form Ids.

The Advanced Search is designed for use with the Single Category form and the Category/Subcategory form.

If using the Multiple category form it will return mixed results.

Buck


Buck Anderson - DNN Professor

DNNprofessor.com


http://twitter.com/DNNprofessor


DotNetNuke - XMod Training Coach and XMod MVP


You are not authorized to post a reply.
Forums > Product Forums > Business Directory > Error on Step5-Configure Advanced Search Page



ActiveForums 3.7

Copyright 2004 - 2012 by Jive Media Group LLC. All Rights Reserved.  | Terms of Use | Privacy Statement | Email White Listing | Site Map